pic32mx440f128l.pp 970 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433
  1. unit pic32mx440f128l;
  2. interface
  3. {$goto on}
  4. {$modeswitch advancedrecords}
  5. {$INLINE ON}
  6. {$OPTIMIZATION STACKFRAME}
  7. {$L startup.o}
  8. {$PACKRECORDS 2}
  9. type
  10. TBits_1 = 0..1;
  11. TBits_2 = 0..3;
  12. TBits_3 = 0..7;
  13. TBits_4 = 0..15;
  14. TBits_5 = 0..31;
  15. TBits_6 = 0..63;
  16. TBits_7 = 0..127;
  17. TBits_8 = 0..255;
  18. TBits_9 = 0..511;
  19. TBits_10 = 0..1023;
  20. TBits_11 = 0..2047;
  21. TBits_12 = 0..4095;
  22. TBits_13 = 0..8191;
  23. TBits_14 = 0..16383;
  24. TBits_15 = 0..32767;
  25. TBits_16 = 0..65535;
  26. TBits_17 = 0..131071;
  27. TBits_18 = 0..262143;
  28. TBits_19 = 0..524287;
  29. TBits_20 = 0..1048575;
  30. TBits_21 = 0..2097151;
  31. TBits_22 = 0..4194303;
  32. TBits_23 = 0..8388607;
  33. TBits_24 = 0..16777215;
  34. TBits_25 = 0..33554431;
  35. TBits_26 = 0..67108863;
  36. TBits_27 = 0..134217727;
  37. TBits_28 = 0..268435455;
  38. TBits_29 = 0..536870911;
  39. TBits_30 = 0..1073741823;
  40. TBits_31 = 0..2147483647;
  41. TBits_32 = 0..4294967295;
  42. TWDT_WDTCON = record
  43. private
  44. function getON : TBits_1; inline;
  45. function getSWDTPS : TBits_5; inline;
  46. function getSWDTPS0 : TBits_1; inline;
  47. function getSWDTPS1 : TBits_1; inline;
  48. function getSWDTPS2 : TBits_1; inline;
  49. function getSWDTPS3 : TBits_1; inline;
  50. function getSWDTPS4 : TBits_1; inline;
  51. function getWDTCLR : TBits_1; inline;
  52. function getWDTPS : TBits_5; inline;
  53. function getWDTPSTA : TBits_5; inline;
  54. function getw : TBits_32; inline;
  55. procedure setON(thebits : TBits_1); inline;
  56. procedure setSWDTPS(thebits : TBits_5); inline;
  57. procedure setSWDTPS0(thebits : TBits_1); inline;
  58. procedure setSWDTPS1(thebits : TBits_1); inline;
  59. procedure setSWDTPS2(thebits : TBits_1); inline;
  60. procedure setSWDTPS3(thebits : TBits_1); inline;
  61. procedure setSWDTPS4(thebits : TBits_1); inline;
  62. procedure setWDTCLR(thebits : TBits_1); inline;
  63. procedure setWDTPS(thebits : TBits_5); inline;
  64. procedure setWDTPSTA(thebits : TBits_5); inline;
  65. procedure setw(thebits : TBits_32); inline;
  66. public
  67. procedure clearON; inline;
  68. procedure clearSWDTPS0; inline;
  69. procedure clearSWDTPS1; inline;
  70. procedure clearSWDTPS2; inline;
  71. procedure clearSWDTPS3; inline;
  72. procedure clearSWDTPS4; inline;
  73. procedure clearWDTCLR; inline;
  74. procedure setON; inline;
  75. procedure setSWDTPS0; inline;
  76. procedure setSWDTPS1; inline;
  77. procedure setSWDTPS2; inline;
  78. procedure setSWDTPS3; inline;
  79. procedure setSWDTPS4; inline;
  80. procedure setWDTCLR; inline;
  81. property ON : TBits_1 read getON write setON;
  82. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  83. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  84. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  85. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  86. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  87. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  88. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  89. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  90. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  91. property w : TBits_32 read getw write setw;
  92. end;
  93. type
  94. TWDTRegisters = record
  95. WDTCONbits : TWDT_WDTCON;
  96. WDTCON : longWord;
  97. WDTCONCLR : longWord;
  98. WDTCONSET : longWord;
  99. WDTCONINV : longWord;
  100. end;
  101. TRTCC_RTCCON = record
  102. private
  103. function getCAL : TBits_10; inline;
  104. function getHALFSEC : TBits_1; inline;
  105. function getON : TBits_1; inline;
  106. function getRTCCLKON : TBits_1; inline;
  107. function getRTCOE : TBits_1; inline;
  108. function getRTCSYNC : TBits_1; inline;
  109. function getRTCWREN : TBits_1; inline;
  110. function getRTSECSEL : TBits_1; inline;
  111. function getSIDL : TBits_1; inline;
  112. function getw : TBits_32; inline;
  113. procedure setCAL(thebits : TBits_10); inline;
  114. procedure setHALFSEC(thebits : TBits_1); inline;
  115. procedure setON(thebits : TBits_1); inline;
  116. procedure setRTCCLKON(thebits : TBits_1); inline;
  117. procedure setRTCOE(thebits : TBits_1); inline;
  118. procedure setRTCSYNC(thebits : TBits_1); inline;
  119. procedure setRTCWREN(thebits : TBits_1); inline;
  120. procedure setRTSECSEL(thebits : TBits_1); inline;
  121. procedure setSIDL(thebits : TBits_1); inline;
  122. procedure setw(thebits : TBits_32); inline;
  123. public
  124. procedure clearHALFSEC; inline;
  125. procedure clearON; inline;
  126. procedure clearRTCCLKON; inline;
  127. procedure clearRTCOE; inline;
  128. procedure clearRTCSYNC; inline;
  129. procedure clearRTCWREN; inline;
  130. procedure clearRTSECSEL; inline;
  131. procedure clearSIDL; inline;
  132. procedure setHALFSEC; inline;
  133. procedure setON; inline;
  134. procedure setRTCCLKON; inline;
  135. procedure setRTCOE; inline;
  136. procedure setRTCSYNC; inline;
  137. procedure setRTCWREN; inline;
  138. procedure setRTSECSEL; inline;
  139. procedure setSIDL; inline;
  140. property CAL : TBits_10 read getCAL write setCAL;
  141. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  142. property ON : TBits_1 read getON write setON;
  143. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  144. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  145. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  146. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  147. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  148. property SIDL : TBits_1 read getSIDL write setSIDL;
  149. property w : TBits_32 read getw write setw;
  150. end;
  151. TRTCC_RTCALRM = record
  152. private
  153. function getALRMEN : TBits_1; inline;
  154. function getALRMSYNC : TBits_1; inline;
  155. function getAMASK : TBits_4; inline;
  156. function getARPT : TBits_8; inline;
  157. function getCHIME : TBits_1; inline;
  158. function getPIV : TBits_1; inline;
  159. function getw : TBits_32; inline;
  160. procedure setALRMEN(thebits : TBits_1); inline;
  161. procedure setALRMSYNC(thebits : TBits_1); inline;
  162. procedure setAMASK(thebits : TBits_4); inline;
  163. procedure setARPT(thebits : TBits_8); inline;
  164. procedure setCHIME(thebits : TBits_1); inline;
  165. procedure setPIV(thebits : TBits_1); inline;
  166. procedure setw(thebits : TBits_32); inline;
  167. public
  168. procedure clearALRMEN; inline;
  169. procedure clearALRMSYNC; inline;
  170. procedure clearCHIME; inline;
  171. procedure clearPIV; inline;
  172. procedure setALRMEN; inline;
  173. procedure setALRMSYNC; inline;
  174. procedure setCHIME; inline;
  175. procedure setPIV; inline;
  176. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  177. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  178. property AMASK : TBits_4 read getAMASK write setAMASK;
  179. property ARPT : TBits_8 read getARPT write setARPT;
  180. property CHIME : TBits_1 read getCHIME write setCHIME;
  181. property PIV : TBits_1 read getPIV write setPIV;
  182. property w : TBits_32 read getw write setw;
  183. end;
  184. TRTCC_RTCTIME = record
  185. private
  186. function getHR01 : TBits_4; inline;
  187. function getHR10 : TBits_4; inline;
  188. function getMIN01 : TBits_4; inline;
  189. function getMIN10 : TBits_4; inline;
  190. function getSEC01 : TBits_4; inline;
  191. function getSEC10 : TBits_4; inline;
  192. function getw : TBits_32; inline;
  193. procedure setHR01(thebits : TBits_4); inline;
  194. procedure setHR10(thebits : TBits_4); inline;
  195. procedure setMIN01(thebits : TBits_4); inline;
  196. procedure setMIN10(thebits : TBits_4); inline;
  197. procedure setSEC01(thebits : TBits_4); inline;
  198. procedure setSEC10(thebits : TBits_4); inline;
  199. procedure setw(thebits : TBits_32); inline;
  200. public
  201. property HR01 : TBits_4 read getHR01 write setHR01;
  202. property HR10 : TBits_4 read getHR10 write setHR10;
  203. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  204. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  205. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  206. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  207. property w : TBits_32 read getw write setw;
  208. end;
  209. TRTCC_RTCDATE = record
  210. private
  211. function getDAY01 : TBits_4; inline;
  212. function getDAY10 : TBits_4; inline;
  213. function getMONTH01 : TBits_4; inline;
  214. function getMONTH10 : TBits_4; inline;
  215. function getWDAY01 : TBits_4; inline;
  216. function getYEAR01 : TBits_4; inline;
  217. function getYEAR10 : TBits_4; inline;
  218. function getw : TBits_32; inline;
  219. procedure setDAY01(thebits : TBits_4); inline;
  220. procedure setDAY10(thebits : TBits_4); inline;
  221. procedure setMONTH01(thebits : TBits_4); inline;
  222. procedure setMONTH10(thebits : TBits_4); inline;
  223. procedure setWDAY01(thebits : TBits_4); inline;
  224. procedure setYEAR01(thebits : TBits_4); inline;
  225. procedure setYEAR10(thebits : TBits_4); inline;
  226. procedure setw(thebits : TBits_32); inline;
  227. public
  228. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  229. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  230. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  231. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  232. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  233. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  234. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  235. property w : TBits_32 read getw write setw;
  236. end;
  237. TRTCC_ALRMTIME = record
  238. private
  239. function getHR01 : TBits_4; inline;
  240. function getHR10 : TBits_4; inline;
  241. function getMIN01 : TBits_4; inline;
  242. function getMIN10 : TBits_4; inline;
  243. function getSEC01 : TBits_4; inline;
  244. function getSEC10 : TBits_4; inline;
  245. function getw : TBits_32; inline;
  246. procedure setHR01(thebits : TBits_4); inline;
  247. procedure setHR10(thebits : TBits_4); inline;
  248. procedure setMIN01(thebits : TBits_4); inline;
  249. procedure setMIN10(thebits : TBits_4); inline;
  250. procedure setSEC01(thebits : TBits_4); inline;
  251. procedure setSEC10(thebits : TBits_4); inline;
  252. procedure setw(thebits : TBits_32); inline;
  253. public
  254. property HR01 : TBits_4 read getHR01 write setHR01;
  255. property HR10 : TBits_4 read getHR10 write setHR10;
  256. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  257. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  258. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  259. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  260. property w : TBits_32 read getw write setw;
  261. end;
  262. TRTCC_ALRMDATE = record
  263. private
  264. function getDAY01 : TBits_4; inline;
  265. function getDAY10 : TBits_4; inline;
  266. function getMONTH01 : TBits_4; inline;
  267. function getMONTH10 : TBits_4; inline;
  268. function getWDAY01 : TBits_4; inline;
  269. function getw : TBits_32; inline;
  270. procedure setDAY01(thebits : TBits_4); inline;
  271. procedure setDAY10(thebits : TBits_4); inline;
  272. procedure setMONTH01(thebits : TBits_4); inline;
  273. procedure setMONTH10(thebits : TBits_4); inline;
  274. procedure setWDAY01(thebits : TBits_4); inline;
  275. procedure setw(thebits : TBits_32); inline;
  276. public
  277. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  278. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  279. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  280. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  281. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  282. property w : TBits_32 read getw write setw;
  283. end;
  284. type
  285. TRTCCRegisters = record
  286. RTCCONbits : TRTCC_RTCCON;
  287. RTCCON : longWord;
  288. RTCCONCLR : longWord;
  289. RTCCONSET : longWord;
  290. RTCCONINV : longWord;
  291. RTCALRMbits : TRTCC_RTCALRM;
  292. RTCALRM : longWord;
  293. RTCALRMCLR : longWord;
  294. RTCALRMSET : longWord;
  295. RTCALRMINV : longWord;
  296. RTCTIMEbits : TRTCC_RTCTIME;
  297. RTCTIME : longWord;
  298. RTCTIMECLR : longWord;
  299. RTCTIMESET : longWord;
  300. RTCTIMEINV : longWord;
  301. RTCDATEbits : TRTCC_RTCDATE;
  302. RTCDATE : longWord;
  303. RTCDATECLR : longWord;
  304. RTCDATESET : longWord;
  305. RTCDATEINV : longWord;
  306. ALRMTIMEbits : TRTCC_ALRMTIME;
  307. ALRMTIME : longWord;
  308. ALRMTIMECLR : longWord;
  309. ALRMTIMESET : longWord;
  310. ALRMTIMEINV : longWord;
  311. ALRMDATEbits : TRTCC_ALRMDATE;
  312. ALRMDATE : longWord;
  313. ALRMDATECLR : longWord;
  314. ALRMDATESET : longWord;
  315. ALRMDATEINV : longWord;
  316. end;
  317. TTMR1_T1CON = record
  318. private
  319. function getON : TBits_1; inline;
  320. function getSIDL : TBits_1; inline;
  321. function getTCKPS : TBits_2; inline;
  322. function getTCKPS0 : TBits_1; inline;
  323. function getTCKPS1 : TBits_1; inline;
  324. function getTCS : TBits_1; inline;
  325. function getTGATE : TBits_1; inline;
  326. function getTON : TBits_1; inline;
  327. function getTSIDL : TBits_1; inline;
  328. function getTSYNC : TBits_1; inline;
  329. function getTWDIS : TBits_1; inline;
  330. function getTWIP : TBits_1; inline;
  331. function getw : TBits_32; inline;
  332. procedure setON(thebits : TBits_1); inline;
  333. procedure setSIDL(thebits : TBits_1); inline;
  334. procedure setTCKPS(thebits : TBits_2); inline;
  335. procedure setTCKPS0(thebits : TBits_1); inline;
  336. procedure setTCKPS1(thebits : TBits_1); inline;
  337. procedure setTCS(thebits : TBits_1); inline;
  338. procedure setTGATE(thebits : TBits_1); inline;
  339. procedure setTON(thebits : TBits_1); inline;
  340. procedure setTSIDL(thebits : TBits_1); inline;
  341. procedure setTSYNC(thebits : TBits_1); inline;
  342. procedure setTWDIS(thebits : TBits_1); inline;
  343. procedure setTWIP(thebits : TBits_1); inline;
  344. procedure setw(thebits : TBits_32); inline;
  345. public
  346. procedure clearON; inline;
  347. procedure clearSIDL; inline;
  348. procedure clearTCKPS0; inline;
  349. procedure clearTCKPS1; inline;
  350. procedure clearTCS; inline;
  351. procedure clearTGATE; inline;
  352. procedure clearTON; inline;
  353. procedure clearTSIDL; inline;
  354. procedure clearTSYNC; inline;
  355. procedure clearTWDIS; inline;
  356. procedure clearTWIP; inline;
  357. procedure setON; inline;
  358. procedure setSIDL; inline;
  359. procedure setTCKPS0; inline;
  360. procedure setTCKPS1; inline;
  361. procedure setTCS; inline;
  362. procedure setTGATE; inline;
  363. procedure setTON; inline;
  364. procedure setTSIDL; inline;
  365. procedure setTSYNC; inline;
  366. procedure setTWDIS; inline;
  367. procedure setTWIP; inline;
  368. property ON : TBits_1 read getON write setON;
  369. property SIDL : TBits_1 read getSIDL write setSIDL;
  370. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  371. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  372. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  373. property TCS : TBits_1 read getTCS write setTCS;
  374. property TGATE : TBits_1 read getTGATE write setTGATE;
  375. property TON : TBits_1 read getTON write setTON;
  376. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  377. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  378. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  379. property TWIP : TBits_1 read getTWIP write setTWIP;
  380. property w : TBits_32 read getw write setw;
  381. end;
  382. type
  383. TTMR1Registers = record
  384. T1CONbits : TTMR1_T1CON;
  385. T1CON : longWord;
  386. T1CONCLR : longWord;
  387. T1CONSET : longWord;
  388. T1CONINV : longWord;
  389. TMR1 : longWord;
  390. TMR1CLR : longWord;
  391. TMR1SET : longWord;
  392. TMR1INV : longWord;
  393. PR1 : longWord;
  394. PR1CLR : longWord;
  395. PR1SET : longWord;
  396. PR1INV : longWord;
  397. end;
  398. TTMR2_T2CON = record
  399. private
  400. function getON : TBits_1; inline;
  401. function getSIDL : TBits_1; inline;
  402. function getT32 : TBits_1; inline;
  403. function getTCKPS : TBits_3; inline;
  404. function getTCKPS0 : TBits_1; inline;
  405. function getTCKPS1 : TBits_1; inline;
  406. function getTCKPS2 : TBits_1; inline;
  407. function getTCS : TBits_1; inline;
  408. function getTGATE : TBits_1; inline;
  409. function getTON : TBits_1; inline;
  410. function getTSIDL : TBits_1; inline;
  411. function getw : TBits_32; inline;
  412. procedure setON(thebits : TBits_1); inline;
  413. procedure setSIDL(thebits : TBits_1); inline;
  414. procedure setT32(thebits : TBits_1); inline;
  415. procedure setTCKPS(thebits : TBits_3); inline;
  416. procedure setTCKPS0(thebits : TBits_1); inline;
  417. procedure setTCKPS1(thebits : TBits_1); inline;
  418. procedure setTCKPS2(thebits : TBits_1); inline;
  419. procedure setTCS(thebits : TBits_1); inline;
  420. procedure setTGATE(thebits : TBits_1); inline;
  421. procedure setTON(thebits : TBits_1); inline;
  422. procedure setTSIDL(thebits : TBits_1); inline;
  423. procedure setw(thebits : TBits_32); inline;
  424. public
  425. procedure clearON; inline;
  426. procedure clearSIDL; inline;
  427. procedure clearT32; inline;
  428. procedure clearTCKPS0; inline;
  429. procedure clearTCKPS1; inline;
  430. procedure clearTCKPS2; inline;
  431. procedure clearTCS; inline;
  432. procedure clearTGATE; inline;
  433. procedure clearTON; inline;
  434. procedure clearTSIDL; inline;
  435. procedure setON; inline;
  436. procedure setSIDL; inline;
  437. procedure setT32; inline;
  438. procedure setTCKPS0; inline;
  439. procedure setTCKPS1; inline;
  440. procedure setTCKPS2; inline;
  441. procedure setTCS; inline;
  442. procedure setTGATE; inline;
  443. procedure setTON; inline;
  444. procedure setTSIDL; inline;
  445. property ON : TBits_1 read getON write setON;
  446. property SIDL : TBits_1 read getSIDL write setSIDL;
  447. property T32 : TBits_1 read getT32 write setT32;
  448. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  449. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  450. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  451. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  452. property TCS : TBits_1 read getTCS write setTCS;
  453. property TGATE : TBits_1 read getTGATE write setTGATE;
  454. property TON : TBits_1 read getTON write setTON;
  455. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  456. property w : TBits_32 read getw write setw;
  457. end;
  458. type
  459. TTMR2Registers = record
  460. T2CONbits : TTMR2_T2CON;
  461. T2CON : longWord;
  462. T2CONCLR : longWord;
  463. T2CONSET : longWord;
  464. T2CONINV : longWord;
  465. TMR2 : longWord;
  466. TMR2CLR : longWord;
  467. TMR2SET : longWord;
  468. TMR2INV : longWord;
  469. PR2 : longWord;
  470. PR2CLR : longWord;
  471. PR2SET : longWord;
  472. PR2INV : longWord;
  473. end;
  474. TTMR3_T3CON = record
  475. private
  476. function getON : TBits_1; inline;
  477. function getSIDL : TBits_1; inline;
  478. function getTCKPS : TBits_3; inline;
  479. function getTCKPS0 : TBits_1; inline;
  480. function getTCKPS1 : TBits_1; inline;
  481. function getTCKPS2 : TBits_1; inline;
  482. function getTCS : TBits_1; inline;
  483. function getTGATE : TBits_1; inline;
  484. function getTON : TBits_1; inline;
  485. function getTSIDL : TBits_1; inline;
  486. function getw : TBits_32; inline;
  487. procedure setON(thebits : TBits_1); inline;
  488. procedure setSIDL(thebits : TBits_1); inline;
  489. procedure setTCKPS(thebits : TBits_3); inline;
  490. procedure setTCKPS0(thebits : TBits_1); inline;
  491. procedure setTCKPS1(thebits : TBits_1); inline;
  492. procedure setTCKPS2(thebits : TBits_1); inline;
  493. procedure setTCS(thebits : TBits_1); inline;
  494. procedure setTGATE(thebits : TBits_1); inline;
  495. procedure setTON(thebits : TBits_1); inline;
  496. procedure setTSIDL(thebits : TBits_1); inline;
  497. procedure setw(thebits : TBits_32); inline;
  498. public
  499. procedure clearON; inline;
  500. procedure clearSIDL; inline;
  501. procedure clearTCKPS0; inline;
  502. procedure clearTCKPS1; inline;
  503. procedure clearTCKPS2; inline;
  504. procedure clearTCS; inline;
  505. procedure clearTGATE; inline;
  506. procedure clearTON; inline;
  507. procedure clearTSIDL; inline;
  508. procedure setON; inline;
  509. procedure setSIDL; inline;
  510. procedure setTCKPS0; inline;
  511. procedure setTCKPS1; inline;
  512. procedure setTCKPS2; inline;
  513. procedure setTCS; inline;
  514. procedure setTGATE; inline;
  515. procedure setTON; inline;
  516. procedure setTSIDL; inline;
  517. property ON : TBits_1 read getON write setON;
  518. property SIDL : TBits_1 read getSIDL write setSIDL;
  519. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  520. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  521. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  522. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  523. property TCS : TBits_1 read getTCS write setTCS;
  524. property TGATE : TBits_1 read getTGATE write setTGATE;
  525. property TON : TBits_1 read getTON write setTON;
  526. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  527. property w : TBits_32 read getw write setw;
  528. end;
  529. type
  530. TTMR3Registers = record
  531. T3CONbits : TTMR3_T3CON;
  532. T3CON : longWord;
  533. T3CONCLR : longWord;
  534. T3CONSET : longWord;
  535. T3CONINV : longWord;
  536. TMR3 : longWord;
  537. TMR3CLR : longWord;
  538. TMR3SET : longWord;
  539. TMR3INV : longWord;
  540. PR3 : longWord;
  541. PR3CLR : longWord;
  542. PR3SET : longWord;
  543. PR3INV : longWord;
  544. end;
  545. TTMR4_T4CON = record
  546. private
  547. function getON : TBits_1; inline;
  548. function getSIDL : TBits_1; inline;
  549. function getT32 : TBits_1; inline;
  550. function getTCKPS : TBits_3; inline;
  551. function getTCKPS0 : TBits_1; inline;
  552. function getTCKPS1 : TBits_1; inline;
  553. function getTCKPS2 : TBits_1; inline;
  554. function getTCS : TBits_1; inline;
  555. function getTGATE : TBits_1; inline;
  556. function getTON : TBits_1; inline;
  557. function getTSIDL : TBits_1; inline;
  558. function getw : TBits_32; inline;
  559. procedure setON(thebits : TBits_1); inline;
  560. procedure setSIDL(thebits : TBits_1); inline;
  561. procedure setT32(thebits : TBits_1); inline;
  562. procedure setTCKPS(thebits : TBits_3); inline;
  563. procedure setTCKPS0(thebits : TBits_1); inline;
  564. procedure setTCKPS1(thebits : TBits_1); inline;
  565. procedure setTCKPS2(thebits : TBits_1); inline;
  566. procedure setTCS(thebits : TBits_1); inline;
  567. procedure setTGATE(thebits : TBits_1); inline;
  568. procedure setTON(thebits : TBits_1); inline;
  569. procedure setTSIDL(thebits : TBits_1); inline;
  570. procedure setw(thebits : TBits_32); inline;
  571. public
  572. procedure clearON; inline;
  573. procedure clearSIDL; inline;
  574. procedure clearT32; inline;
  575. procedure clearTCKPS0; inline;
  576. procedure clearTCKPS1; inline;
  577. procedure clearTCKPS2; inline;
  578. procedure clearTCS; inline;
  579. procedure clearTGATE; inline;
  580. procedure clearTON; inline;
  581. procedure clearTSIDL; inline;
  582. procedure setON; inline;
  583. procedure setSIDL; inline;
  584. procedure setT32; inline;
  585. procedure setTCKPS0; inline;
  586. procedure setTCKPS1; inline;
  587. procedure setTCKPS2; inline;
  588. procedure setTCS; inline;
  589. procedure setTGATE; inline;
  590. procedure setTON; inline;
  591. procedure setTSIDL; inline;
  592. property ON : TBits_1 read getON write setON;
  593. property SIDL : TBits_1 read getSIDL write setSIDL;
  594. property T32 : TBits_1 read getT32 write setT32;
  595. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  596. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  597. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  598. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  599. property TCS : TBits_1 read getTCS write setTCS;
  600. property TGATE : TBits_1 read getTGATE write setTGATE;
  601. property TON : TBits_1 read getTON write setTON;
  602. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  603. property w : TBits_32 read getw write setw;
  604. end;
  605. type
  606. TTMR4Registers = record
  607. T4CONbits : TTMR4_T4CON;
  608. T4CON : longWord;
  609. T4CONCLR : longWord;
  610. T4CONSET : longWord;
  611. T4CONINV : longWord;
  612. TMR4 : longWord;
  613. TMR4CLR : longWord;
  614. TMR4SET : longWord;
  615. TMR4INV : longWord;
  616. PR4 : longWord;
  617. PR4CLR : longWord;
  618. PR4SET : longWord;
  619. PR4INV : longWord;
  620. end;
  621. TTMR5_T5CON = record
  622. private
  623. function getON : TBits_1; inline;
  624. function getSIDL : TBits_1; inline;
  625. function getTCKPS : TBits_3; inline;
  626. function getTCKPS0 : TBits_1; inline;
  627. function getTCKPS1 : TBits_1; inline;
  628. function getTCKPS2 : TBits_1; inline;
  629. function getTCS : TBits_1; inline;
  630. function getTGATE : TBits_1; inline;
  631. function getTON : TBits_1; inline;
  632. function getTSIDL : TBits_1; inline;
  633. function getw : TBits_32; inline;
  634. procedure setON(thebits : TBits_1); inline;
  635. procedure setSIDL(thebits : TBits_1); inline;
  636. procedure setTCKPS(thebits : TBits_3); inline;
  637. procedure setTCKPS0(thebits : TBits_1); inline;
  638. procedure setTCKPS1(thebits : TBits_1); inline;
  639. procedure setTCKPS2(thebits : TBits_1); inline;
  640. procedure setTCS(thebits : TBits_1); inline;
  641. procedure setTGATE(thebits : TBits_1); inline;
  642. procedure setTON(thebits : TBits_1); inline;
  643. procedure setTSIDL(thebits : TBits_1); inline;
  644. procedure setw(thebits : TBits_32); inline;
  645. public
  646. procedure clearON; inline;
  647. procedure clearSIDL; inline;
  648. procedure clearTCKPS0; inline;
  649. procedure clearTCKPS1; inline;
  650. procedure clearTCKPS2; inline;
  651. procedure clearTCS; inline;
  652. procedure clearTGATE; inline;
  653. procedure clearTON; inline;
  654. procedure clearTSIDL; inline;
  655. procedure setON; inline;
  656. procedure setSIDL; inline;
  657. procedure setTCKPS0; inline;
  658. procedure setTCKPS1; inline;
  659. procedure setTCKPS2; inline;
  660. procedure setTCS; inline;
  661. procedure setTGATE; inline;
  662. procedure setTON; inline;
  663. procedure setTSIDL; inline;
  664. property ON : TBits_1 read getON write setON;
  665. property SIDL : TBits_1 read getSIDL write setSIDL;
  666. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  667. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  668. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  669. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  670. property TCS : TBits_1 read getTCS write setTCS;
  671. property TGATE : TBits_1 read getTGATE write setTGATE;
  672. property TON : TBits_1 read getTON write setTON;
  673. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  674. property w : TBits_32 read getw write setw;
  675. end;
  676. type
  677. TTMR5Registers = record
  678. T5CONbits : TTMR5_T5CON;
  679. T5CON : longWord;
  680. T5CONCLR : longWord;
  681. T5CONSET : longWord;
  682. T5CONINV : longWord;
  683. TMR5 : longWord;
  684. TMR5CLR : longWord;
  685. TMR5SET : longWord;
  686. TMR5INV : longWord;
  687. PR5 : longWord;
  688. PR5CLR : longWord;
  689. PR5SET : longWord;
  690. PR5INV : longWord;
  691. end;
  692. TICAP1_IC1CON = record
  693. private
  694. function getC32 : TBits_1; inline;
  695. function getFEDGE : TBits_1; inline;
  696. function getICBNE : TBits_1; inline;
  697. function getICI : TBits_2; inline;
  698. function getICI0 : TBits_1; inline;
  699. function getICI1 : TBits_1; inline;
  700. function getICM : TBits_3; inline;
  701. function getICM0 : TBits_1; inline;
  702. function getICM1 : TBits_1; inline;
  703. function getICM2 : TBits_1; inline;
  704. function getICOV : TBits_1; inline;
  705. function getICSIDL : TBits_1; inline;
  706. function getICTMR : TBits_1; inline;
  707. function getON : TBits_1; inline;
  708. function getSIDL : TBits_1; inline;
  709. function getw : TBits_32; inline;
  710. procedure setC32(thebits : TBits_1); inline;
  711. procedure setFEDGE(thebits : TBits_1); inline;
  712. procedure setICBNE(thebits : TBits_1); inline;
  713. procedure setICI(thebits : TBits_2); inline;
  714. procedure setICI0(thebits : TBits_1); inline;
  715. procedure setICI1(thebits : TBits_1); inline;
  716. procedure setICM(thebits : TBits_3); inline;
  717. procedure setICM0(thebits : TBits_1); inline;
  718. procedure setICM1(thebits : TBits_1); inline;
  719. procedure setICM2(thebits : TBits_1); inline;
  720. procedure setICOV(thebits : TBits_1); inline;
  721. procedure setICSIDL(thebits : TBits_1); inline;
  722. procedure setICTMR(thebits : TBits_1); inline;
  723. procedure setON(thebits : TBits_1); inline;
  724. procedure setSIDL(thebits : TBits_1); inline;
  725. procedure setw(thebits : TBits_32); inline;
  726. public
  727. procedure clearC32; inline;
  728. procedure clearFEDGE; inline;
  729. procedure clearICBNE; inline;
  730. procedure clearICI0; inline;
  731. procedure clearICI1; inline;
  732. procedure clearICM0; inline;
  733. procedure clearICM1; inline;
  734. procedure clearICM2; inline;
  735. procedure clearICOV; inline;
  736. procedure clearICSIDL; inline;
  737. procedure clearICTMR; inline;
  738. procedure clearON; inline;
  739. procedure clearSIDL; inline;
  740. procedure setC32; inline;
  741. procedure setFEDGE; inline;
  742. procedure setICBNE; inline;
  743. procedure setICI0; inline;
  744. procedure setICI1; inline;
  745. procedure setICM0; inline;
  746. procedure setICM1; inline;
  747. procedure setICM2; inline;
  748. procedure setICOV; inline;
  749. procedure setICSIDL; inline;
  750. procedure setICTMR; inline;
  751. procedure setON; inline;
  752. procedure setSIDL; inline;
  753. property C32 : TBits_1 read getC32 write setC32;
  754. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  755. property ICBNE : TBits_1 read getICBNE write setICBNE;
  756. property ICI : TBits_2 read getICI write setICI;
  757. property ICI0 : TBits_1 read getICI0 write setICI0;
  758. property ICI1 : TBits_1 read getICI1 write setICI1;
  759. property ICM : TBits_3 read getICM write setICM;
  760. property ICM0 : TBits_1 read getICM0 write setICM0;
  761. property ICM1 : TBits_1 read getICM1 write setICM1;
  762. property ICM2 : TBits_1 read getICM2 write setICM2;
  763. property ICOV : TBits_1 read getICOV write setICOV;
  764. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  765. property ICTMR : TBits_1 read getICTMR write setICTMR;
  766. property ON : TBits_1 read getON write setON;
  767. property SIDL : TBits_1 read getSIDL write setSIDL;
  768. property w : TBits_32 read getw write setw;
  769. end;
  770. type
  771. TICAP1Registers = record
  772. IC1CONbits : TICAP1_IC1CON;
  773. IC1CON : longWord;
  774. IC1CONCLR : longWord;
  775. IC1CONSET : longWord;
  776. IC1CONINV : longWord;
  777. IC1BUF : longWord;
  778. end;
  779. TICAP2_IC2CON = record
  780. private
  781. function getC32 : TBits_1; inline;
  782. function getFEDGE : TBits_1; inline;
  783. function getICBNE : TBits_1; inline;
  784. function getICI : TBits_2; inline;
  785. function getICI0 : TBits_1; inline;
  786. function getICI1 : TBits_1; inline;
  787. function getICM : TBits_3; inline;
  788. function getICM0 : TBits_1; inline;
  789. function getICM1 : TBits_1; inline;
  790. function getICM2 : TBits_1; inline;
  791. function getICOV : TBits_1; inline;
  792. function getICSIDL : TBits_1; inline;
  793. function getICTMR : TBits_1; inline;
  794. function getON : TBits_1; inline;
  795. function getSIDL : TBits_1; inline;
  796. function getw : TBits_32; inline;
  797. procedure setC32(thebits : TBits_1); inline;
  798. procedure setFEDGE(thebits : TBits_1); inline;
  799. procedure setICBNE(thebits : TBits_1); inline;
  800. procedure setICI(thebits : TBits_2); inline;
  801. procedure setICI0(thebits : TBits_1); inline;
  802. procedure setICI1(thebits : TBits_1); inline;
  803. procedure setICM(thebits : TBits_3); inline;
  804. procedure setICM0(thebits : TBits_1); inline;
  805. procedure setICM1(thebits : TBits_1); inline;
  806. procedure setICM2(thebits : TBits_1); inline;
  807. procedure setICOV(thebits : TBits_1); inline;
  808. procedure setICSIDL(thebits : TBits_1); inline;
  809. procedure setICTMR(thebits : TBits_1); inline;
  810. procedure setON(thebits : TBits_1); inline;
  811. procedure setSIDL(thebits : TBits_1); inline;
  812. procedure setw(thebits : TBits_32); inline;
  813. public
  814. procedure clearC32; inline;
  815. procedure clearFEDGE; inline;
  816. procedure clearICBNE; inline;
  817. procedure clearICI0; inline;
  818. procedure clearICI1; inline;
  819. procedure clearICM0; inline;
  820. procedure clearICM1; inline;
  821. procedure clearICM2; inline;
  822. procedure clearICOV; inline;
  823. procedure clearICSIDL; inline;
  824. procedure clearICTMR; inline;
  825. procedure clearON; inline;
  826. procedure clearSIDL; inline;
  827. procedure setC32; inline;
  828. procedure setFEDGE; inline;
  829. procedure setICBNE; inline;
  830. procedure setICI0; inline;
  831. procedure setICI1; inline;
  832. procedure setICM0; inline;
  833. procedure setICM1; inline;
  834. procedure setICM2; inline;
  835. procedure setICOV; inline;
  836. procedure setICSIDL; inline;
  837. procedure setICTMR; inline;
  838. procedure setON; inline;
  839. procedure setSIDL; inline;
  840. property C32 : TBits_1 read getC32 write setC32;
  841. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  842. property ICBNE : TBits_1 read getICBNE write setICBNE;
  843. property ICI : TBits_2 read getICI write setICI;
  844. property ICI0 : TBits_1 read getICI0 write setICI0;
  845. property ICI1 : TBits_1 read getICI1 write setICI1;
  846. property ICM : TBits_3 read getICM write setICM;
  847. property ICM0 : TBits_1 read getICM0 write setICM0;
  848. property ICM1 : TBits_1 read getICM1 write setICM1;
  849. property ICM2 : TBits_1 read getICM2 write setICM2;
  850. property ICOV : TBits_1 read getICOV write setICOV;
  851. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  852. property ICTMR : TBits_1 read getICTMR write setICTMR;
  853. property ON : TBits_1 read getON write setON;
  854. property SIDL : TBits_1 read getSIDL write setSIDL;
  855. property w : TBits_32 read getw write setw;
  856. end;
  857. type
  858. TICAP2Registers = record
  859. IC2CONbits : TICAP2_IC2CON;
  860. IC2CON : longWord;
  861. IC2CONCLR : longWord;
  862. IC2CONSET : longWord;
  863. IC2CONINV : longWord;
  864. IC2BUF : longWord;
  865. end;
  866. TICAP3_IC3CON = record
  867. private
  868. function getC32 : TBits_1; inline;
  869. function getFEDGE : TBits_1; inline;
  870. function getICBNE : TBits_1; inline;
  871. function getICI : TBits_2; inline;
  872. function getICI0 : TBits_1; inline;
  873. function getICI1 : TBits_1; inline;
  874. function getICM : TBits_3; inline;
  875. function getICM0 : TBits_1; inline;
  876. function getICM1 : TBits_1; inline;
  877. function getICM2 : TBits_1; inline;
  878. function getICOV : TBits_1; inline;
  879. function getICSIDL : TBits_1; inline;
  880. function getICTMR : TBits_1; inline;
  881. function getON : TBits_1; inline;
  882. function getSIDL : TBits_1; inline;
  883. function getw : TBits_32; inline;
  884. procedure setC32(thebits : TBits_1); inline;
  885. procedure setFEDGE(thebits : TBits_1); inline;
  886. procedure setICBNE(thebits : TBits_1); inline;
  887. procedure setICI(thebits : TBits_2); inline;
  888. procedure setICI0(thebits : TBits_1); inline;
  889. procedure setICI1(thebits : TBits_1); inline;
  890. procedure setICM(thebits : TBits_3); inline;
  891. procedure setICM0(thebits : TBits_1); inline;
  892. procedure setICM1(thebits : TBits_1); inline;
  893. procedure setICM2(thebits : TBits_1); inline;
  894. procedure setICOV(thebits : TBits_1); inline;
  895. procedure setICSIDL(thebits : TBits_1); inline;
  896. procedure setICTMR(thebits : TBits_1); inline;
  897. procedure setON(thebits : TBits_1); inline;
  898. procedure setSIDL(thebits : TBits_1); inline;
  899. procedure setw(thebits : TBits_32); inline;
  900. public
  901. procedure clearC32; inline;
  902. procedure clearFEDGE; inline;
  903. procedure clearICBNE; inline;
  904. procedure clearICI0; inline;
  905. procedure clearICI1; inline;
  906. procedure clearICM0; inline;
  907. procedure clearICM1; inline;
  908. procedure clearICM2; inline;
  909. procedure clearICOV; inline;
  910. procedure clearICSIDL; inline;
  911. procedure clearICTMR; inline;
  912. procedure clearON; inline;
  913. procedure clearSIDL; inline;
  914. procedure setC32; inline;
  915. procedure setFEDGE; inline;
  916. procedure setICBNE; inline;
  917. procedure setICI0; inline;
  918. procedure setICI1; inline;
  919. procedure setICM0; inline;
  920. procedure setICM1; inline;
  921. procedure setICM2; inline;
  922. procedure setICOV; inline;
  923. procedure setICSIDL; inline;
  924. procedure setICTMR; inline;
  925. procedure setON; inline;
  926. procedure setSIDL; inline;
  927. property C32 : TBits_1 read getC32 write setC32;
  928. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  929. property ICBNE : TBits_1 read getICBNE write setICBNE;
  930. property ICI : TBits_2 read getICI write setICI;
  931. property ICI0 : TBits_1 read getICI0 write setICI0;
  932. property ICI1 : TBits_1 read getICI1 write setICI1;
  933. property ICM : TBits_3 read getICM write setICM;
  934. property ICM0 : TBits_1 read getICM0 write setICM0;
  935. property ICM1 : TBits_1 read getICM1 write setICM1;
  936. property ICM2 : TBits_1 read getICM2 write setICM2;
  937. property ICOV : TBits_1 read getICOV write setICOV;
  938. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  939. property ICTMR : TBits_1 read getICTMR write setICTMR;
  940. property ON : TBits_1 read getON write setON;
  941. property SIDL : TBits_1 read getSIDL write setSIDL;
  942. property w : TBits_32 read getw write setw;
  943. end;
  944. type
  945. TICAP3Registers = record
  946. IC3CONbits : TICAP3_IC3CON;
  947. IC3CON : longWord;
  948. IC3CONCLR : longWord;
  949. IC3CONSET : longWord;
  950. IC3CONINV : longWord;
  951. IC3BUF : longWord;
  952. end;
  953. TICAP4_IC4CON = record
  954. private
  955. function getC32 : TBits_1; inline;
  956. function getFEDGE : TBits_1; inline;
  957. function getICBNE : TBits_1; inline;
  958. function getICI : TBits_2; inline;
  959. function getICI0 : TBits_1; inline;
  960. function getICI1 : TBits_1; inline;
  961. function getICM : TBits_3; inline;
  962. function getICM0 : TBits_1; inline;
  963. function getICM1 : TBits_1; inline;
  964. function getICM2 : TBits_1; inline;
  965. function getICOV : TBits_1; inline;
  966. function getICSIDL : TBits_1; inline;
  967. function getICTMR : TBits_1; inline;
  968. function getON : TBits_1; inline;
  969. function getSIDL : TBits_1; inline;
  970. function getw : TBits_32; inline;
  971. procedure setC32(thebits : TBits_1); inline;
  972. procedure setFEDGE(thebits : TBits_1); inline;
  973. procedure setICBNE(thebits : TBits_1); inline;
  974. procedure setICI(thebits : TBits_2); inline;
  975. procedure setICI0(thebits : TBits_1); inline;
  976. procedure setICI1(thebits : TBits_1); inline;
  977. procedure setICM(thebits : TBits_3); inline;
  978. procedure setICM0(thebits : TBits_1); inline;
  979. procedure setICM1(thebits : TBits_1); inline;
  980. procedure setICM2(thebits : TBits_1); inline;
  981. procedure setICOV(thebits : TBits_1); inline;
  982. procedure setICSIDL(thebits : TBits_1); inline;
  983. procedure setICTMR(thebits : TBits_1); inline;
  984. procedure setON(thebits : TBits_1); inline;
  985. procedure setSIDL(thebits : TBits_1); inline;
  986. procedure setw(thebits : TBits_32); inline;
  987. public
  988. procedure clearC32; inline;
  989. procedure clearFEDGE; inline;
  990. procedure clearICBNE; inline;
  991. procedure clearICI0; inline;
  992. procedure clearICI1; inline;
  993. procedure clearICM0; inline;
  994. procedure clearICM1; inline;
  995. procedure clearICM2; inline;
  996. procedure clearICOV; inline;
  997. procedure clearICSIDL; inline;
  998. procedure clearICTMR; inline;
  999. procedure clearON; inline;
  1000. procedure clearSIDL; inline;
  1001. procedure setC32; inline;
  1002. procedure setFEDGE; inline;
  1003. procedure setICBNE; inline;
  1004. procedure setICI0; inline;
  1005. procedure setICI1; inline;
  1006. procedure setICM0; inline;
  1007. procedure setICM1; inline;
  1008. procedure setICM2; inline;
  1009. procedure setICOV; inline;
  1010. procedure setICSIDL; inline;
  1011. procedure setICTMR; inline;
  1012. procedure setON; inline;
  1013. procedure setSIDL; inline;
  1014. property C32 : TBits_1 read getC32 write setC32;
  1015. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1016. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1017. property ICI : TBits_2 read getICI write setICI;
  1018. property ICI0 : TBits_1 read getICI0 write setICI0;
  1019. property ICI1 : TBits_1 read getICI1 write setICI1;
  1020. property ICM : TBits_3 read getICM write setICM;
  1021. property ICM0 : TBits_1 read getICM0 write setICM0;
  1022. property ICM1 : TBits_1 read getICM1 write setICM1;
  1023. property ICM2 : TBits_1 read getICM2 write setICM2;
  1024. property ICOV : TBits_1 read getICOV write setICOV;
  1025. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1026. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1027. property ON : TBits_1 read getON write setON;
  1028. property SIDL : TBits_1 read getSIDL write setSIDL;
  1029. property w : TBits_32 read getw write setw;
  1030. end;
  1031. type
  1032. TICAP4Registers = record
  1033. IC4CONbits : TICAP4_IC4CON;
  1034. IC4CON : longWord;
  1035. IC4CONCLR : longWord;
  1036. IC4CONSET : longWord;
  1037. IC4CONINV : longWord;
  1038. IC4BUF : longWord;
  1039. end;
  1040. TICAP5_IC5CON = record
  1041. private
  1042. function getC32 : TBits_1; inline;
  1043. function getFEDGE : TBits_1; inline;
  1044. function getICBNE : TBits_1; inline;
  1045. function getICI : TBits_2; inline;
  1046. function getICI0 : TBits_1; inline;
  1047. function getICI1 : TBits_1; inline;
  1048. function getICM : TBits_3; inline;
  1049. function getICM0 : TBits_1; inline;
  1050. function getICM1 : TBits_1; inline;
  1051. function getICM2 : TBits_1; inline;
  1052. function getICOV : TBits_1; inline;
  1053. function getICSIDL : TBits_1; inline;
  1054. function getICTMR : TBits_1; inline;
  1055. function getON : TBits_1; inline;
  1056. function getSIDL : TBits_1; inline;
  1057. function getw : TBits_32; inline;
  1058. procedure setC32(thebits : TBits_1); inline;
  1059. procedure setFEDGE(thebits : TBits_1); inline;
  1060. procedure setICBNE(thebits : TBits_1); inline;
  1061. procedure setICI(thebits : TBits_2); inline;
  1062. procedure setICI0(thebits : TBits_1); inline;
  1063. procedure setICI1(thebits : TBits_1); inline;
  1064. procedure setICM(thebits : TBits_3); inline;
  1065. procedure setICM0(thebits : TBits_1); inline;
  1066. procedure setICM1(thebits : TBits_1); inline;
  1067. procedure setICM2(thebits : TBits_1); inline;
  1068. procedure setICOV(thebits : TBits_1); inline;
  1069. procedure setICSIDL(thebits : TBits_1); inline;
  1070. procedure setICTMR(thebits : TBits_1); inline;
  1071. procedure setON(thebits : TBits_1); inline;
  1072. procedure setSIDL(thebits : TBits_1); inline;
  1073. procedure setw(thebits : TBits_32); inline;
  1074. public
  1075. procedure clearC32; inline;
  1076. procedure clearFEDGE; inline;
  1077. procedure clearICBNE; inline;
  1078. procedure clearICI0; inline;
  1079. procedure clearICI1; inline;
  1080. procedure clearICM0; inline;
  1081. procedure clearICM1; inline;
  1082. procedure clearICM2; inline;
  1083. procedure clearICOV; inline;
  1084. procedure clearICSIDL; inline;
  1085. procedure clearICTMR; inline;
  1086. procedure clearON; inline;
  1087. procedure clearSIDL; inline;
  1088. procedure setC32; inline;
  1089. procedure setFEDGE; inline;
  1090. procedure setICBNE; inline;
  1091. procedure setICI0; inline;
  1092. procedure setICI1; inline;
  1093. procedure setICM0; inline;
  1094. procedure setICM1; inline;
  1095. procedure setICM2; inline;
  1096. procedure setICOV; inline;
  1097. procedure setICSIDL; inline;
  1098. procedure setICTMR; inline;
  1099. procedure setON; inline;
  1100. procedure setSIDL; inline;
  1101. property C32 : TBits_1 read getC32 write setC32;
  1102. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1103. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1104. property ICI : TBits_2 read getICI write setICI;
  1105. property ICI0 : TBits_1 read getICI0 write setICI0;
  1106. property ICI1 : TBits_1 read getICI1 write setICI1;
  1107. property ICM : TBits_3 read getICM write setICM;
  1108. property ICM0 : TBits_1 read getICM0 write setICM0;
  1109. property ICM1 : TBits_1 read getICM1 write setICM1;
  1110. property ICM2 : TBits_1 read getICM2 write setICM2;
  1111. property ICOV : TBits_1 read getICOV write setICOV;
  1112. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1113. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1114. property ON : TBits_1 read getON write setON;
  1115. property SIDL : TBits_1 read getSIDL write setSIDL;
  1116. property w : TBits_32 read getw write setw;
  1117. end;
  1118. type
  1119. TICAP5Registers = record
  1120. IC5CONbits : TICAP5_IC5CON;
  1121. IC5CON : longWord;
  1122. IC5CONCLR : longWord;
  1123. IC5CONSET : longWord;
  1124. IC5CONINV : longWord;
  1125. IC5BUF : longWord;
  1126. end;
  1127. TOCMP1_OC1CON = record
  1128. private
  1129. function getOC32 : TBits_1; inline;
  1130. function getOCFLT : TBits_1; inline;
  1131. function getOCM : TBits_3; inline;
  1132. function getOCM0 : TBits_1; inline;
  1133. function getOCM1 : TBits_1; inline;
  1134. function getOCM2 : TBits_1; inline;
  1135. function getOCSIDL : TBits_1; inline;
  1136. function getOCTSEL : TBits_1; inline;
  1137. function getON : TBits_1; inline;
  1138. function getSIDL : TBits_1; inline;
  1139. function getw : TBits_32; inline;
  1140. procedure setOC32(thebits : TBits_1); inline;
  1141. procedure setOCFLT(thebits : TBits_1); inline;
  1142. procedure setOCM(thebits : TBits_3); inline;
  1143. procedure setOCM0(thebits : TBits_1); inline;
  1144. procedure setOCM1(thebits : TBits_1); inline;
  1145. procedure setOCM2(thebits : TBits_1); inline;
  1146. procedure setOCSIDL(thebits : TBits_1); inline;
  1147. procedure setOCTSEL(thebits : TBits_1); inline;
  1148. procedure setON(thebits : TBits_1); inline;
  1149. procedure setSIDL(thebits : TBits_1); inline;
  1150. procedure setw(thebits : TBits_32); inline;
  1151. public
  1152. procedure clearOC32; inline;
  1153. procedure clearOCFLT; inline;
  1154. procedure clearOCM0; inline;
  1155. procedure clearOCM1; inline;
  1156. procedure clearOCM2; inline;
  1157. procedure clearOCSIDL; inline;
  1158. procedure clearOCTSEL; inline;
  1159. procedure clearON; inline;
  1160. procedure clearSIDL; inline;
  1161. procedure setOC32; inline;
  1162. procedure setOCFLT; inline;
  1163. procedure setOCM0; inline;
  1164. procedure setOCM1; inline;
  1165. procedure setOCM2; inline;
  1166. procedure setOCSIDL; inline;
  1167. procedure setOCTSEL; inline;
  1168. procedure setON; inline;
  1169. procedure setSIDL; inline;
  1170. property OC32 : TBits_1 read getOC32 write setOC32;
  1171. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1172. property OCM : TBits_3 read getOCM write setOCM;
  1173. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1174. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1175. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1176. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1177. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1178. property ON : TBits_1 read getON write setON;
  1179. property SIDL : TBits_1 read getSIDL write setSIDL;
  1180. property w : TBits_32 read getw write setw;
  1181. end;
  1182. type
  1183. TOCMP1Registers = record
  1184. OC1CONbits : TOCMP1_OC1CON;
  1185. OC1CON : longWord;
  1186. OC1CONCLR : longWord;
  1187. OC1CONSET : longWord;
  1188. OC1CONINV : longWord;
  1189. OC1R : longWord;
  1190. OC1RCLR : longWord;
  1191. OC1RSET : longWord;
  1192. OC1RINV : longWord;
  1193. OC1RS : longWord;
  1194. OC1RSCLR : longWord;
  1195. OC1RSSET : longWord;
  1196. OC1RSINV : longWord;
  1197. end;
  1198. TOCMP2_OC2CON = record
  1199. private
  1200. function getOC32 : TBits_1; inline;
  1201. function getOCFLT : TBits_1; inline;
  1202. function getOCM : TBits_3; inline;
  1203. function getOCM0 : TBits_1; inline;
  1204. function getOCM1 : TBits_1; inline;
  1205. function getOCM2 : TBits_1; inline;
  1206. function getOCSIDL : TBits_1; inline;
  1207. function getOCTSEL : TBits_1; inline;
  1208. function getON : TBits_1; inline;
  1209. function getSIDL : TBits_1; inline;
  1210. function getw : TBits_32; inline;
  1211. procedure setOC32(thebits : TBits_1); inline;
  1212. procedure setOCFLT(thebits : TBits_1); inline;
  1213. procedure setOCM(thebits : TBits_3); inline;
  1214. procedure setOCM0(thebits : TBits_1); inline;
  1215. procedure setOCM1(thebits : TBits_1); inline;
  1216. procedure setOCM2(thebits : TBits_1); inline;
  1217. procedure setOCSIDL(thebits : TBits_1); inline;
  1218. procedure setOCTSEL(thebits : TBits_1); inline;
  1219. procedure setON(thebits : TBits_1); inline;
  1220. procedure setSIDL(thebits : TBits_1); inline;
  1221. procedure setw(thebits : TBits_32); inline;
  1222. public
  1223. procedure clearOC32; inline;
  1224. procedure clearOCFLT; inline;
  1225. procedure clearOCM0; inline;
  1226. procedure clearOCM1; inline;
  1227. procedure clearOCM2; inline;
  1228. procedure clearOCSIDL; inline;
  1229. procedure clearOCTSEL; inline;
  1230. procedure clearON; inline;
  1231. procedure clearSIDL; inline;
  1232. procedure setOC32; inline;
  1233. procedure setOCFLT; inline;
  1234. procedure setOCM0; inline;
  1235. procedure setOCM1; inline;
  1236. procedure setOCM2; inline;
  1237. procedure setOCSIDL; inline;
  1238. procedure setOCTSEL; inline;
  1239. procedure setON; inline;
  1240. procedure setSIDL; inline;
  1241. property OC32 : TBits_1 read getOC32 write setOC32;
  1242. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1243. property OCM : TBits_3 read getOCM write setOCM;
  1244. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1245. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1246. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1247. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1248. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1249. property ON : TBits_1 read getON write setON;
  1250. property SIDL : TBits_1 read getSIDL write setSIDL;
  1251. property w : TBits_32 read getw write setw;
  1252. end;
  1253. type
  1254. TOCMP2Registers = record
  1255. OC2CONbits : TOCMP2_OC2CON;
  1256. OC2CON : longWord;
  1257. OC2CONCLR : longWord;
  1258. OC2CONSET : longWord;
  1259. OC2CONINV : longWord;
  1260. OC2R : longWord;
  1261. OC2RCLR : longWord;
  1262. OC2RSET : longWord;
  1263. OC2RINV : longWord;
  1264. OC2RS : longWord;
  1265. OC2RSCLR : longWord;
  1266. OC2RSSET : longWord;
  1267. OC2RSINV : longWord;
  1268. end;
  1269. TOCMP3_OC3CON = record
  1270. private
  1271. function getOC32 : TBits_1; inline;
  1272. function getOCFLT : TBits_1; inline;
  1273. function getOCM : TBits_3; inline;
  1274. function getOCM0 : TBits_1; inline;
  1275. function getOCM1 : TBits_1; inline;
  1276. function getOCM2 : TBits_1; inline;
  1277. function getOCSIDL : TBits_1; inline;
  1278. function getOCTSEL : TBits_1; inline;
  1279. function getON : TBits_1; inline;
  1280. function getSIDL : TBits_1; inline;
  1281. function getw : TBits_32; inline;
  1282. procedure setOC32(thebits : TBits_1); inline;
  1283. procedure setOCFLT(thebits : TBits_1); inline;
  1284. procedure setOCM(thebits : TBits_3); inline;
  1285. procedure setOCM0(thebits : TBits_1); inline;
  1286. procedure setOCM1(thebits : TBits_1); inline;
  1287. procedure setOCM2(thebits : TBits_1); inline;
  1288. procedure setOCSIDL(thebits : TBits_1); inline;
  1289. procedure setOCTSEL(thebits : TBits_1); inline;
  1290. procedure setON(thebits : TBits_1); inline;
  1291. procedure setSIDL(thebits : TBits_1); inline;
  1292. procedure setw(thebits : TBits_32); inline;
  1293. public
  1294. procedure clearOC32; inline;
  1295. procedure clearOCFLT; inline;
  1296. procedure clearOCM0; inline;
  1297. procedure clearOCM1; inline;
  1298. procedure clearOCM2; inline;
  1299. procedure clearOCSIDL; inline;
  1300. procedure clearOCTSEL; inline;
  1301. procedure clearON; inline;
  1302. procedure clearSIDL; inline;
  1303. procedure setOC32; inline;
  1304. procedure setOCFLT; inline;
  1305. procedure setOCM0; inline;
  1306. procedure setOCM1; inline;
  1307. procedure setOCM2; inline;
  1308. procedure setOCSIDL; inline;
  1309. procedure setOCTSEL; inline;
  1310. procedure setON; inline;
  1311. procedure setSIDL; inline;
  1312. property OC32 : TBits_1 read getOC32 write setOC32;
  1313. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1314. property OCM : TBits_3 read getOCM write setOCM;
  1315. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1316. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1317. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1318. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1319. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1320. property ON : TBits_1 read getON write setON;
  1321. property SIDL : TBits_1 read getSIDL write setSIDL;
  1322. property w : TBits_32 read getw write setw;
  1323. end;
  1324. type
  1325. TOCMP3Registers = record
  1326. OC3CONbits : TOCMP3_OC3CON;
  1327. OC3CON : longWord;
  1328. OC3CONCLR : longWord;
  1329. OC3CONSET : longWord;
  1330. OC3CONINV : longWord;
  1331. OC3R : longWord;
  1332. OC3RCLR : longWord;
  1333. OC3RSET : longWord;
  1334. OC3RINV : longWord;
  1335. OC3RS : longWord;
  1336. OC3RSCLR : longWord;
  1337. OC3RSSET : longWord;
  1338. OC3RSINV : longWord;
  1339. end;
  1340. TOCMP4_OC4CON = record
  1341. private
  1342. function getOC32 : TBits_1; inline;
  1343. function getOCFLT : TBits_1; inline;
  1344. function getOCM : TBits_3; inline;
  1345. function getOCM0 : TBits_1; inline;
  1346. function getOCM1 : TBits_1; inline;
  1347. function getOCM2 : TBits_1; inline;
  1348. function getOCSIDL : TBits_1; inline;
  1349. function getOCTSEL : TBits_1; inline;
  1350. function getON : TBits_1; inline;
  1351. function getSIDL : TBits_1; inline;
  1352. function getw : TBits_32; inline;
  1353. procedure setOC32(thebits : TBits_1); inline;
  1354. procedure setOCFLT(thebits : TBits_1); inline;
  1355. procedure setOCM(thebits : TBits_3); inline;
  1356. procedure setOCM0(thebits : TBits_1); inline;
  1357. procedure setOCM1(thebits : TBits_1); inline;
  1358. procedure setOCM2(thebits : TBits_1); inline;
  1359. procedure setOCSIDL(thebits : TBits_1); inline;
  1360. procedure setOCTSEL(thebits : TBits_1); inline;
  1361. procedure setON(thebits : TBits_1); inline;
  1362. procedure setSIDL(thebits : TBits_1); inline;
  1363. procedure setw(thebits : TBits_32); inline;
  1364. public
  1365. procedure clearOC32; inline;
  1366. procedure clearOCFLT; inline;
  1367. procedure clearOCM0; inline;
  1368. procedure clearOCM1; inline;
  1369. procedure clearOCM2; inline;
  1370. procedure clearOCSIDL; inline;
  1371. procedure clearOCTSEL; inline;
  1372. procedure clearON; inline;
  1373. procedure clearSIDL; inline;
  1374. procedure setOC32; inline;
  1375. procedure setOCFLT; inline;
  1376. procedure setOCM0; inline;
  1377. procedure setOCM1; inline;
  1378. procedure setOCM2; inline;
  1379. procedure setOCSIDL; inline;
  1380. procedure setOCTSEL; inline;
  1381. procedure setON; inline;
  1382. procedure setSIDL; inline;
  1383. property OC32 : TBits_1 read getOC32 write setOC32;
  1384. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1385. property OCM : TBits_3 read getOCM write setOCM;
  1386. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1387. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1388. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1389. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1390. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1391. property ON : TBits_1 read getON write setON;
  1392. property SIDL : TBits_1 read getSIDL write setSIDL;
  1393. property w : TBits_32 read getw write setw;
  1394. end;
  1395. type
  1396. TOCMP4Registers = record
  1397. OC4CONbits : TOCMP4_OC4CON;
  1398. OC4CON : longWord;
  1399. OC4CONCLR : longWord;
  1400. OC4CONSET : longWord;
  1401. OC4CONINV : longWord;
  1402. OC4R : longWord;
  1403. OC4RCLR : longWord;
  1404. OC4RSET : longWord;
  1405. OC4RINV : longWord;
  1406. OC4RS : longWord;
  1407. OC4RSCLR : longWord;
  1408. OC4RSSET : longWord;
  1409. OC4RSINV : longWord;
  1410. end;
  1411. TOCMP5_OC5CON = record
  1412. private
  1413. function getOC32 : TBits_1; inline;
  1414. function getOCFLT : TBits_1; inline;
  1415. function getOCM : TBits_3; inline;
  1416. function getOCM0 : TBits_1; inline;
  1417. function getOCM1 : TBits_1; inline;
  1418. function getOCM2 : TBits_1; inline;
  1419. function getOCSIDL : TBits_1; inline;
  1420. function getOCTSEL : TBits_1; inline;
  1421. function getON : TBits_1; inline;
  1422. function getSIDL : TBits_1; inline;
  1423. function getw : TBits_32; inline;
  1424. procedure setOC32(thebits : TBits_1); inline;
  1425. procedure setOCFLT(thebits : TBits_1); inline;
  1426. procedure setOCM(thebits : TBits_3); inline;
  1427. procedure setOCM0(thebits : TBits_1); inline;
  1428. procedure setOCM1(thebits : TBits_1); inline;
  1429. procedure setOCM2(thebits : TBits_1); inline;
  1430. procedure setOCSIDL(thebits : TBits_1); inline;
  1431. procedure setOCTSEL(thebits : TBits_1); inline;
  1432. procedure setON(thebits : TBits_1); inline;
  1433. procedure setSIDL(thebits : TBits_1); inline;
  1434. procedure setw(thebits : TBits_32); inline;
  1435. public
  1436. procedure clearOC32; inline;
  1437. procedure clearOCFLT; inline;
  1438. procedure clearOCM0; inline;
  1439. procedure clearOCM1; inline;
  1440. procedure clearOCM2; inline;
  1441. procedure clearOCSIDL; inline;
  1442. procedure clearOCTSEL; inline;
  1443. procedure clearON; inline;
  1444. procedure clearSIDL; inline;
  1445. procedure setOC32; inline;
  1446. procedure setOCFLT; inline;
  1447. procedure setOCM0; inline;
  1448. procedure setOCM1; inline;
  1449. procedure setOCM2; inline;
  1450. procedure setOCSIDL; inline;
  1451. procedure setOCTSEL; inline;
  1452. procedure setON; inline;
  1453. procedure setSIDL; inline;
  1454. property OC32 : TBits_1 read getOC32 write setOC32;
  1455. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1456. property OCM : TBits_3 read getOCM write setOCM;
  1457. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1458. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1459. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1460. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1461. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1462. property ON : TBits_1 read getON write setON;
  1463. property SIDL : TBits_1 read getSIDL write setSIDL;
  1464. property w : TBits_32 read getw write setw;
  1465. end;
  1466. type
  1467. TOCMP5Registers = record
  1468. OC5CONbits : TOCMP5_OC5CON;
  1469. OC5CON : longWord;
  1470. OC5CONCLR : longWord;
  1471. OC5CONSET : longWord;
  1472. OC5CONINV : longWord;
  1473. OC5R : longWord;
  1474. OC5RCLR : longWord;
  1475. OC5RSET : longWord;
  1476. OC5RINV : longWord;
  1477. OC5RS : longWord;
  1478. OC5RSCLR : longWord;
  1479. OC5RSSET : longWord;
  1480. OC5RSINV : longWord;
  1481. end;
  1482. TI2C1_I2C1CON = record
  1483. private
  1484. function getA10M : TBits_1; inline;
  1485. function getACKDT : TBits_1; inline;
  1486. function getACKEN : TBits_1; inline;
  1487. function getDISSLW : TBits_1; inline;
  1488. function getGCEN : TBits_1; inline;
  1489. function getI2CEN : TBits_1; inline;
  1490. function getI2CSIDL : TBits_1; inline;
  1491. function getIPMIEN : TBits_1; inline;
  1492. function getON : TBits_1; inline;
  1493. function getPEN : TBits_1; inline;
  1494. function getRCEN : TBits_1; inline;
  1495. function getRSEN : TBits_1; inline;
  1496. function getSCLREL : TBits_1; inline;
  1497. function getSEN : TBits_1; inline;
  1498. function getSIDL : TBits_1; inline;
  1499. function getSMEN : TBits_1; inline;
  1500. function getSTREN : TBits_1; inline;
  1501. function getSTRICT : TBits_1; inline;
  1502. function getw : TBits_32; inline;
  1503. procedure setA10M(thebits : TBits_1); inline;
  1504. procedure setACKDT(thebits : TBits_1); inline;
  1505. procedure setACKEN(thebits : TBits_1); inline;
  1506. procedure setDISSLW(thebits : TBits_1); inline;
  1507. procedure setGCEN(thebits : TBits_1); inline;
  1508. procedure setI2CEN(thebits : TBits_1); inline;
  1509. procedure setI2CSIDL(thebits : TBits_1); inline;
  1510. procedure setIPMIEN(thebits : TBits_1); inline;
  1511. procedure setON(thebits : TBits_1); inline;
  1512. procedure setPEN(thebits : TBits_1); inline;
  1513. procedure setRCEN(thebits : TBits_1); inline;
  1514. procedure setRSEN(thebits : TBits_1); inline;
  1515. procedure setSCLREL(thebits : TBits_1); inline;
  1516. procedure setSEN(thebits : TBits_1); inline;
  1517. procedure setSIDL(thebits : TBits_1); inline;
  1518. procedure setSMEN(thebits : TBits_1); inline;
  1519. procedure setSTREN(thebits : TBits_1); inline;
  1520. procedure setSTRICT(thebits : TBits_1); inline;
  1521. procedure setw(thebits : TBits_32); inline;
  1522. public
  1523. procedure clearA10M; inline;
  1524. procedure clearACKDT; inline;
  1525. procedure clearACKEN; inline;
  1526. procedure clearDISSLW; inline;
  1527. procedure clearGCEN; inline;
  1528. procedure clearI2CEN; inline;
  1529. procedure clearI2CSIDL; inline;
  1530. procedure clearIPMIEN; inline;
  1531. procedure clearON; inline;
  1532. procedure clearPEN; inline;
  1533. procedure clearRCEN; inline;
  1534. procedure clearRSEN; inline;
  1535. procedure clearSCLREL; inline;
  1536. procedure clearSEN; inline;
  1537. procedure clearSIDL; inline;
  1538. procedure clearSMEN; inline;
  1539. procedure clearSTREN; inline;
  1540. procedure clearSTRICT; inline;
  1541. procedure setA10M; inline;
  1542. procedure setACKDT; inline;
  1543. procedure setACKEN; inline;
  1544. procedure setDISSLW; inline;
  1545. procedure setGCEN; inline;
  1546. procedure setI2CEN; inline;
  1547. procedure setI2CSIDL; inline;
  1548. procedure setIPMIEN; inline;
  1549. procedure setON; inline;
  1550. procedure setPEN; inline;
  1551. procedure setRCEN; inline;
  1552. procedure setRSEN; inline;
  1553. procedure setSCLREL; inline;
  1554. procedure setSEN; inline;
  1555. procedure setSIDL; inline;
  1556. procedure setSMEN; inline;
  1557. procedure setSTREN; inline;
  1558. procedure setSTRICT; inline;
  1559. property A10M : TBits_1 read getA10M write setA10M;
  1560. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1561. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1562. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1563. property GCEN : TBits_1 read getGCEN write setGCEN;
  1564. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1565. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1566. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1567. property ON : TBits_1 read getON write setON;
  1568. property PEN : TBits_1 read getPEN write setPEN;
  1569. property RCEN : TBits_1 read getRCEN write setRCEN;
  1570. property RSEN : TBits_1 read getRSEN write setRSEN;
  1571. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1572. property SEN : TBits_1 read getSEN write setSEN;
  1573. property SIDL : TBits_1 read getSIDL write setSIDL;
  1574. property SMEN : TBits_1 read getSMEN write setSMEN;
  1575. property STREN : TBits_1 read getSTREN write setSTREN;
  1576. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1577. property w : TBits_32 read getw write setw;
  1578. end;
  1579. TI2C1_I2C1STAT = record
  1580. private
  1581. function getACKSTAT : TBits_1; inline;
  1582. function getADD10 : TBits_1; inline;
  1583. function getBCL : TBits_1; inline;
  1584. function getD_A : TBits_1; inline;
  1585. function getGCSTAT : TBits_1; inline;
  1586. function getI2COV : TBits_1; inline;
  1587. function getI2CPOV : TBits_1; inline;
  1588. function getIWCOL : TBits_1; inline;
  1589. function getP : TBits_1; inline;
  1590. function getRBF : TBits_1; inline;
  1591. function getR_W : TBits_1; inline;
  1592. function getS : TBits_1; inline;
  1593. function getTBF : TBits_1; inline;
  1594. function getTRSTAT : TBits_1; inline;
  1595. function getw : TBits_32; inline;
  1596. procedure setACKSTAT(thebits : TBits_1); inline;
  1597. procedure setADD10(thebits : TBits_1); inline;
  1598. procedure setBCL(thebits : TBits_1); inline;
  1599. procedure setD_A(thebits : TBits_1); inline;
  1600. procedure setGCSTAT(thebits : TBits_1); inline;
  1601. procedure setI2COV(thebits : TBits_1); inline;
  1602. procedure setI2CPOV(thebits : TBits_1); inline;
  1603. procedure setIWCOL(thebits : TBits_1); inline;
  1604. procedure setP(thebits : TBits_1); inline;
  1605. procedure setRBF(thebits : TBits_1); inline;
  1606. procedure setR_W(thebits : TBits_1); inline;
  1607. procedure setS(thebits : TBits_1); inline;
  1608. procedure setTBF(thebits : TBits_1); inline;
  1609. procedure setTRSTAT(thebits : TBits_1); inline;
  1610. procedure setw(thebits : TBits_32); inline;
  1611. public
  1612. procedure clearACKSTAT; inline;
  1613. procedure clearADD10; inline;
  1614. procedure clearBCL; inline;
  1615. procedure clearD_A; inline;
  1616. procedure clearGCSTAT; inline;
  1617. procedure clearI2COV; inline;
  1618. procedure clearI2CPOV; inline;
  1619. procedure clearIWCOL; inline;
  1620. procedure clearP; inline;
  1621. procedure clearRBF; inline;
  1622. procedure clearR_W; inline;
  1623. procedure clearS; inline;
  1624. procedure clearTBF; inline;
  1625. procedure clearTRSTAT; inline;
  1626. procedure setACKSTAT; inline;
  1627. procedure setADD10; inline;
  1628. procedure setBCL; inline;
  1629. procedure setD_A; inline;
  1630. procedure setGCSTAT; inline;
  1631. procedure setI2COV; inline;
  1632. procedure setI2CPOV; inline;
  1633. procedure setIWCOL; inline;
  1634. procedure setP; inline;
  1635. procedure setRBF; inline;
  1636. procedure setR_W; inline;
  1637. procedure setS; inline;
  1638. procedure setTBF; inline;
  1639. procedure setTRSTAT; inline;
  1640. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1641. property ADD10 : TBits_1 read getADD10 write setADD10;
  1642. property BCL : TBits_1 read getBCL write setBCL;
  1643. property D_A : TBits_1 read getD_A write setD_A;
  1644. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1645. property I2COV : TBits_1 read getI2COV write setI2COV;
  1646. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1647. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1648. property P : TBits_1 read getP write setP;
  1649. property RBF : TBits_1 read getRBF write setRBF;
  1650. property R_W : TBits_1 read getR_W write setR_W;
  1651. property S : TBits_1 read getS write setS;
  1652. property TBF : TBits_1 read getTBF write setTBF;
  1653. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1654. property w : TBits_32 read getw write setw;
  1655. end;
  1656. type
  1657. TI2C1Registers = record
  1658. I2C1CONbits : TI2C1_I2C1CON;
  1659. I2C1CON : longWord;
  1660. I2C1CONCLR : longWord;
  1661. I2C1CONSET : longWord;
  1662. I2C1CONINV : longWord;
  1663. I2C1STATbits : TI2C1_I2C1STAT;
  1664. I2C1STAT : longWord;
  1665. I2C1STATCLR : longWord;
  1666. I2C1STATSET : longWord;
  1667. I2C1STATINV : longWord;
  1668. I2C1ADD : longWord;
  1669. I2C1ADDCLR : longWord;
  1670. I2C1ADDSET : longWord;
  1671. I2C1ADDINV : longWord;
  1672. I2C1MSK : longWord;
  1673. I2C1MSKCLR : longWord;
  1674. I2C1MSKSET : longWord;
  1675. I2C1MSKINV : longWord;
  1676. I2C1BRG : longWord;
  1677. I2C1BRGCLR : longWord;
  1678. I2C1BRGSET : longWord;
  1679. I2C1BRGINV : longWord;
  1680. I2C1TRN : longWord;
  1681. I2C1TRNCLR : longWord;
  1682. I2C1TRNSET : longWord;
  1683. I2C1TRNINV : longWord;
  1684. I2C1RCV : longWord;
  1685. end;
  1686. TI2C2_I2C2CON = record
  1687. private
  1688. function getA10M : TBits_1; inline;
  1689. function getACKDT : TBits_1; inline;
  1690. function getACKEN : TBits_1; inline;
  1691. function getDISSLW : TBits_1; inline;
  1692. function getGCEN : TBits_1; inline;
  1693. function getI2CEN : TBits_1; inline;
  1694. function getI2CSIDL : TBits_1; inline;
  1695. function getIPMIEN : TBits_1; inline;
  1696. function getON : TBits_1; inline;
  1697. function getPEN : TBits_1; inline;
  1698. function getRCEN : TBits_1; inline;
  1699. function getRSEN : TBits_1; inline;
  1700. function getSCLREL : TBits_1; inline;
  1701. function getSEN : TBits_1; inline;
  1702. function getSIDL : TBits_1; inline;
  1703. function getSMEN : TBits_1; inline;
  1704. function getSTREN : TBits_1; inline;
  1705. function getSTRICT : TBits_1; inline;
  1706. function getw : TBits_32; inline;
  1707. procedure setA10M(thebits : TBits_1); inline;
  1708. procedure setACKDT(thebits : TBits_1); inline;
  1709. procedure setACKEN(thebits : TBits_1); inline;
  1710. procedure setDISSLW(thebits : TBits_1); inline;
  1711. procedure setGCEN(thebits : TBits_1); inline;
  1712. procedure setI2CEN(thebits : TBits_1); inline;
  1713. procedure setI2CSIDL(thebits : TBits_1); inline;
  1714. procedure setIPMIEN(thebits : TBits_1); inline;
  1715. procedure setON(thebits : TBits_1); inline;
  1716. procedure setPEN(thebits : TBits_1); inline;
  1717. procedure setRCEN(thebits : TBits_1); inline;
  1718. procedure setRSEN(thebits : TBits_1); inline;
  1719. procedure setSCLREL(thebits : TBits_1); inline;
  1720. procedure setSEN(thebits : TBits_1); inline;
  1721. procedure setSIDL(thebits : TBits_1); inline;
  1722. procedure setSMEN(thebits : TBits_1); inline;
  1723. procedure setSTREN(thebits : TBits_1); inline;
  1724. procedure setSTRICT(thebits : TBits_1); inline;
  1725. procedure setw(thebits : TBits_32); inline;
  1726. public
  1727. procedure clearA10M; inline;
  1728. procedure clearACKDT; inline;
  1729. procedure clearACKEN; inline;
  1730. procedure clearDISSLW; inline;
  1731. procedure clearGCEN; inline;
  1732. procedure clearI2CEN; inline;
  1733. procedure clearI2CSIDL; inline;
  1734. procedure clearIPMIEN; inline;
  1735. procedure clearON; inline;
  1736. procedure clearPEN; inline;
  1737. procedure clearRCEN; inline;
  1738. procedure clearRSEN; inline;
  1739. procedure clearSCLREL; inline;
  1740. procedure clearSEN; inline;
  1741. procedure clearSIDL; inline;
  1742. procedure clearSMEN; inline;
  1743. procedure clearSTREN; inline;
  1744. procedure clearSTRICT; inline;
  1745. procedure setA10M; inline;
  1746. procedure setACKDT; inline;
  1747. procedure setACKEN; inline;
  1748. procedure setDISSLW; inline;
  1749. procedure setGCEN; inline;
  1750. procedure setI2CEN; inline;
  1751. procedure setI2CSIDL; inline;
  1752. procedure setIPMIEN; inline;
  1753. procedure setON; inline;
  1754. procedure setPEN; inline;
  1755. procedure setRCEN; inline;
  1756. procedure setRSEN; inline;
  1757. procedure setSCLREL; inline;
  1758. procedure setSEN; inline;
  1759. procedure setSIDL; inline;
  1760. procedure setSMEN; inline;
  1761. procedure setSTREN; inline;
  1762. procedure setSTRICT; inline;
  1763. property A10M : TBits_1 read getA10M write setA10M;
  1764. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1765. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1766. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1767. property GCEN : TBits_1 read getGCEN write setGCEN;
  1768. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1769. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1770. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1771. property ON : TBits_1 read getON write setON;
  1772. property PEN : TBits_1 read getPEN write setPEN;
  1773. property RCEN : TBits_1 read getRCEN write setRCEN;
  1774. property RSEN : TBits_1 read getRSEN write setRSEN;
  1775. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1776. property SEN : TBits_1 read getSEN write setSEN;
  1777. property SIDL : TBits_1 read getSIDL write setSIDL;
  1778. property SMEN : TBits_1 read getSMEN write setSMEN;
  1779. property STREN : TBits_1 read getSTREN write setSTREN;
  1780. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1781. property w : TBits_32 read getw write setw;
  1782. end;
  1783. TI2C2_I2C2STAT = record
  1784. private
  1785. function getACKSTAT : TBits_1; inline;
  1786. function getADD10 : TBits_1; inline;
  1787. function getBCL : TBits_1; inline;
  1788. function getD_A : TBits_1; inline;
  1789. function getGCSTAT : TBits_1; inline;
  1790. function getI2COV : TBits_1; inline;
  1791. function getI2CPOV : TBits_1; inline;
  1792. function getIWCOL : TBits_1; inline;
  1793. function getP : TBits_1; inline;
  1794. function getRBF : TBits_1; inline;
  1795. function getR_W : TBits_1; inline;
  1796. function getS : TBits_1; inline;
  1797. function getTBF : TBits_1; inline;
  1798. function getTRSTAT : TBits_1; inline;
  1799. function getw : TBits_32; inline;
  1800. procedure setACKSTAT(thebits : TBits_1); inline;
  1801. procedure setADD10(thebits : TBits_1); inline;
  1802. procedure setBCL(thebits : TBits_1); inline;
  1803. procedure setD_A(thebits : TBits_1); inline;
  1804. procedure setGCSTAT(thebits : TBits_1); inline;
  1805. procedure setI2COV(thebits : TBits_1); inline;
  1806. procedure setI2CPOV(thebits : TBits_1); inline;
  1807. procedure setIWCOL(thebits : TBits_1); inline;
  1808. procedure setP(thebits : TBits_1); inline;
  1809. procedure setRBF(thebits : TBits_1); inline;
  1810. procedure setR_W(thebits : TBits_1); inline;
  1811. procedure setS(thebits : TBits_1); inline;
  1812. procedure setTBF(thebits : TBits_1); inline;
  1813. procedure setTRSTAT(thebits : TBits_1); inline;
  1814. procedure setw(thebits : TBits_32); inline;
  1815. public
  1816. procedure clearACKSTAT; inline;
  1817. procedure clearADD10; inline;
  1818. procedure clearBCL; inline;
  1819. procedure clearD_A; inline;
  1820. procedure clearGCSTAT; inline;
  1821. procedure clearI2COV; inline;
  1822. procedure clearI2CPOV; inline;
  1823. procedure clearIWCOL; inline;
  1824. procedure clearP; inline;
  1825. procedure clearRBF; inline;
  1826. procedure clearR_W; inline;
  1827. procedure clearS; inline;
  1828. procedure clearTBF; inline;
  1829. procedure clearTRSTAT; inline;
  1830. procedure setACKSTAT; inline;
  1831. procedure setADD10; inline;
  1832. procedure setBCL; inline;
  1833. procedure setD_A; inline;
  1834. procedure setGCSTAT; inline;
  1835. procedure setI2COV; inline;
  1836. procedure setI2CPOV; inline;
  1837. procedure setIWCOL; inline;
  1838. procedure setP; inline;
  1839. procedure setRBF; inline;
  1840. procedure setR_W; inline;
  1841. procedure setS; inline;
  1842. procedure setTBF; inline;
  1843. procedure setTRSTAT; inline;
  1844. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1845. property ADD10 : TBits_1 read getADD10 write setADD10;
  1846. property BCL : TBits_1 read getBCL write setBCL;
  1847. property D_A : TBits_1 read getD_A write setD_A;
  1848. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1849. property I2COV : TBits_1 read getI2COV write setI2COV;
  1850. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1851. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1852. property P : TBits_1 read getP write setP;
  1853. property RBF : TBits_1 read getRBF write setRBF;
  1854. property R_W : TBits_1 read getR_W write setR_W;
  1855. property S : TBits_1 read getS write setS;
  1856. property TBF : TBits_1 read getTBF write setTBF;
  1857. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1858. property w : TBits_32 read getw write setw;
  1859. end;
  1860. type
  1861. TI2C2Registers = record
  1862. I2C2CONbits : TI2C2_I2C2CON;
  1863. I2C2CON : longWord;
  1864. I2C2CONCLR : longWord;
  1865. I2C2CONSET : longWord;
  1866. I2C2CONINV : longWord;
  1867. I2C2STATbits : TI2C2_I2C2STAT;
  1868. I2C2STAT : longWord;
  1869. I2C2STATCLR : longWord;
  1870. I2C2STATSET : longWord;
  1871. I2C2STATINV : longWord;
  1872. I2C2ADD : longWord;
  1873. I2C2ADDCLR : longWord;
  1874. I2C2ADDSET : longWord;
  1875. I2C2ADDINV : longWord;
  1876. I2C2MSK : longWord;
  1877. I2C2MSKCLR : longWord;
  1878. I2C2MSKSET : longWord;
  1879. I2C2MSKINV : longWord;
  1880. I2C2BRG : longWord;
  1881. I2C2BRGCLR : longWord;
  1882. I2C2BRGSET : longWord;
  1883. I2C2BRGINV : longWord;
  1884. I2C2TRN : longWord;
  1885. I2C2TRNCLR : longWord;
  1886. I2C2TRNSET : longWord;
  1887. I2C2TRNINV : longWord;
  1888. I2C2RCV : longWord;
  1889. end;
  1890. TSPI1_SPI1CON = record
  1891. private
  1892. function getCKE : TBits_1; inline;
  1893. function getCKP : TBits_1; inline;
  1894. function getDISSDO : TBits_1; inline;
  1895. function getFRMEN : TBits_1; inline;
  1896. function getFRMPOL : TBits_1; inline;
  1897. function getFRMSYNC : TBits_1; inline;
  1898. function getMODE16 : TBits_1; inline;
  1899. function getMODE32 : TBits_1; inline;
  1900. function getMSTEN : TBits_1; inline;
  1901. function getON : TBits_1; inline;
  1902. function getSIDL : TBits_1; inline;
  1903. function getSMP : TBits_1; inline;
  1904. function getSPIFE : TBits_1; inline;
  1905. function getSSEN : TBits_1; inline;
  1906. function getw : TBits_32; inline;
  1907. procedure setCKE(thebits : TBits_1); inline;
  1908. procedure setCKP(thebits : TBits_1); inline;
  1909. procedure setDISSDO(thebits : TBits_1); inline;
  1910. procedure setFRMEN(thebits : TBits_1); inline;
  1911. procedure setFRMPOL(thebits : TBits_1); inline;
  1912. procedure setFRMSYNC(thebits : TBits_1); inline;
  1913. procedure setMODE16(thebits : TBits_1); inline;
  1914. procedure setMODE32(thebits : TBits_1); inline;
  1915. procedure setMSTEN(thebits : TBits_1); inline;
  1916. procedure setON(thebits : TBits_1); inline;
  1917. procedure setSIDL(thebits : TBits_1); inline;
  1918. procedure setSMP(thebits : TBits_1); inline;
  1919. procedure setSPIFE(thebits : TBits_1); inline;
  1920. procedure setSSEN(thebits : TBits_1); inline;
  1921. procedure setw(thebits : TBits_32); inline;
  1922. public
  1923. procedure clearCKE; inline;
  1924. procedure clearCKP; inline;
  1925. procedure clearDISSDO; inline;
  1926. procedure clearFRMEN; inline;
  1927. procedure clearFRMPOL; inline;
  1928. procedure clearFRMSYNC; inline;
  1929. procedure clearMODE16; inline;
  1930. procedure clearMODE32; inline;
  1931. procedure clearMSTEN; inline;
  1932. procedure clearON; inline;
  1933. procedure clearSIDL; inline;
  1934. procedure clearSMP; inline;
  1935. procedure clearSPIFE; inline;
  1936. procedure clearSSEN; inline;
  1937. procedure setCKE; inline;
  1938. procedure setCKP; inline;
  1939. procedure setDISSDO; inline;
  1940. procedure setFRMEN; inline;
  1941. procedure setFRMPOL; inline;
  1942. procedure setFRMSYNC; inline;
  1943. procedure setMODE16; inline;
  1944. procedure setMODE32; inline;
  1945. procedure setMSTEN; inline;
  1946. procedure setON; inline;
  1947. procedure setSIDL; inline;
  1948. procedure setSMP; inline;
  1949. procedure setSPIFE; inline;
  1950. procedure setSSEN; inline;
  1951. property CKE : TBits_1 read getCKE write setCKE;
  1952. property CKP : TBits_1 read getCKP write setCKP;
  1953. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  1954. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  1955. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  1956. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  1957. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  1958. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  1959. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  1960. property ON : TBits_1 read getON write setON;
  1961. property SIDL : TBits_1 read getSIDL write setSIDL;
  1962. property SMP : TBits_1 read getSMP write setSMP;
  1963. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  1964. property SSEN : TBits_1 read getSSEN write setSSEN;
  1965. property w : TBits_32 read getw write setw;
  1966. end;
  1967. TSPI1_SPI1STAT = record
  1968. private
  1969. function getSPIBUSY : TBits_1; inline;
  1970. function getSPIRBF : TBits_1; inline;
  1971. function getSPIROV : TBits_1; inline;
  1972. function getSPITBE : TBits_1; inline;
  1973. function getw : TBits_32; inline;
  1974. procedure setSPIBUSY(thebits : TBits_1); inline;
  1975. procedure setSPIRBF(thebits : TBits_1); inline;
  1976. procedure setSPIROV(thebits : TBits_1); inline;
  1977. procedure setSPITBE(thebits : TBits_1); inline;
  1978. procedure setw(thebits : TBits_32); inline;
  1979. public
  1980. procedure clearSPIBUSY; inline;
  1981. procedure clearSPIRBF; inline;
  1982. procedure clearSPIROV; inline;
  1983. procedure clearSPITBE; inline;
  1984. procedure setSPIBUSY; inline;
  1985. procedure setSPIRBF; inline;
  1986. procedure setSPIROV; inline;
  1987. procedure setSPITBE; inline;
  1988. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  1989. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  1990. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  1991. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  1992. property w : TBits_32 read getw write setw;
  1993. end;
  1994. type
  1995. TSPI1Registers = record
  1996. SPI1CONbits : TSPI1_SPI1CON;
  1997. SPI1CON : longWord;
  1998. SPI1CONCLR : longWord;
  1999. SPI1CONSET : longWord;
  2000. SPI1CONINV : longWord;
  2001. SPI1STATbits : TSPI1_SPI1STAT;
  2002. SPI1STAT : longWord;
  2003. SPI1STATCLR : longWord;
  2004. SPI1STATSET : longWord;
  2005. SPI1STATINV : longWord;
  2006. SPI1BUF : longWord;
  2007. SPI1BRG : longWord;
  2008. SPI1BRGCLR : longWord;
  2009. SPI1BRGSET : longWord;
  2010. SPI1BRGINV : longWord;
  2011. end;
  2012. TSPI2_SPI2CON = record
  2013. private
  2014. function getCKE : TBits_1; inline;
  2015. function getCKP : TBits_1; inline;
  2016. function getDISSDO : TBits_1; inline;
  2017. function getFRMEN : TBits_1; inline;
  2018. function getFRMPOL : TBits_1; inline;
  2019. function getFRMSYNC : TBits_1; inline;
  2020. function getMODE16 : TBits_1; inline;
  2021. function getMODE32 : TBits_1; inline;
  2022. function getMSTEN : TBits_1; inline;
  2023. function getON : TBits_1; inline;
  2024. function getSIDL : TBits_1; inline;
  2025. function getSMP : TBits_1; inline;
  2026. function getSPIFE : TBits_1; inline;
  2027. function getSSEN : TBits_1; inline;
  2028. function getw : TBits_32; inline;
  2029. procedure setCKE(thebits : TBits_1); inline;
  2030. procedure setCKP(thebits : TBits_1); inline;
  2031. procedure setDISSDO(thebits : TBits_1); inline;
  2032. procedure setFRMEN(thebits : TBits_1); inline;
  2033. procedure setFRMPOL(thebits : TBits_1); inline;
  2034. procedure setFRMSYNC(thebits : TBits_1); inline;
  2035. procedure setMODE16(thebits : TBits_1); inline;
  2036. procedure setMODE32(thebits : TBits_1); inline;
  2037. procedure setMSTEN(thebits : TBits_1); inline;
  2038. procedure setON(thebits : TBits_1); inline;
  2039. procedure setSIDL(thebits : TBits_1); inline;
  2040. procedure setSMP(thebits : TBits_1); inline;
  2041. procedure setSPIFE(thebits : TBits_1); inline;
  2042. procedure setSSEN(thebits : TBits_1); inline;
  2043. procedure setw(thebits : TBits_32); inline;
  2044. public
  2045. procedure clearCKE; inline;
  2046. procedure clearCKP; inline;
  2047. procedure clearDISSDO; inline;
  2048. procedure clearFRMEN; inline;
  2049. procedure clearFRMPOL; inline;
  2050. procedure clearFRMSYNC; inline;
  2051. procedure clearMODE16; inline;
  2052. procedure clearMODE32; inline;
  2053. procedure clearMSTEN; inline;
  2054. procedure clearON; inline;
  2055. procedure clearSIDL; inline;
  2056. procedure clearSMP; inline;
  2057. procedure clearSPIFE; inline;
  2058. procedure clearSSEN; inline;
  2059. procedure setCKE; inline;
  2060. procedure setCKP; inline;
  2061. procedure setDISSDO; inline;
  2062. procedure setFRMEN; inline;
  2063. procedure setFRMPOL; inline;
  2064. procedure setFRMSYNC; inline;
  2065. procedure setMODE16; inline;
  2066. procedure setMODE32; inline;
  2067. procedure setMSTEN; inline;
  2068. procedure setON; inline;
  2069. procedure setSIDL; inline;
  2070. procedure setSMP; inline;
  2071. procedure setSPIFE; inline;
  2072. procedure setSSEN; inline;
  2073. property CKE : TBits_1 read getCKE write setCKE;
  2074. property CKP : TBits_1 read getCKP write setCKP;
  2075. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2076. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2077. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2078. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2079. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2080. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2081. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2082. property ON : TBits_1 read getON write setON;
  2083. property SIDL : TBits_1 read getSIDL write setSIDL;
  2084. property SMP : TBits_1 read getSMP write setSMP;
  2085. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2086. property SSEN : TBits_1 read getSSEN write setSSEN;
  2087. property w : TBits_32 read getw write setw;
  2088. end;
  2089. TSPI2_SPI2STAT = record
  2090. private
  2091. function getSPIBUSY : TBits_1; inline;
  2092. function getSPIRBF : TBits_1; inline;
  2093. function getSPIROV : TBits_1; inline;
  2094. function getSPITBE : TBits_1; inline;
  2095. function getw : TBits_32; inline;
  2096. procedure setSPIBUSY(thebits : TBits_1); inline;
  2097. procedure setSPIRBF(thebits : TBits_1); inline;
  2098. procedure setSPIROV(thebits : TBits_1); inline;
  2099. procedure setSPITBE(thebits : TBits_1); inline;
  2100. procedure setw(thebits : TBits_32); inline;
  2101. public
  2102. procedure clearSPIBUSY; inline;
  2103. procedure clearSPIRBF; inline;
  2104. procedure clearSPIROV; inline;
  2105. procedure clearSPITBE; inline;
  2106. procedure setSPIBUSY; inline;
  2107. procedure setSPIRBF; inline;
  2108. procedure setSPIROV; inline;
  2109. procedure setSPITBE; inline;
  2110. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2111. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2112. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2113. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2114. property w : TBits_32 read getw write setw;
  2115. end;
  2116. type
  2117. TSPI2Registers = record
  2118. SPI2CONbits : TSPI2_SPI2CON;
  2119. SPI2CON : longWord;
  2120. SPI2CONCLR : longWord;
  2121. SPI2CONSET : longWord;
  2122. SPI2CONINV : longWord;
  2123. SPI2STATbits : TSPI2_SPI2STAT;
  2124. SPI2STAT : longWord;
  2125. SPI2STATCLR : longWord;
  2126. SPI2STATSET : longWord;
  2127. SPI2STATINV : longWord;
  2128. SPI2BUF : longWord;
  2129. SPI2BRG : longWord;
  2130. SPI2BRGCLR : longWord;
  2131. SPI2BRGSET : longWord;
  2132. SPI2BRGINV : longWord;
  2133. end;
  2134. TUART1_U1MODE = record
  2135. private
  2136. function getABAUD : TBits_1; inline;
  2137. function getBRGH : TBits_1; inline;
  2138. function getIREN : TBits_1; inline;
  2139. function getLPBACK : TBits_1; inline;
  2140. function getON : TBits_1; inline;
  2141. function getPDSEL : TBits_2; inline;
  2142. function getPDSEL0 : TBits_1; inline;
  2143. function getPDSEL1 : TBits_1; inline;
  2144. function getRTSMD : TBits_1; inline;
  2145. function getRXINV : TBits_1; inline;
  2146. function getSIDL : TBits_1; inline;
  2147. function getSTSEL : TBits_1; inline;
  2148. function getUARTEN : TBits_1; inline;
  2149. function getUEN : TBits_2; inline;
  2150. function getUEN0 : TBits_1; inline;
  2151. function getUEN1 : TBits_1; inline;
  2152. function getUSIDL : TBits_1; inline;
  2153. function getWAKE : TBits_1; inline;
  2154. function getw : TBits_32; inline;
  2155. procedure setABAUD(thebits : TBits_1); inline;
  2156. procedure setBRGH(thebits : TBits_1); inline;
  2157. procedure setIREN(thebits : TBits_1); inline;
  2158. procedure setLPBACK(thebits : TBits_1); inline;
  2159. procedure setON(thebits : TBits_1); inline;
  2160. procedure setPDSEL(thebits : TBits_2); inline;
  2161. procedure setPDSEL0(thebits : TBits_1); inline;
  2162. procedure setPDSEL1(thebits : TBits_1); inline;
  2163. procedure setRTSMD(thebits : TBits_1); inline;
  2164. procedure setRXINV(thebits : TBits_1); inline;
  2165. procedure setSIDL(thebits : TBits_1); inline;
  2166. procedure setSTSEL(thebits : TBits_1); inline;
  2167. procedure setUARTEN(thebits : TBits_1); inline;
  2168. procedure setUEN(thebits : TBits_2); inline;
  2169. procedure setUEN0(thebits : TBits_1); inline;
  2170. procedure setUEN1(thebits : TBits_1); inline;
  2171. procedure setUSIDL(thebits : TBits_1); inline;
  2172. procedure setWAKE(thebits : TBits_1); inline;
  2173. procedure setw(thebits : TBits_32); inline;
  2174. public
  2175. procedure clearABAUD; inline;
  2176. procedure clearBRGH; inline;
  2177. procedure clearIREN; inline;
  2178. procedure clearLPBACK; inline;
  2179. procedure clearON; inline;
  2180. procedure clearPDSEL0; inline;
  2181. procedure clearPDSEL1; inline;
  2182. procedure clearRTSMD; inline;
  2183. procedure clearRXINV; inline;
  2184. procedure clearSIDL; inline;
  2185. procedure clearSTSEL; inline;
  2186. procedure clearUARTEN; inline;
  2187. procedure clearUEN0; inline;
  2188. procedure clearUEN1; inline;
  2189. procedure clearUSIDL; inline;
  2190. procedure clearWAKE; inline;
  2191. procedure setABAUD; inline;
  2192. procedure setBRGH; inline;
  2193. procedure setIREN; inline;
  2194. procedure setLPBACK; inline;
  2195. procedure setON; inline;
  2196. procedure setPDSEL0; inline;
  2197. procedure setPDSEL1; inline;
  2198. procedure setRTSMD; inline;
  2199. procedure setRXINV; inline;
  2200. procedure setSIDL; inline;
  2201. procedure setSTSEL; inline;
  2202. procedure setUARTEN; inline;
  2203. procedure setUEN0; inline;
  2204. procedure setUEN1; inline;
  2205. procedure setUSIDL; inline;
  2206. procedure setWAKE; inline;
  2207. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2208. property BRGH : TBits_1 read getBRGH write setBRGH;
  2209. property IREN : TBits_1 read getIREN write setIREN;
  2210. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2211. property ON : TBits_1 read getON write setON;
  2212. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2213. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2214. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2215. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2216. property RXINV : TBits_1 read getRXINV write setRXINV;
  2217. property SIDL : TBits_1 read getSIDL write setSIDL;
  2218. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2219. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2220. property UEN : TBits_2 read getUEN write setUEN;
  2221. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2222. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2223. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2224. property WAKE : TBits_1 read getWAKE write setWAKE;
  2225. property w : TBits_32 read getw write setw;
  2226. end;
  2227. TUART1_U1STA = record
  2228. private
  2229. function getADDEN : TBits_1; inline;
  2230. function getADDR : TBits_8; inline;
  2231. function getADM_EN : TBits_1; inline;
  2232. function getFERR : TBits_1; inline;
  2233. function getOERR : TBits_1; inline;
  2234. function getPERR : TBits_1; inline;
  2235. function getRIDLE : TBits_1; inline;
  2236. function getTRMT : TBits_1; inline;
  2237. function getURXDA : TBits_1; inline;
  2238. function getURXEN : TBits_1; inline;
  2239. function getURXISEL : TBits_2; inline;
  2240. function getURXISEL0 : TBits_1; inline;
  2241. function getURXISEL1 : TBits_1; inline;
  2242. function getUTXBF : TBits_1; inline;
  2243. function getUTXBRK : TBits_1; inline;
  2244. function getUTXEN : TBits_1; inline;
  2245. function getUTXINV : TBits_1; inline;
  2246. function getUTXISEL : TBits_2; inline;
  2247. function getUTXISEL0 : TBits_1; inline;
  2248. function getUTXISEL1 : TBits_1; inline;
  2249. function getUTXSEL : TBits_2; inline;
  2250. function getw : TBits_32; inline;
  2251. procedure setADDEN(thebits : TBits_1); inline;
  2252. procedure setADDR(thebits : TBits_8); inline;
  2253. procedure setADM_EN(thebits : TBits_1); inline;
  2254. procedure setFERR(thebits : TBits_1); inline;
  2255. procedure setOERR(thebits : TBits_1); inline;
  2256. procedure setPERR(thebits : TBits_1); inline;
  2257. procedure setRIDLE(thebits : TBits_1); inline;
  2258. procedure setTRMT(thebits : TBits_1); inline;
  2259. procedure setURXDA(thebits : TBits_1); inline;
  2260. procedure setURXEN(thebits : TBits_1); inline;
  2261. procedure setURXISEL(thebits : TBits_2); inline;
  2262. procedure setURXISEL0(thebits : TBits_1); inline;
  2263. procedure setURXISEL1(thebits : TBits_1); inline;
  2264. procedure setUTXBF(thebits : TBits_1); inline;
  2265. procedure setUTXBRK(thebits : TBits_1); inline;
  2266. procedure setUTXEN(thebits : TBits_1); inline;
  2267. procedure setUTXINV(thebits : TBits_1); inline;
  2268. procedure setUTXISEL(thebits : TBits_2); inline;
  2269. procedure setUTXISEL0(thebits : TBits_1); inline;
  2270. procedure setUTXISEL1(thebits : TBits_1); inline;
  2271. procedure setUTXSEL(thebits : TBits_2); inline;
  2272. procedure setw(thebits : TBits_32); inline;
  2273. public
  2274. procedure clearADDEN; inline;
  2275. procedure clearADM_EN; inline;
  2276. procedure clearFERR; inline;
  2277. procedure clearOERR; inline;
  2278. procedure clearPERR; inline;
  2279. procedure clearRIDLE; inline;
  2280. procedure clearTRMT; inline;
  2281. procedure clearURXDA; inline;
  2282. procedure clearURXEN; inline;
  2283. procedure clearURXISEL0; inline;
  2284. procedure clearURXISEL1; inline;
  2285. procedure clearUTXBF; inline;
  2286. procedure clearUTXBRK; inline;
  2287. procedure clearUTXEN; inline;
  2288. procedure clearUTXINV; inline;
  2289. procedure clearUTXISEL0; inline;
  2290. procedure clearUTXISEL1; inline;
  2291. procedure setADDEN; inline;
  2292. procedure setADM_EN; inline;
  2293. procedure setFERR; inline;
  2294. procedure setOERR; inline;
  2295. procedure setPERR; inline;
  2296. procedure setRIDLE; inline;
  2297. procedure setTRMT; inline;
  2298. procedure setURXDA; inline;
  2299. procedure setURXEN; inline;
  2300. procedure setURXISEL0; inline;
  2301. procedure setURXISEL1; inline;
  2302. procedure setUTXBF; inline;
  2303. procedure setUTXBRK; inline;
  2304. procedure setUTXEN; inline;
  2305. procedure setUTXINV; inline;
  2306. procedure setUTXISEL0; inline;
  2307. procedure setUTXISEL1; inline;
  2308. property ADDEN : TBits_1 read getADDEN write setADDEN;
  2309. property ADDR : TBits_8 read getADDR write setADDR;
  2310. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  2311. property FERR : TBits_1 read getFERR write setFERR;
  2312. property OERR : TBits_1 read getOERR write setOERR;
  2313. property PERR : TBits_1 read getPERR write setPERR;
  2314. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  2315. property TRMT : TBits_1 read getTRMT write setTRMT;
  2316. property URXDA : TBits_1 read getURXDA write setURXDA;
  2317. property URXEN : TBits_1 read getURXEN write setURXEN;
  2318. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  2319. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  2320. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  2321. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  2322. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  2323. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  2324. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  2325. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  2326. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  2327. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  2328. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  2329. property w : TBits_32 read getw write setw;
  2330. end;
  2331. type
  2332. TUART1Registers = record
  2333. U1MODEbits : TUART1_U1MODE;
  2334. U1MODE : longWord;
  2335. U1MODECLR : longWord;
  2336. U1MODESET : longWord;
  2337. U1MODEINV : longWord;
  2338. U1STAbits : TUART1_U1STA;
  2339. U1STA : longWord;
  2340. U1STACLR : longWord;
  2341. U1STASET : longWord;
  2342. U1STAINV : longWord;
  2343. U1TXREG : longWord;
  2344. U1RXREG : longWord;
  2345. U1BRG : longWord;
  2346. U1BRGCLR : longWord;
  2347. U1BRGSET : longWord;
  2348. U1BRGINV : longWord;
  2349. end;
  2350. TUART2_U2MODE = record
  2351. private
  2352. function getABAUD : TBits_1; inline;
  2353. function getBRGH : TBits_1; inline;
  2354. function getIREN : TBits_1; inline;
  2355. function getLPBACK : TBits_1; inline;
  2356. function getON : TBits_1; inline;
  2357. function getPDSEL : TBits_2; inline;
  2358. function getPDSEL0 : TBits_1; inline;
  2359. function getPDSEL1 : TBits_1; inline;
  2360. function getRTSMD : TBits_1; inline;
  2361. function getRXINV : TBits_1; inline;
  2362. function getSIDL : TBits_1; inline;
  2363. function getSTSEL : TBits_1; inline;
  2364. function getUARTEN : TBits_1; inline;
  2365. function getUEN : TBits_2; inline;
  2366. function getUEN0 : TBits_1; inline;
  2367. function getUEN1 : TBits_1; inline;
  2368. function getUSIDL : TBits_1; inline;
  2369. function getWAKE : TBits_1; inline;
  2370. function getw : TBits_32; inline;
  2371. procedure setABAUD(thebits : TBits_1); inline;
  2372. procedure setBRGH(thebits : TBits_1); inline;
  2373. procedure setIREN(thebits : TBits_1); inline;
  2374. procedure setLPBACK(thebits : TBits_1); inline;
  2375. procedure setON(thebits : TBits_1); inline;
  2376. procedure setPDSEL(thebits : TBits_2); inline;
  2377. procedure setPDSEL0(thebits : TBits_1); inline;
  2378. procedure setPDSEL1(thebits : TBits_1); inline;
  2379. procedure setRTSMD(thebits : TBits_1); inline;
  2380. procedure setRXINV(thebits : TBits_1); inline;
  2381. procedure setSIDL(thebits : TBits_1); inline;
  2382. procedure setSTSEL(thebits : TBits_1); inline;
  2383. procedure setUARTEN(thebits : TBits_1); inline;
  2384. procedure setUEN(thebits : TBits_2); inline;
  2385. procedure setUEN0(thebits : TBits_1); inline;
  2386. procedure setUEN1(thebits : TBits_1); inline;
  2387. procedure setUSIDL(thebits : TBits_1); inline;
  2388. procedure setWAKE(thebits : TBits_1); inline;
  2389. procedure setw(thebits : TBits_32); inline;
  2390. public
  2391. procedure clearABAUD; inline;
  2392. procedure clearBRGH; inline;
  2393. procedure clearIREN; inline;
  2394. procedure clearLPBACK; inline;
  2395. procedure clearON; inline;
  2396. procedure clearPDSEL0; inline;
  2397. procedure clearPDSEL1; inline;
  2398. procedure clearRTSMD; inline;
  2399. procedure clearRXINV; inline;
  2400. procedure clearSIDL; inline;
  2401. procedure clearSTSEL; inline;
  2402. procedure clearUARTEN; inline;
  2403. procedure clearUEN0; inline;
  2404. procedure clearUEN1; inline;
  2405. procedure clearUSIDL; inline;
  2406. procedure clearWAKE; inline;
  2407. procedure setABAUD; inline;
  2408. procedure setBRGH; inline;
  2409. procedure setIREN; inline;
  2410. procedure setLPBACK; inline;
  2411. procedure setON; inline;
  2412. procedure setPDSEL0; inline;
  2413. procedure setPDSEL1; inline;
  2414. procedure setRTSMD; inline;
  2415. procedure setRXINV; inline;
  2416. procedure setSIDL; inline;
  2417. procedure setSTSEL; inline;
  2418. procedure setUARTEN; inline;
  2419. procedure setUEN0; inline;
  2420. procedure setUEN1; inline;
  2421. procedure setUSIDL; inline;
  2422. procedure setWAKE; inline;
  2423. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2424. property BRGH : TBits_1 read getBRGH write setBRGH;
  2425. property IREN : TBits_1 read getIREN write setIREN;
  2426. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2427. property ON : TBits_1 read getON write setON;
  2428. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2429. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2430. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2431. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2432. property RXINV : TBits_1 read getRXINV write setRXINV;
  2433. property SIDL : TBits_1 read getSIDL write setSIDL;
  2434. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2435. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2436. property UEN : TBits_2 read getUEN write setUEN;
  2437. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2438. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2439. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2440. property WAKE : TBits_1 read getWAKE write setWAKE;
  2441. property w : TBits_32 read getw write setw;
  2442. end;
  2443. TUART2_U2STA = record
  2444. private
  2445. function getADDEN : TBits_1; inline;
  2446. function getADDR : TBits_8; inline;
  2447. function getADM_EN : TBits_1; inline;
  2448. function getFERR : TBits_1; inline;
  2449. function getOERR : TBits_1; inline;
  2450. function getPERR : TBits_1; inline;
  2451. function getRIDLE : TBits_1; inline;
  2452. function getTRMT : TBits_1; inline;
  2453. function getURXDA : TBits_1; inline;
  2454. function getURXEN : TBits_1; inline;
  2455. function getURXISEL : TBits_2; inline;
  2456. function getURXISEL0 : TBits_1; inline;
  2457. function getURXISEL1 : TBits_1; inline;
  2458. function getUTXBF : TBits_1; inline;
  2459. function getUTXBRK : TBits_1; inline;
  2460. function getUTXEN : TBits_1; inline;
  2461. function getUTXINV : TBits_1; inline;
  2462. function getUTXISEL : TBits_2; inline;
  2463. function getUTXISEL0 : TBits_1; inline;
  2464. function getUTXISEL1 : TBits_1; inline;
  2465. function getUTXSEL : TBits_2; inline;
  2466. function getw : TBits_32; inline;
  2467. procedure setADDEN(thebits : TBits_1); inline;
  2468. procedure setADDR(thebits : TBits_8); inline;
  2469. procedure setADM_EN(thebits : TBits_1); inline;
  2470. procedure setFERR(thebits : TBits_1); inline;
  2471. procedure setOERR(thebits : TBits_1); inline;
  2472. procedure setPERR(thebits : TBits_1); inline;
  2473. procedure setRIDLE(thebits : TBits_1); inline;
  2474. procedure setTRMT(thebits : TBits_1); inline;
  2475. procedure setURXDA(thebits : TBits_1); inline;
  2476. procedure setURXEN(thebits : TBits_1); inline;
  2477. procedure setURXISEL(thebits : TBits_2); inline;
  2478. procedure setURXISEL0(thebits : TBits_1); inline;
  2479. procedure setURXISEL1(thebits : TBits_1); inline;
  2480. procedure setUTXBF(thebits : TBits_1); inline;
  2481. procedure setUTXBRK(thebits : TBits_1); inline;
  2482. procedure setUTXEN(thebits : TBits_1); inline;
  2483. procedure setUTXINV(thebits : TBits_1); inline;
  2484. procedure setUTXISEL(thebits : TBits_2); inline;
  2485. procedure setUTXISEL0(thebits : TBits_1); inline;
  2486. procedure setUTXISEL1(thebits : TBits_1); inline;
  2487. procedure setUTXSEL(thebits : TBits_2); inline;
  2488. procedure setw(thebits : TBits_32); inline;
  2489. public
  2490. procedure clearADDEN; inline;
  2491. procedure clearADM_EN; inline;
  2492. procedure clearFERR; inline;
  2493. procedure clearOERR; inline;
  2494. procedure clearPERR; inline;
  2495. procedure clearRIDLE; inline;
  2496. procedure clearTRMT; inline;
  2497. procedure clearURXDA; inline;
  2498. procedure clearURXEN; inline;
  2499. procedure clearURXISEL0; inline;
  2500. procedure clearURXISEL1; inline;
  2501. procedure clearUTXBF; inline;
  2502. procedure clearUTXBRK; inline;
  2503. procedure clearUTXEN; inline;
  2504. procedure clearUTXINV; inline;
  2505. procedure clearUTXISEL0; inline;
  2506. procedure clearUTXISEL1; inline;
  2507. procedure setADDEN; inline;
  2508. procedure setADM_EN; inline;
  2509. procedure setFERR; inline;
  2510. procedure setOERR; inline;
  2511. procedure setPERR; inline;
  2512. procedure setRIDLE; inline;
  2513. procedure setTRMT; inline;
  2514. procedure setURXDA; inline;
  2515. procedure setURXEN; inline;
  2516. procedure setURXISEL0; inline;
  2517. procedure setURXISEL1; inline;
  2518. procedure setUTXBF; inline;
  2519. procedure setUTXBRK; inline;
  2520. procedure setUTXEN; inline;
  2521. procedure setUTXINV; inline;
  2522. procedure setUTXISEL0; inline;
  2523. procedure setUTXISEL1; inline;
  2524. property ADDEN : TBits_1 read getADDEN write setADDEN;
  2525. property ADDR : TBits_8 read getADDR write setADDR;
  2526. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  2527. property FERR : TBits_1 read getFERR write setFERR;
  2528. property OERR : TBits_1 read getOERR write setOERR;
  2529. property PERR : TBits_1 read getPERR write setPERR;
  2530. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  2531. property TRMT : TBits_1 read getTRMT write setTRMT;
  2532. property URXDA : TBits_1 read getURXDA write setURXDA;
  2533. property URXEN : TBits_1 read getURXEN write setURXEN;
  2534. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  2535. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  2536. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  2537. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  2538. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  2539. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  2540. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  2541. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  2542. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  2543. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  2544. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  2545. property w : TBits_32 read getw write setw;
  2546. end;
  2547. type
  2548. TUART2Registers = record
  2549. U2MODEbits : TUART2_U2MODE;
  2550. U2MODE : longWord;
  2551. U2MODECLR : longWord;
  2552. U2MODESET : longWord;
  2553. U2MODEINV : longWord;
  2554. U2STAbits : TUART2_U2STA;
  2555. U2STA : longWord;
  2556. U2STACLR : longWord;
  2557. U2STASET : longWord;
  2558. U2STAINV : longWord;
  2559. U2TXREG : longWord;
  2560. U2RXREG : longWord;
  2561. U2BRG : longWord;
  2562. U2BRGCLR : longWord;
  2563. U2BRGSET : longWord;
  2564. U2BRGINV : longWord;
  2565. end;
  2566. TPMP_PMCON = record
  2567. private
  2568. function getADRMUX : TBits_2; inline;
  2569. function getADRMUX0 : TBits_1; inline;
  2570. function getADRMUX1 : TBits_1; inline;
  2571. function getALP : TBits_1; inline;
  2572. function getCS1P : TBits_1; inline;
  2573. function getCS2P : TBits_1; inline;
  2574. function getCSF : TBits_2; inline;
  2575. function getCSF0 : TBits_1; inline;
  2576. function getCSF1 : TBits_1; inline;
  2577. function getON : TBits_1; inline;
  2578. function getPMPEN : TBits_1; inline;
  2579. function getPMPTTL : TBits_1; inline;
  2580. function getPSIDL : TBits_1; inline;
  2581. function getPTRDEN : TBits_1; inline;
  2582. function getPTWREN : TBits_1; inline;
  2583. function getRDSP : TBits_1; inline;
  2584. function getSIDL : TBits_1; inline;
  2585. function getWRSP : TBits_1; inline;
  2586. function getw : TBits_32; inline;
  2587. procedure setADRMUX(thebits : TBits_2); inline;
  2588. procedure setADRMUX0(thebits : TBits_1); inline;
  2589. procedure setADRMUX1(thebits : TBits_1); inline;
  2590. procedure setALP(thebits : TBits_1); inline;
  2591. procedure setCS1P(thebits : TBits_1); inline;
  2592. procedure setCS2P(thebits : TBits_1); inline;
  2593. procedure setCSF(thebits : TBits_2); inline;
  2594. procedure setCSF0(thebits : TBits_1); inline;
  2595. procedure setCSF1(thebits : TBits_1); inline;
  2596. procedure setON(thebits : TBits_1); inline;
  2597. procedure setPMPEN(thebits : TBits_1); inline;
  2598. procedure setPMPTTL(thebits : TBits_1); inline;
  2599. procedure setPSIDL(thebits : TBits_1); inline;
  2600. procedure setPTRDEN(thebits : TBits_1); inline;
  2601. procedure setPTWREN(thebits : TBits_1); inline;
  2602. procedure setRDSP(thebits : TBits_1); inline;
  2603. procedure setSIDL(thebits : TBits_1); inline;
  2604. procedure setWRSP(thebits : TBits_1); inline;
  2605. procedure setw(thebits : TBits_32); inline;
  2606. public
  2607. procedure clearADRMUX0; inline;
  2608. procedure clearADRMUX1; inline;
  2609. procedure clearALP; inline;
  2610. procedure clearCS1P; inline;
  2611. procedure clearCS2P; inline;
  2612. procedure clearCSF0; inline;
  2613. procedure clearCSF1; inline;
  2614. procedure clearON; inline;
  2615. procedure clearPMPEN; inline;
  2616. procedure clearPMPTTL; inline;
  2617. procedure clearPSIDL; inline;
  2618. procedure clearPTRDEN; inline;
  2619. procedure clearPTWREN; inline;
  2620. procedure clearRDSP; inline;
  2621. procedure clearSIDL; inline;
  2622. procedure clearWRSP; inline;
  2623. procedure setADRMUX0; inline;
  2624. procedure setADRMUX1; inline;
  2625. procedure setALP; inline;
  2626. procedure setCS1P; inline;
  2627. procedure setCS2P; inline;
  2628. procedure setCSF0; inline;
  2629. procedure setCSF1; inline;
  2630. procedure setON; inline;
  2631. procedure setPMPEN; inline;
  2632. procedure setPMPTTL; inline;
  2633. procedure setPSIDL; inline;
  2634. procedure setPTRDEN; inline;
  2635. procedure setPTWREN; inline;
  2636. procedure setRDSP; inline;
  2637. procedure setSIDL; inline;
  2638. procedure setWRSP; inline;
  2639. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  2640. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  2641. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  2642. property ALP : TBits_1 read getALP write setALP;
  2643. property CS1P : TBits_1 read getCS1P write setCS1P;
  2644. property CS2P : TBits_1 read getCS2P write setCS2P;
  2645. property CSF : TBits_2 read getCSF write setCSF;
  2646. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  2647. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  2648. property ON : TBits_1 read getON write setON;
  2649. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  2650. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  2651. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  2652. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  2653. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  2654. property RDSP : TBits_1 read getRDSP write setRDSP;
  2655. property SIDL : TBits_1 read getSIDL write setSIDL;
  2656. property WRSP : TBits_1 read getWRSP write setWRSP;
  2657. property w : TBits_32 read getw write setw;
  2658. end;
  2659. TPMP_PMMODE = record
  2660. private
  2661. function getBUSY : TBits_1; inline;
  2662. function getINCM : TBits_2; inline;
  2663. function getINCM0 : TBits_1; inline;
  2664. function getINCM1 : TBits_1; inline;
  2665. function getIRQM : TBits_2; inline;
  2666. function getIRQM0 : TBits_1; inline;
  2667. function getIRQM1 : TBits_1; inline;
  2668. function getMODE : TBits_2; inline;
  2669. function getMODE0 : TBits_1; inline;
  2670. function getMODE1 : TBits_1; inline;
  2671. function getMODE16 : TBits_1; inline;
  2672. function getWAITB : TBits_2; inline;
  2673. function getWAITB0 : TBits_1; inline;
  2674. function getWAITB1 : TBits_1; inline;
  2675. function getWAITE : TBits_2; inline;
  2676. function getWAITE0 : TBits_1; inline;
  2677. function getWAITE1 : TBits_1; inline;
  2678. function getWAITM : TBits_4; inline;
  2679. function getWAITM0 : TBits_1; inline;
  2680. function getWAITM1 : TBits_1; inline;
  2681. function getWAITM2 : TBits_1; inline;
  2682. function getWAITM3 : TBits_1; inline;
  2683. function getw : TBits_32; inline;
  2684. procedure setBUSY(thebits : TBits_1); inline;
  2685. procedure setINCM(thebits : TBits_2); inline;
  2686. procedure setINCM0(thebits : TBits_1); inline;
  2687. procedure setINCM1(thebits : TBits_1); inline;
  2688. procedure setIRQM(thebits : TBits_2); inline;
  2689. procedure setIRQM0(thebits : TBits_1); inline;
  2690. procedure setIRQM1(thebits : TBits_1); inline;
  2691. procedure setMODE(thebits : TBits_2); inline;
  2692. procedure setMODE0(thebits : TBits_1); inline;
  2693. procedure setMODE1(thebits : TBits_1); inline;
  2694. procedure setMODE16(thebits : TBits_1); inline;
  2695. procedure setWAITB(thebits : TBits_2); inline;
  2696. procedure setWAITB0(thebits : TBits_1); inline;
  2697. procedure setWAITB1(thebits : TBits_1); inline;
  2698. procedure setWAITE(thebits : TBits_2); inline;
  2699. procedure setWAITE0(thebits : TBits_1); inline;
  2700. procedure setWAITE1(thebits : TBits_1); inline;
  2701. procedure setWAITM(thebits : TBits_4); inline;
  2702. procedure setWAITM0(thebits : TBits_1); inline;
  2703. procedure setWAITM1(thebits : TBits_1); inline;
  2704. procedure setWAITM2(thebits : TBits_1); inline;
  2705. procedure setWAITM3(thebits : TBits_1); inline;
  2706. procedure setw(thebits : TBits_32); inline;
  2707. public
  2708. procedure clearBUSY; inline;
  2709. procedure clearINCM0; inline;
  2710. procedure clearINCM1; inline;
  2711. procedure clearIRQM0; inline;
  2712. procedure clearIRQM1; inline;
  2713. procedure clearMODE0; inline;
  2714. procedure clearMODE16; inline;
  2715. procedure clearMODE1; inline;
  2716. procedure clearWAITB0; inline;
  2717. procedure clearWAITB1; inline;
  2718. procedure clearWAITE0; inline;
  2719. procedure clearWAITE1; inline;
  2720. procedure clearWAITM0; inline;
  2721. procedure clearWAITM1; inline;
  2722. procedure clearWAITM2; inline;
  2723. procedure clearWAITM3; inline;
  2724. procedure setBUSY; inline;
  2725. procedure setINCM0; inline;
  2726. procedure setINCM1; inline;
  2727. procedure setIRQM0; inline;
  2728. procedure setIRQM1; inline;
  2729. procedure setMODE0; inline;
  2730. procedure setMODE16; inline;
  2731. procedure setMODE1; inline;
  2732. procedure setWAITB0; inline;
  2733. procedure setWAITB1; inline;
  2734. procedure setWAITE0; inline;
  2735. procedure setWAITE1; inline;
  2736. procedure setWAITM0; inline;
  2737. procedure setWAITM1; inline;
  2738. procedure setWAITM2; inline;
  2739. procedure setWAITM3; inline;
  2740. property BUSY : TBits_1 read getBUSY write setBUSY;
  2741. property INCM : TBits_2 read getINCM write setINCM;
  2742. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  2743. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  2744. property IRQM : TBits_2 read getIRQM write setIRQM;
  2745. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  2746. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  2747. property MODE : TBits_2 read getMODE write setMODE;
  2748. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  2749. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  2750. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2751. property WAITB : TBits_2 read getWAITB write setWAITB;
  2752. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  2753. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  2754. property WAITE : TBits_2 read getWAITE write setWAITE;
  2755. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  2756. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  2757. property WAITM : TBits_4 read getWAITM write setWAITM;
  2758. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  2759. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  2760. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  2761. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  2762. property w : TBits_32 read getw write setw;
  2763. end;
  2764. TPMP_PMADDR = record
  2765. private
  2766. function getADDR : TBits_14; inline;
  2767. function getCS : TBits_2; inline;
  2768. function getCS1 : TBits_1; inline;
  2769. function getCS2 : TBits_1; inline;
  2770. function getPADDR : TBits_14; inline;
  2771. function getw : TBits_32; inline;
  2772. procedure setADDR(thebits : TBits_14); inline;
  2773. procedure setCS(thebits : TBits_2); inline;
  2774. procedure setCS1(thebits : TBits_1); inline;
  2775. procedure setCS2(thebits : TBits_1); inline;
  2776. procedure setPADDR(thebits : TBits_14); inline;
  2777. procedure setw(thebits : TBits_32); inline;
  2778. public
  2779. procedure clearCS1; inline;
  2780. procedure clearCS2; inline;
  2781. procedure setCS1; inline;
  2782. procedure setCS2; inline;
  2783. property ADDR : TBits_14 read getADDR write setADDR;
  2784. property CS : TBits_2 read getCS write setCS;
  2785. property CS1 : TBits_1 read getCS1 write setCS1;
  2786. property CS2 : TBits_1 read getCS2 write setCS2;
  2787. property PADDR : TBits_14 read getPADDR write setPADDR;
  2788. property w : TBits_32 read getw write setw;
  2789. end;
  2790. TPMP_PMDOUT = record
  2791. private
  2792. function getDATAOUT : TBits_32; inline;
  2793. function getw : TBits_32; inline;
  2794. procedure setDATAOUT(thebits : TBits_32); inline;
  2795. procedure setw(thebits : TBits_32); inline;
  2796. public
  2797. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  2798. property w : TBits_32 read getw write setw;
  2799. end;
  2800. TPMP_PMDIN = record
  2801. private
  2802. function getDATAIN : TBits_32; inline;
  2803. function getw : TBits_32; inline;
  2804. procedure setDATAIN(thebits : TBits_32); inline;
  2805. procedure setw(thebits : TBits_32); inline;
  2806. public
  2807. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  2808. property w : TBits_32 read getw write setw;
  2809. end;
  2810. TPMP_PMAEN = record
  2811. private
  2812. function getPTEN : TBits_16; inline;
  2813. function getPTEN0 : TBits_1; inline;
  2814. function getPTEN1 : TBits_1; inline;
  2815. function getPTEN10 : TBits_1; inline;
  2816. function getPTEN11 : TBits_1; inline;
  2817. function getPTEN12 : TBits_1; inline;
  2818. function getPTEN13 : TBits_1; inline;
  2819. function getPTEN14 : TBits_1; inline;
  2820. function getPTEN15 : TBits_1; inline;
  2821. function getPTEN2 : TBits_1; inline;
  2822. function getPTEN3 : TBits_1; inline;
  2823. function getPTEN4 : TBits_1; inline;
  2824. function getPTEN5 : TBits_1; inline;
  2825. function getPTEN6 : TBits_1; inline;
  2826. function getPTEN7 : TBits_1; inline;
  2827. function getPTEN8 : TBits_1; inline;
  2828. function getPTEN9 : TBits_1; inline;
  2829. function getw : TBits_32; inline;
  2830. procedure setPTEN(thebits : TBits_16); inline;
  2831. procedure setPTEN0(thebits : TBits_1); inline;
  2832. procedure setPTEN1(thebits : TBits_1); inline;
  2833. procedure setPTEN10(thebits : TBits_1); inline;
  2834. procedure setPTEN11(thebits : TBits_1); inline;
  2835. procedure setPTEN12(thebits : TBits_1); inline;
  2836. procedure setPTEN13(thebits : TBits_1); inline;
  2837. procedure setPTEN14(thebits : TBits_1); inline;
  2838. procedure setPTEN15(thebits : TBits_1); inline;
  2839. procedure setPTEN2(thebits : TBits_1); inline;
  2840. procedure setPTEN3(thebits : TBits_1); inline;
  2841. procedure setPTEN4(thebits : TBits_1); inline;
  2842. procedure setPTEN5(thebits : TBits_1); inline;
  2843. procedure setPTEN6(thebits : TBits_1); inline;
  2844. procedure setPTEN7(thebits : TBits_1); inline;
  2845. procedure setPTEN8(thebits : TBits_1); inline;
  2846. procedure setPTEN9(thebits : TBits_1); inline;
  2847. procedure setw(thebits : TBits_32); inline;
  2848. public
  2849. procedure clearPTEN0; inline;
  2850. procedure clearPTEN10; inline;
  2851. procedure clearPTEN11; inline;
  2852. procedure clearPTEN12; inline;
  2853. procedure clearPTEN13; inline;
  2854. procedure clearPTEN14; inline;
  2855. procedure clearPTEN15; inline;
  2856. procedure clearPTEN1; inline;
  2857. procedure clearPTEN2; inline;
  2858. procedure clearPTEN3; inline;
  2859. procedure clearPTEN4; inline;
  2860. procedure clearPTEN5; inline;
  2861. procedure clearPTEN6; inline;
  2862. procedure clearPTEN7; inline;
  2863. procedure clearPTEN8; inline;
  2864. procedure clearPTEN9; inline;
  2865. procedure setPTEN0; inline;
  2866. procedure setPTEN10; inline;
  2867. procedure setPTEN11; inline;
  2868. procedure setPTEN12; inline;
  2869. procedure setPTEN13; inline;
  2870. procedure setPTEN14; inline;
  2871. procedure setPTEN15; inline;
  2872. procedure setPTEN1; inline;
  2873. procedure setPTEN2; inline;
  2874. procedure setPTEN3; inline;
  2875. procedure setPTEN4; inline;
  2876. procedure setPTEN5; inline;
  2877. procedure setPTEN6; inline;
  2878. procedure setPTEN7; inline;
  2879. procedure setPTEN8; inline;
  2880. procedure setPTEN9; inline;
  2881. property PTEN : TBits_16 read getPTEN write setPTEN;
  2882. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  2883. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  2884. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  2885. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  2886. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  2887. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  2888. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  2889. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  2890. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  2891. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  2892. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  2893. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  2894. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  2895. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  2896. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  2897. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  2898. property w : TBits_32 read getw write setw;
  2899. end;
  2900. TPMP_PMSTAT = record
  2901. private
  2902. function getIB0F : TBits_1; inline;
  2903. function getIB1F : TBits_1; inline;
  2904. function getIB2F : TBits_1; inline;
  2905. function getIB3F : TBits_1; inline;
  2906. function getIBF : TBits_1; inline;
  2907. function getIBOV : TBits_1; inline;
  2908. function getOB0E : TBits_1; inline;
  2909. function getOB1E : TBits_1; inline;
  2910. function getOB2E : TBits_1; inline;
  2911. function getOB3E : TBits_1; inline;
  2912. function getOBE : TBits_1; inline;
  2913. function getOBUF : TBits_1; inline;
  2914. function getw : TBits_32; inline;
  2915. procedure setIB0F(thebits : TBits_1); inline;
  2916. procedure setIB1F(thebits : TBits_1); inline;
  2917. procedure setIB2F(thebits : TBits_1); inline;
  2918. procedure setIB3F(thebits : TBits_1); inline;
  2919. procedure setIBF(thebits : TBits_1); inline;
  2920. procedure setIBOV(thebits : TBits_1); inline;
  2921. procedure setOB0E(thebits : TBits_1); inline;
  2922. procedure setOB1E(thebits : TBits_1); inline;
  2923. procedure setOB2E(thebits : TBits_1); inline;
  2924. procedure setOB3E(thebits : TBits_1); inline;
  2925. procedure setOBE(thebits : TBits_1); inline;
  2926. procedure setOBUF(thebits : TBits_1); inline;
  2927. procedure setw(thebits : TBits_32); inline;
  2928. public
  2929. procedure clearIB0F; inline;
  2930. procedure clearIB1F; inline;
  2931. procedure clearIB2F; inline;
  2932. procedure clearIB3F; inline;
  2933. procedure clearIBF; inline;
  2934. procedure clearIBOV; inline;
  2935. procedure clearOB0E; inline;
  2936. procedure clearOB1E; inline;
  2937. procedure clearOB2E; inline;
  2938. procedure clearOB3E; inline;
  2939. procedure clearOBE; inline;
  2940. procedure clearOBUF; inline;
  2941. procedure setIB0F; inline;
  2942. procedure setIB1F; inline;
  2943. procedure setIB2F; inline;
  2944. procedure setIB3F; inline;
  2945. procedure setIBF; inline;
  2946. procedure setIBOV; inline;
  2947. procedure setOB0E; inline;
  2948. procedure setOB1E; inline;
  2949. procedure setOB2E; inline;
  2950. procedure setOB3E; inline;
  2951. procedure setOBE; inline;
  2952. procedure setOBUF; inline;
  2953. property IB0F : TBits_1 read getIB0F write setIB0F;
  2954. property IB1F : TBits_1 read getIB1F write setIB1F;
  2955. property IB2F : TBits_1 read getIB2F write setIB2F;
  2956. property IB3F : TBits_1 read getIB3F write setIB3F;
  2957. property IBF : TBits_1 read getIBF write setIBF;
  2958. property IBOV : TBits_1 read getIBOV write setIBOV;
  2959. property OB0E : TBits_1 read getOB0E write setOB0E;
  2960. property OB1E : TBits_1 read getOB1E write setOB1E;
  2961. property OB2E : TBits_1 read getOB2E write setOB2E;
  2962. property OB3E : TBits_1 read getOB3E write setOB3E;
  2963. property OBE : TBits_1 read getOBE write setOBE;
  2964. property OBUF : TBits_1 read getOBUF write setOBUF;
  2965. property w : TBits_32 read getw write setw;
  2966. end;
  2967. type
  2968. TPMPRegisters = record
  2969. PMCONbits : TPMP_PMCON;
  2970. PMCON : longWord;
  2971. PMCONCLR : longWord;
  2972. PMCONSET : longWord;
  2973. PMCONINV : longWord;
  2974. PMMODEbits : TPMP_PMMODE;
  2975. PMMODE : longWord;
  2976. PMMODECLR : longWord;
  2977. PMMODESET : longWord;
  2978. PMMODEINV : longWord;
  2979. PMADDRbits : TPMP_PMADDR;
  2980. PMADDR : longWord;
  2981. PMADDRCLR : longWord;
  2982. PMADDRSET : longWord;
  2983. PMADDRINV : longWord;
  2984. PMDOUTbits : TPMP_PMDOUT;
  2985. PMDOUT : longWord;
  2986. PMDOUTCLR : longWord;
  2987. PMDOUTSET : longWord;
  2988. PMDOUTINV : longWord;
  2989. PMDINbits : TPMP_PMDIN;
  2990. PMDIN : longWord;
  2991. PMDINCLR : longWord;
  2992. PMDINSET : longWord;
  2993. PMDININV : longWord;
  2994. PMAENbits : TPMP_PMAEN;
  2995. PMAEN : longWord;
  2996. PMAENCLR : longWord;
  2997. PMAENSET : longWord;
  2998. PMAENINV : longWord;
  2999. PMSTATbits : TPMP_PMSTAT;
  3000. PMSTAT : longWord;
  3001. PMSTATCLR : longWord;
  3002. PMSTATSET : longWord;
  3003. PMSTATINV : longWord;
  3004. end;
  3005. TADC10_AD1CON1 = record
  3006. private
  3007. function getADON : TBits_1; inline;
  3008. function getADSIDL : TBits_1; inline;
  3009. function getASAM : TBits_1; inline;
  3010. function getCLRASAM : TBits_1; inline;
  3011. function getDONE : TBits_1; inline;
  3012. function getFORM : TBits_3; inline;
  3013. function getFORM0 : TBits_1; inline;
  3014. function getFORM1 : TBits_1; inline;
  3015. function getFORM2 : TBits_1; inline;
  3016. function getON : TBits_1; inline;
  3017. function getSAMP : TBits_1; inline;
  3018. function getSIDL : TBits_1; inline;
  3019. function getSSRC : TBits_3; inline;
  3020. function getSSRC0 : TBits_1; inline;
  3021. function getSSRC1 : TBits_1; inline;
  3022. function getSSRC2 : TBits_1; inline;
  3023. function getw : TBits_32; inline;
  3024. procedure setADON(thebits : TBits_1); inline;
  3025. procedure setADSIDL(thebits : TBits_1); inline;
  3026. procedure setASAM(thebits : TBits_1); inline;
  3027. procedure setCLRASAM(thebits : TBits_1); inline;
  3028. procedure setDONE(thebits : TBits_1); inline;
  3029. procedure setFORM(thebits : TBits_3); inline;
  3030. procedure setFORM0(thebits : TBits_1); inline;
  3031. procedure setFORM1(thebits : TBits_1); inline;
  3032. procedure setFORM2(thebits : TBits_1); inline;
  3033. procedure setON(thebits : TBits_1); inline;
  3034. procedure setSAMP(thebits : TBits_1); inline;
  3035. procedure setSIDL(thebits : TBits_1); inline;
  3036. procedure setSSRC(thebits : TBits_3); inline;
  3037. procedure setSSRC0(thebits : TBits_1); inline;
  3038. procedure setSSRC1(thebits : TBits_1); inline;
  3039. procedure setSSRC2(thebits : TBits_1); inline;
  3040. procedure setw(thebits : TBits_32); inline;
  3041. public
  3042. procedure clearADON; inline;
  3043. procedure clearADSIDL; inline;
  3044. procedure clearASAM; inline;
  3045. procedure clearCLRASAM; inline;
  3046. procedure clearDONE; inline;
  3047. procedure clearFORM0; inline;
  3048. procedure clearFORM1; inline;
  3049. procedure clearFORM2; inline;
  3050. procedure clearON; inline;
  3051. procedure clearSAMP; inline;
  3052. procedure clearSIDL; inline;
  3053. procedure clearSSRC0; inline;
  3054. procedure clearSSRC1; inline;
  3055. procedure clearSSRC2; inline;
  3056. procedure setADON; inline;
  3057. procedure setADSIDL; inline;
  3058. procedure setASAM; inline;
  3059. procedure setCLRASAM; inline;
  3060. procedure setDONE; inline;
  3061. procedure setFORM0; inline;
  3062. procedure setFORM1; inline;
  3063. procedure setFORM2; inline;
  3064. procedure setON; inline;
  3065. procedure setSAMP; inline;
  3066. procedure setSIDL; inline;
  3067. procedure setSSRC0; inline;
  3068. procedure setSSRC1; inline;
  3069. procedure setSSRC2; inline;
  3070. property ADON : TBits_1 read getADON write setADON;
  3071. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  3072. property ASAM : TBits_1 read getASAM write setASAM;
  3073. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  3074. property DONE : TBits_1 read getDONE write setDONE;
  3075. property FORM : TBits_3 read getFORM write setFORM;
  3076. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  3077. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  3078. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  3079. property ON : TBits_1 read getON write setON;
  3080. property SAMP : TBits_1 read getSAMP write setSAMP;
  3081. property SIDL : TBits_1 read getSIDL write setSIDL;
  3082. property SSRC : TBits_3 read getSSRC write setSSRC;
  3083. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  3084. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  3085. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  3086. property w : TBits_32 read getw write setw;
  3087. end;
  3088. TADC10_AD1CON2 = record
  3089. private
  3090. function getALTS : TBits_1; inline;
  3091. function getBUFM : TBits_1; inline;
  3092. function getBUFS : TBits_1; inline;
  3093. function getCSCNA : TBits_1; inline;
  3094. function getOFFCAL : TBits_1; inline;
  3095. function getSMPI : TBits_4; inline;
  3096. function getSMPI0 : TBits_1; inline;
  3097. function getSMPI1 : TBits_1; inline;
  3098. function getSMPI2 : TBits_1; inline;
  3099. function getSMPI3 : TBits_1; inline;
  3100. function getVCFG : TBits_3; inline;
  3101. function getVCFG0 : TBits_1; inline;
  3102. function getVCFG1 : TBits_1; inline;
  3103. function getVCFG2 : TBits_1; inline;
  3104. function getw : TBits_32; inline;
  3105. procedure setALTS(thebits : TBits_1); inline;
  3106. procedure setBUFM(thebits : TBits_1); inline;
  3107. procedure setBUFS(thebits : TBits_1); inline;
  3108. procedure setCSCNA(thebits : TBits_1); inline;
  3109. procedure setOFFCAL(thebits : TBits_1); inline;
  3110. procedure setSMPI(thebits : TBits_4); inline;
  3111. procedure setSMPI0(thebits : TBits_1); inline;
  3112. procedure setSMPI1(thebits : TBits_1); inline;
  3113. procedure setSMPI2(thebits : TBits_1); inline;
  3114. procedure setSMPI3(thebits : TBits_1); inline;
  3115. procedure setVCFG(thebits : TBits_3); inline;
  3116. procedure setVCFG0(thebits : TBits_1); inline;
  3117. procedure setVCFG1(thebits : TBits_1); inline;
  3118. procedure setVCFG2(thebits : TBits_1); inline;
  3119. procedure setw(thebits : TBits_32); inline;
  3120. public
  3121. procedure clearALTS; inline;
  3122. procedure clearBUFM; inline;
  3123. procedure clearBUFS; inline;
  3124. procedure clearCSCNA; inline;
  3125. procedure clearOFFCAL; inline;
  3126. procedure clearSMPI0; inline;
  3127. procedure clearSMPI1; inline;
  3128. procedure clearSMPI2; inline;
  3129. procedure clearSMPI3; inline;
  3130. procedure clearVCFG0; inline;
  3131. procedure clearVCFG1; inline;
  3132. procedure clearVCFG2; inline;
  3133. procedure setALTS; inline;
  3134. procedure setBUFM; inline;
  3135. procedure setBUFS; inline;
  3136. procedure setCSCNA; inline;
  3137. procedure setOFFCAL; inline;
  3138. procedure setSMPI0; inline;
  3139. procedure setSMPI1; inline;
  3140. procedure setSMPI2; inline;
  3141. procedure setSMPI3; inline;
  3142. procedure setVCFG0; inline;
  3143. procedure setVCFG1; inline;
  3144. procedure setVCFG2; inline;
  3145. property ALTS : TBits_1 read getALTS write setALTS;
  3146. property BUFM : TBits_1 read getBUFM write setBUFM;
  3147. property BUFS : TBits_1 read getBUFS write setBUFS;
  3148. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  3149. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  3150. property SMPI : TBits_4 read getSMPI write setSMPI;
  3151. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  3152. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  3153. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  3154. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  3155. property VCFG : TBits_3 read getVCFG write setVCFG;
  3156. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  3157. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  3158. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  3159. property w : TBits_32 read getw write setw;
  3160. end;
  3161. TADC10_AD1CON3 = record
  3162. private
  3163. function getADCS : TBits_8; inline;
  3164. function getADCS0 : TBits_1; inline;
  3165. function getADCS1 : TBits_1; inline;
  3166. function getADCS2 : TBits_1; inline;
  3167. function getADCS3 : TBits_1; inline;
  3168. function getADCS4 : TBits_1; inline;
  3169. function getADCS5 : TBits_1; inline;
  3170. function getADCS6 : TBits_1; inline;
  3171. function getADCS7 : TBits_1; inline;
  3172. function getADRC : TBits_1; inline;
  3173. function getSAMC : TBits_5; inline;
  3174. function getSAMC0 : TBits_1; inline;
  3175. function getSAMC1 : TBits_1; inline;
  3176. function getSAMC2 : TBits_1; inline;
  3177. function getSAMC3 : TBits_1; inline;
  3178. function getSAMC4 : TBits_1; inline;
  3179. function getw : TBits_32; inline;
  3180. procedure setADCS(thebits : TBits_8); inline;
  3181. procedure setADCS0(thebits : TBits_1); inline;
  3182. procedure setADCS1(thebits : TBits_1); inline;
  3183. procedure setADCS2(thebits : TBits_1); inline;
  3184. procedure setADCS3(thebits : TBits_1); inline;
  3185. procedure setADCS4(thebits : TBits_1); inline;
  3186. procedure setADCS5(thebits : TBits_1); inline;
  3187. procedure setADCS6(thebits : TBits_1); inline;
  3188. procedure setADCS7(thebits : TBits_1); inline;
  3189. procedure setADRC(thebits : TBits_1); inline;
  3190. procedure setSAMC(thebits : TBits_5); inline;
  3191. procedure setSAMC0(thebits : TBits_1); inline;
  3192. procedure setSAMC1(thebits : TBits_1); inline;
  3193. procedure setSAMC2(thebits : TBits_1); inline;
  3194. procedure setSAMC3(thebits : TBits_1); inline;
  3195. procedure setSAMC4(thebits : TBits_1); inline;
  3196. procedure setw(thebits : TBits_32); inline;
  3197. public
  3198. procedure clearADCS0; inline;
  3199. procedure clearADCS1; inline;
  3200. procedure clearADCS2; inline;
  3201. procedure clearADCS3; inline;
  3202. procedure clearADCS4; inline;
  3203. procedure clearADCS5; inline;
  3204. procedure clearADCS6; inline;
  3205. procedure clearADCS7; inline;
  3206. procedure clearADRC; inline;
  3207. procedure clearSAMC0; inline;
  3208. procedure clearSAMC1; inline;
  3209. procedure clearSAMC2; inline;
  3210. procedure clearSAMC3; inline;
  3211. procedure clearSAMC4; inline;
  3212. procedure setADCS0; inline;
  3213. procedure setADCS1; inline;
  3214. procedure setADCS2; inline;
  3215. procedure setADCS3; inline;
  3216. procedure setADCS4; inline;
  3217. procedure setADCS5; inline;
  3218. procedure setADCS6; inline;
  3219. procedure setADCS7; inline;
  3220. procedure setADRC; inline;
  3221. procedure setSAMC0; inline;
  3222. procedure setSAMC1; inline;
  3223. procedure setSAMC2; inline;
  3224. procedure setSAMC3; inline;
  3225. procedure setSAMC4; inline;
  3226. property ADCS : TBits_8 read getADCS write setADCS;
  3227. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  3228. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  3229. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  3230. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  3231. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  3232. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  3233. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  3234. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  3235. property ADRC : TBits_1 read getADRC write setADRC;
  3236. property SAMC : TBits_5 read getSAMC write setSAMC;
  3237. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  3238. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  3239. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  3240. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  3241. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  3242. property w : TBits_32 read getw write setw;
  3243. end;
  3244. TADC10_AD1CHS = record
  3245. private
  3246. function getCH0NA : TBits_1; inline;
  3247. function getCH0NB : TBits_1; inline;
  3248. function getCH0SA : TBits_4; inline;
  3249. function getCH0SA0 : TBits_1; inline;
  3250. function getCH0SA1 : TBits_1; inline;
  3251. function getCH0SA2 : TBits_1; inline;
  3252. function getCH0SA3 : TBits_1; inline;
  3253. function getCH0SB : TBits_4; inline;
  3254. function getCH0SB0 : TBits_1; inline;
  3255. function getCH0SB1 : TBits_1; inline;
  3256. function getCH0SB2 : TBits_1; inline;
  3257. function getCH0SB3 : TBits_1; inline;
  3258. function getw : TBits_32; inline;
  3259. procedure setCH0NA(thebits : TBits_1); inline;
  3260. procedure setCH0NB(thebits : TBits_1); inline;
  3261. procedure setCH0SA(thebits : TBits_4); inline;
  3262. procedure setCH0SA0(thebits : TBits_1); inline;
  3263. procedure setCH0SA1(thebits : TBits_1); inline;
  3264. procedure setCH0SA2(thebits : TBits_1); inline;
  3265. procedure setCH0SA3(thebits : TBits_1); inline;
  3266. procedure setCH0SB(thebits : TBits_4); inline;
  3267. procedure setCH0SB0(thebits : TBits_1); inline;
  3268. procedure setCH0SB1(thebits : TBits_1); inline;
  3269. procedure setCH0SB2(thebits : TBits_1); inline;
  3270. procedure setCH0SB3(thebits : TBits_1); inline;
  3271. procedure setw(thebits : TBits_32); inline;
  3272. public
  3273. procedure clearCH0NA; inline;
  3274. procedure clearCH0NB; inline;
  3275. procedure clearCH0SA0; inline;
  3276. procedure clearCH0SA1; inline;
  3277. procedure clearCH0SA2; inline;
  3278. procedure clearCH0SA3; inline;
  3279. procedure clearCH0SB0; inline;
  3280. procedure clearCH0SB1; inline;
  3281. procedure clearCH0SB2; inline;
  3282. procedure clearCH0SB3; inline;
  3283. procedure setCH0NA; inline;
  3284. procedure setCH0NB; inline;
  3285. procedure setCH0SA0; inline;
  3286. procedure setCH0SA1; inline;
  3287. procedure setCH0SA2; inline;
  3288. procedure setCH0SA3; inline;
  3289. procedure setCH0SB0; inline;
  3290. procedure setCH0SB1; inline;
  3291. procedure setCH0SB2; inline;
  3292. procedure setCH0SB3; inline;
  3293. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  3294. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  3295. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  3296. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  3297. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  3298. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  3299. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  3300. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  3301. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  3302. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  3303. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  3304. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  3305. property w : TBits_32 read getw write setw;
  3306. end;
  3307. TADC10_AD1CSSL = record
  3308. private
  3309. function getCSSL : TBits_16; inline;
  3310. function getCSSL0 : TBits_1; inline;
  3311. function getCSSL1 : TBits_1; inline;
  3312. function getCSSL10 : TBits_1; inline;
  3313. function getCSSL11 : TBits_1; inline;
  3314. function getCSSL12 : TBits_1; inline;
  3315. function getCSSL13 : TBits_1; inline;
  3316. function getCSSL14 : TBits_1; inline;
  3317. function getCSSL15 : TBits_1; inline;
  3318. function getCSSL2 : TBits_1; inline;
  3319. function getCSSL3 : TBits_1; inline;
  3320. function getCSSL4 : TBits_1; inline;
  3321. function getCSSL5 : TBits_1; inline;
  3322. function getCSSL6 : TBits_1; inline;
  3323. function getCSSL7 : TBits_1; inline;
  3324. function getCSSL8 : TBits_1; inline;
  3325. function getCSSL9 : TBits_1; inline;
  3326. function getw : TBits_32; inline;
  3327. procedure setCSSL(thebits : TBits_16); inline;
  3328. procedure setCSSL0(thebits : TBits_1); inline;
  3329. procedure setCSSL1(thebits : TBits_1); inline;
  3330. procedure setCSSL10(thebits : TBits_1); inline;
  3331. procedure setCSSL11(thebits : TBits_1); inline;
  3332. procedure setCSSL12(thebits : TBits_1); inline;
  3333. procedure setCSSL13(thebits : TBits_1); inline;
  3334. procedure setCSSL14(thebits : TBits_1); inline;
  3335. procedure setCSSL15(thebits : TBits_1); inline;
  3336. procedure setCSSL2(thebits : TBits_1); inline;
  3337. procedure setCSSL3(thebits : TBits_1); inline;
  3338. procedure setCSSL4(thebits : TBits_1); inline;
  3339. procedure setCSSL5(thebits : TBits_1); inline;
  3340. procedure setCSSL6(thebits : TBits_1); inline;
  3341. procedure setCSSL7(thebits : TBits_1); inline;
  3342. procedure setCSSL8(thebits : TBits_1); inline;
  3343. procedure setCSSL9(thebits : TBits_1); inline;
  3344. procedure setw(thebits : TBits_32); inline;
  3345. public
  3346. procedure clearCSSL0; inline;
  3347. procedure clearCSSL10; inline;
  3348. procedure clearCSSL11; inline;
  3349. procedure clearCSSL12; inline;
  3350. procedure clearCSSL13; inline;
  3351. procedure clearCSSL14; inline;
  3352. procedure clearCSSL15; inline;
  3353. procedure clearCSSL1; inline;
  3354. procedure clearCSSL2; inline;
  3355. procedure clearCSSL3; inline;
  3356. procedure clearCSSL4; inline;
  3357. procedure clearCSSL5; inline;
  3358. procedure clearCSSL6; inline;
  3359. procedure clearCSSL7; inline;
  3360. procedure clearCSSL8; inline;
  3361. procedure clearCSSL9; inline;
  3362. procedure setCSSL0; inline;
  3363. procedure setCSSL10; inline;
  3364. procedure setCSSL11; inline;
  3365. procedure setCSSL12; inline;
  3366. procedure setCSSL13; inline;
  3367. procedure setCSSL14; inline;
  3368. procedure setCSSL15; inline;
  3369. procedure setCSSL1; inline;
  3370. procedure setCSSL2; inline;
  3371. procedure setCSSL3; inline;
  3372. procedure setCSSL4; inline;
  3373. procedure setCSSL5; inline;
  3374. procedure setCSSL6; inline;
  3375. procedure setCSSL7; inline;
  3376. procedure setCSSL8; inline;
  3377. procedure setCSSL9; inline;
  3378. property CSSL : TBits_16 read getCSSL write setCSSL;
  3379. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  3380. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  3381. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  3382. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  3383. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  3384. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  3385. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  3386. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  3387. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  3388. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  3389. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  3390. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  3391. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  3392. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  3393. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  3394. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  3395. property w : TBits_32 read getw write setw;
  3396. end;
  3397. TADC10_AD1PCFG = record
  3398. private
  3399. function getPCFG : TBits_16; inline;
  3400. function getPCFG0 : TBits_1; inline;
  3401. function getPCFG1 : TBits_1; inline;
  3402. function getPCFG10 : TBits_1; inline;
  3403. function getPCFG11 : TBits_1; inline;
  3404. function getPCFG12 : TBits_1; inline;
  3405. function getPCFG13 : TBits_1; inline;
  3406. function getPCFG14 : TBits_1; inline;
  3407. function getPCFG15 : TBits_1; inline;
  3408. function getPCFG2 : TBits_1; inline;
  3409. function getPCFG3 : TBits_1; inline;
  3410. function getPCFG4 : TBits_1; inline;
  3411. function getPCFG5 : TBits_1; inline;
  3412. function getPCFG6 : TBits_1; inline;
  3413. function getPCFG7 : TBits_1; inline;
  3414. function getPCFG8 : TBits_1; inline;
  3415. function getPCFG9 : TBits_1; inline;
  3416. function getw : TBits_32; inline;
  3417. procedure setPCFG(thebits : TBits_16); inline;
  3418. procedure setPCFG0(thebits : TBits_1); inline;
  3419. procedure setPCFG1(thebits : TBits_1); inline;
  3420. procedure setPCFG10(thebits : TBits_1); inline;
  3421. procedure setPCFG11(thebits : TBits_1); inline;
  3422. procedure setPCFG12(thebits : TBits_1); inline;
  3423. procedure setPCFG13(thebits : TBits_1); inline;
  3424. procedure setPCFG14(thebits : TBits_1); inline;
  3425. procedure setPCFG15(thebits : TBits_1); inline;
  3426. procedure setPCFG2(thebits : TBits_1); inline;
  3427. procedure setPCFG3(thebits : TBits_1); inline;
  3428. procedure setPCFG4(thebits : TBits_1); inline;
  3429. procedure setPCFG5(thebits : TBits_1); inline;
  3430. procedure setPCFG6(thebits : TBits_1); inline;
  3431. procedure setPCFG7(thebits : TBits_1); inline;
  3432. procedure setPCFG8(thebits : TBits_1); inline;
  3433. procedure setPCFG9(thebits : TBits_1); inline;
  3434. procedure setw(thebits : TBits_32); inline;
  3435. public
  3436. procedure clearPCFG0; inline;
  3437. procedure clearPCFG10; inline;
  3438. procedure clearPCFG11; inline;
  3439. procedure clearPCFG12; inline;
  3440. procedure clearPCFG13; inline;
  3441. procedure clearPCFG14; inline;
  3442. procedure clearPCFG15; inline;
  3443. procedure clearPCFG1; inline;
  3444. procedure clearPCFG2; inline;
  3445. procedure clearPCFG3; inline;
  3446. procedure clearPCFG4; inline;
  3447. procedure clearPCFG5; inline;
  3448. procedure clearPCFG6; inline;
  3449. procedure clearPCFG7; inline;
  3450. procedure clearPCFG8; inline;
  3451. procedure clearPCFG9; inline;
  3452. procedure setPCFG0; inline;
  3453. procedure setPCFG10; inline;
  3454. procedure setPCFG11; inline;
  3455. procedure setPCFG12; inline;
  3456. procedure setPCFG13; inline;
  3457. procedure setPCFG14; inline;
  3458. procedure setPCFG15; inline;
  3459. procedure setPCFG1; inline;
  3460. procedure setPCFG2; inline;
  3461. procedure setPCFG3; inline;
  3462. procedure setPCFG4; inline;
  3463. procedure setPCFG5; inline;
  3464. procedure setPCFG6; inline;
  3465. procedure setPCFG7; inline;
  3466. procedure setPCFG8; inline;
  3467. procedure setPCFG9; inline;
  3468. property PCFG : TBits_16 read getPCFG write setPCFG;
  3469. property PCFG0 : TBits_1 read getPCFG0 write setPCFG0;
  3470. property PCFG1 : TBits_1 read getPCFG1 write setPCFG1;
  3471. property PCFG10 : TBits_1 read getPCFG10 write setPCFG10;
  3472. property PCFG11 : TBits_1 read getPCFG11 write setPCFG11;
  3473. property PCFG12 : TBits_1 read getPCFG12 write setPCFG12;
  3474. property PCFG13 : TBits_1 read getPCFG13 write setPCFG13;
  3475. property PCFG14 : TBits_1 read getPCFG14 write setPCFG14;
  3476. property PCFG15 : TBits_1 read getPCFG15 write setPCFG15;
  3477. property PCFG2 : TBits_1 read getPCFG2 write setPCFG2;
  3478. property PCFG3 : TBits_1 read getPCFG3 write setPCFG3;
  3479. property PCFG4 : TBits_1 read getPCFG4 write setPCFG4;
  3480. property PCFG5 : TBits_1 read getPCFG5 write setPCFG5;
  3481. property PCFG6 : TBits_1 read getPCFG6 write setPCFG6;
  3482. property PCFG7 : TBits_1 read getPCFG7 write setPCFG7;
  3483. property PCFG8 : TBits_1 read getPCFG8 write setPCFG8;
  3484. property PCFG9 : TBits_1 read getPCFG9 write setPCFG9;
  3485. property w : TBits_32 read getw write setw;
  3486. end;
  3487. type
  3488. TADC10Registers = record
  3489. AD1CON1bits : TADC10_AD1CON1;
  3490. AD1CON1 : longWord;
  3491. AD1CON1CLR : longWord;
  3492. AD1CON1SET : longWord;
  3493. AD1CON1INV : longWord;
  3494. AD1CON2bits : TADC10_AD1CON2;
  3495. AD1CON2 : longWord;
  3496. AD1CON2CLR : longWord;
  3497. AD1CON2SET : longWord;
  3498. AD1CON2INV : longWord;
  3499. AD1CON3bits : TADC10_AD1CON3;
  3500. AD1CON3 : longWord;
  3501. AD1CON3CLR : longWord;
  3502. AD1CON3SET : longWord;
  3503. AD1CON3INV : longWord;
  3504. AD1CHSbits : TADC10_AD1CHS;
  3505. AD1CHS : longWord;
  3506. AD1CHSCLR : longWord;
  3507. AD1CHSSET : longWord;
  3508. AD1CHSINV : longWord;
  3509. AD1CSSLbits : TADC10_AD1CSSL;
  3510. AD1CSSL : longWord;
  3511. AD1CSSLCLR : longWord;
  3512. AD1CSSLSET : longWord;
  3513. AD1CSSLINV : longWord;
  3514. AD1PCFGbits : TADC10_AD1PCFG;
  3515. AD1PCFG : longWord;
  3516. AD1PCFGCLR : longWord;
  3517. AD1PCFGSET : longWord;
  3518. AD1PCFGINV : longWord;
  3519. ADC1BUF0 : longWord;
  3520. ADC1BUF1 : longWord;
  3521. ADC1BUF2 : longWord;
  3522. ADC1BUF3 : longWord;
  3523. ADC1BUF4 : longWord;
  3524. ADC1BUF5 : longWord;
  3525. ADC1BUF6 : longWord;
  3526. ADC1BUF7 : longWord;
  3527. ADC1BUF8 : longWord;
  3528. ADC1BUF9 : longWord;
  3529. ADC1BUFA : longWord;
  3530. ADC1BUFB : longWord;
  3531. ADC1BUFC : longWord;
  3532. ADC1BUFD : longWord;
  3533. ADC1BUFE : longWord;
  3534. ADC1BUFF : longWord;
  3535. end;
  3536. TCVR_CVRCON = record
  3537. private
  3538. function getCVR : TBits_4; inline;
  3539. function getCVR0 : TBits_1; inline;
  3540. function getCVR1 : TBits_1; inline;
  3541. function getCVR2 : TBits_1; inline;
  3542. function getCVR3 : TBits_1; inline;
  3543. function getCVROE : TBits_1; inline;
  3544. function getCVRR : TBits_1; inline;
  3545. function getCVRSS : TBits_1; inline;
  3546. function getON : TBits_1; inline;
  3547. function getw : TBits_32; inline;
  3548. procedure setCVR(thebits : TBits_4); inline;
  3549. procedure setCVR0(thebits : TBits_1); inline;
  3550. procedure setCVR1(thebits : TBits_1); inline;
  3551. procedure setCVR2(thebits : TBits_1); inline;
  3552. procedure setCVR3(thebits : TBits_1); inline;
  3553. procedure setCVROE(thebits : TBits_1); inline;
  3554. procedure setCVRR(thebits : TBits_1); inline;
  3555. procedure setCVRSS(thebits : TBits_1); inline;
  3556. procedure setON(thebits : TBits_1); inline;
  3557. procedure setw(thebits : TBits_32); inline;
  3558. public
  3559. procedure clearCVR0; inline;
  3560. procedure clearCVR1; inline;
  3561. procedure clearCVR2; inline;
  3562. procedure clearCVR3; inline;
  3563. procedure clearCVROE; inline;
  3564. procedure clearCVRR; inline;
  3565. procedure clearCVRSS; inline;
  3566. procedure clearON; inline;
  3567. procedure setCVR0; inline;
  3568. procedure setCVR1; inline;
  3569. procedure setCVR2; inline;
  3570. procedure setCVR3; inline;
  3571. procedure setCVROE; inline;
  3572. procedure setCVRR; inline;
  3573. procedure setCVRSS; inline;
  3574. procedure setON; inline;
  3575. property CVR : TBits_4 read getCVR write setCVR;
  3576. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  3577. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  3578. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  3579. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  3580. property CVROE : TBits_1 read getCVROE write setCVROE;
  3581. property CVRR : TBits_1 read getCVRR write setCVRR;
  3582. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  3583. property ON : TBits_1 read getON write setON;
  3584. property w : TBits_32 read getw write setw;
  3585. end;
  3586. type
  3587. TCVRRegisters = record
  3588. CVRCONbits : TCVR_CVRCON;
  3589. CVRCON : longWord;
  3590. CVRCONCLR : longWord;
  3591. CVRCONSET : longWord;
  3592. CVRCONINV : longWord;
  3593. end;
  3594. TCMP_CM1CON = record
  3595. private
  3596. function getCCH : TBits_2; inline;
  3597. function getCCH0 : TBits_1; inline;
  3598. function getCCH1 : TBits_1; inline;
  3599. function getCOE : TBits_1; inline;
  3600. function getCOUT : TBits_1; inline;
  3601. function getCPOL : TBits_1; inline;
  3602. function getCREF : TBits_1; inline;
  3603. function getEVPOL : TBits_2; inline;
  3604. function getEVPOL0 : TBits_1; inline;
  3605. function getEVPOL1 : TBits_1; inline;
  3606. function getON : TBits_1; inline;
  3607. function getw : TBits_32; inline;
  3608. procedure setCCH(thebits : TBits_2); inline;
  3609. procedure setCCH0(thebits : TBits_1); inline;
  3610. procedure setCCH1(thebits : TBits_1); inline;
  3611. procedure setCOE(thebits : TBits_1); inline;
  3612. procedure setCOUT(thebits : TBits_1); inline;
  3613. procedure setCPOL(thebits : TBits_1); inline;
  3614. procedure setCREF(thebits : TBits_1); inline;
  3615. procedure setEVPOL(thebits : TBits_2); inline;
  3616. procedure setEVPOL0(thebits : TBits_1); inline;
  3617. procedure setEVPOL1(thebits : TBits_1); inline;
  3618. procedure setON(thebits : TBits_1); inline;
  3619. procedure setw(thebits : TBits_32); inline;
  3620. public
  3621. procedure clearCCH0; inline;
  3622. procedure clearCCH1; inline;
  3623. procedure clearCOE; inline;
  3624. procedure clearCOUT; inline;
  3625. procedure clearCPOL; inline;
  3626. procedure clearCREF; inline;
  3627. procedure clearEVPOL0; inline;
  3628. procedure clearEVPOL1; inline;
  3629. procedure clearON; inline;
  3630. procedure setCCH0; inline;
  3631. procedure setCCH1; inline;
  3632. procedure setCOE; inline;
  3633. procedure setCOUT; inline;
  3634. procedure setCPOL; inline;
  3635. procedure setCREF; inline;
  3636. procedure setEVPOL0; inline;
  3637. procedure setEVPOL1; inline;
  3638. procedure setON; inline;
  3639. property CCH : TBits_2 read getCCH write setCCH;
  3640. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  3641. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  3642. property COE : TBits_1 read getCOE write setCOE;
  3643. property COUT : TBits_1 read getCOUT write setCOUT;
  3644. property CPOL : TBits_1 read getCPOL write setCPOL;
  3645. property CREF : TBits_1 read getCREF write setCREF;
  3646. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  3647. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  3648. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  3649. property ON : TBits_1 read getON write setON;
  3650. property w : TBits_32 read getw write setw;
  3651. end;
  3652. TCMP_CM2CON = record
  3653. private
  3654. function getCCH : TBits_2; inline;
  3655. function getCCH0 : TBits_1; inline;
  3656. function getCCH1 : TBits_1; inline;
  3657. function getCOE : TBits_1; inline;
  3658. function getCOUT : TBits_1; inline;
  3659. function getCPOL : TBits_1; inline;
  3660. function getCREF : TBits_1; inline;
  3661. function getEVPOL : TBits_2; inline;
  3662. function getEVPOL0 : TBits_1; inline;
  3663. function getEVPOL1 : TBits_1; inline;
  3664. function getON : TBits_1; inline;
  3665. function getw : TBits_32; inline;
  3666. procedure setCCH(thebits : TBits_2); inline;
  3667. procedure setCCH0(thebits : TBits_1); inline;
  3668. procedure setCCH1(thebits : TBits_1); inline;
  3669. procedure setCOE(thebits : TBits_1); inline;
  3670. procedure setCOUT(thebits : TBits_1); inline;
  3671. procedure setCPOL(thebits : TBits_1); inline;
  3672. procedure setCREF(thebits : TBits_1); inline;
  3673. procedure setEVPOL(thebits : TBits_2); inline;
  3674. procedure setEVPOL0(thebits : TBits_1); inline;
  3675. procedure setEVPOL1(thebits : TBits_1); inline;
  3676. procedure setON(thebits : TBits_1); inline;
  3677. procedure setw(thebits : TBits_32); inline;
  3678. public
  3679. procedure clearCCH0; inline;
  3680. procedure clearCCH1; inline;
  3681. procedure clearCOE; inline;
  3682. procedure clearCOUT; inline;
  3683. procedure clearCPOL; inline;
  3684. procedure clearCREF; inline;
  3685. procedure clearEVPOL0; inline;
  3686. procedure clearEVPOL1; inline;
  3687. procedure clearON; inline;
  3688. procedure setCCH0; inline;
  3689. procedure setCCH1; inline;
  3690. procedure setCOE; inline;
  3691. procedure setCOUT; inline;
  3692. procedure setCPOL; inline;
  3693. procedure setCREF; inline;
  3694. procedure setEVPOL0; inline;
  3695. procedure setEVPOL1; inline;
  3696. procedure setON; inline;
  3697. property CCH : TBits_2 read getCCH write setCCH;
  3698. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  3699. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  3700. property COE : TBits_1 read getCOE write setCOE;
  3701. property COUT : TBits_1 read getCOUT write setCOUT;
  3702. property CPOL : TBits_1 read getCPOL write setCPOL;
  3703. property CREF : TBits_1 read getCREF write setCREF;
  3704. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  3705. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  3706. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  3707. property ON : TBits_1 read getON write setON;
  3708. property w : TBits_32 read getw write setw;
  3709. end;
  3710. TCMP_CMSTAT = record
  3711. private
  3712. function getC1OUT : TBits_1; inline;
  3713. function getC2OUT : TBits_1; inline;
  3714. function getSIDL : TBits_1; inline;
  3715. function getw : TBits_32; inline;
  3716. procedure setC1OUT(thebits : TBits_1); inline;
  3717. procedure setC2OUT(thebits : TBits_1); inline;
  3718. procedure setSIDL(thebits : TBits_1); inline;
  3719. procedure setw(thebits : TBits_32); inline;
  3720. public
  3721. procedure clearC1OUT; inline;
  3722. procedure clearC2OUT; inline;
  3723. procedure clearSIDL; inline;
  3724. procedure setC1OUT; inline;
  3725. procedure setC2OUT; inline;
  3726. procedure setSIDL; inline;
  3727. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  3728. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  3729. property SIDL : TBits_1 read getSIDL write setSIDL;
  3730. property w : TBits_32 read getw write setw;
  3731. end;
  3732. type
  3733. TCMPRegisters = record
  3734. CM1CONbits : TCMP_CM1CON;
  3735. CM1CON : longWord;
  3736. CM1CONCLR : longWord;
  3737. CM1CONSET : longWord;
  3738. CM1CONINV : longWord;
  3739. CM2CONbits : TCMP_CM2CON;
  3740. CM2CON : longWord;
  3741. CM2CONCLR : longWord;
  3742. CM2CONSET : longWord;
  3743. CM2CONINV : longWord;
  3744. CMSTATbits : TCMP_CMSTAT;
  3745. CMSTAT : longWord;
  3746. CMSTATCLR : longWord;
  3747. CMSTATSET : longWord;
  3748. CMSTATINV : longWord;
  3749. end;
  3750. TOSC_OSCCON = record
  3751. private
  3752. function getCF : TBits_1; inline;
  3753. function getCLKLOCK : TBits_1; inline;
  3754. function getCOSC : TBits_3; inline;
  3755. function getCOSC0 : TBits_1; inline;
  3756. function getCOSC1 : TBits_1; inline;
  3757. function getCOSC2 : TBits_1; inline;
  3758. function getFRCDIV : TBits_3; inline;
  3759. function getFRCDIV0 : TBits_1; inline;
  3760. function getFRCDIV1 : TBits_1; inline;
  3761. function getFRCDIV2 : TBits_1; inline;
  3762. function getLOCK : TBits_1; inline;
  3763. function getNOSC : TBits_3; inline;
  3764. function getNOSC0 : TBits_1; inline;
  3765. function getNOSC1 : TBits_1; inline;
  3766. function getNOSC2 : TBits_1; inline;
  3767. function getOSWEN : TBits_1; inline;
  3768. function getPBDIV : TBits_2; inline;
  3769. function getPBDIV0 : TBits_1; inline;
  3770. function getPBDIV1 : TBits_1; inline;
  3771. function getPLLMULT : TBits_3; inline;
  3772. function getPLLMULT0 : TBits_1; inline;
  3773. function getPLLMULT1 : TBits_1; inline;
  3774. function getPLLMULT2 : TBits_1; inline;
  3775. function getPLLODIV : TBits_3; inline;
  3776. function getPLLODIV0 : TBits_1; inline;
  3777. function getPLLODIV1 : TBits_1; inline;
  3778. function getPLLODIV2 : TBits_1; inline;
  3779. function getSLPEN : TBits_1; inline;
  3780. function getSOSCEN : TBits_1; inline;
  3781. function getSOSCRDY : TBits_1; inline;
  3782. function getUFRCEN : TBits_1; inline;
  3783. function getULOCK : TBits_1; inline;
  3784. function getw : TBits_32; inline;
  3785. procedure setCF(thebits : TBits_1); inline;
  3786. procedure setCLKLOCK(thebits : TBits_1); inline;
  3787. procedure setCOSC(thebits : TBits_3); inline;
  3788. procedure setCOSC0(thebits : TBits_1); inline;
  3789. procedure setCOSC1(thebits : TBits_1); inline;
  3790. procedure setCOSC2(thebits : TBits_1); inline;
  3791. procedure setFRCDIV(thebits : TBits_3); inline;
  3792. procedure setFRCDIV0(thebits : TBits_1); inline;
  3793. procedure setFRCDIV1(thebits : TBits_1); inline;
  3794. procedure setFRCDIV2(thebits : TBits_1); inline;
  3795. procedure setLOCK(thebits : TBits_1); inline;
  3796. procedure setNOSC(thebits : TBits_3); inline;
  3797. procedure setNOSC0(thebits : TBits_1); inline;
  3798. procedure setNOSC1(thebits : TBits_1); inline;
  3799. procedure setNOSC2(thebits : TBits_1); inline;
  3800. procedure setOSWEN(thebits : TBits_1); inline;
  3801. procedure setPBDIV(thebits : TBits_2); inline;
  3802. procedure setPBDIV0(thebits : TBits_1); inline;
  3803. procedure setPBDIV1(thebits : TBits_1); inline;
  3804. procedure setPLLMULT(thebits : TBits_3); inline;
  3805. procedure setPLLMULT0(thebits : TBits_1); inline;
  3806. procedure setPLLMULT1(thebits : TBits_1); inline;
  3807. procedure setPLLMULT2(thebits : TBits_1); inline;
  3808. procedure setPLLODIV(thebits : TBits_3); inline;
  3809. procedure setPLLODIV0(thebits : TBits_1); inline;
  3810. procedure setPLLODIV1(thebits : TBits_1); inline;
  3811. procedure setPLLODIV2(thebits : TBits_1); inline;
  3812. procedure setSLPEN(thebits : TBits_1); inline;
  3813. procedure setSOSCEN(thebits : TBits_1); inline;
  3814. procedure setSOSCRDY(thebits : TBits_1); inline;
  3815. procedure setUFRCEN(thebits : TBits_1); inline;
  3816. procedure setULOCK(thebits : TBits_1); inline;
  3817. procedure setw(thebits : TBits_32); inline;
  3818. public
  3819. procedure clearCF; inline;
  3820. procedure clearCLKLOCK; inline;
  3821. procedure clearCOSC0; inline;
  3822. procedure clearCOSC1; inline;
  3823. procedure clearCOSC2; inline;
  3824. procedure clearFRCDIV0; inline;
  3825. procedure clearFRCDIV1; inline;
  3826. procedure clearFRCDIV2; inline;
  3827. procedure clearLOCK; inline;
  3828. procedure clearNOSC0; inline;
  3829. procedure clearNOSC1; inline;
  3830. procedure clearNOSC2; inline;
  3831. procedure clearOSWEN; inline;
  3832. procedure clearPBDIV0; inline;
  3833. procedure clearPBDIV1; inline;
  3834. procedure clearPLLMULT0; inline;
  3835. procedure clearPLLMULT1; inline;
  3836. procedure clearPLLMULT2; inline;
  3837. procedure clearPLLODIV0; inline;
  3838. procedure clearPLLODIV1; inline;
  3839. procedure clearPLLODIV2; inline;
  3840. procedure clearSLPEN; inline;
  3841. procedure clearSOSCEN; inline;
  3842. procedure clearSOSCRDY; inline;
  3843. procedure clearUFRCEN; inline;
  3844. procedure clearULOCK; inline;
  3845. procedure setCF; inline;
  3846. procedure setCLKLOCK; inline;
  3847. procedure setCOSC0; inline;
  3848. procedure setCOSC1; inline;
  3849. procedure setCOSC2; inline;
  3850. procedure setFRCDIV0; inline;
  3851. procedure setFRCDIV1; inline;
  3852. procedure setFRCDIV2; inline;
  3853. procedure setLOCK; inline;
  3854. procedure setNOSC0; inline;
  3855. procedure setNOSC1; inline;
  3856. procedure setNOSC2; inline;
  3857. procedure setOSWEN; inline;
  3858. procedure setPBDIV0; inline;
  3859. procedure setPBDIV1; inline;
  3860. procedure setPLLMULT0; inline;
  3861. procedure setPLLMULT1; inline;
  3862. procedure setPLLMULT2; inline;
  3863. procedure setPLLODIV0; inline;
  3864. procedure setPLLODIV1; inline;
  3865. procedure setPLLODIV2; inline;
  3866. procedure setSLPEN; inline;
  3867. procedure setSOSCEN; inline;
  3868. procedure setSOSCRDY; inline;
  3869. procedure setUFRCEN; inline;
  3870. procedure setULOCK; inline;
  3871. property CF : TBits_1 read getCF write setCF;
  3872. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  3873. property COSC : TBits_3 read getCOSC write setCOSC;
  3874. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  3875. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  3876. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  3877. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  3878. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  3879. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  3880. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  3881. property LOCK : TBits_1 read getLOCK write setLOCK;
  3882. property NOSC : TBits_3 read getNOSC write setNOSC;
  3883. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  3884. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  3885. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  3886. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  3887. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  3888. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  3889. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  3890. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  3891. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  3892. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  3893. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  3894. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  3895. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  3896. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  3897. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  3898. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  3899. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  3900. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  3901. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  3902. property ULOCK : TBits_1 read getULOCK write setULOCK;
  3903. property w : TBits_32 read getw write setw;
  3904. end;
  3905. TOSC_OSCTUN = record
  3906. private
  3907. function getTUN : TBits_6; inline;
  3908. function getTUN0 : TBits_1; inline;
  3909. function getTUN1 : TBits_1; inline;
  3910. function getTUN2 : TBits_1; inline;
  3911. function getTUN3 : TBits_1; inline;
  3912. function getTUN4 : TBits_1; inline;
  3913. function getTUN5 : TBits_1; inline;
  3914. function getw : TBits_32; inline;
  3915. procedure setTUN(thebits : TBits_6); inline;
  3916. procedure setTUN0(thebits : TBits_1); inline;
  3917. procedure setTUN1(thebits : TBits_1); inline;
  3918. procedure setTUN2(thebits : TBits_1); inline;
  3919. procedure setTUN3(thebits : TBits_1); inline;
  3920. procedure setTUN4(thebits : TBits_1); inline;
  3921. procedure setTUN5(thebits : TBits_1); inline;
  3922. procedure setw(thebits : TBits_32); inline;
  3923. public
  3924. procedure clearTUN0; inline;
  3925. procedure clearTUN1; inline;
  3926. procedure clearTUN2; inline;
  3927. procedure clearTUN3; inline;
  3928. procedure clearTUN4; inline;
  3929. procedure clearTUN5; inline;
  3930. procedure setTUN0; inline;
  3931. procedure setTUN1; inline;
  3932. procedure setTUN2; inline;
  3933. procedure setTUN3; inline;
  3934. procedure setTUN4; inline;
  3935. procedure setTUN5; inline;
  3936. property TUN : TBits_6 read getTUN write setTUN;
  3937. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  3938. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  3939. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  3940. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  3941. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  3942. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  3943. property w : TBits_32 read getw write setw;
  3944. end;
  3945. type
  3946. TOSCRegisters = record
  3947. OSCCONbits : TOSC_OSCCON;
  3948. OSCCON : longWord;
  3949. OSCCONCLR : longWord;
  3950. OSCCONSET : longWord;
  3951. OSCCONINV : longWord;
  3952. OSCTUNbits : TOSC_OSCTUN;
  3953. OSCTUN : longWord;
  3954. OSCTUNCLR : longWord;
  3955. OSCTUNSET : longWord;
  3956. OSCTUNINV : longWord;
  3957. end;
  3958. type
  3959. TCFGRegisters = record
  3960. DDPCON : longWord;
  3961. DEVID : longWord;
  3962. SYSKEY : longWord;
  3963. SYSKEYCLR : longWord;
  3964. SYSKEYSET : longWord;
  3965. SYSKEYINV : longWord;
  3966. end;
  3967. TNVM_NVMCON = record
  3968. private
  3969. function getLVDERR : TBits_1; inline;
  3970. function getLVDSTAT : TBits_1; inline;
  3971. function getNVMOP : TBits_4; inline;
  3972. function getNVMOP0 : TBits_1; inline;
  3973. function getNVMOP1 : TBits_1; inline;
  3974. function getNVMOP2 : TBits_1; inline;
  3975. function getNVMOP3 : TBits_1; inline;
  3976. function getPROGOP : TBits_4; inline;
  3977. function getPROGOP0 : TBits_1; inline;
  3978. function getPROGOP1 : TBits_1; inline;
  3979. function getPROGOP2 : TBits_1; inline;
  3980. function getPROGOP3 : TBits_1; inline;
  3981. function getWR : TBits_1; inline;
  3982. function getWREN : TBits_1; inline;
  3983. function getWRERR : TBits_1; inline;
  3984. function getw : TBits_32; inline;
  3985. procedure setLVDERR(thebits : TBits_1); inline;
  3986. procedure setLVDSTAT(thebits : TBits_1); inline;
  3987. procedure setNVMOP(thebits : TBits_4); inline;
  3988. procedure setNVMOP0(thebits : TBits_1); inline;
  3989. procedure setNVMOP1(thebits : TBits_1); inline;
  3990. procedure setNVMOP2(thebits : TBits_1); inline;
  3991. procedure setNVMOP3(thebits : TBits_1); inline;
  3992. procedure setPROGOP(thebits : TBits_4); inline;
  3993. procedure setPROGOP0(thebits : TBits_1); inline;
  3994. procedure setPROGOP1(thebits : TBits_1); inline;
  3995. procedure setPROGOP2(thebits : TBits_1); inline;
  3996. procedure setPROGOP3(thebits : TBits_1); inline;
  3997. procedure setWR(thebits : TBits_1); inline;
  3998. procedure setWREN(thebits : TBits_1); inline;
  3999. procedure setWRERR(thebits : TBits_1); inline;
  4000. procedure setw(thebits : TBits_32); inline;
  4001. public
  4002. procedure clearLVDERR; inline;
  4003. procedure clearLVDSTAT; inline;
  4004. procedure clearNVMOP0; inline;
  4005. procedure clearNVMOP1; inline;
  4006. procedure clearNVMOP2; inline;
  4007. procedure clearNVMOP3; inline;
  4008. procedure clearPROGOP0; inline;
  4009. procedure clearPROGOP1; inline;
  4010. procedure clearPROGOP2; inline;
  4011. procedure clearPROGOP3; inline;
  4012. procedure clearWR; inline;
  4013. procedure clearWREN; inline;
  4014. procedure clearWRERR; inline;
  4015. procedure setLVDERR; inline;
  4016. procedure setLVDSTAT; inline;
  4017. procedure setNVMOP0; inline;
  4018. procedure setNVMOP1; inline;
  4019. procedure setNVMOP2; inline;
  4020. procedure setNVMOP3; inline;
  4021. procedure setPROGOP0; inline;
  4022. procedure setPROGOP1; inline;
  4023. procedure setPROGOP2; inline;
  4024. procedure setPROGOP3; inline;
  4025. procedure setWR; inline;
  4026. procedure setWREN; inline;
  4027. procedure setWRERR; inline;
  4028. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  4029. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  4030. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  4031. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  4032. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  4033. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  4034. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  4035. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  4036. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  4037. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  4038. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  4039. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  4040. property WR : TBits_1 read getWR write setWR;
  4041. property WREN : TBits_1 read getWREN write setWREN;
  4042. property WRERR : TBits_1 read getWRERR write setWRERR;
  4043. property w : TBits_32 read getw write setw;
  4044. end;
  4045. type
  4046. TNVMRegisters = record
  4047. NVMCONbits : TNVM_NVMCON;
  4048. NVMCON : longWord;
  4049. NVMCONCLR : longWord;
  4050. NVMCONSET : longWord;
  4051. NVMCONINV : longWord;
  4052. NVMKEY : longWord;
  4053. NVMADDR : longWord;
  4054. NVMADDRCLR : longWord;
  4055. NVMADDRSET : longWord;
  4056. NVMADDRINV : longWord;
  4057. NVMDATA : longWord;
  4058. NVMSRCADDR : longWord;
  4059. end;
  4060. TRCON_RCON = record
  4061. private
  4062. function getBOR : TBits_1; inline;
  4063. function getCMR : TBits_1; inline;
  4064. function getEXTR : TBits_1; inline;
  4065. function getIDLE : TBits_1; inline;
  4066. function getPOR : TBits_1; inline;
  4067. function getSLEEP : TBits_1; inline;
  4068. function getSWR : TBits_1; inline;
  4069. function getVREGS : TBits_1; inline;
  4070. function getWDTO : TBits_1; inline;
  4071. function getw : TBits_32; inline;
  4072. procedure setBOR(thebits : TBits_1); inline;
  4073. procedure setCMR(thebits : TBits_1); inline;
  4074. procedure setEXTR(thebits : TBits_1); inline;
  4075. procedure setIDLE(thebits : TBits_1); inline;
  4076. procedure setPOR(thebits : TBits_1); inline;
  4077. procedure setSLEEP(thebits : TBits_1); inline;
  4078. procedure setSWR(thebits : TBits_1); inline;
  4079. procedure setVREGS(thebits : TBits_1); inline;
  4080. procedure setWDTO(thebits : TBits_1); inline;
  4081. procedure setw(thebits : TBits_32); inline;
  4082. public
  4083. procedure clearBOR; inline;
  4084. procedure clearCMR; inline;
  4085. procedure clearEXTR; inline;
  4086. procedure clearIDLE; inline;
  4087. procedure clearPOR; inline;
  4088. procedure clearSLEEP; inline;
  4089. procedure clearSWR; inline;
  4090. procedure clearVREGS; inline;
  4091. procedure clearWDTO; inline;
  4092. procedure setBOR; inline;
  4093. procedure setCMR; inline;
  4094. procedure setEXTR; inline;
  4095. procedure setIDLE; inline;
  4096. procedure setPOR; inline;
  4097. procedure setSLEEP; inline;
  4098. procedure setSWR; inline;
  4099. procedure setVREGS; inline;
  4100. procedure setWDTO; inline;
  4101. property BOR : TBits_1 read getBOR write setBOR;
  4102. property CMR : TBits_1 read getCMR write setCMR;
  4103. property EXTR : TBits_1 read getEXTR write setEXTR;
  4104. property IDLE : TBits_1 read getIDLE write setIDLE;
  4105. property POR : TBits_1 read getPOR write setPOR;
  4106. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  4107. property SWR : TBits_1 read getSWR write setSWR;
  4108. property VREGS : TBits_1 read getVREGS write setVREGS;
  4109. property WDTO : TBits_1 read getWDTO write setWDTO;
  4110. property w : TBits_32 read getw write setw;
  4111. end;
  4112. TRCON_RSWRST = record
  4113. private
  4114. function getSWRST : TBits_1; inline;
  4115. function getw : TBits_32; inline;
  4116. procedure setSWRST(thebits : TBits_1); inline;
  4117. procedure setw(thebits : TBits_32); inline;
  4118. public
  4119. procedure clearSWRST; inline;
  4120. procedure setSWRST; inline;
  4121. property SWRST : TBits_1 read getSWRST write setSWRST;
  4122. property w : TBits_32 read getw write setw;
  4123. end;
  4124. type
  4125. TRCONRegisters = record
  4126. RCONbits : TRCON_RCON;
  4127. RCON : longWord;
  4128. RCONCLR : longWord;
  4129. RCONSET : longWord;
  4130. RCONINV : longWord;
  4131. RSWRSTbits : TRCON_RSWRST;
  4132. RSWRST : longWord;
  4133. RSWRSTCLR : longWord;
  4134. RSWRSTSET : longWord;
  4135. RSWRSTINV : longWord;
  4136. end;
  4137. type
  4138. T_DDPSTATRegisters = record
  4139. _DDPSTAT : longWord;
  4140. end;
  4141. type
  4142. T_STRORegisters = record
  4143. _STRO : longWord;
  4144. _STROCLR : longWord;
  4145. _STROSET : longWord;
  4146. _STROINV : longWord;
  4147. end;
  4148. type
  4149. T_APPORegisters = record
  4150. _APPO : longWord;
  4151. _APPOCLR : longWord;
  4152. _APPOSET : longWord;
  4153. _APPOINV : longWord;
  4154. end;
  4155. type
  4156. T_APPIRegisters = record
  4157. _APPI : longWord;
  4158. end;
  4159. TINT_INTSTAT = record
  4160. private
  4161. function getRIPL : TBits_3; inline;
  4162. function getSRIPL : TBits_3; inline;
  4163. function getVEC : TBits_6; inline;
  4164. procedure setRIPL(thebits : TBits_3); inline;
  4165. procedure setSRIPL(thebits : TBits_3); inline;
  4166. procedure setVEC(thebits : TBits_6); inline;
  4167. public
  4168. property RIPL : TBits_3 read getRIPL write setRIPL;
  4169. property SRIPL : TBits_3 read getSRIPL write setSRIPL;
  4170. property VEC : TBits_6 read getVEC write setVEC;
  4171. end;
  4172. type
  4173. TINTRegisters = record
  4174. INTCON : longWord;
  4175. INTCONCLR : longWord;
  4176. INTCONSET : longWord;
  4177. INTCONINV : longWord;
  4178. INTSTATbits : TINT_INTSTAT;
  4179. INTSTAT : longWord;
  4180. IPTMR : longWord;
  4181. IPTMRCLR : longWord;
  4182. IPTMRSET : longWord;
  4183. IPTMRINV : longWord;
  4184. IFS0 : longWord;
  4185. IFS0CLR : longWord;
  4186. IFS0SET : longWord;
  4187. IFS0INV : longWord;
  4188. IFS1 : longWord;
  4189. IFS1CLR : longWord;
  4190. IFS1SET : longWord;
  4191. IFS1INV : longWord;
  4192. IEC0 : longWord;
  4193. IEC0CLR : longWord;
  4194. IEC0SET : longWord;
  4195. IEC0INV : longWord;
  4196. IEC1 : longWord;
  4197. IEC1CLR : longWord;
  4198. IEC1SET : longWord;
  4199. IEC1INV : longWord;
  4200. IPC0 : longWord;
  4201. IPC0CLR : longWord;
  4202. IPC0SET : longWord;
  4203. IPC0INV : longWord;
  4204. IPC1 : longWord;
  4205. IPC1CLR : longWord;
  4206. IPC1SET : longWord;
  4207. IPC1INV : longWord;
  4208. IPC2 : longWord;
  4209. IPC2CLR : longWord;
  4210. IPC2SET : longWord;
  4211. IPC2INV : longWord;
  4212. IPC3 : longWord;
  4213. IPC3CLR : longWord;
  4214. IPC3SET : longWord;
  4215. IPC3INV : longWord;
  4216. IPC4 : longWord;
  4217. IPC4CLR : longWord;
  4218. IPC4SET : longWord;
  4219. IPC4INV : longWord;
  4220. IPC5 : longWord;
  4221. IPC5CLR : longWord;
  4222. IPC5SET : longWord;
  4223. IPC5INV : longWord;
  4224. IPC6 : longWord;
  4225. IPC6CLR : longWord;
  4226. IPC6SET : longWord;
  4227. IPC6INV : longWord;
  4228. IPC7 : longWord;
  4229. IPC7CLR : longWord;
  4230. IPC7SET : longWord;
  4231. IPC7INV : longWord;
  4232. IPC8 : longWord;
  4233. IPC8CLR : longWord;
  4234. IPC8SET : longWord;
  4235. IPC8INV : longWord;
  4236. 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. TUSB_U1IR = record
  5382. private
  5383. function getATTACHIF : TBits_1; inline;
  5384. function getDETACHIF : TBits_1; inline;
  5385. function getIDLEIF : TBits_1; inline;
  5386. function getRESUMEIF : TBits_1; inline;
  5387. function getSOFIF : TBits_1; inline;
  5388. function getSTALLIF : TBits_1; inline;
  5389. function getTRNIF : TBits_1; inline;
  5390. function getUERRIF : TBits_1; inline;
  5391. function getURSTIF : TBits_1; inline;
  5392. function getURSTIF_DETACHIF : TBits_1; inline;
  5393. procedure setATTACHIF(thebits : TBits_1); inline;
  5394. procedure setDETACHIF(thebits : TBits_1); inline;
  5395. procedure setIDLEIF(thebits : TBits_1); inline;
  5396. procedure setRESUMEIF(thebits : TBits_1); inline;
  5397. procedure setSOFIF(thebits : TBits_1); inline;
  5398. procedure setSTALLIF(thebits : TBits_1); inline;
  5399. procedure setTRNIF(thebits : TBits_1); inline;
  5400. procedure setUERRIF(thebits : TBits_1); inline;
  5401. procedure setURSTIF(thebits : TBits_1); inline;
  5402. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  5403. public
  5404. procedure clearATTACHIF; inline;
  5405. procedure clearDETACHIF; inline;
  5406. procedure clearIDLEIF; inline;
  5407. procedure clearRESUMEIF; inline;
  5408. procedure clearSOFIF; inline;
  5409. procedure clearSTALLIF; inline;
  5410. procedure clearTRNIF; inline;
  5411. procedure clearUERRIF; inline;
  5412. procedure clearURSTIF; inline;
  5413. procedure clearURSTIF_DETACHIF; inline;
  5414. procedure setATTACHIF; inline;
  5415. procedure setDETACHIF; inline;
  5416. procedure setIDLEIF; inline;
  5417. procedure setRESUMEIF; inline;
  5418. procedure setSOFIF; inline;
  5419. procedure setSTALLIF; inline;
  5420. procedure setTRNIF; inline;
  5421. procedure setUERRIF; inline;
  5422. procedure setURSTIF; inline;
  5423. procedure setURSTIF_DETACHIF; inline;
  5424. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  5425. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  5426. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  5427. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  5428. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  5429. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  5430. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  5431. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  5432. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  5433. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  5434. end;
  5435. TUSB_U1IE = record
  5436. private
  5437. function getATTACHIE : TBits_1; inline;
  5438. function getDETACHIE : TBits_1; inline;
  5439. function getIDLEIE : TBits_1; inline;
  5440. function getRESUMEIE : TBits_1; inline;
  5441. function getSOFIE : TBits_1; inline;
  5442. function getSTALLIE : TBits_1; inline;
  5443. function getTRNIE : TBits_1; inline;
  5444. function getUERRIE : TBits_1; inline;
  5445. function getURSTIE : TBits_1; inline;
  5446. function getURSTIE_DETACHIE : TBits_1; inline;
  5447. procedure setATTACHIE(thebits : TBits_1); inline;
  5448. procedure setDETACHIE(thebits : TBits_1); inline;
  5449. procedure setIDLEIE(thebits : TBits_1); inline;
  5450. procedure setRESUMEIE(thebits : TBits_1); inline;
  5451. procedure setSOFIE(thebits : TBits_1); inline;
  5452. procedure setSTALLIE(thebits : TBits_1); inline;
  5453. procedure setTRNIE(thebits : TBits_1); inline;
  5454. procedure setUERRIE(thebits : TBits_1); inline;
  5455. procedure setURSTIE(thebits : TBits_1); inline;
  5456. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  5457. public
  5458. procedure clearATTACHIE; inline;
  5459. procedure clearDETACHIE; inline;
  5460. procedure clearIDLEIE; inline;
  5461. procedure clearRESUMEIE; inline;
  5462. procedure clearSOFIE; inline;
  5463. procedure clearSTALLIE; inline;
  5464. procedure clearTRNIE; inline;
  5465. procedure clearUERRIE; inline;
  5466. procedure clearURSTIE; inline;
  5467. procedure clearURSTIE_DETACHIE; inline;
  5468. procedure setATTACHIE; inline;
  5469. procedure setDETACHIE; inline;
  5470. procedure setIDLEIE; inline;
  5471. procedure setRESUMEIE; inline;
  5472. procedure setSOFIE; inline;
  5473. procedure setSTALLIE; inline;
  5474. procedure setTRNIE; inline;
  5475. procedure setUERRIE; inline;
  5476. procedure setURSTIE; inline;
  5477. procedure setURSTIE_DETACHIE; inline;
  5478. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  5479. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  5480. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  5481. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  5482. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  5483. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  5484. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  5485. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  5486. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  5487. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  5488. end;
  5489. TUSB_U1EIR = record
  5490. private
  5491. function getBMXEF : TBits_1; inline;
  5492. function getBTOEF : TBits_1; inline;
  5493. function getBTSEF : TBits_1; inline;
  5494. function getCRC16EF : TBits_1; inline;
  5495. function getCRC5EF : TBits_1; inline;
  5496. function getCRC5EF_EOFEF : TBits_1; inline;
  5497. function getDFN8EF : TBits_1; inline;
  5498. function getDMAEF : TBits_1; inline;
  5499. function getEOFEF : TBits_1; inline;
  5500. function getPIDEF : TBits_1; inline;
  5501. procedure setBMXEF(thebits : TBits_1); inline;
  5502. procedure setBTOEF(thebits : TBits_1); inline;
  5503. procedure setBTSEF(thebits : TBits_1); inline;
  5504. procedure setCRC16EF(thebits : TBits_1); inline;
  5505. procedure setCRC5EF(thebits : TBits_1); inline;
  5506. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  5507. procedure setDFN8EF(thebits : TBits_1); inline;
  5508. procedure setDMAEF(thebits : TBits_1); inline;
  5509. procedure setEOFEF(thebits : TBits_1); inline;
  5510. procedure setPIDEF(thebits : TBits_1); inline;
  5511. public
  5512. procedure clearBMXEF; inline;
  5513. procedure clearBTOEF; inline;
  5514. procedure clearBTSEF; inline;
  5515. procedure clearCRC16EF; inline;
  5516. procedure clearCRC5EF; inline;
  5517. procedure clearCRC5EF_EOFEF; inline;
  5518. procedure clearDFN8EF; inline;
  5519. procedure clearDMAEF; inline;
  5520. procedure clearEOFEF; inline;
  5521. procedure clearPIDEF; inline;
  5522. procedure setBMXEF; inline;
  5523. procedure setBTOEF; inline;
  5524. procedure setBTSEF; inline;
  5525. procedure setCRC16EF; inline;
  5526. procedure setCRC5EF; inline;
  5527. procedure setCRC5EF_EOFEF; inline;
  5528. procedure setDFN8EF; inline;
  5529. procedure setDMAEF; inline;
  5530. procedure setEOFEF; inline;
  5531. procedure setPIDEF; inline;
  5532. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  5533. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  5534. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  5535. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  5536. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  5537. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  5538. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  5539. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  5540. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  5541. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  5542. end;
  5543. TUSB_U1EIE = record
  5544. private
  5545. function getBMXEE : TBits_1; inline;
  5546. function getBTOEE : TBits_1; inline;
  5547. function getBTSEE : TBits_1; inline;
  5548. function getCRC16EE : TBits_1; inline;
  5549. function getCRC5EE : TBits_1; inline;
  5550. function getCRC5EE_EOFEE : TBits_1; inline;
  5551. function getDFN8EE : TBits_1; inline;
  5552. function getDMAEE : TBits_1; inline;
  5553. function getEOFEE : TBits_1; inline;
  5554. function getPIDEE : TBits_1; inline;
  5555. procedure setBMXEE(thebits : TBits_1); inline;
  5556. procedure setBTOEE(thebits : TBits_1); inline;
  5557. procedure setBTSEE(thebits : TBits_1); inline;
  5558. procedure setCRC16EE(thebits : TBits_1); inline;
  5559. procedure setCRC5EE(thebits : TBits_1); inline;
  5560. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  5561. procedure setDFN8EE(thebits : TBits_1); inline;
  5562. procedure setDMAEE(thebits : TBits_1); inline;
  5563. procedure setEOFEE(thebits : TBits_1); inline;
  5564. procedure setPIDEE(thebits : TBits_1); inline;
  5565. public
  5566. procedure clearBMXEE; inline;
  5567. procedure clearBTOEE; inline;
  5568. procedure clearBTSEE; inline;
  5569. procedure clearCRC16EE; inline;
  5570. procedure clearCRC5EE; inline;
  5571. procedure clearCRC5EE_EOFEE; inline;
  5572. procedure clearDFN8EE; inline;
  5573. procedure clearDMAEE; inline;
  5574. procedure clearEOFEE; inline;
  5575. procedure clearPIDEE; inline;
  5576. procedure setBMXEE; inline;
  5577. procedure setBTOEE; inline;
  5578. procedure setBTSEE; inline;
  5579. procedure setCRC16EE; inline;
  5580. procedure setCRC5EE; inline;
  5581. procedure setCRC5EE_EOFEE; inline;
  5582. procedure setDFN8EE; inline;
  5583. procedure setDMAEE; inline;
  5584. procedure setEOFEE; inline;
  5585. procedure setPIDEE; inline;
  5586. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  5587. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  5588. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  5589. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  5590. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  5591. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  5592. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  5593. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  5594. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  5595. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  5596. end;
  5597. TUSB_U1STAT = record
  5598. private
  5599. function getDIR : TBits_1; inline;
  5600. function getENDPT : TBits_4; inline;
  5601. function getENDPT0 : TBits_1; inline;
  5602. function getENDPT1 : TBits_1; inline;
  5603. function getENDPT2 : TBits_1; inline;
  5604. function getENDPT3 : TBits_1; inline;
  5605. function getPPBI : TBits_1; inline;
  5606. procedure setDIR(thebits : TBits_1); inline;
  5607. procedure setENDPT(thebits : TBits_4); inline;
  5608. procedure setENDPT0(thebits : TBits_1); inline;
  5609. procedure setENDPT1(thebits : TBits_1); inline;
  5610. procedure setENDPT2(thebits : TBits_1); inline;
  5611. procedure setENDPT3(thebits : TBits_1); inline;
  5612. procedure setPPBI(thebits : TBits_1); inline;
  5613. public
  5614. procedure clearDIR; inline;
  5615. procedure clearENDPT0; inline;
  5616. procedure clearENDPT1; inline;
  5617. procedure clearENDPT2; inline;
  5618. procedure clearENDPT3; inline;
  5619. procedure clearPPBI; inline;
  5620. procedure setDIR; inline;
  5621. procedure setENDPT0; inline;
  5622. procedure setENDPT1; inline;
  5623. procedure setENDPT2; inline;
  5624. procedure setENDPT3; inline;
  5625. procedure setPPBI; inline;
  5626. property DIR : TBits_1 read getDIR write setDIR;
  5627. property ENDPT : TBits_4 read getENDPT write setENDPT;
  5628. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  5629. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  5630. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  5631. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  5632. property PPBI : TBits_1 read getPPBI write setPPBI;
  5633. end;
  5634. TUSB_U1CON = record
  5635. private
  5636. function getHOSTEN : TBits_1; inline;
  5637. function getJSTATE : TBits_1; inline;
  5638. function getPKTDIS : TBits_1; inline;
  5639. function getPKTDIS_TOKBUSY : TBits_1; inline;
  5640. function getPPBRST : TBits_1; inline;
  5641. function getRESUME : TBits_1; inline;
  5642. function getSE0 : TBits_1; inline;
  5643. function getSOFEN : TBits_1; inline;
  5644. function getTOKBUSY : TBits_1; inline;
  5645. function getUSBEN : TBits_1; inline;
  5646. function getUSBEN_SOFEN : TBits_1; inline;
  5647. function getUSBRST : TBits_1; inline;
  5648. procedure setHOSTEN(thebits : TBits_1); inline;
  5649. procedure setJSTATE(thebits : TBits_1); inline;
  5650. procedure setPKTDIS(thebits : TBits_1); inline;
  5651. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  5652. procedure setPPBRST(thebits : TBits_1); inline;
  5653. procedure setRESUME(thebits : TBits_1); inline;
  5654. procedure setSE0(thebits : TBits_1); inline;
  5655. procedure setSOFEN(thebits : TBits_1); inline;
  5656. procedure setTOKBUSY(thebits : TBits_1); inline;
  5657. procedure setUSBEN(thebits : TBits_1); inline;
  5658. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  5659. procedure setUSBRST(thebits : TBits_1); inline;
  5660. public
  5661. procedure clearHOSTEN; inline;
  5662. procedure clearJSTATE; inline;
  5663. procedure clearPKTDIS; inline;
  5664. procedure clearPKTDIS_TOKBUSY; inline;
  5665. procedure clearPPBRST; inline;
  5666. procedure clearRESUME; inline;
  5667. procedure clearSE0; inline;
  5668. procedure clearSOFEN; inline;
  5669. procedure clearTOKBUSY; inline;
  5670. procedure clearUSBEN; inline;
  5671. procedure clearUSBEN_SOFEN; inline;
  5672. procedure clearUSBRST; inline;
  5673. procedure setHOSTEN; inline;
  5674. procedure setJSTATE; inline;
  5675. procedure setPKTDIS; inline;
  5676. procedure setPKTDIS_TOKBUSY; inline;
  5677. procedure setPPBRST; inline;
  5678. procedure setRESUME; inline;
  5679. procedure setSE0; inline;
  5680. procedure setSOFEN; inline;
  5681. procedure setTOKBUSY; inline;
  5682. procedure setUSBEN; inline;
  5683. procedure setUSBEN_SOFEN; inline;
  5684. procedure setUSBRST; inline;
  5685. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  5686. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  5687. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  5688. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  5689. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  5690. property RESUME : TBits_1 read getRESUME write setRESUME;
  5691. property SE0 : TBits_1 read getSE0 write setSE0;
  5692. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  5693. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  5694. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  5695. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  5696. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  5697. end;
  5698. TUSB_U1ADDR = record
  5699. private
  5700. function getDEVADDR : TBits_7; inline;
  5701. function getDEVADDR0 : TBits_1; inline;
  5702. function getDEVADDR1 : TBits_1; inline;
  5703. function getDEVADDR2 : TBits_1; inline;
  5704. function getDEVADDR3 : TBits_1; inline;
  5705. function getDEVADDR4 : TBits_1; inline;
  5706. function getDEVADDR5 : TBits_1; inline;
  5707. function getDEVADDR6 : TBits_1; inline;
  5708. function getLSPDEN : TBits_1; inline;
  5709. procedure setDEVADDR(thebits : TBits_7); inline;
  5710. procedure setDEVADDR0(thebits : TBits_1); inline;
  5711. procedure setDEVADDR1(thebits : TBits_1); inline;
  5712. procedure setDEVADDR2(thebits : TBits_1); inline;
  5713. procedure setDEVADDR3(thebits : TBits_1); inline;
  5714. procedure setDEVADDR4(thebits : TBits_1); inline;
  5715. procedure setDEVADDR5(thebits : TBits_1); inline;
  5716. procedure setDEVADDR6(thebits : TBits_1); inline;
  5717. procedure setLSPDEN(thebits : TBits_1); inline;
  5718. public
  5719. procedure clearDEVADDR0; inline;
  5720. procedure clearDEVADDR1; inline;
  5721. procedure clearDEVADDR2; inline;
  5722. procedure clearDEVADDR3; inline;
  5723. procedure clearDEVADDR4; inline;
  5724. procedure clearDEVADDR5; inline;
  5725. procedure clearDEVADDR6; inline;
  5726. procedure clearLSPDEN; inline;
  5727. procedure setDEVADDR0; inline;
  5728. procedure setDEVADDR1; inline;
  5729. procedure setDEVADDR2; inline;
  5730. procedure setDEVADDR3; inline;
  5731. procedure setDEVADDR4; inline;
  5732. procedure setDEVADDR5; inline;
  5733. procedure setDEVADDR6; inline;
  5734. procedure setLSPDEN; inline;
  5735. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  5736. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  5737. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  5738. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  5739. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  5740. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  5741. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  5742. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  5743. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  5744. end;
  5745. TUSB_U1FRML = record
  5746. private
  5747. function getFRM0 : TBits_1; inline;
  5748. function getFRM1 : TBits_1; inline;
  5749. function getFRM2 : TBits_1; inline;
  5750. function getFRM3 : TBits_1; inline;
  5751. function getFRM4 : TBits_1; inline;
  5752. function getFRM5 : TBits_1; inline;
  5753. function getFRM6 : TBits_1; inline;
  5754. function getFRM7 : TBits_1; inline;
  5755. function getFRML : TBits_8; inline;
  5756. procedure setFRM0(thebits : TBits_1); inline;
  5757. procedure setFRM1(thebits : TBits_1); inline;
  5758. procedure setFRM2(thebits : TBits_1); inline;
  5759. procedure setFRM3(thebits : TBits_1); inline;
  5760. procedure setFRM4(thebits : TBits_1); inline;
  5761. procedure setFRM5(thebits : TBits_1); inline;
  5762. procedure setFRM6(thebits : TBits_1); inline;
  5763. procedure setFRM7(thebits : TBits_1); inline;
  5764. procedure setFRML(thebits : TBits_8); inline;
  5765. public
  5766. procedure clearFRM0; inline;
  5767. procedure clearFRM1; inline;
  5768. procedure clearFRM2; inline;
  5769. procedure clearFRM3; inline;
  5770. procedure clearFRM4; inline;
  5771. procedure clearFRM5; inline;
  5772. procedure clearFRM6; inline;
  5773. procedure clearFRM7; inline;
  5774. procedure setFRM0; inline;
  5775. procedure setFRM1; inline;
  5776. procedure setFRM2; inline;
  5777. procedure setFRM3; inline;
  5778. procedure setFRM4; inline;
  5779. procedure setFRM5; inline;
  5780. procedure setFRM6; inline;
  5781. procedure setFRM7; inline;
  5782. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  5783. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  5784. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  5785. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  5786. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  5787. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  5788. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  5789. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  5790. property FRML : TBits_8 read getFRML write setFRML;
  5791. end;
  5792. TUSB_U1FRMH = record
  5793. private
  5794. function getFRM10 : TBits_1; inline;
  5795. function getFRM8 : TBits_1; inline;
  5796. function getFRM9 : TBits_1; inline;
  5797. function getFRMH : TBits_3; inline;
  5798. procedure setFRM10(thebits : TBits_1); inline;
  5799. procedure setFRM8(thebits : TBits_1); inline;
  5800. procedure setFRM9(thebits : TBits_1); inline;
  5801. procedure setFRMH(thebits : TBits_3); inline;
  5802. public
  5803. procedure clearFRM10; inline;
  5804. procedure clearFRM8; inline;
  5805. procedure clearFRM9; inline;
  5806. procedure setFRM10; inline;
  5807. procedure setFRM8; inline;
  5808. procedure setFRM9; inline;
  5809. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  5810. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  5811. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  5812. property FRMH : TBits_3 read getFRMH write setFRMH;
  5813. end;
  5814. TUSB_U1TOK = record
  5815. private
  5816. function getEP : TBits_4; inline;
  5817. function getEP0 : TBits_1; inline;
  5818. function getEP1 : TBits_1; inline;
  5819. function getEP2 : TBits_1; inline;
  5820. function getEP3 : TBits_1; inline;
  5821. function getPID : TBits_4; inline;
  5822. function getPID0 : TBits_1; inline;
  5823. function getPID1 : TBits_1; inline;
  5824. function getPID2 : TBits_1; inline;
  5825. function getPID3 : TBits_1; inline;
  5826. procedure setEP(thebits : TBits_4); inline;
  5827. procedure setEP0(thebits : TBits_1); inline;
  5828. procedure setEP1(thebits : TBits_1); inline;
  5829. procedure setEP2(thebits : TBits_1); inline;
  5830. procedure setEP3(thebits : TBits_1); inline;
  5831. procedure setPID(thebits : TBits_4); inline;
  5832. procedure setPID0(thebits : TBits_1); inline;
  5833. procedure setPID1(thebits : TBits_1); inline;
  5834. procedure setPID2(thebits : TBits_1); inline;
  5835. procedure setPID3(thebits : TBits_1); inline;
  5836. public
  5837. procedure clearEP0; inline;
  5838. procedure clearEP1; inline;
  5839. procedure clearEP2; inline;
  5840. procedure clearEP3; inline;
  5841. procedure clearPID0; inline;
  5842. procedure clearPID1; inline;
  5843. procedure clearPID2; inline;
  5844. procedure clearPID3; inline;
  5845. procedure setEP0; inline;
  5846. procedure setEP1; inline;
  5847. procedure setEP2; inline;
  5848. procedure setEP3; inline;
  5849. procedure setPID0; inline;
  5850. procedure setPID1; inline;
  5851. procedure setPID2; inline;
  5852. procedure setPID3; inline;
  5853. property EP : TBits_4 read getEP write setEP;
  5854. property EP0 : TBits_1 read getEP0 write setEP0;
  5855. property EP1 : TBits_1 read getEP1 write setEP1;
  5856. property EP2 : TBits_1 read getEP2 write setEP2;
  5857. property EP3 : TBits_1 read getEP3 write setEP3;
  5858. property PID : TBits_4 read getPID write setPID;
  5859. property PID0 : TBits_1 read getPID0 write setPID0;
  5860. property PID1 : TBits_1 read getPID1 write setPID1;
  5861. property PID2 : TBits_1 read getPID2 write setPID2;
  5862. property PID3 : TBits_1 read getPID3 write setPID3;
  5863. end;
  5864. type
  5865. TUSBRegisters = record
  5866. U1OTGIR : longWord;
  5867. U1OTGIRCLR : longWord;
  5868. U1OTGIE : longWord;
  5869. U1OTGIECLR : longWord;
  5870. U1OTGIESET : longWord;
  5871. U1OTGIEINV : longWord;
  5872. U1OTGSTAT : longWord;
  5873. U1OTGSTATCLR : longWord;
  5874. U1OTGCON : longWord;
  5875. U1OTGCONCLR : longWord;
  5876. U1OTGCONSET : longWord;
  5877. U1OTGCONINV : longWord;
  5878. U1PWRC : longWord;
  5879. U1PWRCCLR : longWord;
  5880. U1PWRCSET : longWord;
  5881. U1PWRCINV : longWord;
  5882. U1IRbits : TUSB_U1IR;
  5883. U1IR : longWord;
  5884. U1IRCLR : longWord;
  5885. U1IEbits : TUSB_U1IE;
  5886. U1IE : longWord;
  5887. U1IECLR : longWord;
  5888. U1IESET : longWord;
  5889. U1IEINV : longWord;
  5890. U1EIRbits : TUSB_U1EIR;
  5891. U1EIR : longWord;
  5892. U1EIRCLR : longWord;
  5893. U1EIEbits : TUSB_U1EIE;
  5894. U1EIE : longWord;
  5895. U1EIECLR : longWord;
  5896. U1EIESET : longWord;
  5897. U1EIEINV : longWord;
  5898. U1STATbits : TUSB_U1STAT;
  5899. U1STAT : longWord;
  5900. U1STATCLR : longWord;
  5901. U1STATSET : longWord;
  5902. U1STATINV : longWord;
  5903. U1CONbits : TUSB_U1CON;
  5904. U1CON : longWord;
  5905. U1CONCLR : longWord;
  5906. U1CONSET : longWord;
  5907. U1CONINV : longWord;
  5908. U1ADDRbits : TUSB_U1ADDR;
  5909. U1ADDR : longWord;
  5910. U1ADDRCLR : longWord;
  5911. U1ADDRSET : longWord;
  5912. U1ADDRINV : longWord;
  5913. U1BDTP1 : longWord;
  5914. U1BDTP1CLR : longWord;
  5915. U1BDTP1SET : longWord;
  5916. U1BDTP1INV : longWord;
  5917. U1FRMLbits : TUSB_U1FRML;
  5918. U1FRML : longWord;
  5919. U1FRMLCLR : longWord;
  5920. U1FRMLSET : longWord;
  5921. U1FRMLINV : longWord;
  5922. U1FRMHbits : TUSB_U1FRMH;
  5923. U1FRMH : longWord;
  5924. U1FRMHCLR : longWord;
  5925. U1FRMHSET : longWord;
  5926. U1FRMHINV : longWord;
  5927. U1TOKbits : TUSB_U1TOK;
  5928. U1TOK : longWord;
  5929. U1TOKCLR : longWord;
  5930. U1TOKSET : longWord;
  5931. U1TOKINV : longWord;
  5932. U1SOF : longWord;
  5933. U1SOFCLR : longWord;
  5934. U1SOFSET : longWord;
  5935. U1SOFINV : longWord;
  5936. U1BDTP2 : longWord;
  5937. U1BDTP2CLR : longWord;
  5938. U1BDTP2SET : longWord;
  5939. U1BDTP2INV : longWord;
  5940. U1BDTP3 : longWord;
  5941. U1BDTP3CLR : longWord;
  5942. U1BDTP3SET : longWord;
  5943. U1BDTP3INV : longWord;
  5944. U1CNFG1 : longWord;
  5945. U1CNFG1CLR : longWord;
  5946. U1CNFG1SET : longWord;
  5947. U1CNFG1INV : longWord;
  5948. U1EP0 : longWord;
  5949. U1EP0CLR : longWord;
  5950. U1EP0SET : longWord;
  5951. U1EP0INV : longWord;
  5952. U1EP1 : longWord;
  5953. U1EP1CLR : longWord;
  5954. U1EP1SET : longWord;
  5955. U1EP1INV : longWord;
  5956. U1EP2 : longWord;
  5957. U1EP2CLR : longWord;
  5958. U1EP2SET : longWord;
  5959. U1EP2INV : longWord;
  5960. U1EP3 : longWord;
  5961. U1EP3CLR : longWord;
  5962. U1EP3SET : longWord;
  5963. U1EP3INV : longWord;
  5964. U1EP4 : longWord;
  5965. U1EP4CLR : longWord;
  5966. U1EP4SET : longWord;
  5967. U1EP4INV : longWord;
  5968. U1EP5 : longWord;
  5969. U1EP5CLR : longWord;
  5970. U1EP5SET : longWord;
  5971. U1EP5INV : longWord;
  5972. U1EP6 : longWord;
  5973. U1EP6CLR : longWord;
  5974. U1EP6SET : longWord;
  5975. U1EP6INV : longWord;
  5976. U1EP7 : longWord;
  5977. U1EP7CLR : longWord;
  5978. U1EP7SET : longWord;
  5979. U1EP7INV : longWord;
  5980. U1EP8 : longWord;
  5981. U1EP8CLR : longWord;
  5982. U1EP8SET : longWord;
  5983. U1EP8INV : longWord;
  5984. U1EP9 : longWord;
  5985. U1EP9CLR : longWord;
  5986. U1EP9SET : longWord;
  5987. U1EP9INV : longWord;
  5988. U1EP10 : longWord;
  5989. U1EP10CLR : longWord;
  5990. U1EP10SET : longWord;
  5991. U1EP10INV : longWord;
  5992. U1EP11 : longWord;
  5993. U1EP11CLR : longWord;
  5994. U1EP11SET : longWord;
  5995. U1EP11INV : longWord;
  5996. U1EP12 : longWord;
  5997. U1EP12CLR : longWord;
  5998. U1EP12SET : longWord;
  5999. U1EP12INV : longWord;
  6000. U1EP13 : longWord;
  6001. U1EP13CLR : longWord;
  6002. U1EP13SET : longWord;
  6003. U1EP13INV : longWord;
  6004. U1EP14 : longWord;
  6005. U1EP14CLR : longWord;
  6006. U1EP14SET : longWord;
  6007. U1EP14INV : longWord;
  6008. U1EP15 : longWord;
  6009. U1EP15CLR : longWord;
  6010. U1EP15SET : longWord;
  6011. U1EP15INV : longWord;
  6012. end;
  6013. TPORTA_TRISA = record
  6014. private
  6015. function getTRISA0 : TBits_1; inline;
  6016. function getTRISA1 : TBits_1; inline;
  6017. function getTRISA10 : TBits_1; inline;
  6018. function getTRISA14 : TBits_1; inline;
  6019. function getTRISA15 : TBits_1; inline;
  6020. function getTRISA2 : TBits_1; inline;
  6021. function getTRISA3 : TBits_1; inline;
  6022. function getTRISA4 : TBits_1; inline;
  6023. function getTRISA5 : TBits_1; inline;
  6024. function getTRISA6 : TBits_1; inline;
  6025. function getTRISA7 : TBits_1; inline;
  6026. function getTRISA9 : TBits_1; inline;
  6027. function getw : TBits_32; inline;
  6028. procedure setTRISA0(thebits : TBits_1); inline;
  6029. procedure setTRISA1(thebits : TBits_1); inline;
  6030. procedure setTRISA10(thebits : TBits_1); inline;
  6031. procedure setTRISA14(thebits : TBits_1); inline;
  6032. procedure setTRISA15(thebits : TBits_1); inline;
  6033. procedure setTRISA2(thebits : TBits_1); inline;
  6034. procedure setTRISA3(thebits : TBits_1); inline;
  6035. procedure setTRISA4(thebits : TBits_1); inline;
  6036. procedure setTRISA5(thebits : TBits_1); inline;
  6037. procedure setTRISA6(thebits : TBits_1); inline;
  6038. procedure setTRISA7(thebits : TBits_1); inline;
  6039. procedure setTRISA9(thebits : TBits_1); inline;
  6040. procedure setw(thebits : TBits_32); inline;
  6041. public
  6042. procedure clearTRISA0; inline;
  6043. procedure clearTRISA10; inline;
  6044. procedure clearTRISA14; inline;
  6045. procedure clearTRISA15; inline;
  6046. procedure clearTRISA1; inline;
  6047. procedure clearTRISA2; inline;
  6048. procedure clearTRISA3; inline;
  6049. procedure clearTRISA4; inline;
  6050. procedure clearTRISA5; inline;
  6051. procedure clearTRISA6; inline;
  6052. procedure clearTRISA7; inline;
  6053. procedure clearTRISA9; inline;
  6054. procedure setTRISA0; inline;
  6055. procedure setTRISA10; inline;
  6056. procedure setTRISA14; inline;
  6057. procedure setTRISA15; inline;
  6058. procedure setTRISA1; inline;
  6059. procedure setTRISA2; inline;
  6060. procedure setTRISA3; inline;
  6061. procedure setTRISA4; inline;
  6062. procedure setTRISA5; inline;
  6063. procedure setTRISA6; inline;
  6064. procedure setTRISA7; inline;
  6065. procedure setTRISA9; inline;
  6066. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  6067. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  6068. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  6069. property TRISA14 : TBits_1 read getTRISA14 write setTRISA14;
  6070. property TRISA15 : TBits_1 read getTRISA15 write setTRISA15;
  6071. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  6072. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  6073. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  6074. property TRISA5 : TBits_1 read getTRISA5 write setTRISA5;
  6075. property TRISA6 : TBits_1 read getTRISA6 write setTRISA6;
  6076. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  6077. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  6078. property w : TBits_32 read getw write setw;
  6079. end;
  6080. TPORTA_PORTA = record
  6081. private
  6082. function getRA0 : TBits_1; inline;
  6083. function getRA1 : TBits_1; inline;
  6084. function getRA10 : TBits_1; inline;
  6085. function getRA14 : TBits_1; inline;
  6086. function getRA15 : TBits_1; inline;
  6087. function getRA2 : TBits_1; inline;
  6088. function getRA3 : TBits_1; inline;
  6089. function getRA4 : TBits_1; inline;
  6090. function getRA5 : TBits_1; inline;
  6091. function getRA6 : TBits_1; inline;
  6092. function getRA7 : TBits_1; inline;
  6093. function getRA9 : TBits_1; inline;
  6094. function getw : TBits_32; inline;
  6095. procedure setRA0(thebits : TBits_1); inline;
  6096. procedure setRA1(thebits : TBits_1); inline;
  6097. procedure setRA10(thebits : TBits_1); inline;
  6098. procedure setRA14(thebits : TBits_1); inline;
  6099. procedure setRA15(thebits : TBits_1); inline;
  6100. procedure setRA2(thebits : TBits_1); inline;
  6101. procedure setRA3(thebits : TBits_1); inline;
  6102. procedure setRA4(thebits : TBits_1); inline;
  6103. procedure setRA5(thebits : TBits_1); inline;
  6104. procedure setRA6(thebits : TBits_1); inline;
  6105. procedure setRA7(thebits : TBits_1); inline;
  6106. procedure setRA9(thebits : TBits_1); inline;
  6107. procedure setw(thebits : TBits_32); inline;
  6108. public
  6109. procedure clearRA0; inline;
  6110. procedure clearRA10; inline;
  6111. procedure clearRA14; inline;
  6112. procedure clearRA15; inline;
  6113. procedure clearRA1; inline;
  6114. procedure clearRA2; inline;
  6115. procedure clearRA3; inline;
  6116. procedure clearRA4; inline;
  6117. procedure clearRA5; inline;
  6118. procedure clearRA6; inline;
  6119. procedure clearRA7; inline;
  6120. procedure clearRA9; inline;
  6121. procedure setRA0; inline;
  6122. procedure setRA10; inline;
  6123. procedure setRA14; inline;
  6124. procedure setRA15; inline;
  6125. procedure setRA1; inline;
  6126. procedure setRA2; inline;
  6127. procedure setRA3; inline;
  6128. procedure setRA4; inline;
  6129. procedure setRA5; inline;
  6130. procedure setRA6; inline;
  6131. procedure setRA7; inline;
  6132. procedure setRA9; inline;
  6133. property RA0 : TBits_1 read getRA0 write setRA0;
  6134. property RA1 : TBits_1 read getRA1 write setRA1;
  6135. property RA10 : TBits_1 read getRA10 write setRA10;
  6136. property RA14 : TBits_1 read getRA14 write setRA14;
  6137. property RA15 : TBits_1 read getRA15 write setRA15;
  6138. property RA2 : TBits_1 read getRA2 write setRA2;
  6139. property RA3 : TBits_1 read getRA3 write setRA3;
  6140. property RA4 : TBits_1 read getRA4 write setRA4;
  6141. property RA5 : TBits_1 read getRA5 write setRA5;
  6142. property RA6 : TBits_1 read getRA6 write setRA6;
  6143. property RA7 : TBits_1 read getRA7 write setRA7;
  6144. property RA9 : TBits_1 read getRA9 write setRA9;
  6145. property w : TBits_32 read getw write setw;
  6146. end;
  6147. 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);
  6148. TPortA_bitset = set of TPortA_bits;
  6149. TPORTA_LATA = record
  6150. private
  6151. function getLATA0 : TBits_1; inline;
  6152. function getLATA1 : TBits_1; inline;
  6153. function getLATA10 : TBits_1; inline;
  6154. function getLATA14 : TBits_1; inline;
  6155. function getLATA15 : TBits_1; inline;
  6156. function getLATA2 : TBits_1; inline;
  6157. function getLATA3 : TBits_1; inline;
  6158. function getLATA4 : TBits_1; inline;
  6159. function getLATA5 : TBits_1; inline;
  6160. function getLATA6 : TBits_1; inline;
  6161. function getLATA7 : TBits_1; inline;
  6162. function getLATA9 : TBits_1; inline;
  6163. function getw : TBits_32; inline;
  6164. procedure setLATA0(thebits : TBits_1); inline;
  6165. procedure setLATA1(thebits : TBits_1); inline;
  6166. procedure setLATA10(thebits : TBits_1); inline;
  6167. procedure setLATA14(thebits : TBits_1); inline;
  6168. procedure setLATA15(thebits : TBits_1); inline;
  6169. procedure setLATA2(thebits : TBits_1); inline;
  6170. procedure setLATA3(thebits : TBits_1); inline;
  6171. procedure setLATA4(thebits : TBits_1); inline;
  6172. procedure setLATA5(thebits : TBits_1); inline;
  6173. procedure setLATA6(thebits : TBits_1); inline;
  6174. procedure setLATA7(thebits : TBits_1); inline;
  6175. procedure setLATA9(thebits : TBits_1); inline;
  6176. procedure setw(thebits : TBits_32); inline;
  6177. public
  6178. procedure clearLATA0; inline;
  6179. procedure clearLATA10; inline;
  6180. procedure clearLATA14; inline;
  6181. procedure clearLATA15; inline;
  6182. procedure clearLATA1; inline;
  6183. procedure clearLATA2; inline;
  6184. procedure clearLATA3; inline;
  6185. procedure clearLATA4; inline;
  6186. procedure clearLATA5; inline;
  6187. procedure clearLATA6; inline;
  6188. procedure clearLATA7; inline;
  6189. procedure clearLATA9; inline;
  6190. procedure setLATA0; inline;
  6191. procedure setLATA10; inline;
  6192. procedure setLATA14; inline;
  6193. procedure setLATA15; inline;
  6194. procedure setLATA1; inline;
  6195. procedure setLATA2; inline;
  6196. procedure setLATA3; inline;
  6197. procedure setLATA4; inline;
  6198. procedure setLATA5; inline;
  6199. procedure setLATA6; inline;
  6200. procedure setLATA7; inline;
  6201. procedure setLATA9; inline;
  6202. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  6203. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  6204. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  6205. property LATA14 : TBits_1 read getLATA14 write setLATA14;
  6206. property LATA15 : TBits_1 read getLATA15 write setLATA15;
  6207. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  6208. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  6209. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  6210. property LATA5 : TBits_1 read getLATA5 write setLATA5;
  6211. property LATA6 : TBits_1 read getLATA6 write setLATA6;
  6212. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  6213. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  6214. property w : TBits_32 read getw write setw;
  6215. end;
  6216. TPORTA_ODCA = record
  6217. private
  6218. function getODCA0 : TBits_1; inline;
  6219. function getODCA1 : TBits_1; inline;
  6220. function getODCA10 : TBits_1; inline;
  6221. function getODCA14 : TBits_1; inline;
  6222. function getODCA15 : TBits_1; inline;
  6223. function getODCA2 : TBits_1; inline;
  6224. function getODCA3 : TBits_1; inline;
  6225. function getODCA4 : TBits_1; inline;
  6226. function getODCA5 : TBits_1; inline;
  6227. function getODCA6 : TBits_1; inline;
  6228. function getODCA7 : TBits_1; inline;
  6229. function getODCA9 : TBits_1; inline;
  6230. function getw : TBits_32; inline;
  6231. procedure setODCA0(thebits : TBits_1); inline;
  6232. procedure setODCA1(thebits : TBits_1); inline;
  6233. procedure setODCA10(thebits : TBits_1); inline;
  6234. procedure setODCA14(thebits : TBits_1); inline;
  6235. procedure setODCA15(thebits : TBits_1); inline;
  6236. procedure setODCA2(thebits : TBits_1); inline;
  6237. procedure setODCA3(thebits : TBits_1); inline;
  6238. procedure setODCA4(thebits : TBits_1); inline;
  6239. procedure setODCA5(thebits : TBits_1); inline;
  6240. procedure setODCA6(thebits : TBits_1); inline;
  6241. procedure setODCA7(thebits : TBits_1); inline;
  6242. procedure setODCA9(thebits : TBits_1); inline;
  6243. procedure setw(thebits : TBits_32); inline;
  6244. public
  6245. procedure clearODCA0; inline;
  6246. procedure clearODCA10; inline;
  6247. procedure clearODCA14; inline;
  6248. procedure clearODCA15; inline;
  6249. procedure clearODCA1; inline;
  6250. procedure clearODCA2; inline;
  6251. procedure clearODCA3; inline;
  6252. procedure clearODCA4; inline;
  6253. procedure clearODCA5; inline;
  6254. procedure clearODCA6; inline;
  6255. procedure clearODCA7; inline;
  6256. procedure clearODCA9; inline;
  6257. procedure setODCA0; inline;
  6258. procedure setODCA10; inline;
  6259. procedure setODCA14; inline;
  6260. procedure setODCA15; inline;
  6261. procedure setODCA1; inline;
  6262. procedure setODCA2; inline;
  6263. procedure setODCA3; inline;
  6264. procedure setODCA4; inline;
  6265. procedure setODCA5; inline;
  6266. procedure setODCA6; inline;
  6267. procedure setODCA7; inline;
  6268. procedure setODCA9; inline;
  6269. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  6270. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  6271. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  6272. property ODCA14 : TBits_1 read getODCA14 write setODCA14;
  6273. property ODCA15 : TBits_1 read getODCA15 write setODCA15;
  6274. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  6275. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  6276. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  6277. property ODCA5 : TBits_1 read getODCA5 write setODCA5;
  6278. property ODCA6 : TBits_1 read getODCA6 write setODCA6;
  6279. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  6280. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  6281. property w : TBits_32 read getw write setw;
  6282. end;
  6283. type
  6284. TPORTARegisters = record
  6285. TRISAbits : TPORTA_TRISA;
  6286. TRISA : longWord;
  6287. TRISACLR : longWord;
  6288. TRISASET : longWord;
  6289. TRISAINV : longWord;
  6290. PORTAbits : TPORTA_PORTA;
  6291. PORTA : longWord;
  6292. PORTACLR : longWord;
  6293. PORTASET : longWord;
  6294. PORTAINV : longWord;
  6295. LATAbits : TPORTA_LATA;
  6296. LATA : longWord;
  6297. LATACLR : longWord;
  6298. LATASET : longWord;
  6299. LATAINV : longWord;
  6300. ODCAbits : TPORTA_ODCA;
  6301. ODCA : longWord;
  6302. ODCACLR : longWord;
  6303. ODCASET : longWord;
  6304. ODCAINV : longWord;
  6305. end;
  6306. TPORTB_TRISB = record
  6307. private
  6308. function getTRISB0 : TBits_1; inline;
  6309. function getTRISB1 : TBits_1; inline;
  6310. function getTRISB10 : TBits_1; inline;
  6311. function getTRISB11 : TBits_1; inline;
  6312. function getTRISB12 : TBits_1; inline;
  6313. function getTRISB13 : TBits_1; inline;
  6314. function getTRISB14 : TBits_1; inline;
  6315. function getTRISB15 : TBits_1; inline;
  6316. function getTRISB2 : TBits_1; inline;
  6317. function getTRISB3 : TBits_1; inline;
  6318. function getTRISB4 : TBits_1; inline;
  6319. function getTRISB5 : TBits_1; inline;
  6320. function getTRISB6 : TBits_1; inline;
  6321. function getTRISB7 : TBits_1; inline;
  6322. function getTRISB8 : TBits_1; inline;
  6323. function getTRISB9 : TBits_1; inline;
  6324. function getw : TBits_32; inline;
  6325. procedure setTRISB0(thebits : TBits_1); inline;
  6326. procedure setTRISB1(thebits : TBits_1); inline;
  6327. procedure setTRISB10(thebits : TBits_1); inline;
  6328. procedure setTRISB11(thebits : TBits_1); inline;
  6329. procedure setTRISB12(thebits : TBits_1); inline;
  6330. procedure setTRISB13(thebits : TBits_1); inline;
  6331. procedure setTRISB14(thebits : TBits_1); inline;
  6332. procedure setTRISB15(thebits : TBits_1); inline;
  6333. procedure setTRISB2(thebits : TBits_1); inline;
  6334. procedure setTRISB3(thebits : TBits_1); inline;
  6335. procedure setTRISB4(thebits : TBits_1); inline;
  6336. procedure setTRISB5(thebits : TBits_1); inline;
  6337. procedure setTRISB6(thebits : TBits_1); inline;
  6338. procedure setTRISB7(thebits : TBits_1); inline;
  6339. procedure setTRISB8(thebits : TBits_1); inline;
  6340. procedure setTRISB9(thebits : TBits_1); inline;
  6341. procedure setw(thebits : TBits_32); inline;
  6342. public
  6343. procedure clearTRISB0; inline;
  6344. procedure clearTRISB10; inline;
  6345. procedure clearTRISB11; inline;
  6346. procedure clearTRISB12; inline;
  6347. procedure clearTRISB13; inline;
  6348. procedure clearTRISB14; inline;
  6349. procedure clearTRISB15; inline;
  6350. procedure clearTRISB1; inline;
  6351. procedure clearTRISB2; inline;
  6352. procedure clearTRISB3; inline;
  6353. procedure clearTRISB4; inline;
  6354. procedure clearTRISB5; inline;
  6355. procedure clearTRISB6; inline;
  6356. procedure clearTRISB7; inline;
  6357. procedure clearTRISB8; inline;
  6358. procedure clearTRISB9; inline;
  6359. procedure setTRISB0; inline;
  6360. procedure setTRISB10; inline;
  6361. procedure setTRISB11; inline;
  6362. procedure setTRISB12; inline;
  6363. procedure setTRISB13; inline;
  6364. procedure setTRISB14; inline;
  6365. procedure setTRISB15; inline;
  6366. procedure setTRISB1; inline;
  6367. procedure setTRISB2; inline;
  6368. procedure setTRISB3; inline;
  6369. procedure setTRISB4; inline;
  6370. procedure setTRISB5; inline;
  6371. procedure setTRISB6; inline;
  6372. procedure setTRISB7; inline;
  6373. procedure setTRISB8; inline;
  6374. procedure setTRISB9; inline;
  6375. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  6376. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  6377. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  6378. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  6379. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  6380. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  6381. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  6382. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  6383. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  6384. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  6385. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  6386. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  6387. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  6388. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  6389. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  6390. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  6391. property w : TBits_32 read getw write setw;
  6392. end;
  6393. TPORTB_PORTB = record
  6394. private
  6395. function getRB0 : TBits_1; inline;
  6396. function getRB1 : TBits_1; inline;
  6397. function getRB10 : TBits_1; inline;
  6398. function getRB11 : TBits_1; inline;
  6399. function getRB12 : TBits_1; inline;
  6400. function getRB13 : TBits_1; inline;
  6401. function getRB14 : TBits_1; inline;
  6402. function getRB15 : TBits_1; inline;
  6403. function getRB2 : TBits_1; inline;
  6404. function getRB3 : TBits_1; inline;
  6405. function getRB4 : TBits_1; inline;
  6406. function getRB5 : TBits_1; inline;
  6407. function getRB6 : TBits_1; inline;
  6408. function getRB7 : TBits_1; inline;
  6409. function getRB8 : TBits_1; inline;
  6410. function getRB9 : TBits_1; inline;
  6411. function getw : TBits_32; inline;
  6412. procedure setRB0(thebits : TBits_1); inline;
  6413. procedure setRB1(thebits : TBits_1); inline;
  6414. procedure setRB10(thebits : TBits_1); inline;
  6415. procedure setRB11(thebits : TBits_1); inline;
  6416. procedure setRB12(thebits : TBits_1); inline;
  6417. procedure setRB13(thebits : TBits_1); inline;
  6418. procedure setRB14(thebits : TBits_1); inline;
  6419. procedure setRB15(thebits : TBits_1); inline;
  6420. procedure setRB2(thebits : TBits_1); inline;
  6421. procedure setRB3(thebits : TBits_1); inline;
  6422. procedure setRB4(thebits : TBits_1); inline;
  6423. procedure setRB5(thebits : TBits_1); inline;
  6424. procedure setRB6(thebits : TBits_1); inline;
  6425. procedure setRB7(thebits : TBits_1); inline;
  6426. procedure setRB8(thebits : TBits_1); inline;
  6427. procedure setRB9(thebits : TBits_1); inline;
  6428. procedure setw(thebits : TBits_32); inline;
  6429. public
  6430. procedure clearRB0; inline;
  6431. procedure clearRB10; inline;
  6432. procedure clearRB11; inline;
  6433. procedure clearRB12; inline;
  6434. procedure clearRB13; inline;
  6435. procedure clearRB14; inline;
  6436. procedure clearRB15; inline;
  6437. procedure clearRB1; inline;
  6438. procedure clearRB2; inline;
  6439. procedure clearRB3; inline;
  6440. procedure clearRB4; inline;
  6441. procedure clearRB5; inline;
  6442. procedure clearRB6; inline;
  6443. procedure clearRB7; inline;
  6444. procedure clearRB8; inline;
  6445. procedure clearRB9; inline;
  6446. procedure setRB0; inline;
  6447. procedure setRB10; inline;
  6448. procedure setRB11; inline;
  6449. procedure setRB12; inline;
  6450. procedure setRB13; inline;
  6451. procedure setRB14; inline;
  6452. procedure setRB15; inline;
  6453. procedure setRB1; inline;
  6454. procedure setRB2; inline;
  6455. procedure setRB3; inline;
  6456. procedure setRB4; inline;
  6457. procedure setRB5; inline;
  6458. procedure setRB6; inline;
  6459. procedure setRB7; inline;
  6460. procedure setRB8; inline;
  6461. procedure setRB9; inline;
  6462. property RB0 : TBits_1 read getRB0 write setRB0;
  6463. property RB1 : TBits_1 read getRB1 write setRB1;
  6464. property RB10 : TBits_1 read getRB10 write setRB10;
  6465. property RB11 : TBits_1 read getRB11 write setRB11;
  6466. property RB12 : TBits_1 read getRB12 write setRB12;
  6467. property RB13 : TBits_1 read getRB13 write setRB13;
  6468. property RB14 : TBits_1 read getRB14 write setRB14;
  6469. property RB15 : TBits_1 read getRB15 write setRB15;
  6470. property RB2 : TBits_1 read getRB2 write setRB2;
  6471. property RB3 : TBits_1 read getRB3 write setRB3;
  6472. property RB4 : TBits_1 read getRB4 write setRB4;
  6473. property RB5 : TBits_1 read getRB5 write setRB5;
  6474. property RB6 : TBits_1 read getRB6 write setRB6;
  6475. property RB7 : TBits_1 read getRB7 write setRB7;
  6476. property RB8 : TBits_1 read getRB8 write setRB8;
  6477. property RB9 : TBits_1 read getRB9 write setRB9;
  6478. property w : TBits_32 read getw write setw;
  6479. end;
  6480. 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);
  6481. TPortB_bitset = set of TPortB_bits;
  6482. TPORTB_LATB = record
  6483. private
  6484. function getLATB0 : TBits_1; inline;
  6485. function getLATB1 : TBits_1; inline;
  6486. function getLATB10 : TBits_1; inline;
  6487. function getLATB11 : TBits_1; inline;
  6488. function getLATB12 : TBits_1; inline;
  6489. function getLATB13 : TBits_1; inline;
  6490. function getLATB14 : TBits_1; inline;
  6491. function getLATB15 : TBits_1; inline;
  6492. function getLATB2 : TBits_1; inline;
  6493. function getLATB3 : TBits_1; inline;
  6494. function getLATB4 : TBits_1; inline;
  6495. function getLATB5 : TBits_1; inline;
  6496. function getLATB6 : TBits_1; inline;
  6497. function getLATB7 : TBits_1; inline;
  6498. function getLATB8 : TBits_1; inline;
  6499. function getLATB9 : TBits_1; inline;
  6500. function getw : TBits_32; inline;
  6501. procedure setLATB0(thebits : TBits_1); inline;
  6502. procedure setLATB1(thebits : TBits_1); inline;
  6503. procedure setLATB10(thebits : TBits_1); inline;
  6504. procedure setLATB11(thebits : TBits_1); inline;
  6505. procedure setLATB12(thebits : TBits_1); inline;
  6506. procedure setLATB13(thebits : TBits_1); inline;
  6507. procedure setLATB14(thebits : TBits_1); inline;
  6508. procedure setLATB15(thebits : TBits_1); inline;
  6509. procedure setLATB2(thebits : TBits_1); inline;
  6510. procedure setLATB3(thebits : TBits_1); inline;
  6511. procedure setLATB4(thebits : TBits_1); inline;
  6512. procedure setLATB5(thebits : TBits_1); inline;
  6513. procedure setLATB6(thebits : TBits_1); inline;
  6514. procedure setLATB7(thebits : TBits_1); inline;
  6515. procedure setLATB8(thebits : TBits_1); inline;
  6516. procedure setLATB9(thebits : TBits_1); inline;
  6517. procedure setw(thebits : TBits_32); inline;
  6518. public
  6519. procedure clearLATB0; inline;
  6520. procedure clearLATB10; inline;
  6521. procedure clearLATB11; inline;
  6522. procedure clearLATB12; inline;
  6523. procedure clearLATB13; inline;
  6524. procedure clearLATB14; inline;
  6525. procedure clearLATB15; inline;
  6526. procedure clearLATB1; inline;
  6527. procedure clearLATB2; inline;
  6528. procedure clearLATB3; inline;
  6529. procedure clearLATB4; inline;
  6530. procedure clearLATB5; inline;
  6531. procedure clearLATB6; inline;
  6532. procedure clearLATB7; inline;
  6533. procedure clearLATB8; inline;
  6534. procedure clearLATB9; inline;
  6535. procedure setLATB0; inline;
  6536. procedure setLATB10; inline;
  6537. procedure setLATB11; inline;
  6538. procedure setLATB12; inline;
  6539. procedure setLATB13; inline;
  6540. procedure setLATB14; inline;
  6541. procedure setLATB15; inline;
  6542. procedure setLATB1; inline;
  6543. procedure setLATB2; inline;
  6544. procedure setLATB3; inline;
  6545. procedure setLATB4; inline;
  6546. procedure setLATB5; inline;
  6547. procedure setLATB6; inline;
  6548. procedure setLATB7; inline;
  6549. procedure setLATB8; inline;
  6550. procedure setLATB9; inline;
  6551. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  6552. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  6553. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  6554. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  6555. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  6556. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  6557. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  6558. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  6559. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  6560. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  6561. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  6562. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  6563. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  6564. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  6565. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  6566. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  6567. property w : TBits_32 read getw write setw;
  6568. end;
  6569. TPORTB_ODCB = record
  6570. private
  6571. function getODCB0 : TBits_1; inline;
  6572. function getODCB1 : TBits_1; inline;
  6573. function getODCB10 : TBits_1; inline;
  6574. function getODCB11 : TBits_1; inline;
  6575. function getODCB12 : TBits_1; inline;
  6576. function getODCB13 : TBits_1; inline;
  6577. function getODCB14 : TBits_1; inline;
  6578. function getODCB15 : TBits_1; inline;
  6579. function getODCB2 : TBits_1; inline;
  6580. function getODCB3 : TBits_1; inline;
  6581. function getODCB4 : TBits_1; inline;
  6582. function getODCB5 : TBits_1; inline;
  6583. function getODCB6 : TBits_1; inline;
  6584. function getODCB7 : TBits_1; inline;
  6585. function getODCB8 : TBits_1; inline;
  6586. function getODCB9 : TBits_1; inline;
  6587. function getw : TBits_32; inline;
  6588. procedure setODCB0(thebits : TBits_1); inline;
  6589. procedure setODCB1(thebits : TBits_1); inline;
  6590. procedure setODCB10(thebits : TBits_1); inline;
  6591. procedure setODCB11(thebits : TBits_1); inline;
  6592. procedure setODCB12(thebits : TBits_1); inline;
  6593. procedure setODCB13(thebits : TBits_1); inline;
  6594. procedure setODCB14(thebits : TBits_1); inline;
  6595. procedure setODCB15(thebits : TBits_1); inline;
  6596. procedure setODCB2(thebits : TBits_1); inline;
  6597. procedure setODCB3(thebits : TBits_1); inline;
  6598. procedure setODCB4(thebits : TBits_1); inline;
  6599. procedure setODCB5(thebits : TBits_1); inline;
  6600. procedure setODCB6(thebits : TBits_1); inline;
  6601. procedure setODCB7(thebits : TBits_1); inline;
  6602. procedure setODCB8(thebits : TBits_1); inline;
  6603. procedure setODCB9(thebits : TBits_1); inline;
  6604. procedure setw(thebits : TBits_32); inline;
  6605. public
  6606. procedure clearODCB0; inline;
  6607. procedure clearODCB10; inline;
  6608. procedure clearODCB11; inline;
  6609. procedure clearODCB12; inline;
  6610. procedure clearODCB13; inline;
  6611. procedure clearODCB14; inline;
  6612. procedure clearODCB15; inline;
  6613. procedure clearODCB1; inline;
  6614. procedure clearODCB2; inline;
  6615. procedure clearODCB3; inline;
  6616. procedure clearODCB4; inline;
  6617. procedure clearODCB5; inline;
  6618. procedure clearODCB6; inline;
  6619. procedure clearODCB7; inline;
  6620. procedure clearODCB8; inline;
  6621. procedure clearODCB9; inline;
  6622. procedure setODCB0; inline;
  6623. procedure setODCB10; inline;
  6624. procedure setODCB11; inline;
  6625. procedure setODCB12; inline;
  6626. procedure setODCB13; inline;
  6627. procedure setODCB14; inline;
  6628. procedure setODCB15; inline;
  6629. procedure setODCB1; inline;
  6630. procedure setODCB2; inline;
  6631. procedure setODCB3; inline;
  6632. procedure setODCB4; inline;
  6633. procedure setODCB5; inline;
  6634. procedure setODCB6; inline;
  6635. procedure setODCB7; inline;
  6636. procedure setODCB8; inline;
  6637. procedure setODCB9; inline;
  6638. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  6639. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  6640. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  6641. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  6642. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  6643. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  6644. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  6645. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  6646. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  6647. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  6648. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  6649. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  6650. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  6651. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  6652. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  6653. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  6654. property w : TBits_32 read getw write setw;
  6655. end;
  6656. type
  6657. TPORTBRegisters = record
  6658. TRISBbits : TPORTB_TRISB;
  6659. TRISB : longWord;
  6660. TRISBCLR : longWord;
  6661. TRISBSET : longWord;
  6662. TRISBINV : longWord;
  6663. PORTBbits : TPORTB_PORTB;
  6664. PORTB : longWord;
  6665. PORTBCLR : longWord;
  6666. PORTBSET : longWord;
  6667. PORTBINV : longWord;
  6668. LATBbits : TPORTB_LATB;
  6669. LATB : longWord;
  6670. LATBCLR : longWord;
  6671. LATBSET : longWord;
  6672. LATBINV : longWord;
  6673. ODCBbits : TPORTB_ODCB;
  6674. ODCB : longWord;
  6675. ODCBCLR : longWord;
  6676. ODCBSET : longWord;
  6677. ODCBINV : longWord;
  6678. end;
  6679. TPORTC_TRISC = record
  6680. private
  6681. function getTRISC1 : TBits_1; inline;
  6682. function getTRISC12 : TBits_1; inline;
  6683. function getTRISC13 : TBits_1; inline;
  6684. function getTRISC14 : TBits_1; inline;
  6685. function getTRISC15 : TBits_1; inline;
  6686. function getTRISC2 : TBits_1; inline;
  6687. function getTRISC3 : TBits_1; inline;
  6688. function getTRISC4 : TBits_1; inline;
  6689. function getw : TBits_32; inline;
  6690. procedure setTRISC1(thebits : TBits_1); inline;
  6691. procedure setTRISC12(thebits : TBits_1); inline;
  6692. procedure setTRISC13(thebits : TBits_1); inline;
  6693. procedure setTRISC14(thebits : TBits_1); inline;
  6694. procedure setTRISC15(thebits : TBits_1); inline;
  6695. procedure setTRISC2(thebits : TBits_1); inline;
  6696. procedure setTRISC3(thebits : TBits_1); inline;
  6697. procedure setTRISC4(thebits : TBits_1); inline;
  6698. procedure setw(thebits : TBits_32); inline;
  6699. public
  6700. procedure clearTRISC12; inline;
  6701. procedure clearTRISC13; inline;
  6702. procedure clearTRISC14; inline;
  6703. procedure clearTRISC15; inline;
  6704. procedure clearTRISC1; inline;
  6705. procedure clearTRISC2; inline;
  6706. procedure clearTRISC3; inline;
  6707. procedure clearTRISC4; inline;
  6708. procedure setTRISC12; inline;
  6709. procedure setTRISC13; inline;
  6710. procedure setTRISC14; inline;
  6711. procedure setTRISC15; inline;
  6712. procedure setTRISC1; inline;
  6713. procedure setTRISC2; inline;
  6714. procedure setTRISC3; inline;
  6715. procedure setTRISC4; inline;
  6716. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  6717. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  6718. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  6719. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  6720. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  6721. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  6722. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  6723. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  6724. property w : TBits_32 read getw write setw;
  6725. end;
  6726. TPORTC_PORTC = record
  6727. private
  6728. function getRC1 : TBits_1; inline;
  6729. function getRC12 : TBits_1; inline;
  6730. function getRC13 : TBits_1; inline;
  6731. function getRC14 : TBits_1; inline;
  6732. function getRC15 : TBits_1; inline;
  6733. function getRC2 : TBits_1; inline;
  6734. function getRC3 : TBits_1; inline;
  6735. function getRC4 : TBits_1; inline;
  6736. function getw : TBits_32; inline;
  6737. procedure setRC1(thebits : TBits_1); inline;
  6738. procedure setRC12(thebits : TBits_1); inline;
  6739. procedure setRC13(thebits : TBits_1); inline;
  6740. procedure setRC14(thebits : TBits_1); inline;
  6741. procedure setRC15(thebits : TBits_1); inline;
  6742. procedure setRC2(thebits : TBits_1); inline;
  6743. procedure setRC3(thebits : TBits_1); inline;
  6744. procedure setRC4(thebits : TBits_1); inline;
  6745. procedure setw(thebits : TBits_32); inline;
  6746. public
  6747. procedure clearRC12; inline;
  6748. procedure clearRC13; inline;
  6749. procedure clearRC14; inline;
  6750. procedure clearRC15; inline;
  6751. procedure clearRC1; inline;
  6752. procedure clearRC2; inline;
  6753. procedure clearRC3; inline;
  6754. procedure clearRC4; inline;
  6755. procedure setRC12; inline;
  6756. procedure setRC13; inline;
  6757. procedure setRC14; inline;
  6758. procedure setRC15; inline;
  6759. procedure setRC1; inline;
  6760. procedure setRC2; inline;
  6761. procedure setRC3; inline;
  6762. procedure setRC4; inline;
  6763. property RC1 : TBits_1 read getRC1 write setRC1;
  6764. property RC12 : TBits_1 read getRC12 write setRC12;
  6765. property RC13 : TBits_1 read getRC13 write setRC13;
  6766. property RC14 : TBits_1 read getRC14 write setRC14;
  6767. property RC15 : TBits_1 read getRC15 write setRC15;
  6768. property RC2 : TBits_1 read getRC2 write setRC2;
  6769. property RC3 : TBits_1 read getRC3 write setRC3;
  6770. property RC4 : TBits_1 read getRC4 write setRC4;
  6771. property w : TBits_32 read getw write setw;
  6772. end;
  6773. TPortC_bits=(RC1=1,RC2=2,RC3=3,RC4=4,RC12=12,RC13=13,RC14=14,RC15=15);
  6774. TPortC_bitset = set of TPortC_bits;
  6775. TPORTC_LATC = record
  6776. private
  6777. function getLATC1 : TBits_1; inline;
  6778. function getLATC12 : TBits_1; inline;
  6779. function getLATC13 : TBits_1; inline;
  6780. function getLATC14 : TBits_1; inline;
  6781. function getLATC15 : TBits_1; inline;
  6782. function getLATC2 : TBits_1; inline;
  6783. function getLATC3 : TBits_1; inline;
  6784. function getLATC4 : TBits_1; inline;
  6785. function getw : TBits_32; inline;
  6786. procedure setLATC1(thebits : TBits_1); inline;
  6787. procedure setLATC12(thebits : TBits_1); inline;
  6788. procedure setLATC13(thebits : TBits_1); inline;
  6789. procedure setLATC14(thebits : TBits_1); inline;
  6790. procedure setLATC15(thebits : TBits_1); inline;
  6791. procedure setLATC2(thebits : TBits_1); inline;
  6792. procedure setLATC3(thebits : TBits_1); inline;
  6793. procedure setLATC4(thebits : TBits_1); inline;
  6794. procedure setw(thebits : TBits_32); inline;
  6795. public
  6796. procedure clearLATC12; inline;
  6797. procedure clearLATC13; inline;
  6798. procedure clearLATC14; inline;
  6799. procedure clearLATC15; inline;
  6800. procedure clearLATC1; inline;
  6801. procedure clearLATC2; inline;
  6802. procedure clearLATC3; inline;
  6803. procedure clearLATC4; inline;
  6804. procedure setLATC12; inline;
  6805. procedure setLATC13; inline;
  6806. procedure setLATC14; inline;
  6807. procedure setLATC15; inline;
  6808. procedure setLATC1; inline;
  6809. procedure setLATC2; inline;
  6810. procedure setLATC3; inline;
  6811. procedure setLATC4; inline;
  6812. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  6813. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  6814. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  6815. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  6816. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  6817. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  6818. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  6819. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  6820. property w : TBits_32 read getw write setw;
  6821. end;
  6822. TPORTC_ODCC = record
  6823. private
  6824. function getODCC1 : TBits_1; inline;
  6825. function getODCC12 : TBits_1; inline;
  6826. function getODCC13 : TBits_1; inline;
  6827. function getODCC14 : TBits_1; inline;
  6828. function getODCC15 : TBits_1; inline;
  6829. function getODCC2 : TBits_1; inline;
  6830. function getODCC3 : TBits_1; inline;
  6831. function getODCC4 : TBits_1; inline;
  6832. function getw : TBits_32; inline;
  6833. procedure setODCC1(thebits : TBits_1); inline;
  6834. procedure setODCC12(thebits : TBits_1); inline;
  6835. procedure setODCC13(thebits : TBits_1); inline;
  6836. procedure setODCC14(thebits : TBits_1); inline;
  6837. procedure setODCC15(thebits : TBits_1); inline;
  6838. procedure setODCC2(thebits : TBits_1); inline;
  6839. procedure setODCC3(thebits : TBits_1); inline;
  6840. procedure setODCC4(thebits : TBits_1); inline;
  6841. procedure setw(thebits : TBits_32); inline;
  6842. public
  6843. procedure clearODCC12; inline;
  6844. procedure clearODCC13; inline;
  6845. procedure clearODCC14; inline;
  6846. procedure clearODCC15; inline;
  6847. procedure clearODCC1; inline;
  6848. procedure clearODCC2; inline;
  6849. procedure clearODCC3; inline;
  6850. procedure clearODCC4; inline;
  6851. procedure setODCC12; inline;
  6852. procedure setODCC13; inline;
  6853. procedure setODCC14; inline;
  6854. procedure setODCC15; inline;
  6855. procedure setODCC1; inline;
  6856. procedure setODCC2; inline;
  6857. procedure setODCC3; inline;
  6858. procedure setODCC4; inline;
  6859. property ODCC1 : TBits_1 read getODCC1 write setODCC1;
  6860. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  6861. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  6862. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  6863. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  6864. property ODCC2 : TBits_1 read getODCC2 write setODCC2;
  6865. property ODCC3 : TBits_1 read getODCC3 write setODCC3;
  6866. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  6867. property w : TBits_32 read getw write setw;
  6868. end;
  6869. type
  6870. TPORTCRegisters = record
  6871. TRISCbits : TPORTC_TRISC;
  6872. TRISC : longWord;
  6873. TRISCCLR : longWord;
  6874. TRISCSET : longWord;
  6875. TRISCINV : longWord;
  6876. PORTCbits : TPORTC_PORTC;
  6877. PORTC : longWord;
  6878. PORTCCLR : longWord;
  6879. PORTCSET : longWord;
  6880. PORTCINV : longWord;
  6881. LATCbits : TPORTC_LATC;
  6882. LATC : longWord;
  6883. LATCCLR : longWord;
  6884. LATCSET : longWord;
  6885. LATCINV : longWord;
  6886. ODCCbits : TPORTC_ODCC;
  6887. ODCC : longWord;
  6888. ODCCCLR : longWord;
  6889. ODCCSET : longWord;
  6890. ODCCINV : longWord;
  6891. end;
  6892. TPORTD_TRISD = record
  6893. private
  6894. function getTRISD0 : TBits_1; inline;
  6895. function getTRISD1 : TBits_1; inline;
  6896. function getTRISD10 : TBits_1; inline;
  6897. function getTRISD11 : TBits_1; inline;
  6898. function getTRISD12 : TBits_1; inline;
  6899. function getTRISD13 : TBits_1; inline;
  6900. function getTRISD14 : TBits_1; inline;
  6901. function getTRISD15 : TBits_1; inline;
  6902. function getTRISD2 : TBits_1; inline;
  6903. function getTRISD3 : TBits_1; inline;
  6904. function getTRISD4 : TBits_1; inline;
  6905. function getTRISD5 : TBits_1; inline;
  6906. function getTRISD6 : TBits_1; inline;
  6907. function getTRISD7 : TBits_1; inline;
  6908. function getTRISD8 : TBits_1; inline;
  6909. function getTRISD9 : TBits_1; inline;
  6910. function getw : TBits_32; inline;
  6911. procedure setTRISD0(thebits : TBits_1); inline;
  6912. procedure setTRISD1(thebits : TBits_1); inline;
  6913. procedure setTRISD10(thebits : TBits_1); inline;
  6914. procedure setTRISD11(thebits : TBits_1); inline;
  6915. procedure setTRISD12(thebits : TBits_1); inline;
  6916. procedure setTRISD13(thebits : TBits_1); inline;
  6917. procedure setTRISD14(thebits : TBits_1); inline;
  6918. procedure setTRISD15(thebits : TBits_1); inline;
  6919. procedure setTRISD2(thebits : TBits_1); inline;
  6920. procedure setTRISD3(thebits : TBits_1); inline;
  6921. procedure setTRISD4(thebits : TBits_1); inline;
  6922. procedure setTRISD5(thebits : TBits_1); inline;
  6923. procedure setTRISD6(thebits : TBits_1); inline;
  6924. procedure setTRISD7(thebits : TBits_1); inline;
  6925. procedure setTRISD8(thebits : TBits_1); inline;
  6926. procedure setTRISD9(thebits : TBits_1); inline;
  6927. procedure setw(thebits : TBits_32); inline;
  6928. public
  6929. procedure clearTRISD0; inline;
  6930. procedure clearTRISD10; inline;
  6931. procedure clearTRISD11; inline;
  6932. procedure clearTRISD12; inline;
  6933. procedure clearTRISD13; inline;
  6934. procedure clearTRISD14; inline;
  6935. procedure clearTRISD15; inline;
  6936. procedure clearTRISD1; inline;
  6937. procedure clearTRISD2; inline;
  6938. procedure clearTRISD3; inline;
  6939. procedure clearTRISD4; inline;
  6940. procedure clearTRISD5; inline;
  6941. procedure clearTRISD6; inline;
  6942. procedure clearTRISD7; inline;
  6943. procedure clearTRISD8; inline;
  6944. procedure clearTRISD9; inline;
  6945. procedure setTRISD0; inline;
  6946. procedure setTRISD10; inline;
  6947. procedure setTRISD11; inline;
  6948. procedure setTRISD12; inline;
  6949. procedure setTRISD13; inline;
  6950. procedure setTRISD14; inline;
  6951. procedure setTRISD15; inline;
  6952. procedure setTRISD1; inline;
  6953. procedure setTRISD2; inline;
  6954. procedure setTRISD3; inline;
  6955. procedure setTRISD4; inline;
  6956. procedure setTRISD5; inline;
  6957. procedure setTRISD6; inline;
  6958. procedure setTRISD7; inline;
  6959. procedure setTRISD8; inline;
  6960. procedure setTRISD9; inline;
  6961. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  6962. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  6963. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  6964. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  6965. property TRISD12 : TBits_1 read getTRISD12 write setTRISD12;
  6966. property TRISD13 : TBits_1 read getTRISD13 write setTRISD13;
  6967. property TRISD14 : TBits_1 read getTRISD14 write setTRISD14;
  6968. property TRISD15 : TBits_1 read getTRISD15 write setTRISD15;
  6969. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  6970. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  6971. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  6972. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  6973. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  6974. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  6975. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  6976. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  6977. property w : TBits_32 read getw write setw;
  6978. end;
  6979. TPORTD_PORTD = record
  6980. private
  6981. function getRD0 : TBits_1; inline;
  6982. function getRD1 : TBits_1; inline;
  6983. function getRD10 : TBits_1; inline;
  6984. function getRD11 : TBits_1; inline;
  6985. function getRD12 : TBits_1; inline;
  6986. function getRD13 : TBits_1; inline;
  6987. function getRD14 : TBits_1; inline;
  6988. function getRD15 : TBits_1; inline;
  6989. function getRD2 : TBits_1; inline;
  6990. function getRD3 : TBits_1; inline;
  6991. function getRD4 : TBits_1; inline;
  6992. function getRD5 : TBits_1; inline;
  6993. function getRD6 : TBits_1; inline;
  6994. function getRD7 : TBits_1; inline;
  6995. function getRD8 : TBits_1; inline;
  6996. function getRD9 : TBits_1; inline;
  6997. function getw : TBits_32; inline;
  6998. procedure setRD0(thebits : TBits_1); inline;
  6999. procedure setRD1(thebits : TBits_1); inline;
  7000. procedure setRD10(thebits : TBits_1); inline;
  7001. procedure setRD11(thebits : TBits_1); inline;
  7002. procedure setRD12(thebits : TBits_1); inline;
  7003. procedure setRD13(thebits : TBits_1); inline;
  7004. procedure setRD14(thebits : TBits_1); inline;
  7005. procedure setRD15(thebits : TBits_1); inline;
  7006. procedure setRD2(thebits : TBits_1); inline;
  7007. procedure setRD3(thebits : TBits_1); inline;
  7008. procedure setRD4(thebits : TBits_1); inline;
  7009. procedure setRD5(thebits : TBits_1); inline;
  7010. procedure setRD6(thebits : TBits_1); inline;
  7011. procedure setRD7(thebits : TBits_1); inline;
  7012. procedure setRD8(thebits : TBits_1); inline;
  7013. procedure setRD9(thebits : TBits_1); inline;
  7014. procedure setw(thebits : TBits_32); inline;
  7015. public
  7016. procedure clearRD0; inline;
  7017. procedure clearRD10; inline;
  7018. procedure clearRD11; inline;
  7019. procedure clearRD12; inline;
  7020. procedure clearRD13; inline;
  7021. procedure clearRD14; inline;
  7022. procedure clearRD15; inline;
  7023. procedure clearRD1; inline;
  7024. procedure clearRD2; inline;
  7025. procedure clearRD3; inline;
  7026. procedure clearRD4; inline;
  7027. procedure clearRD5; inline;
  7028. procedure clearRD6; inline;
  7029. procedure clearRD7; inline;
  7030. procedure clearRD8; inline;
  7031. procedure clearRD9; inline;
  7032. procedure setRD0; inline;
  7033. procedure setRD10; inline;
  7034. procedure setRD11; inline;
  7035. procedure setRD12; inline;
  7036. procedure setRD13; inline;
  7037. procedure setRD14; inline;
  7038. procedure setRD15; inline;
  7039. procedure setRD1; inline;
  7040. procedure setRD2; inline;
  7041. procedure setRD3; inline;
  7042. procedure setRD4; inline;
  7043. procedure setRD5; inline;
  7044. procedure setRD6; inline;
  7045. procedure setRD7; inline;
  7046. procedure setRD8; inline;
  7047. procedure setRD9; inline;
  7048. property RD0 : TBits_1 read getRD0 write setRD0;
  7049. property RD1 : TBits_1 read getRD1 write setRD1;
  7050. property RD10 : TBits_1 read getRD10 write setRD10;
  7051. property RD11 : TBits_1 read getRD11 write setRD11;
  7052. property RD12 : TBits_1 read getRD12 write setRD12;
  7053. property RD13 : TBits_1 read getRD13 write setRD13;
  7054. property RD14 : TBits_1 read getRD14 write setRD14;
  7055. property RD15 : TBits_1 read getRD15 write setRD15;
  7056. property RD2 : TBits_1 read getRD2 write setRD2;
  7057. property RD3 : TBits_1 read getRD3 write setRD3;
  7058. property RD4 : TBits_1 read getRD4 write setRD4;
  7059. property RD5 : TBits_1 read getRD5 write setRD5;
  7060. property RD6 : TBits_1 read getRD6 write setRD6;
  7061. property RD7 : TBits_1 read getRD7 write setRD7;
  7062. property RD8 : TBits_1 read getRD8 write setRD8;
  7063. property RD9 : TBits_1 read getRD9 write setRD9;
  7064. property w : TBits_32 read getw write setw;
  7065. end;
  7066. 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);
  7067. TPortD_bitset = set of TPortD_bits;
  7068. TPORTD_LATD = record
  7069. private
  7070. function getLATD0 : TBits_1; inline;
  7071. function getLATD1 : TBits_1; inline;
  7072. function getLATD10 : TBits_1; inline;
  7073. function getLATD11 : TBits_1; inline;
  7074. function getLATD12 : TBits_1; inline;
  7075. function getLATD13 : TBits_1; inline;
  7076. function getLATD14 : TBits_1; inline;
  7077. function getLATD15 : TBits_1; inline;
  7078. function getLATD2 : TBits_1; inline;
  7079. function getLATD3 : TBits_1; inline;
  7080. function getLATD4 : TBits_1; inline;
  7081. function getLATD5 : TBits_1; inline;
  7082. function getLATD6 : TBits_1; inline;
  7083. function getLATD7 : TBits_1; inline;
  7084. function getLATD8 : TBits_1; inline;
  7085. function getLATD9 : TBits_1; inline;
  7086. function getw : TBits_32; inline;
  7087. procedure setLATD0(thebits : TBits_1); inline;
  7088. procedure setLATD1(thebits : TBits_1); inline;
  7089. procedure setLATD10(thebits : TBits_1); inline;
  7090. procedure setLATD11(thebits : TBits_1); inline;
  7091. procedure setLATD12(thebits : TBits_1); inline;
  7092. procedure setLATD13(thebits : TBits_1); inline;
  7093. procedure setLATD14(thebits : TBits_1); inline;
  7094. procedure setLATD15(thebits : TBits_1); inline;
  7095. procedure setLATD2(thebits : TBits_1); inline;
  7096. procedure setLATD3(thebits : TBits_1); inline;
  7097. procedure setLATD4(thebits : TBits_1); inline;
  7098. procedure setLATD5(thebits : TBits_1); inline;
  7099. procedure setLATD6(thebits : TBits_1); inline;
  7100. procedure setLATD7(thebits : TBits_1); inline;
  7101. procedure setLATD8(thebits : TBits_1); inline;
  7102. procedure setLATD9(thebits : TBits_1); inline;
  7103. procedure setw(thebits : TBits_32); inline;
  7104. public
  7105. procedure clearLATD0; inline;
  7106. procedure clearLATD10; inline;
  7107. procedure clearLATD11; inline;
  7108. procedure clearLATD12; inline;
  7109. procedure clearLATD13; inline;
  7110. procedure clearLATD14; inline;
  7111. procedure clearLATD15; inline;
  7112. procedure clearLATD1; inline;
  7113. procedure clearLATD2; inline;
  7114. procedure clearLATD3; inline;
  7115. procedure clearLATD4; inline;
  7116. procedure clearLATD5; inline;
  7117. procedure clearLATD6; inline;
  7118. procedure clearLATD7; inline;
  7119. procedure clearLATD8; inline;
  7120. procedure clearLATD9; inline;
  7121. procedure setLATD0; inline;
  7122. procedure setLATD10; inline;
  7123. procedure setLATD11; inline;
  7124. procedure setLATD12; inline;
  7125. procedure setLATD13; inline;
  7126. procedure setLATD14; inline;
  7127. procedure setLATD15; inline;
  7128. procedure setLATD1; inline;
  7129. procedure setLATD2; inline;
  7130. procedure setLATD3; inline;
  7131. procedure setLATD4; inline;
  7132. procedure setLATD5; inline;
  7133. procedure setLATD6; inline;
  7134. procedure setLATD7; inline;
  7135. procedure setLATD8; inline;
  7136. procedure setLATD9; inline;
  7137. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  7138. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  7139. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  7140. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  7141. property LATD12 : TBits_1 read getLATD12 write setLATD12;
  7142. property LATD13 : TBits_1 read getLATD13 write setLATD13;
  7143. property LATD14 : TBits_1 read getLATD14 write setLATD14;
  7144. property LATD15 : TBits_1 read getLATD15 write setLATD15;
  7145. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  7146. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  7147. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  7148. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  7149. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  7150. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  7151. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  7152. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  7153. property w : TBits_32 read getw write setw;
  7154. end;
  7155. TPORTD_ODCD = record
  7156. private
  7157. function getODCD0 : TBits_1; inline;
  7158. function getODCD1 : TBits_1; inline;
  7159. function getODCD10 : TBits_1; inline;
  7160. function getODCD11 : TBits_1; inline;
  7161. function getODCD12 : TBits_1; inline;
  7162. function getODCD13 : TBits_1; inline;
  7163. function getODCD14 : TBits_1; inline;
  7164. function getODCD15 : TBits_1; inline;
  7165. function getODCD2 : TBits_1; inline;
  7166. function getODCD3 : TBits_1; inline;
  7167. function getODCD4 : TBits_1; inline;
  7168. function getODCD5 : TBits_1; inline;
  7169. function getODCD6 : TBits_1; inline;
  7170. function getODCD7 : TBits_1; inline;
  7171. function getODCD8 : TBits_1; inline;
  7172. function getODCD9 : TBits_1; inline;
  7173. function getw : TBits_32; inline;
  7174. procedure setODCD0(thebits : TBits_1); inline;
  7175. procedure setODCD1(thebits : TBits_1); inline;
  7176. procedure setODCD10(thebits : TBits_1); inline;
  7177. procedure setODCD11(thebits : TBits_1); inline;
  7178. procedure setODCD12(thebits : TBits_1); inline;
  7179. procedure setODCD13(thebits : TBits_1); inline;
  7180. procedure setODCD14(thebits : TBits_1); inline;
  7181. procedure setODCD15(thebits : TBits_1); inline;
  7182. procedure setODCD2(thebits : TBits_1); inline;
  7183. procedure setODCD3(thebits : TBits_1); inline;
  7184. procedure setODCD4(thebits : TBits_1); inline;
  7185. procedure setODCD5(thebits : TBits_1); inline;
  7186. procedure setODCD6(thebits : TBits_1); inline;
  7187. procedure setODCD7(thebits : TBits_1); inline;
  7188. procedure setODCD8(thebits : TBits_1); inline;
  7189. procedure setODCD9(thebits : TBits_1); inline;
  7190. procedure setw(thebits : TBits_32); inline;
  7191. public
  7192. procedure clearODCD0; inline;
  7193. procedure clearODCD10; inline;
  7194. procedure clearODCD11; inline;
  7195. procedure clearODCD12; inline;
  7196. procedure clearODCD13; inline;
  7197. procedure clearODCD14; inline;
  7198. procedure clearODCD15; inline;
  7199. procedure clearODCD1; inline;
  7200. procedure clearODCD2; inline;
  7201. procedure clearODCD3; inline;
  7202. procedure clearODCD4; inline;
  7203. procedure clearODCD5; inline;
  7204. procedure clearODCD6; inline;
  7205. procedure clearODCD7; inline;
  7206. procedure clearODCD8; inline;
  7207. procedure clearODCD9; inline;
  7208. procedure setODCD0; inline;
  7209. procedure setODCD10; inline;
  7210. procedure setODCD11; inline;
  7211. procedure setODCD12; inline;
  7212. procedure setODCD13; inline;
  7213. procedure setODCD14; inline;
  7214. procedure setODCD15; inline;
  7215. procedure setODCD1; inline;
  7216. procedure setODCD2; inline;
  7217. procedure setODCD3; inline;
  7218. procedure setODCD4; inline;
  7219. procedure setODCD5; inline;
  7220. procedure setODCD6; inline;
  7221. procedure setODCD7; inline;
  7222. procedure setODCD8; inline;
  7223. procedure setODCD9; inline;
  7224. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  7225. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  7226. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  7227. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  7228. property ODCD12 : TBits_1 read getODCD12 write setODCD12;
  7229. property ODCD13 : TBits_1 read getODCD13 write setODCD13;
  7230. property ODCD14 : TBits_1 read getODCD14 write setODCD14;
  7231. property ODCD15 : TBits_1 read getODCD15 write setODCD15;
  7232. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  7233. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  7234. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  7235. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  7236. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  7237. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  7238. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  7239. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  7240. property w : TBits_32 read getw write setw;
  7241. end;
  7242. type
  7243. TPORTDRegisters = record
  7244. TRISDbits : TPORTD_TRISD;
  7245. TRISD : longWord;
  7246. TRISDCLR : longWord;
  7247. TRISDSET : longWord;
  7248. TRISDINV : longWord;
  7249. PORTDbits : TPORTD_PORTD;
  7250. PORTD : longWord;
  7251. PORTDCLR : longWord;
  7252. PORTDSET : longWord;
  7253. PORTDINV : longWord;
  7254. LATDbits : TPORTD_LATD;
  7255. LATD : longWord;
  7256. LATDCLR : longWord;
  7257. LATDSET : longWord;
  7258. LATDINV : longWord;
  7259. ODCDbits : TPORTD_ODCD;
  7260. ODCD : longWord;
  7261. ODCDCLR : longWord;
  7262. ODCDSET : longWord;
  7263. ODCDINV : longWord;
  7264. end;
  7265. TPORTE_TRISE = record
  7266. private
  7267. function getTRISE0 : TBits_1; inline;
  7268. function getTRISE1 : TBits_1; inline;
  7269. function getTRISE2 : TBits_1; inline;
  7270. function getTRISE3 : TBits_1; inline;
  7271. function getTRISE4 : TBits_1; inline;
  7272. function getTRISE5 : TBits_1; inline;
  7273. function getTRISE6 : TBits_1; inline;
  7274. function getTRISE7 : TBits_1; inline;
  7275. function getTRISE8 : TBits_1; inline;
  7276. function getTRISE9 : TBits_1; inline;
  7277. function getw : TBits_32; inline;
  7278. procedure setTRISE0(thebits : TBits_1); inline;
  7279. procedure setTRISE1(thebits : TBits_1); inline;
  7280. procedure setTRISE2(thebits : TBits_1); inline;
  7281. procedure setTRISE3(thebits : TBits_1); inline;
  7282. procedure setTRISE4(thebits : TBits_1); inline;
  7283. procedure setTRISE5(thebits : TBits_1); inline;
  7284. procedure setTRISE6(thebits : TBits_1); inline;
  7285. procedure setTRISE7(thebits : TBits_1); inline;
  7286. procedure setTRISE8(thebits : TBits_1); inline;
  7287. procedure setTRISE9(thebits : TBits_1); inline;
  7288. procedure setw(thebits : TBits_32); inline;
  7289. public
  7290. procedure clearTRISE0; inline;
  7291. procedure clearTRISE1; inline;
  7292. procedure clearTRISE2; inline;
  7293. procedure clearTRISE3; inline;
  7294. procedure clearTRISE4; inline;
  7295. procedure clearTRISE5; inline;
  7296. procedure clearTRISE6; inline;
  7297. procedure clearTRISE7; inline;
  7298. procedure clearTRISE8; inline;
  7299. procedure clearTRISE9; inline;
  7300. procedure setTRISE0; inline;
  7301. procedure setTRISE1; inline;
  7302. procedure setTRISE2; inline;
  7303. procedure setTRISE3; inline;
  7304. procedure setTRISE4; inline;
  7305. procedure setTRISE5; inline;
  7306. procedure setTRISE6; inline;
  7307. procedure setTRISE7; inline;
  7308. procedure setTRISE8; inline;
  7309. procedure setTRISE9; inline;
  7310. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  7311. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  7312. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  7313. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  7314. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  7315. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  7316. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  7317. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  7318. property TRISE8 : TBits_1 read getTRISE8 write setTRISE8;
  7319. property TRISE9 : TBits_1 read getTRISE9 write setTRISE9;
  7320. property w : TBits_32 read getw write setw;
  7321. end;
  7322. TPORTE_PORTE = record
  7323. private
  7324. function getRE0 : TBits_1; inline;
  7325. function getRE1 : TBits_1; inline;
  7326. function getRE2 : TBits_1; inline;
  7327. function getRE3 : TBits_1; inline;
  7328. function getRE4 : TBits_1; inline;
  7329. function getRE5 : TBits_1; inline;
  7330. function getRE6 : TBits_1; inline;
  7331. function getRE7 : TBits_1; inline;
  7332. function getRE8 : TBits_1; inline;
  7333. function getRE9 : TBits_1; inline;
  7334. function getw : TBits_32; inline;
  7335. procedure setRE0(thebits : TBits_1); inline;
  7336. procedure setRE1(thebits : TBits_1); inline;
  7337. procedure setRE2(thebits : TBits_1); inline;
  7338. procedure setRE3(thebits : TBits_1); inline;
  7339. procedure setRE4(thebits : TBits_1); inline;
  7340. procedure setRE5(thebits : TBits_1); inline;
  7341. procedure setRE6(thebits : TBits_1); inline;
  7342. procedure setRE7(thebits : TBits_1); inline;
  7343. procedure setRE8(thebits : TBits_1); inline;
  7344. procedure setRE9(thebits : TBits_1); inline;
  7345. procedure setw(thebits : TBits_32); inline;
  7346. public
  7347. procedure clearRE0; inline;
  7348. procedure clearRE1; inline;
  7349. procedure clearRE2; inline;
  7350. procedure clearRE3; inline;
  7351. procedure clearRE4; inline;
  7352. procedure clearRE5; inline;
  7353. procedure clearRE6; inline;
  7354. procedure clearRE7; inline;
  7355. procedure clearRE8; inline;
  7356. procedure clearRE9; inline;
  7357. procedure setRE0; inline;
  7358. procedure setRE1; inline;
  7359. procedure setRE2; inline;
  7360. procedure setRE3; inline;
  7361. procedure setRE4; inline;
  7362. procedure setRE5; inline;
  7363. procedure setRE6; inline;
  7364. procedure setRE7; inline;
  7365. procedure setRE8; inline;
  7366. procedure setRE9; inline;
  7367. property RE0 : TBits_1 read getRE0 write setRE0;
  7368. property RE1 : TBits_1 read getRE1 write setRE1;
  7369. property RE2 : TBits_1 read getRE2 write setRE2;
  7370. property RE3 : TBits_1 read getRE3 write setRE3;
  7371. property RE4 : TBits_1 read getRE4 write setRE4;
  7372. property RE5 : TBits_1 read getRE5 write setRE5;
  7373. property RE6 : TBits_1 read getRE6 write setRE6;
  7374. property RE7 : TBits_1 read getRE7 write setRE7;
  7375. property RE8 : TBits_1 read getRE8 write setRE8;
  7376. property RE9 : TBits_1 read getRE9 write setRE9;
  7377. property w : TBits_32 read getw write setw;
  7378. end;
  7379. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7,RE8=8,RE9=9);
  7380. TPortE_bitset = set of TPortE_bits;
  7381. TPORTE_LATE = record
  7382. private
  7383. function getLATE0 : TBits_1; inline;
  7384. function getLATE1 : TBits_1; inline;
  7385. function getLATE2 : TBits_1; inline;
  7386. function getLATE3 : TBits_1; inline;
  7387. function getLATE4 : TBits_1; inline;
  7388. function getLATE5 : TBits_1; inline;
  7389. function getLATE6 : TBits_1; inline;
  7390. function getLATE7 : TBits_1; inline;
  7391. function getLATE8 : TBits_1; inline;
  7392. function getLATE9 : TBits_1; inline;
  7393. function getw : TBits_32; inline;
  7394. procedure setLATE0(thebits : TBits_1); inline;
  7395. procedure setLATE1(thebits : TBits_1); inline;
  7396. procedure setLATE2(thebits : TBits_1); inline;
  7397. procedure setLATE3(thebits : TBits_1); inline;
  7398. procedure setLATE4(thebits : TBits_1); inline;
  7399. procedure setLATE5(thebits : TBits_1); inline;
  7400. procedure setLATE6(thebits : TBits_1); inline;
  7401. procedure setLATE7(thebits : TBits_1); inline;
  7402. procedure setLATE8(thebits : TBits_1); inline;
  7403. procedure setLATE9(thebits : TBits_1); inline;
  7404. procedure setw(thebits : TBits_32); inline;
  7405. public
  7406. procedure clearLATE0; inline;
  7407. procedure clearLATE1; inline;
  7408. procedure clearLATE2; inline;
  7409. procedure clearLATE3; inline;
  7410. procedure clearLATE4; inline;
  7411. procedure clearLATE5; inline;
  7412. procedure clearLATE6; inline;
  7413. procedure clearLATE7; inline;
  7414. procedure clearLATE8; inline;
  7415. procedure clearLATE9; inline;
  7416. procedure setLATE0; inline;
  7417. procedure setLATE1; inline;
  7418. procedure setLATE2; inline;
  7419. procedure setLATE3; inline;
  7420. procedure setLATE4; inline;
  7421. procedure setLATE5; inline;
  7422. procedure setLATE6; inline;
  7423. procedure setLATE7; inline;
  7424. procedure setLATE8; inline;
  7425. procedure setLATE9; inline;
  7426. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  7427. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  7428. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  7429. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  7430. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  7431. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  7432. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  7433. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  7434. property LATE8 : TBits_1 read getLATE8 write setLATE8;
  7435. property LATE9 : TBits_1 read getLATE9 write setLATE9;
  7436. property w : TBits_32 read getw write setw;
  7437. end;
  7438. TPORTE_ODCE = record
  7439. private
  7440. function getODCE0 : TBits_1; inline;
  7441. function getODCE1 : TBits_1; inline;
  7442. function getODCE2 : TBits_1; inline;
  7443. function getODCE3 : TBits_1; inline;
  7444. function getODCE4 : TBits_1; inline;
  7445. function getODCE5 : TBits_1; inline;
  7446. function getODCE6 : TBits_1; inline;
  7447. function getODCE7 : TBits_1; inline;
  7448. function getODCE8 : TBits_1; inline;
  7449. function getODCE9 : TBits_1; inline;
  7450. function getw : TBits_32; inline;
  7451. procedure setODCE0(thebits : TBits_1); inline;
  7452. procedure setODCE1(thebits : TBits_1); inline;
  7453. procedure setODCE2(thebits : TBits_1); inline;
  7454. procedure setODCE3(thebits : TBits_1); inline;
  7455. procedure setODCE4(thebits : TBits_1); inline;
  7456. procedure setODCE5(thebits : TBits_1); inline;
  7457. procedure setODCE6(thebits : TBits_1); inline;
  7458. procedure setODCE7(thebits : TBits_1); inline;
  7459. procedure setODCE8(thebits : TBits_1); inline;
  7460. procedure setODCE9(thebits : TBits_1); inline;
  7461. procedure setw(thebits : TBits_32); inline;
  7462. public
  7463. procedure clearODCE0; inline;
  7464. procedure clearODCE1; inline;
  7465. procedure clearODCE2; inline;
  7466. procedure clearODCE3; inline;
  7467. procedure clearODCE4; inline;
  7468. procedure clearODCE5; inline;
  7469. procedure clearODCE6; inline;
  7470. procedure clearODCE7; inline;
  7471. procedure clearODCE8; inline;
  7472. procedure clearODCE9; inline;
  7473. procedure setODCE0; inline;
  7474. procedure setODCE1; inline;
  7475. procedure setODCE2; inline;
  7476. procedure setODCE3; inline;
  7477. procedure setODCE4; inline;
  7478. procedure setODCE5; inline;
  7479. procedure setODCE6; inline;
  7480. procedure setODCE7; inline;
  7481. procedure setODCE8; inline;
  7482. procedure setODCE9; inline;
  7483. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  7484. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  7485. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  7486. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  7487. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  7488. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  7489. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  7490. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  7491. property ODCE8 : TBits_1 read getODCE8 write setODCE8;
  7492. property ODCE9 : TBits_1 read getODCE9 write setODCE9;
  7493. property w : TBits_32 read getw write setw;
  7494. end;
  7495. type
  7496. TPORTERegisters = record
  7497. TRISEbits : TPORTE_TRISE;
  7498. TRISE : longWord;
  7499. TRISECLR : longWord;
  7500. TRISESET : longWord;
  7501. TRISEINV : longWord;
  7502. PORTEbits : TPORTE_PORTE;
  7503. PORTE : longWord;
  7504. PORTECLR : longWord;
  7505. PORTESET : longWord;
  7506. PORTEINV : longWord;
  7507. LATEbits : TPORTE_LATE;
  7508. LATE : longWord;
  7509. LATECLR : longWord;
  7510. LATESET : longWord;
  7511. LATEINV : longWord;
  7512. ODCEbits : TPORTE_ODCE;
  7513. ODCE : longWord;
  7514. ODCECLR : longWord;
  7515. ODCESET : longWord;
  7516. ODCEINV : longWord;
  7517. end;
  7518. TPORTF_TRISF = record
  7519. private
  7520. function getTRISF0 : TBits_1; inline;
  7521. function getTRISF1 : TBits_1; inline;
  7522. function getTRISF12 : TBits_1; inline;
  7523. function getTRISF13 : TBits_1; inline;
  7524. function getTRISF2 : TBits_1; inline;
  7525. function getTRISF3 : TBits_1; inline;
  7526. function getTRISF4 : TBits_1; inline;
  7527. function getTRISF5 : TBits_1; inline;
  7528. function getTRISF8 : TBits_1; inline;
  7529. function getw : TBits_32; inline;
  7530. procedure setTRISF0(thebits : TBits_1); inline;
  7531. procedure setTRISF1(thebits : TBits_1); inline;
  7532. procedure setTRISF12(thebits : TBits_1); inline;
  7533. procedure setTRISF13(thebits : TBits_1); inline;
  7534. procedure setTRISF2(thebits : TBits_1); inline;
  7535. procedure setTRISF3(thebits : TBits_1); inline;
  7536. procedure setTRISF4(thebits : TBits_1); inline;
  7537. procedure setTRISF5(thebits : TBits_1); inline;
  7538. procedure setTRISF8(thebits : TBits_1); inline;
  7539. procedure setw(thebits : TBits_32); inline;
  7540. public
  7541. procedure clearTRISF0; inline;
  7542. procedure clearTRISF12; inline;
  7543. procedure clearTRISF13; inline;
  7544. procedure clearTRISF1; inline;
  7545. procedure clearTRISF2; inline;
  7546. procedure clearTRISF3; inline;
  7547. procedure clearTRISF4; inline;
  7548. procedure clearTRISF5; inline;
  7549. procedure clearTRISF8; inline;
  7550. procedure setTRISF0; inline;
  7551. procedure setTRISF12; inline;
  7552. procedure setTRISF13; inline;
  7553. procedure setTRISF1; inline;
  7554. procedure setTRISF2; inline;
  7555. procedure setTRISF3; inline;
  7556. procedure setTRISF4; inline;
  7557. procedure setTRISF5; inline;
  7558. procedure setTRISF8; inline;
  7559. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  7560. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  7561. property TRISF12 : TBits_1 read getTRISF12 write setTRISF12;
  7562. property TRISF13 : TBits_1 read getTRISF13 write setTRISF13;
  7563. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  7564. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  7565. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  7566. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  7567. property TRISF8 : TBits_1 read getTRISF8 write setTRISF8;
  7568. property w : TBits_32 read getw write setw;
  7569. end;
  7570. TPORTF_PORTF = record
  7571. private
  7572. function getRF0 : TBits_1; inline;
  7573. function getRF1 : TBits_1; inline;
  7574. function getRF12 : TBits_1; inline;
  7575. function getRF13 : TBits_1; inline;
  7576. function getRF2 : TBits_1; inline;
  7577. function getRF3 : TBits_1; inline;
  7578. function getRF4 : TBits_1; inline;
  7579. function getRF5 : TBits_1; inline;
  7580. function getRF8 : TBits_1; inline;
  7581. function getw : TBits_32; inline;
  7582. procedure setRF0(thebits : TBits_1); inline;
  7583. procedure setRF1(thebits : TBits_1); inline;
  7584. procedure setRF12(thebits : TBits_1); inline;
  7585. procedure setRF13(thebits : TBits_1); inline;
  7586. procedure setRF2(thebits : TBits_1); inline;
  7587. procedure setRF3(thebits : TBits_1); inline;
  7588. procedure setRF4(thebits : TBits_1); inline;
  7589. procedure setRF5(thebits : TBits_1); inline;
  7590. procedure setRF8(thebits : TBits_1); inline;
  7591. procedure setw(thebits : TBits_32); inline;
  7592. public
  7593. procedure clearRF0; inline;
  7594. procedure clearRF12; inline;
  7595. procedure clearRF13; inline;
  7596. procedure clearRF1; inline;
  7597. procedure clearRF2; inline;
  7598. procedure clearRF3; inline;
  7599. procedure clearRF4; inline;
  7600. procedure clearRF5; inline;
  7601. procedure clearRF8; inline;
  7602. procedure setRF0; inline;
  7603. procedure setRF12; inline;
  7604. procedure setRF13; inline;
  7605. procedure setRF1; inline;
  7606. procedure setRF2; inline;
  7607. procedure setRF3; inline;
  7608. procedure setRF4; inline;
  7609. procedure setRF5; inline;
  7610. procedure setRF8; inline;
  7611. property RF0 : TBits_1 read getRF0 write setRF0;
  7612. property RF1 : TBits_1 read getRF1 write setRF1;
  7613. property RF12 : TBits_1 read getRF12 write setRF12;
  7614. property RF13 : TBits_1 read getRF13 write setRF13;
  7615. property RF2 : TBits_1 read getRF2 write setRF2;
  7616. property RF3 : TBits_1 read getRF3 write setRF3;
  7617. property RF4 : TBits_1 read getRF4 write setRF4;
  7618. property RF5 : TBits_1 read getRF5 write setRF5;
  7619. property RF8 : TBits_1 read getRF8 write setRF8;
  7620. property w : TBits_32 read getw write setw;
  7621. end;
  7622. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF8=8,RF12=12,RF13=13);
  7623. TPortF_bitset = set of TPortF_bits;
  7624. TPORTF_LATF = record
  7625. private
  7626. function getLATF0 : TBits_1; inline;
  7627. function getLATF1 : TBits_1; inline;
  7628. function getLATF12 : TBits_1; inline;
  7629. function getLATF13 : TBits_1; inline;
  7630. function getLATF2 : TBits_1; inline;
  7631. function getLATF3 : TBits_1; inline;
  7632. function getLATF4 : TBits_1; inline;
  7633. function getLATF5 : TBits_1; inline;
  7634. function getLATF8 : TBits_1; inline;
  7635. function getw : TBits_32; inline;
  7636. procedure setLATF0(thebits : TBits_1); inline;
  7637. procedure setLATF1(thebits : TBits_1); inline;
  7638. procedure setLATF12(thebits : TBits_1); inline;
  7639. procedure setLATF13(thebits : TBits_1); inline;
  7640. procedure setLATF2(thebits : TBits_1); inline;
  7641. procedure setLATF3(thebits : TBits_1); inline;
  7642. procedure setLATF4(thebits : TBits_1); inline;
  7643. procedure setLATF5(thebits : TBits_1); inline;
  7644. procedure setLATF8(thebits : TBits_1); inline;
  7645. procedure setw(thebits : TBits_32); inline;
  7646. public
  7647. procedure clearLATF0; inline;
  7648. procedure clearLATF12; inline;
  7649. procedure clearLATF13; inline;
  7650. procedure clearLATF1; inline;
  7651. procedure clearLATF2; inline;
  7652. procedure clearLATF3; inline;
  7653. procedure clearLATF4; inline;
  7654. procedure clearLATF5; inline;
  7655. procedure clearLATF8; inline;
  7656. procedure setLATF0; inline;
  7657. procedure setLATF12; inline;
  7658. procedure setLATF13; inline;
  7659. procedure setLATF1; inline;
  7660. procedure setLATF2; inline;
  7661. procedure setLATF3; inline;
  7662. procedure setLATF4; inline;
  7663. procedure setLATF5; inline;
  7664. procedure setLATF8; inline;
  7665. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  7666. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  7667. property LATF12 : TBits_1 read getLATF12 write setLATF12;
  7668. property LATF13 : TBits_1 read getLATF13 write setLATF13;
  7669. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  7670. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  7671. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  7672. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  7673. property LATF8 : TBits_1 read getLATF8 write setLATF8;
  7674. property w : TBits_32 read getw write setw;
  7675. end;
  7676. TPORTF_ODCF = record
  7677. private
  7678. function getODCF0 : TBits_1; inline;
  7679. function getODCF1 : TBits_1; inline;
  7680. function getODCF12 : TBits_1; inline;
  7681. function getODCF13 : TBits_1; inline;
  7682. function getODCF2 : TBits_1; inline;
  7683. function getODCF3 : TBits_1; inline;
  7684. function getODCF4 : TBits_1; inline;
  7685. function getODCF5 : TBits_1; inline;
  7686. function getODCF8 : TBits_1; inline;
  7687. function getw : TBits_32; inline;
  7688. procedure setODCF0(thebits : TBits_1); inline;
  7689. procedure setODCF1(thebits : TBits_1); inline;
  7690. procedure setODCF12(thebits : TBits_1); inline;
  7691. procedure setODCF13(thebits : TBits_1); inline;
  7692. procedure setODCF2(thebits : TBits_1); inline;
  7693. procedure setODCF3(thebits : TBits_1); inline;
  7694. procedure setODCF4(thebits : TBits_1); inline;
  7695. procedure setODCF5(thebits : TBits_1); inline;
  7696. procedure setODCF8(thebits : TBits_1); inline;
  7697. procedure setw(thebits : TBits_32); inline;
  7698. public
  7699. procedure clearODCF0; inline;
  7700. procedure clearODCF12; inline;
  7701. procedure clearODCF13; inline;
  7702. procedure clearODCF1; inline;
  7703. procedure clearODCF2; inline;
  7704. procedure clearODCF3; inline;
  7705. procedure clearODCF4; inline;
  7706. procedure clearODCF5; inline;
  7707. procedure clearODCF8; inline;
  7708. procedure setODCF0; inline;
  7709. procedure setODCF12; inline;
  7710. procedure setODCF13; inline;
  7711. procedure setODCF1; inline;
  7712. procedure setODCF2; inline;
  7713. procedure setODCF3; inline;
  7714. procedure setODCF4; inline;
  7715. procedure setODCF5; inline;
  7716. procedure setODCF8; inline;
  7717. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  7718. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  7719. property ODCF12 : TBits_1 read getODCF12 write setODCF12;
  7720. property ODCF13 : TBits_1 read getODCF13 write setODCF13;
  7721. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  7722. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  7723. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  7724. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  7725. property ODCF8 : TBits_1 read getODCF8 write setODCF8;
  7726. property w : TBits_32 read getw write setw;
  7727. end;
  7728. type
  7729. TPORTFRegisters = record
  7730. TRISFbits : TPORTF_TRISF;
  7731. TRISF : longWord;
  7732. TRISFCLR : longWord;
  7733. TRISFSET : longWord;
  7734. TRISFINV : longWord;
  7735. PORTFbits : TPORTF_PORTF;
  7736. PORTF : longWord;
  7737. PORTFCLR : longWord;
  7738. PORTFSET : longWord;
  7739. PORTFINV : longWord;
  7740. LATFbits : TPORTF_LATF;
  7741. LATF : longWord;
  7742. LATFCLR : longWord;
  7743. LATFSET : longWord;
  7744. LATFINV : longWord;
  7745. ODCFbits : TPORTF_ODCF;
  7746. ODCF : longWord;
  7747. ODCFCLR : longWord;
  7748. ODCFSET : longWord;
  7749. ODCFINV : longWord;
  7750. end;
  7751. TPORTG_TRISG = record
  7752. private
  7753. function getTRISG0 : TBits_1; inline;
  7754. function getTRISG1 : TBits_1; inline;
  7755. function getTRISG12 : TBits_1; inline;
  7756. function getTRISG13 : TBits_1; inline;
  7757. function getTRISG14 : TBits_1; inline;
  7758. function getTRISG15 : TBits_1; inline;
  7759. function getTRISG2 : TBits_1; inline;
  7760. function getTRISG3 : TBits_1; inline;
  7761. function getTRISG6 : TBits_1; inline;
  7762. function getTRISG7 : TBits_1; inline;
  7763. function getTRISG8 : TBits_1; inline;
  7764. function getTRISG9 : TBits_1; inline;
  7765. function getw : TBits_32; inline;
  7766. procedure setTRISG0(thebits : TBits_1); inline;
  7767. procedure setTRISG1(thebits : TBits_1); inline;
  7768. procedure setTRISG12(thebits : TBits_1); inline;
  7769. procedure setTRISG13(thebits : TBits_1); inline;
  7770. procedure setTRISG14(thebits : TBits_1); inline;
  7771. procedure setTRISG15(thebits : TBits_1); inline;
  7772. procedure setTRISG2(thebits : TBits_1); inline;
  7773. procedure setTRISG3(thebits : TBits_1); inline;
  7774. procedure setTRISG6(thebits : TBits_1); inline;
  7775. procedure setTRISG7(thebits : TBits_1); inline;
  7776. procedure setTRISG8(thebits : TBits_1); inline;
  7777. procedure setTRISG9(thebits : TBits_1); inline;
  7778. procedure setw(thebits : TBits_32); inline;
  7779. public
  7780. procedure clearTRISG0; inline;
  7781. procedure clearTRISG12; inline;
  7782. procedure clearTRISG13; inline;
  7783. procedure clearTRISG14; inline;
  7784. procedure clearTRISG15; inline;
  7785. procedure clearTRISG1; inline;
  7786. procedure clearTRISG2; inline;
  7787. procedure clearTRISG3; inline;
  7788. procedure clearTRISG6; inline;
  7789. procedure clearTRISG7; inline;
  7790. procedure clearTRISG8; inline;
  7791. procedure clearTRISG9; inline;
  7792. procedure setTRISG0; inline;
  7793. procedure setTRISG12; inline;
  7794. procedure setTRISG13; inline;
  7795. procedure setTRISG14; inline;
  7796. procedure setTRISG15; inline;
  7797. procedure setTRISG1; inline;
  7798. procedure setTRISG2; inline;
  7799. procedure setTRISG3; inline;
  7800. procedure setTRISG6; inline;
  7801. procedure setTRISG7; inline;
  7802. procedure setTRISG8; inline;
  7803. procedure setTRISG9; inline;
  7804. property TRISG0 : TBits_1 read getTRISG0 write setTRISG0;
  7805. property TRISG1 : TBits_1 read getTRISG1 write setTRISG1;
  7806. property TRISG12 : TBits_1 read getTRISG12 write setTRISG12;
  7807. property TRISG13 : TBits_1 read getTRISG13 write setTRISG13;
  7808. property TRISG14 : TBits_1 read getTRISG14 write setTRISG14;
  7809. property TRISG15 : TBits_1 read getTRISG15 write setTRISG15;
  7810. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  7811. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  7812. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  7813. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  7814. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  7815. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  7816. property w : TBits_32 read getw write setw;
  7817. end;
  7818. TPORTG_PORTG = record
  7819. private
  7820. function getRG0 : TBits_1; inline;
  7821. function getRG1 : TBits_1; inline;
  7822. function getRG12 : TBits_1; inline;
  7823. function getRG13 : TBits_1; inline;
  7824. function getRG14 : TBits_1; inline;
  7825. function getRG15 : TBits_1; inline;
  7826. function getRG2 : TBits_1; inline;
  7827. function getRG3 : TBits_1; inline;
  7828. function getRG6 : TBits_1; inline;
  7829. function getRG7 : TBits_1; inline;
  7830. function getRG8 : TBits_1; inline;
  7831. function getRG9 : TBits_1; inline;
  7832. function getw : TBits_32; inline;
  7833. procedure setRG0(thebits : TBits_1); inline;
  7834. procedure setRG1(thebits : TBits_1); inline;
  7835. procedure setRG12(thebits : TBits_1); inline;
  7836. procedure setRG13(thebits : TBits_1); inline;
  7837. procedure setRG14(thebits : TBits_1); inline;
  7838. procedure setRG15(thebits : TBits_1); inline;
  7839. procedure setRG2(thebits : TBits_1); inline;
  7840. procedure setRG3(thebits : TBits_1); inline;
  7841. procedure setRG6(thebits : TBits_1); inline;
  7842. procedure setRG7(thebits : TBits_1); inline;
  7843. procedure setRG8(thebits : TBits_1); inline;
  7844. procedure setRG9(thebits : TBits_1); inline;
  7845. procedure setw(thebits : TBits_32); inline;
  7846. public
  7847. procedure clearRG0; inline;
  7848. procedure clearRG12; inline;
  7849. procedure clearRG13; inline;
  7850. procedure clearRG14; inline;
  7851. procedure clearRG15; inline;
  7852. procedure clearRG1; inline;
  7853. procedure clearRG2; inline;
  7854. procedure clearRG3; inline;
  7855. procedure clearRG6; inline;
  7856. procedure clearRG7; inline;
  7857. procedure clearRG8; inline;
  7858. procedure clearRG9; inline;
  7859. procedure setRG0; inline;
  7860. procedure setRG12; inline;
  7861. procedure setRG13; inline;
  7862. procedure setRG14; inline;
  7863. procedure setRG15; inline;
  7864. procedure setRG1; inline;
  7865. procedure setRG2; inline;
  7866. procedure setRG3; inline;
  7867. procedure setRG6; inline;
  7868. procedure setRG7; inline;
  7869. procedure setRG8; inline;
  7870. procedure setRG9; inline;
  7871. property RG0 : TBits_1 read getRG0 write setRG0;
  7872. property RG1 : TBits_1 read getRG1 write setRG1;
  7873. property RG12 : TBits_1 read getRG12 write setRG12;
  7874. property RG13 : TBits_1 read getRG13 write setRG13;
  7875. property RG14 : TBits_1 read getRG14 write setRG14;
  7876. property RG15 : TBits_1 read getRG15 write setRG15;
  7877. property RG2 : TBits_1 read getRG2 write setRG2;
  7878. property RG3 : TBits_1 read getRG3 write setRG3;
  7879. property RG6 : TBits_1 read getRG6 write setRG6;
  7880. property RG7 : TBits_1 read getRG7 write setRG7;
  7881. property RG8 : TBits_1 read getRG8 write setRG8;
  7882. property RG9 : TBits_1 read getRG9 write setRG9;
  7883. property w : TBits_32 read getw write setw;
  7884. end;
  7885. 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);
  7886. TPortG_bitset = set of TPortG_bits;
  7887. TPORTG_LATG = record
  7888. private
  7889. function getLATG0 : TBits_1; inline;
  7890. function getLATG1 : TBits_1; inline;
  7891. function getLATG12 : TBits_1; inline;
  7892. function getLATG13 : TBits_1; inline;
  7893. function getLATG14 : TBits_1; inline;
  7894. function getLATG15 : TBits_1; inline;
  7895. function getLATG2 : TBits_1; inline;
  7896. function getLATG3 : TBits_1; inline;
  7897. function getLATG6 : TBits_1; inline;
  7898. function getLATG7 : TBits_1; inline;
  7899. function getLATG8 : TBits_1; inline;
  7900. function getLATG9 : TBits_1; inline;
  7901. function getw : TBits_32; inline;
  7902. procedure setLATG0(thebits : TBits_1); inline;
  7903. procedure setLATG1(thebits : TBits_1); inline;
  7904. procedure setLATG12(thebits : TBits_1); inline;
  7905. procedure setLATG13(thebits : TBits_1); inline;
  7906. procedure setLATG14(thebits : TBits_1); inline;
  7907. procedure setLATG15(thebits : TBits_1); inline;
  7908. procedure setLATG2(thebits : TBits_1); inline;
  7909. procedure setLATG3(thebits : TBits_1); inline;
  7910. procedure setLATG6(thebits : TBits_1); inline;
  7911. procedure setLATG7(thebits : TBits_1); inline;
  7912. procedure setLATG8(thebits : TBits_1); inline;
  7913. procedure setLATG9(thebits : TBits_1); inline;
  7914. procedure setw(thebits : TBits_32); inline;
  7915. public
  7916. procedure clearLATG0; inline;
  7917. procedure clearLATG12; inline;
  7918. procedure clearLATG13; inline;
  7919. procedure clearLATG14; inline;
  7920. procedure clearLATG15; inline;
  7921. procedure clearLATG1; inline;
  7922. procedure clearLATG2; inline;
  7923. procedure clearLATG3; inline;
  7924. procedure clearLATG6; inline;
  7925. procedure clearLATG7; inline;
  7926. procedure clearLATG8; inline;
  7927. procedure clearLATG9; inline;
  7928. procedure setLATG0; inline;
  7929. procedure setLATG12; inline;
  7930. procedure setLATG13; inline;
  7931. procedure setLATG14; inline;
  7932. procedure setLATG15; inline;
  7933. procedure setLATG1; inline;
  7934. procedure setLATG2; inline;
  7935. procedure setLATG3; inline;
  7936. procedure setLATG6; inline;
  7937. procedure setLATG7; inline;
  7938. procedure setLATG8; inline;
  7939. procedure setLATG9; inline;
  7940. property LATG0 : TBits_1 read getLATG0 write setLATG0;
  7941. property LATG1 : TBits_1 read getLATG1 write setLATG1;
  7942. property LATG12 : TBits_1 read getLATG12 write setLATG12;
  7943. property LATG13 : TBits_1 read getLATG13 write setLATG13;
  7944. property LATG14 : TBits_1 read getLATG14 write setLATG14;
  7945. property LATG15 : TBits_1 read getLATG15 write setLATG15;
  7946. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  7947. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  7948. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  7949. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  7950. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  7951. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  7952. property w : TBits_32 read getw write setw;
  7953. end;
  7954. TPORTG_ODCG = record
  7955. private
  7956. function getODCG0 : TBits_1; inline;
  7957. function getODCG1 : TBits_1; inline;
  7958. function getODCG12 : TBits_1; inline;
  7959. function getODCG13 : TBits_1; inline;
  7960. function getODCG14 : TBits_1; inline;
  7961. function getODCG15 : TBits_1; inline;
  7962. function getODCG2 : TBits_1; inline;
  7963. function getODCG3 : TBits_1; inline;
  7964. function getODCG6 : TBits_1; inline;
  7965. function getODCG7 : TBits_1; inline;
  7966. function getODCG8 : TBits_1; inline;
  7967. function getODCG9 : TBits_1; inline;
  7968. function getw : TBits_32; inline;
  7969. procedure setODCG0(thebits : TBits_1); inline;
  7970. procedure setODCG1(thebits : TBits_1); inline;
  7971. procedure setODCG12(thebits : TBits_1); inline;
  7972. procedure setODCG13(thebits : TBits_1); inline;
  7973. procedure setODCG14(thebits : TBits_1); inline;
  7974. procedure setODCG15(thebits : TBits_1); inline;
  7975. procedure setODCG2(thebits : TBits_1); inline;
  7976. procedure setODCG3(thebits : TBits_1); inline;
  7977. procedure setODCG6(thebits : TBits_1); inline;
  7978. procedure setODCG7(thebits : TBits_1); inline;
  7979. procedure setODCG8(thebits : TBits_1); inline;
  7980. procedure setODCG9(thebits : TBits_1); inline;
  7981. procedure setw(thebits : TBits_32); inline;
  7982. public
  7983. procedure clearODCG0; inline;
  7984. procedure clearODCG12; inline;
  7985. procedure clearODCG13; inline;
  7986. procedure clearODCG14; inline;
  7987. procedure clearODCG15; inline;
  7988. procedure clearODCG1; inline;
  7989. procedure clearODCG2; inline;
  7990. procedure clearODCG3; inline;
  7991. procedure clearODCG6; inline;
  7992. procedure clearODCG7; inline;
  7993. procedure clearODCG8; inline;
  7994. procedure clearODCG9; inline;
  7995. procedure setODCG0; inline;
  7996. procedure setODCG12; inline;
  7997. procedure setODCG13; inline;
  7998. procedure setODCG14; inline;
  7999. procedure setODCG15; inline;
  8000. procedure setODCG1; inline;
  8001. procedure setODCG2; inline;
  8002. procedure setODCG3; inline;
  8003. procedure setODCG6; inline;
  8004. procedure setODCG7; inline;
  8005. procedure setODCG8; inline;
  8006. procedure setODCG9; inline;
  8007. property ODCG0 : TBits_1 read getODCG0 write setODCG0;
  8008. property ODCG1 : TBits_1 read getODCG1 write setODCG1;
  8009. property ODCG12 : TBits_1 read getODCG12 write setODCG12;
  8010. property ODCG13 : TBits_1 read getODCG13 write setODCG13;
  8011. property ODCG14 : TBits_1 read getODCG14 write setODCG14;
  8012. property ODCG15 : TBits_1 read getODCG15 write setODCG15;
  8013. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  8014. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  8015. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  8016. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  8017. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  8018. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  8019. property w : TBits_32 read getw write setw;
  8020. end;
  8021. TPORTG_CNCON = record
  8022. private
  8023. function getON : TBits_1; inline;
  8024. function getSIDL : TBits_1; inline;
  8025. function getw : TBits_32; inline;
  8026. procedure setON(thebits : TBits_1); inline;
  8027. procedure setSIDL(thebits : TBits_1); inline;
  8028. procedure setw(thebits : TBits_32); inline;
  8029. public
  8030. procedure clearON; inline;
  8031. procedure clearSIDL; inline;
  8032. procedure setON; inline;
  8033. procedure setSIDL; inline;
  8034. property ON : TBits_1 read getON write setON;
  8035. property SIDL : TBits_1 read getSIDL write setSIDL;
  8036. property w : TBits_32 read getw write setw;
  8037. end;
  8038. TPORTG_CNEN = record
  8039. private
  8040. function getCNEN0 : TBits_1; inline;
  8041. function getCNEN1 : TBits_1; inline;
  8042. function getCNEN10 : TBits_1; inline;
  8043. function getCNEN11 : TBits_1; inline;
  8044. function getCNEN12 : TBits_1; inline;
  8045. function getCNEN13 : TBits_1; inline;
  8046. function getCNEN14 : TBits_1; inline;
  8047. function getCNEN15 : TBits_1; inline;
  8048. function getCNEN16 : TBits_1; inline;
  8049. function getCNEN17 : TBits_1; inline;
  8050. function getCNEN18 : TBits_1; inline;
  8051. function getCNEN19 : TBits_1; inline;
  8052. function getCNEN2 : TBits_1; inline;
  8053. function getCNEN20 : TBits_1; inline;
  8054. function getCNEN21 : TBits_1; inline;
  8055. function getCNEN3 : TBits_1; inline;
  8056. function getCNEN4 : TBits_1; inline;
  8057. function getCNEN5 : TBits_1; inline;
  8058. function getCNEN6 : TBits_1; inline;
  8059. function getCNEN7 : TBits_1; inline;
  8060. function getCNEN8 : TBits_1; inline;
  8061. function getCNEN9 : TBits_1; inline;
  8062. function getw : TBits_32; inline;
  8063. procedure setCNEN0(thebits : TBits_1); inline;
  8064. procedure setCNEN1(thebits : TBits_1); inline;
  8065. procedure setCNEN10(thebits : TBits_1); inline;
  8066. procedure setCNEN11(thebits : TBits_1); inline;
  8067. procedure setCNEN12(thebits : TBits_1); inline;
  8068. procedure setCNEN13(thebits : TBits_1); inline;
  8069. procedure setCNEN14(thebits : TBits_1); inline;
  8070. procedure setCNEN15(thebits : TBits_1); inline;
  8071. procedure setCNEN16(thebits : TBits_1); inline;
  8072. procedure setCNEN17(thebits : TBits_1); inline;
  8073. procedure setCNEN18(thebits : TBits_1); inline;
  8074. procedure setCNEN19(thebits : TBits_1); inline;
  8075. procedure setCNEN2(thebits : TBits_1); inline;
  8076. procedure setCNEN20(thebits : TBits_1); inline;
  8077. procedure setCNEN21(thebits : TBits_1); inline;
  8078. procedure setCNEN3(thebits : TBits_1); inline;
  8079. procedure setCNEN4(thebits : TBits_1); inline;
  8080. procedure setCNEN5(thebits : TBits_1); inline;
  8081. procedure setCNEN6(thebits : TBits_1); inline;
  8082. procedure setCNEN7(thebits : TBits_1); inline;
  8083. procedure setCNEN8(thebits : TBits_1); inline;
  8084. procedure setCNEN9(thebits : TBits_1); inline;
  8085. procedure setw(thebits : TBits_32); inline;
  8086. public
  8087. procedure clearCNEN0; inline;
  8088. procedure clearCNEN10; inline;
  8089. procedure clearCNEN11; inline;
  8090. procedure clearCNEN12; inline;
  8091. procedure clearCNEN13; inline;
  8092. procedure clearCNEN14; inline;
  8093. procedure clearCNEN15; inline;
  8094. procedure clearCNEN16; inline;
  8095. procedure clearCNEN17; inline;
  8096. procedure clearCNEN18; inline;
  8097. procedure clearCNEN19; inline;
  8098. procedure clearCNEN1; inline;
  8099. procedure clearCNEN20; inline;
  8100. procedure clearCNEN21; inline;
  8101. procedure clearCNEN2; inline;
  8102. procedure clearCNEN3; inline;
  8103. procedure clearCNEN4; inline;
  8104. procedure clearCNEN5; inline;
  8105. procedure clearCNEN6; inline;
  8106. procedure clearCNEN7; inline;
  8107. procedure clearCNEN8; inline;
  8108. procedure clearCNEN9; inline;
  8109. procedure setCNEN0; inline;
  8110. procedure setCNEN10; inline;
  8111. procedure setCNEN11; inline;
  8112. procedure setCNEN12; inline;
  8113. procedure setCNEN13; inline;
  8114. procedure setCNEN14; inline;
  8115. procedure setCNEN15; inline;
  8116. procedure setCNEN16; inline;
  8117. procedure setCNEN17; inline;
  8118. procedure setCNEN18; inline;
  8119. procedure setCNEN19; inline;
  8120. procedure setCNEN1; inline;
  8121. procedure setCNEN20; inline;
  8122. procedure setCNEN21; inline;
  8123. procedure setCNEN2; inline;
  8124. procedure setCNEN3; inline;
  8125. procedure setCNEN4; inline;
  8126. procedure setCNEN5; inline;
  8127. procedure setCNEN6; inline;
  8128. procedure setCNEN7; inline;
  8129. procedure setCNEN8; inline;
  8130. procedure setCNEN9; inline;
  8131. property CNEN0 : TBits_1 read getCNEN0 write setCNEN0;
  8132. property CNEN1 : TBits_1 read getCNEN1 write setCNEN1;
  8133. property CNEN10 : TBits_1 read getCNEN10 write setCNEN10;
  8134. property CNEN11 : TBits_1 read getCNEN11 write setCNEN11;
  8135. property CNEN12 : TBits_1 read getCNEN12 write setCNEN12;
  8136. property CNEN13 : TBits_1 read getCNEN13 write setCNEN13;
  8137. property CNEN14 : TBits_1 read getCNEN14 write setCNEN14;
  8138. property CNEN15 : TBits_1 read getCNEN15 write setCNEN15;
  8139. property CNEN16 : TBits_1 read getCNEN16 write setCNEN16;
  8140. property CNEN17 : TBits_1 read getCNEN17 write setCNEN17;
  8141. property CNEN18 : TBits_1 read getCNEN18 write setCNEN18;
  8142. property CNEN19 : TBits_1 read getCNEN19 write setCNEN19;
  8143. property CNEN2 : TBits_1 read getCNEN2 write setCNEN2;
  8144. property CNEN20 : TBits_1 read getCNEN20 write setCNEN20;
  8145. property CNEN21 : TBits_1 read getCNEN21 write setCNEN21;
  8146. property CNEN3 : TBits_1 read getCNEN3 write setCNEN3;
  8147. property CNEN4 : TBits_1 read getCNEN4 write setCNEN4;
  8148. property CNEN5 : TBits_1 read getCNEN5 write setCNEN5;
  8149. property CNEN6 : TBits_1 read getCNEN6 write setCNEN6;
  8150. property CNEN7 : TBits_1 read getCNEN7 write setCNEN7;
  8151. property CNEN8 : TBits_1 read getCNEN8 write setCNEN8;
  8152. property CNEN9 : TBits_1 read getCNEN9 write setCNEN9;
  8153. property w : TBits_32 read getw write setw;
  8154. end;
  8155. TPORTG_CNPUE = record
  8156. private
  8157. function getCNPUE0 : TBits_1; inline;
  8158. function getCNPUE1 : TBits_1; inline;
  8159. function getCNPUE10 : TBits_1; inline;
  8160. function getCNPUE11 : TBits_1; inline;
  8161. function getCNPUE12 : TBits_1; inline;
  8162. function getCNPUE13 : TBits_1; inline;
  8163. function getCNPUE14 : TBits_1; inline;
  8164. function getCNPUE15 : TBits_1; inline;
  8165. function getCNPUE16 : TBits_1; inline;
  8166. function getCNPUE17 : TBits_1; inline;
  8167. function getCNPUE18 : TBits_1; inline;
  8168. function getCNPUE19 : TBits_1; inline;
  8169. function getCNPUE2 : TBits_1; inline;
  8170. function getCNPUE20 : TBits_1; inline;
  8171. function getCNPUE21 : TBits_1; inline;
  8172. function getCNPUE3 : TBits_1; inline;
  8173. function getCNPUE4 : TBits_1; inline;
  8174. function getCNPUE5 : TBits_1; inline;
  8175. function getCNPUE6 : TBits_1; inline;
  8176. function getCNPUE7 : TBits_1; inline;
  8177. function getCNPUE8 : TBits_1; inline;
  8178. function getCNPUE9 : TBits_1; inline;
  8179. function getw : TBits_32; inline;
  8180. procedure setCNPUE0(thebits : TBits_1); inline;
  8181. procedure setCNPUE1(thebits : TBits_1); inline;
  8182. procedure setCNPUE10(thebits : TBits_1); inline;
  8183. procedure setCNPUE11(thebits : TBits_1); inline;
  8184. procedure setCNPUE12(thebits : TBits_1); inline;
  8185. procedure setCNPUE13(thebits : TBits_1); inline;
  8186. procedure setCNPUE14(thebits : TBits_1); inline;
  8187. procedure setCNPUE15(thebits : TBits_1); inline;
  8188. procedure setCNPUE16(thebits : TBits_1); inline;
  8189. procedure setCNPUE17(thebits : TBits_1); inline;
  8190. procedure setCNPUE18(thebits : TBits_1); inline;
  8191. procedure setCNPUE19(thebits : TBits_1); inline;
  8192. procedure setCNPUE2(thebits : TBits_1); inline;
  8193. procedure setCNPUE20(thebits : TBits_1); inline;
  8194. procedure setCNPUE21(thebits : TBits_1); inline;
  8195. procedure setCNPUE3(thebits : TBits_1); inline;
  8196. procedure setCNPUE4(thebits : TBits_1); inline;
  8197. procedure setCNPUE5(thebits : TBits_1); inline;
  8198. procedure setCNPUE6(thebits : TBits_1); inline;
  8199. procedure setCNPUE7(thebits : TBits_1); inline;
  8200. procedure setCNPUE8(thebits : TBits_1); inline;
  8201. procedure setCNPUE9(thebits : TBits_1); inline;
  8202. procedure setw(thebits : TBits_32); inline;
  8203. public
  8204. procedure clearCNPUE0; inline;
  8205. procedure clearCNPUE10; inline;
  8206. procedure clearCNPUE11; inline;
  8207. procedure clearCNPUE12; inline;
  8208. procedure clearCNPUE13; inline;
  8209. procedure clearCNPUE14; inline;
  8210. procedure clearCNPUE15; inline;
  8211. procedure clearCNPUE16; inline;
  8212. procedure clearCNPUE17; inline;
  8213. procedure clearCNPUE18; inline;
  8214. procedure clearCNPUE19; inline;
  8215. procedure clearCNPUE1; inline;
  8216. procedure clearCNPUE20; inline;
  8217. procedure clearCNPUE21; inline;
  8218. procedure clearCNPUE2; inline;
  8219. procedure clearCNPUE3; inline;
  8220. procedure clearCNPUE4; inline;
  8221. procedure clearCNPUE5; inline;
  8222. procedure clearCNPUE6; inline;
  8223. procedure clearCNPUE7; inline;
  8224. procedure clearCNPUE8; inline;
  8225. procedure clearCNPUE9; inline;
  8226. procedure setCNPUE0; inline;
  8227. procedure setCNPUE10; inline;
  8228. procedure setCNPUE11; inline;
  8229. procedure setCNPUE12; inline;
  8230. procedure setCNPUE13; inline;
  8231. procedure setCNPUE14; inline;
  8232. procedure setCNPUE15; inline;
  8233. procedure setCNPUE16; inline;
  8234. procedure setCNPUE17; inline;
  8235. procedure setCNPUE18; inline;
  8236. procedure setCNPUE19; inline;
  8237. procedure setCNPUE1; inline;
  8238. procedure setCNPUE20; inline;
  8239. procedure setCNPUE21; inline;
  8240. procedure setCNPUE2; inline;
  8241. procedure setCNPUE3; inline;
  8242. procedure setCNPUE4; inline;
  8243. procedure setCNPUE5; inline;
  8244. procedure setCNPUE6; inline;
  8245. procedure setCNPUE7; inline;
  8246. procedure setCNPUE8; inline;
  8247. procedure setCNPUE9; inline;
  8248. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  8249. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  8250. property CNPUE10 : TBits_1 read getCNPUE10 write setCNPUE10;
  8251. property CNPUE11 : TBits_1 read getCNPUE11 write setCNPUE11;
  8252. property CNPUE12 : TBits_1 read getCNPUE12 write setCNPUE12;
  8253. property CNPUE13 : TBits_1 read getCNPUE13 write setCNPUE13;
  8254. property CNPUE14 : TBits_1 read getCNPUE14 write setCNPUE14;
  8255. property CNPUE15 : TBits_1 read getCNPUE15 write setCNPUE15;
  8256. property CNPUE16 : TBits_1 read getCNPUE16 write setCNPUE16;
  8257. property CNPUE17 : TBits_1 read getCNPUE17 write setCNPUE17;
  8258. property CNPUE18 : TBits_1 read getCNPUE18 write setCNPUE18;
  8259. property CNPUE19 : TBits_1 read getCNPUE19 write setCNPUE19;
  8260. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  8261. property CNPUE20 : TBits_1 read getCNPUE20 write setCNPUE20;
  8262. property CNPUE21 : TBits_1 read getCNPUE21 write setCNPUE21;
  8263. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  8264. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  8265. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  8266. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  8267. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  8268. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  8269. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  8270. property w : TBits_32 read getw write setw;
  8271. end;
  8272. type
  8273. TPORTGRegisters = record
  8274. TRISGbits : TPORTG_TRISG;
  8275. TRISG : longWord;
  8276. TRISGCLR : longWord;
  8277. TRISGSET : longWord;
  8278. TRISGINV : longWord;
  8279. PORTGbits : TPORTG_PORTG;
  8280. PORTG : longWord;
  8281. PORTGCLR : longWord;
  8282. PORTGSET : longWord;
  8283. PORTGINV : longWord;
  8284. LATGbits : TPORTG_LATG;
  8285. LATG : longWord;
  8286. LATGCLR : longWord;
  8287. LATGSET : longWord;
  8288. LATGINV : longWord;
  8289. ODCGbits : TPORTG_ODCG;
  8290. ODCG : longWord;
  8291. ODCGCLR : longWord;
  8292. ODCGSET : longWord;
  8293. ODCGINV : longWord;
  8294. CNCONbits : TPORTG_CNCON;
  8295. CNCON : longWord;
  8296. CNCONCLR : longWord;
  8297. CNCONSET : longWord;
  8298. CNCONINV : longWord;
  8299. CNENbits : TPORTG_CNEN;
  8300. CNEN : longWord;
  8301. CNENCLR : longWord;
  8302. CNENSET : longWord;
  8303. CNENINV : longWord;
  8304. CNPUEbits : TPORTG_CNPUE;
  8305. CNPUE : longWord;
  8306. CNPUECLR : longWord;
  8307. CNPUESET : longWord;
  8308. CNPUEINV : longWord;
  8309. end;
  8310. TDEVCFG_DEVCFG3 = record
  8311. private
  8312. function getUSERID : TBits_16; inline;
  8313. function getw : TBits_32; inline;
  8314. procedure setUSERID(thebits : TBits_16); inline;
  8315. procedure setw(thebits : TBits_32); inline;
  8316. public
  8317. property USERID : TBits_16 read getUSERID write setUSERID;
  8318. property w : TBits_32 read getw write setw;
  8319. end;
  8320. TDEVCFG_DEVCFG2 = record
  8321. private
  8322. function getFPLLIDIV : TBits_3; inline;
  8323. function getFPLLMUL : TBits_3; inline;
  8324. function getFPLLODIV : TBits_3; inline;
  8325. function getUPLLEN : TBits_1; inline;
  8326. function getUPLLIDIV : TBits_3; inline;
  8327. function getw : TBits_32; inline;
  8328. procedure setFPLLIDIV(thebits : TBits_3); inline;
  8329. procedure setFPLLMUL(thebits : TBits_3); inline;
  8330. procedure setFPLLODIV(thebits : TBits_3); inline;
  8331. procedure setUPLLEN(thebits : TBits_1); inline;
  8332. procedure setUPLLIDIV(thebits : TBits_3); inline;
  8333. procedure setw(thebits : TBits_32); inline;
  8334. public
  8335. procedure clearUPLLEN; inline;
  8336. procedure setUPLLEN; inline;
  8337. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  8338. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  8339. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  8340. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  8341. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  8342. property w : TBits_32 read getw write setw;
  8343. end;
  8344. TDEVCFG_DEVCFG1 = record
  8345. private
  8346. function getFCKSM : TBits_2; inline;
  8347. function getFNOSC : TBits_3; inline;
  8348. function getFPBDIV : TBits_2; inline;
  8349. function getFSOSCEN : TBits_1; inline;
  8350. function getFWDTEN : TBits_1; inline;
  8351. function getIESO : TBits_1; inline;
  8352. function getOSCIOFNC : TBits_1; inline;
  8353. function getPOSCMOD : TBits_2; inline;
  8354. function getWDTPS : TBits_5; inline;
  8355. function getw : TBits_32; inline;
  8356. procedure setFCKSM(thebits : TBits_2); inline;
  8357. procedure setFNOSC(thebits : TBits_3); inline;
  8358. procedure setFPBDIV(thebits : TBits_2); inline;
  8359. procedure setFSOSCEN(thebits : TBits_1); inline;
  8360. procedure setFWDTEN(thebits : TBits_1); inline;
  8361. procedure setIESO(thebits : TBits_1); inline;
  8362. procedure setOSCIOFNC(thebits : TBits_1); inline;
  8363. procedure setPOSCMOD(thebits : TBits_2); inline;
  8364. procedure setWDTPS(thebits : TBits_5); inline;
  8365. procedure setw(thebits : TBits_32); inline;
  8366. public
  8367. procedure clearFSOSCEN; inline;
  8368. procedure clearFWDTEN; inline;
  8369. procedure clearIESO; inline;
  8370. procedure clearOSCIOFNC; inline;
  8371. procedure setFSOSCEN; inline;
  8372. procedure setFWDTEN; inline;
  8373. procedure setIESO; inline;
  8374. procedure setOSCIOFNC; inline;
  8375. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  8376. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  8377. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  8378. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  8379. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  8380. property IESO : TBits_1 read getIESO write setIESO;
  8381. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  8382. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  8383. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  8384. property w : TBits_32 read getw write setw;
  8385. end;
  8386. TDEVCFG_DEVCFG0 = record
  8387. private
  8388. function getBWP : TBits_1; inline;
  8389. function getCP : TBits_1; inline;
  8390. function getDEBUG : TBits_2; inline;
  8391. function getFDEBUG : TBits_2; inline;
  8392. function getICESEL : TBits_1; inline;
  8393. function getPWP : TBits_8; inline;
  8394. function getw : TBits_32; inline;
  8395. procedure setBWP(thebits : TBits_1); inline;
  8396. procedure setCP(thebits : TBits_1); inline;
  8397. procedure setDEBUG(thebits : TBits_2); inline;
  8398. procedure setFDEBUG(thebits : TBits_2); inline;
  8399. procedure setICESEL(thebits : TBits_1); inline;
  8400. procedure setPWP(thebits : TBits_8); inline;
  8401. procedure setw(thebits : TBits_32); inline;
  8402. public
  8403. procedure clearBWP; inline;
  8404. procedure clearCP; inline;
  8405. procedure clearICESEL; inline;
  8406. procedure setBWP; inline;
  8407. procedure setCP; inline;
  8408. procedure setICESEL; inline;
  8409. property BWP : TBits_1 read getBWP write setBWP;
  8410. property CP : TBits_1 read getCP write setCP;
  8411. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  8412. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  8413. property ICESEL : TBits_1 read getICESEL write setICESEL;
  8414. property PWP : TBits_8 read getPWP write setPWP;
  8415. property w : TBits_32 read getw write setw;
  8416. end;
  8417. const
  8418. _CORE_TIMER_IRQ = 0;
  8419. _CORE_SOFTWARE_0_IRQ = 1;
  8420. _CORE_SOFTWARE_1_IRQ = 2;
  8421. _EXTERNAL_0_IRQ = 3;
  8422. _TIMER_1_IRQ = 4;
  8423. _INPUT_CAPTURE_1_IRQ = 5;
  8424. _OUTPUT_COMPARE_1_IRQ = 6;
  8425. _EXTERNAL_1_IRQ = 7;
  8426. _TIMER_2_IRQ = 8;
  8427. _INPUT_CAPTURE_2_IRQ = 9;
  8428. _OUTPUT_COMPARE_2_IRQ = 10;
  8429. _EXTERNAL_2_IRQ = 11;
  8430. _TIMER_3_IRQ = 12;
  8431. _INPUT_CAPTURE_3_IRQ = 13;
  8432. _OUTPUT_COMPARE_3_IRQ = 14;
  8433. _EXTERNAL_3_IRQ = 15;
  8434. _TIMER_4_IRQ = 16;
  8435. _INPUT_CAPTURE_4_IRQ = 17;
  8436. _OUTPUT_COMPARE_4_IRQ = 18;
  8437. _EXTERNAL_4_IRQ = 19;
  8438. _TIMER_5_IRQ = 20;
  8439. _INPUT_CAPTURE_5_IRQ = 21;
  8440. _OUTPUT_COMPARE_5_IRQ = 22;
  8441. _SPI1_ERR_IRQ = 23;
  8442. _SPI1_TX_IRQ = 24;
  8443. _SPI1_RX_IRQ = 25;
  8444. _UART1_ERR_IRQ = 26;
  8445. _UART1_RX_IRQ = 27;
  8446. _UART1_TX_IRQ = 28;
  8447. _I2C1_BUS_IRQ = 29;
  8448. _I2C1_SLAVE_IRQ = 30;
  8449. _I2C1_MASTER_IRQ = 31;
  8450. _CHANGE_NOTICE_IRQ = 32;
  8451. _ADC_IRQ = 33;
  8452. _PMP_IRQ = 34;
  8453. _COMPARATOR_1_IRQ = 35;
  8454. _COMPARATOR_2_IRQ = 36;
  8455. _SPI2_ERR_IRQ = 37;
  8456. _SPI2_TX_IRQ = 38;
  8457. _SPI2_RX_IRQ = 39;
  8458. _UART2_ERR_IRQ = 40;
  8459. _UART2_RX_IRQ = 41;
  8460. _UART2_TX_IRQ = 42;
  8461. _I2C2_BUS_IRQ = 43;
  8462. _I2C2_SLAVE_IRQ = 44;
  8463. _I2C2_MASTER_IRQ = 45;
  8464. _FAIL_SAFE_MONITOR_IRQ = 46;
  8465. _RTCC_IRQ = 47;
  8466. _DMA0_IRQ = 48;
  8467. _DMA1_IRQ = 49;
  8468. _DMA2_IRQ = 50;
  8469. _DMA3_IRQ = 51;
  8470. _FLASH_CONTROL_IRQ = 56;
  8471. _USB_IRQ = 57;
  8472. const
  8473. ADC10_BASE_ADDRESS = $BF809000;
  8474. var
  8475. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  8476. const
  8477. BMX_BASE_ADDRESS = $BF882000;
  8478. var
  8479. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  8480. const
  8481. CFG_BASE_ADDRESS = $BF80F200;
  8482. var
  8483. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  8484. const
  8485. CMP_BASE_ADDRESS = $BF80A000;
  8486. var
  8487. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  8488. const
  8489. CVR_BASE_ADDRESS = $BF809800;
  8490. var
  8491. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  8492. const
  8493. DMAC_BASE_ADDRESS = $BF883000;
  8494. var
  8495. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  8496. const
  8497. DMAC0_BASE_ADDRESS = $BF883060;
  8498. var
  8499. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  8500. const
  8501. DMAC1_BASE_ADDRESS = $BF883120;
  8502. var
  8503. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  8504. const
  8505. DMAC2_BASE_ADDRESS = $BF8831E0;
  8506. var
  8507. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  8508. const
  8509. DMAC3_BASE_ADDRESS = $BF8832A0;
  8510. var
  8511. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  8512. const
  8513. I2C1_BASE_ADDRESS = $BF805000;
  8514. var
  8515. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  8516. const
  8517. I2C2_BASE_ADDRESS = $BF805200;
  8518. var
  8519. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  8520. const
  8521. ICAP1_BASE_ADDRESS = $BF802000;
  8522. var
  8523. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  8524. const
  8525. ICAP2_BASE_ADDRESS = $BF802200;
  8526. var
  8527. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  8528. const
  8529. ICAP3_BASE_ADDRESS = $BF802400;
  8530. var
  8531. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  8532. const
  8533. ICAP4_BASE_ADDRESS = $BF802600;
  8534. var
  8535. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  8536. const
  8537. ICAP5_BASE_ADDRESS = $BF802800;
  8538. var
  8539. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  8540. const
  8541. INT_BASE_ADDRESS = $BF881000;
  8542. var
  8543. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  8544. const
  8545. NVM_BASE_ADDRESS = $BF80F400;
  8546. var
  8547. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  8548. const
  8549. OCMP1_BASE_ADDRESS = $BF803000;
  8550. var
  8551. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  8552. const
  8553. OCMP2_BASE_ADDRESS = $BF803200;
  8554. var
  8555. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  8556. const
  8557. OCMP3_BASE_ADDRESS = $BF803400;
  8558. var
  8559. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  8560. const
  8561. OCMP4_BASE_ADDRESS = $BF803600;
  8562. var
  8563. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  8564. const
  8565. OCMP5_BASE_ADDRESS = $BF803800;
  8566. var
  8567. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  8568. const
  8569. OSC_BASE_ADDRESS = $BF80F000;
  8570. var
  8571. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  8572. const
  8573. PCACHE_BASE_ADDRESS = $BF884000;
  8574. var
  8575. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  8576. const
  8577. PMP_BASE_ADDRESS = $BF807000;
  8578. var
  8579. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  8580. const
  8581. PORTA_BASE_ADDRESS = $BF886000;
  8582. var
  8583. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  8584. const
  8585. PORTB_BASE_ADDRESS = $BF886040;
  8586. var
  8587. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  8588. const
  8589. PORTC_BASE_ADDRESS = $BF886080;
  8590. var
  8591. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  8592. const
  8593. PORTD_BASE_ADDRESS = $BF8860C0;
  8594. var
  8595. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  8596. const
  8597. PORTE_BASE_ADDRESS = $BF886100;
  8598. var
  8599. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  8600. const
  8601. PORTF_BASE_ADDRESS = $BF886140;
  8602. var
  8603. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  8604. const
  8605. PORTG_BASE_ADDRESS = $BF886180;
  8606. var
  8607. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  8608. const
  8609. RCON_BASE_ADDRESS = $BF80F600;
  8610. var
  8611. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  8612. const
  8613. RTCC_BASE_ADDRESS = $BF800200;
  8614. var
  8615. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  8616. const
  8617. SPI1_BASE_ADDRESS = $BF805800;
  8618. var
  8619. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  8620. const
  8621. SPI2_BASE_ADDRESS = $BF805A00;
  8622. var
  8623. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  8624. const
  8625. TMR1_BASE_ADDRESS = $BF800600;
  8626. var
  8627. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  8628. const
  8629. TMR2_BASE_ADDRESS = $BF800800;
  8630. var
  8631. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  8632. const
  8633. TMR3_BASE_ADDRESS = $BF800A00;
  8634. var
  8635. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  8636. const
  8637. TMR4_BASE_ADDRESS = $BF800C00;
  8638. var
  8639. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  8640. const
  8641. TMR5_BASE_ADDRESS = $BF800E00;
  8642. var
  8643. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  8644. const
  8645. UART1_BASE_ADDRESS = $BF806000;
  8646. var
  8647. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  8648. const
  8649. UART2_BASE_ADDRESS = $BF806200;
  8650. var
  8651. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  8652. const
  8653. USB_BASE_ADDRESS = $BF885040;
  8654. var
  8655. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  8656. const
  8657. WDT_BASE_ADDRESS = $BF800000;
  8658. var
  8659. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  8660. const
  8661. _APPI_BASE_ADDRESS = $BF880190;
  8662. var
  8663. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  8664. const
  8665. _APPO_BASE_ADDRESS = $BF880180;
  8666. var
  8667. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  8668. const
  8669. _DDPSTAT_BASE_ADDRESS = $BF880140;
  8670. var
  8671. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  8672. const
  8673. _STRO_BASE_ADDRESS = $BF880170;
  8674. var
  8675. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  8676. implementation
  8677. type
  8678. TDefRegMap = record
  8679. val : longWord;
  8680. clr : longWord;
  8681. &set : longWord;
  8682. inv : longWord;
  8683. end;
  8684. pTDefRegMap = ^TDefRegMap;
  8685. procedure TWDT_WDTCON.setWDTCLR; inline;
  8686. begin
  8687. pTDefRegMap(@Self)^.&set := $00000001;
  8688. end;
  8689. procedure TWDT_WDTCON.clearWDTCLR; inline;
  8690. begin
  8691. pTDefRegMap(@Self)^.clr := $00000001;
  8692. end;
  8693. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  8694. begin
  8695. if thebits = 0 then
  8696. pTDefRegMap(@Self)^.clr := $00000001
  8697. else
  8698. pTDefRegMap(@Self)^.&set := $00000001;
  8699. end;
  8700. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  8701. begin
  8702. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  8703. end;
  8704. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  8705. begin
  8706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  8707. end;
  8708. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  8709. begin
  8710. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  8711. end;
  8712. procedure TWDT_WDTCON.setON; inline;
  8713. begin
  8714. pTDefRegMap(@Self)^.&set := $00008000;
  8715. end;
  8716. procedure TWDT_WDTCON.clearON; inline;
  8717. begin
  8718. pTDefRegMap(@Self)^.clr := $00008000;
  8719. end;
  8720. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  8721. begin
  8722. if thebits = 0 then
  8723. pTDefRegMap(@Self)^.clr := $00008000
  8724. else
  8725. pTDefRegMap(@Self)^.&set := $00008000;
  8726. end;
  8727. function TWDT_WDTCON.getON : TBits_1; inline;
  8728. begin
  8729. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8730. end;
  8731. procedure TWDT_WDTCON.setSWDTPS0; inline;
  8732. begin
  8733. pTDefRegMap(@Self)^.&set := $00000004;
  8734. end;
  8735. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  8736. begin
  8737. pTDefRegMap(@Self)^.clr := $00000004;
  8738. end;
  8739. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  8740. begin
  8741. if thebits = 0 then
  8742. pTDefRegMap(@Self)^.clr := $00000004
  8743. else
  8744. pTDefRegMap(@Self)^.&set := $00000004;
  8745. end;
  8746. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  8747. begin
  8748. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8749. end;
  8750. procedure TWDT_WDTCON.setSWDTPS1; inline;
  8751. begin
  8752. pTDefRegMap(@Self)^.&set := $00000008;
  8753. end;
  8754. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  8755. begin
  8756. pTDefRegMap(@Self)^.clr := $00000008;
  8757. end;
  8758. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  8759. begin
  8760. if thebits = 0 then
  8761. pTDefRegMap(@Self)^.clr := $00000008
  8762. else
  8763. pTDefRegMap(@Self)^.&set := $00000008;
  8764. end;
  8765. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  8766. begin
  8767. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8768. end;
  8769. procedure TWDT_WDTCON.setSWDTPS2; inline;
  8770. begin
  8771. pTDefRegMap(@Self)^.&set := $00000010;
  8772. end;
  8773. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  8774. begin
  8775. pTDefRegMap(@Self)^.clr := $00000010;
  8776. end;
  8777. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  8778. begin
  8779. if thebits = 0 then
  8780. pTDefRegMap(@Self)^.clr := $00000010
  8781. else
  8782. pTDefRegMap(@Self)^.&set := $00000010;
  8783. end;
  8784. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  8785. begin
  8786. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8787. end;
  8788. procedure TWDT_WDTCON.setSWDTPS3; inline;
  8789. begin
  8790. pTDefRegMap(@Self)^.&set := $00000020;
  8791. end;
  8792. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  8793. begin
  8794. pTDefRegMap(@Self)^.clr := $00000020;
  8795. end;
  8796. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  8797. begin
  8798. if thebits = 0 then
  8799. pTDefRegMap(@Self)^.clr := $00000020
  8800. else
  8801. pTDefRegMap(@Self)^.&set := $00000020;
  8802. end;
  8803. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  8804. begin
  8805. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8806. end;
  8807. procedure TWDT_WDTCON.setSWDTPS4; inline;
  8808. begin
  8809. pTDefRegMap(@Self)^.&set := $00000040;
  8810. end;
  8811. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  8812. begin
  8813. pTDefRegMap(@Self)^.clr := $00000040;
  8814. end;
  8815. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  8816. begin
  8817. if thebits = 0 then
  8818. pTDefRegMap(@Self)^.clr := $00000040
  8819. else
  8820. pTDefRegMap(@Self)^.&set := $00000040;
  8821. end;
  8822. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  8823. begin
  8824. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8825. end;
  8826. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  8827. begin
  8828. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  8829. end;
  8830. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  8831. begin
  8832. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  8833. end;
  8834. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  8835. begin
  8836. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  8837. end;
  8838. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  8839. begin
  8840. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  8841. end;
  8842. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  8843. begin
  8844. pTDefRegMap(@Self)^.val := thebits;
  8845. end;
  8846. function TWDT_WDTCON.getw : TBits_32; inline;
  8847. begin
  8848. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8849. end;
  8850. procedure TRTCC_RTCCON.setRTCOE; inline;
  8851. begin
  8852. pTDefRegMap(@Self)^.&set := $00000001;
  8853. end;
  8854. procedure TRTCC_RTCCON.clearRTCOE; inline;
  8855. begin
  8856. pTDefRegMap(@Self)^.clr := $00000001;
  8857. end;
  8858. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  8859. begin
  8860. if thebits = 0 then
  8861. pTDefRegMap(@Self)^.clr := $00000001
  8862. else
  8863. pTDefRegMap(@Self)^.&set := $00000001;
  8864. end;
  8865. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  8866. begin
  8867. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  8868. end;
  8869. procedure TRTCC_RTCCON.setHALFSEC; inline;
  8870. begin
  8871. pTDefRegMap(@Self)^.&set := $00000002;
  8872. end;
  8873. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  8874. begin
  8875. pTDefRegMap(@Self)^.clr := $00000002;
  8876. end;
  8877. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  8878. begin
  8879. if thebits = 0 then
  8880. pTDefRegMap(@Self)^.clr := $00000002
  8881. else
  8882. pTDefRegMap(@Self)^.&set := $00000002;
  8883. end;
  8884. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  8885. begin
  8886. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8887. end;
  8888. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  8889. begin
  8890. pTDefRegMap(@Self)^.&set := $00000004;
  8891. end;
  8892. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  8893. begin
  8894. pTDefRegMap(@Self)^.clr := $00000004;
  8895. end;
  8896. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  8897. begin
  8898. if thebits = 0 then
  8899. pTDefRegMap(@Self)^.clr := $00000004
  8900. else
  8901. pTDefRegMap(@Self)^.&set := $00000004;
  8902. end;
  8903. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  8904. begin
  8905. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8906. end;
  8907. procedure TRTCC_RTCCON.setRTCWREN; inline;
  8908. begin
  8909. pTDefRegMap(@Self)^.&set := $00000008;
  8910. end;
  8911. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  8912. begin
  8913. pTDefRegMap(@Self)^.clr := $00000008;
  8914. end;
  8915. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  8916. begin
  8917. if thebits = 0 then
  8918. pTDefRegMap(@Self)^.clr := $00000008
  8919. else
  8920. pTDefRegMap(@Self)^.&set := $00000008;
  8921. end;
  8922. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  8923. begin
  8924. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8925. end;
  8926. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  8927. begin
  8928. pTDefRegMap(@Self)^.&set := $00000040;
  8929. end;
  8930. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  8931. begin
  8932. pTDefRegMap(@Self)^.clr := $00000040;
  8933. end;
  8934. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  8935. begin
  8936. if thebits = 0 then
  8937. pTDefRegMap(@Self)^.clr := $00000040
  8938. else
  8939. pTDefRegMap(@Self)^.&set := $00000040;
  8940. end;
  8941. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  8942. begin
  8943. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8944. end;
  8945. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  8946. begin
  8947. pTDefRegMap(@Self)^.&set := $00000080;
  8948. end;
  8949. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  8950. begin
  8951. pTDefRegMap(@Self)^.clr := $00000080;
  8952. end;
  8953. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  8954. begin
  8955. if thebits = 0 then
  8956. pTDefRegMap(@Self)^.clr := $00000080
  8957. else
  8958. pTDefRegMap(@Self)^.&set := $00000080;
  8959. end;
  8960. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  8961. begin
  8962. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8963. end;
  8964. procedure TRTCC_RTCCON.setSIDL; inline;
  8965. begin
  8966. pTDefRegMap(@Self)^.&set := $00002000;
  8967. end;
  8968. procedure TRTCC_RTCCON.clearSIDL; inline;
  8969. begin
  8970. pTDefRegMap(@Self)^.clr := $00002000;
  8971. end;
  8972. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  8973. begin
  8974. if thebits = 0 then
  8975. pTDefRegMap(@Self)^.clr := $00002000
  8976. else
  8977. pTDefRegMap(@Self)^.&set := $00002000;
  8978. end;
  8979. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  8980. begin
  8981. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8982. end;
  8983. procedure TRTCC_RTCCON.setON; inline;
  8984. begin
  8985. pTDefRegMap(@Self)^.&set := $00008000;
  8986. end;
  8987. procedure TRTCC_RTCCON.clearON; inline;
  8988. begin
  8989. pTDefRegMap(@Self)^.clr := $00008000;
  8990. end;
  8991. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  8992. begin
  8993. if thebits = 0 then
  8994. pTDefRegMap(@Self)^.clr := $00008000
  8995. else
  8996. pTDefRegMap(@Self)^.&set := $00008000;
  8997. end;
  8998. function TRTCC_RTCCON.getON : TBits_1; inline;
  8999. begin
  9000. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9001. end;
  9002. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  9003. begin
  9004. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  9005. end;
  9006. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  9007. begin
  9008. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  9009. end;
  9010. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  9011. begin
  9012. pTDefRegMap(@Self)^.val := thebits;
  9013. end;
  9014. function TRTCC_RTCCON.getw : TBits_32; inline;
  9015. begin
  9016. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9017. end;
  9018. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  9019. begin
  9020. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  9021. end;
  9022. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  9023. begin
  9024. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  9025. end;
  9026. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  9027. begin
  9028. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  9029. end;
  9030. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  9031. begin
  9032. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  9033. end;
  9034. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  9035. begin
  9036. pTDefRegMap(@Self)^.&set := $00001000;
  9037. end;
  9038. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  9039. begin
  9040. pTDefRegMap(@Self)^.clr := $00001000;
  9041. end;
  9042. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  9043. begin
  9044. if thebits = 0 then
  9045. pTDefRegMap(@Self)^.clr := $00001000
  9046. else
  9047. pTDefRegMap(@Self)^.&set := $00001000;
  9048. end;
  9049. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  9050. begin
  9051. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  9052. end;
  9053. procedure TRTCC_RTCALRM.setPIV; inline;
  9054. begin
  9055. pTDefRegMap(@Self)^.&set := $00002000;
  9056. end;
  9057. procedure TRTCC_RTCALRM.clearPIV; inline;
  9058. begin
  9059. pTDefRegMap(@Self)^.clr := $00002000;
  9060. end;
  9061. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  9062. begin
  9063. if thebits = 0 then
  9064. pTDefRegMap(@Self)^.clr := $00002000
  9065. else
  9066. pTDefRegMap(@Self)^.&set := $00002000;
  9067. end;
  9068. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  9069. begin
  9070. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9071. end;
  9072. procedure TRTCC_RTCALRM.setCHIME; inline;
  9073. begin
  9074. pTDefRegMap(@Self)^.&set := $00004000;
  9075. end;
  9076. procedure TRTCC_RTCALRM.clearCHIME; inline;
  9077. begin
  9078. pTDefRegMap(@Self)^.clr := $00004000;
  9079. end;
  9080. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  9081. begin
  9082. if thebits = 0 then
  9083. pTDefRegMap(@Self)^.clr := $00004000
  9084. else
  9085. pTDefRegMap(@Self)^.&set := $00004000;
  9086. end;
  9087. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  9088. begin
  9089. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  9090. end;
  9091. procedure TRTCC_RTCALRM.setALRMEN; inline;
  9092. begin
  9093. pTDefRegMap(@Self)^.&set := $00008000;
  9094. end;
  9095. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  9096. begin
  9097. pTDefRegMap(@Self)^.clr := $00008000;
  9098. end;
  9099. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  9100. begin
  9101. if thebits = 0 then
  9102. pTDefRegMap(@Self)^.clr := $00008000
  9103. else
  9104. pTDefRegMap(@Self)^.&set := $00008000;
  9105. end;
  9106. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  9107. begin
  9108. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9109. end;
  9110. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  9111. begin
  9112. pTDefRegMap(@Self)^.val := thebits;
  9113. end;
  9114. function TRTCC_RTCALRM.getw : TBits_32; inline;
  9115. begin
  9116. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9117. end;
  9118. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  9119. begin
  9120. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  9121. end;
  9122. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  9123. begin
  9124. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  9125. end;
  9126. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  9127. begin
  9128. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  9129. end;
  9130. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  9131. begin
  9132. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  9133. end;
  9134. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  9135. begin
  9136. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  9137. end;
  9138. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  9139. begin
  9140. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  9141. end;
  9142. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  9143. begin
  9144. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  9145. end;
  9146. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  9147. begin
  9148. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  9149. end;
  9150. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  9151. begin
  9152. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  9153. end;
  9154. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  9155. begin
  9156. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  9157. end;
  9158. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  9159. begin
  9160. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  9161. end;
  9162. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  9163. begin
  9164. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  9165. end;
  9166. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  9167. begin
  9168. pTDefRegMap(@Self)^.val := thebits;
  9169. end;
  9170. function TRTCC_RTCTIME.getw : TBits_32; inline;
  9171. begin
  9172. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9173. end;
  9174. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  9175. begin
  9176. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  9177. end;
  9178. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  9179. begin
  9180. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  9181. end;
  9182. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  9183. begin
  9184. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  9185. end;
  9186. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  9187. begin
  9188. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  9189. end;
  9190. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  9191. begin
  9192. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  9193. end;
  9194. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  9195. begin
  9196. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  9197. end;
  9198. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  9199. begin
  9200. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  9201. end;
  9202. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  9203. begin
  9204. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  9205. end;
  9206. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  9207. begin
  9208. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  9209. end;
  9210. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  9211. begin
  9212. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  9213. end;
  9214. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  9215. begin
  9216. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  9217. end;
  9218. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  9219. begin
  9220. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  9221. end;
  9222. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  9223. begin
  9224. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  9225. end;
  9226. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  9227. begin
  9228. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  9229. end;
  9230. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  9231. begin
  9232. pTDefRegMap(@Self)^.val := thebits;
  9233. end;
  9234. function TRTCC_RTCDATE.getw : TBits_32; inline;
  9235. begin
  9236. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9237. end;
  9238. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  9239. begin
  9240. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  9241. end;
  9242. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  9243. begin
  9244. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  9245. end;
  9246. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  9247. begin
  9248. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  9249. end;
  9250. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  9251. begin
  9252. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  9253. end;
  9254. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  9255. begin
  9256. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  9257. end;
  9258. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  9259. begin
  9260. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  9261. end;
  9262. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  9263. begin
  9264. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  9265. end;
  9266. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  9267. begin
  9268. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  9269. end;
  9270. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  9271. begin
  9272. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  9273. end;
  9274. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  9275. begin
  9276. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  9277. end;
  9278. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  9279. begin
  9280. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  9281. end;
  9282. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  9283. begin
  9284. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  9285. end;
  9286. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  9287. begin
  9288. pTDefRegMap(@Self)^.val := thebits;
  9289. end;
  9290. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  9291. begin
  9292. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9293. end;
  9294. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  9295. begin
  9296. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  9297. end;
  9298. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  9299. begin
  9300. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  9301. end;
  9302. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  9303. begin
  9304. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  9305. end;
  9306. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  9307. begin
  9308. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  9309. end;
  9310. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  9311. begin
  9312. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  9313. end;
  9314. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  9315. begin
  9316. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  9317. end;
  9318. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  9319. begin
  9320. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  9321. end;
  9322. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  9323. begin
  9324. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  9325. end;
  9326. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  9327. begin
  9328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  9329. end;
  9330. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  9331. begin
  9332. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  9333. end;
  9334. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  9335. begin
  9336. pTDefRegMap(@Self)^.val := thebits;
  9337. end;
  9338. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  9339. begin
  9340. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9341. end;
  9342. procedure TTMR1_T1CON.setTCS; inline;
  9343. begin
  9344. pTDefRegMap(@Self)^.&set := $00000002;
  9345. end;
  9346. procedure TTMR1_T1CON.clearTCS; inline;
  9347. begin
  9348. pTDefRegMap(@Self)^.clr := $00000002;
  9349. end;
  9350. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  9351. begin
  9352. if thebits = 0 then
  9353. pTDefRegMap(@Self)^.clr := $00000002
  9354. else
  9355. pTDefRegMap(@Self)^.&set := $00000002;
  9356. end;
  9357. function TTMR1_T1CON.getTCS : TBits_1; inline;
  9358. begin
  9359. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9360. end;
  9361. procedure TTMR1_T1CON.setTSYNC; inline;
  9362. begin
  9363. pTDefRegMap(@Self)^.&set := $00000004;
  9364. end;
  9365. procedure TTMR1_T1CON.clearTSYNC; inline;
  9366. begin
  9367. pTDefRegMap(@Self)^.clr := $00000004;
  9368. end;
  9369. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  9370. begin
  9371. if thebits = 0 then
  9372. pTDefRegMap(@Self)^.clr := $00000004
  9373. else
  9374. pTDefRegMap(@Self)^.&set := $00000004;
  9375. end;
  9376. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  9377. begin
  9378. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9379. end;
  9380. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  9381. begin
  9382. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  9383. end;
  9384. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  9385. begin
  9386. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  9387. end;
  9388. procedure TTMR1_T1CON.setTGATE; inline;
  9389. begin
  9390. pTDefRegMap(@Self)^.&set := $00000080;
  9391. end;
  9392. procedure TTMR1_T1CON.clearTGATE; inline;
  9393. begin
  9394. pTDefRegMap(@Self)^.clr := $00000080;
  9395. end;
  9396. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  9397. begin
  9398. if thebits = 0 then
  9399. pTDefRegMap(@Self)^.clr := $00000080
  9400. else
  9401. pTDefRegMap(@Self)^.&set := $00000080;
  9402. end;
  9403. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  9404. begin
  9405. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9406. end;
  9407. procedure TTMR1_T1CON.setTWIP; inline;
  9408. begin
  9409. pTDefRegMap(@Self)^.&set := $00000800;
  9410. end;
  9411. procedure TTMR1_T1CON.clearTWIP; inline;
  9412. begin
  9413. pTDefRegMap(@Self)^.clr := $00000800;
  9414. end;
  9415. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  9416. begin
  9417. if thebits = 0 then
  9418. pTDefRegMap(@Self)^.clr := $00000800
  9419. else
  9420. pTDefRegMap(@Self)^.&set := $00000800;
  9421. end;
  9422. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  9423. begin
  9424. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  9425. end;
  9426. procedure TTMR1_T1CON.setTWDIS; inline;
  9427. begin
  9428. pTDefRegMap(@Self)^.&set := $00001000;
  9429. end;
  9430. procedure TTMR1_T1CON.clearTWDIS; inline;
  9431. begin
  9432. pTDefRegMap(@Self)^.clr := $00001000;
  9433. end;
  9434. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  9435. begin
  9436. if thebits = 0 then
  9437. pTDefRegMap(@Self)^.clr := $00001000
  9438. else
  9439. pTDefRegMap(@Self)^.&set := $00001000;
  9440. end;
  9441. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  9442. begin
  9443. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  9444. end;
  9445. procedure TTMR1_T1CON.setSIDL; inline;
  9446. begin
  9447. pTDefRegMap(@Self)^.&set := $00002000;
  9448. end;
  9449. procedure TTMR1_T1CON.clearSIDL; inline;
  9450. begin
  9451. pTDefRegMap(@Self)^.clr := $00002000;
  9452. end;
  9453. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  9454. begin
  9455. if thebits = 0 then
  9456. pTDefRegMap(@Self)^.clr := $00002000
  9457. else
  9458. pTDefRegMap(@Self)^.&set := $00002000;
  9459. end;
  9460. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  9461. begin
  9462. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9463. end;
  9464. procedure TTMR1_T1CON.setON; inline;
  9465. begin
  9466. pTDefRegMap(@Self)^.&set := $00008000;
  9467. end;
  9468. procedure TTMR1_T1CON.clearON; inline;
  9469. begin
  9470. pTDefRegMap(@Self)^.clr := $00008000;
  9471. end;
  9472. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  9473. begin
  9474. if thebits = 0 then
  9475. pTDefRegMap(@Self)^.clr := $00008000
  9476. else
  9477. pTDefRegMap(@Self)^.&set := $00008000;
  9478. end;
  9479. function TTMR1_T1CON.getON : TBits_1; inline;
  9480. begin
  9481. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9482. end;
  9483. procedure TTMR1_T1CON.setTCKPS0; inline;
  9484. begin
  9485. pTDefRegMap(@Self)^.&set := $00000010;
  9486. end;
  9487. procedure TTMR1_T1CON.clearTCKPS0; inline;
  9488. begin
  9489. pTDefRegMap(@Self)^.clr := $00000010;
  9490. end;
  9491. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  9492. begin
  9493. if thebits = 0 then
  9494. pTDefRegMap(@Self)^.clr := $00000010
  9495. else
  9496. pTDefRegMap(@Self)^.&set := $00000010;
  9497. end;
  9498. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  9499. begin
  9500. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9501. end;
  9502. procedure TTMR1_T1CON.setTCKPS1; inline;
  9503. begin
  9504. pTDefRegMap(@Self)^.&set := $00000020;
  9505. end;
  9506. procedure TTMR1_T1CON.clearTCKPS1; inline;
  9507. begin
  9508. pTDefRegMap(@Self)^.clr := $00000020;
  9509. end;
  9510. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  9511. begin
  9512. if thebits = 0 then
  9513. pTDefRegMap(@Self)^.clr := $00000020
  9514. else
  9515. pTDefRegMap(@Self)^.&set := $00000020;
  9516. end;
  9517. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  9518. begin
  9519. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9520. end;
  9521. procedure TTMR1_T1CON.setTSIDL; inline;
  9522. begin
  9523. pTDefRegMap(@Self)^.&set := $00002000;
  9524. end;
  9525. procedure TTMR1_T1CON.clearTSIDL; inline;
  9526. begin
  9527. pTDefRegMap(@Self)^.clr := $00002000;
  9528. end;
  9529. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  9530. begin
  9531. if thebits = 0 then
  9532. pTDefRegMap(@Self)^.clr := $00002000
  9533. else
  9534. pTDefRegMap(@Self)^.&set := $00002000;
  9535. end;
  9536. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  9537. begin
  9538. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9539. end;
  9540. procedure TTMR1_T1CON.setTON; inline;
  9541. begin
  9542. pTDefRegMap(@Self)^.&set := $00008000;
  9543. end;
  9544. procedure TTMR1_T1CON.clearTON; inline;
  9545. begin
  9546. pTDefRegMap(@Self)^.clr := $00008000;
  9547. end;
  9548. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  9549. begin
  9550. if thebits = 0 then
  9551. pTDefRegMap(@Self)^.clr := $00008000
  9552. else
  9553. pTDefRegMap(@Self)^.&set := $00008000;
  9554. end;
  9555. function TTMR1_T1CON.getTON : TBits_1; inline;
  9556. begin
  9557. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9558. end;
  9559. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  9560. begin
  9561. pTDefRegMap(@Self)^.val := thebits;
  9562. end;
  9563. function TTMR1_T1CON.getw : TBits_32; inline;
  9564. begin
  9565. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9566. end;
  9567. procedure TTMR2_T2CON.setTCS; inline;
  9568. begin
  9569. pTDefRegMap(@Self)^.&set := $00000002;
  9570. end;
  9571. procedure TTMR2_T2CON.clearTCS; inline;
  9572. begin
  9573. pTDefRegMap(@Self)^.clr := $00000002;
  9574. end;
  9575. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  9576. begin
  9577. if thebits = 0 then
  9578. pTDefRegMap(@Self)^.clr := $00000002
  9579. else
  9580. pTDefRegMap(@Self)^.&set := $00000002;
  9581. end;
  9582. function TTMR2_T2CON.getTCS : TBits_1; inline;
  9583. begin
  9584. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9585. end;
  9586. procedure TTMR2_T2CON.setT32; inline;
  9587. begin
  9588. pTDefRegMap(@Self)^.&set := $00000008;
  9589. end;
  9590. procedure TTMR2_T2CON.clearT32; inline;
  9591. begin
  9592. pTDefRegMap(@Self)^.clr := $00000008;
  9593. end;
  9594. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  9595. begin
  9596. if thebits = 0 then
  9597. pTDefRegMap(@Self)^.clr := $00000008
  9598. else
  9599. pTDefRegMap(@Self)^.&set := $00000008;
  9600. end;
  9601. function TTMR2_T2CON.getT32 : TBits_1; inline;
  9602. begin
  9603. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9604. end;
  9605. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  9606. begin
  9607. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  9608. end;
  9609. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  9610. begin
  9611. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  9612. end;
  9613. procedure TTMR2_T2CON.setTGATE; inline;
  9614. begin
  9615. pTDefRegMap(@Self)^.&set := $00000080;
  9616. end;
  9617. procedure TTMR2_T2CON.clearTGATE; inline;
  9618. begin
  9619. pTDefRegMap(@Self)^.clr := $00000080;
  9620. end;
  9621. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  9622. begin
  9623. if thebits = 0 then
  9624. pTDefRegMap(@Self)^.clr := $00000080
  9625. else
  9626. pTDefRegMap(@Self)^.&set := $00000080;
  9627. end;
  9628. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  9629. begin
  9630. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9631. end;
  9632. procedure TTMR2_T2CON.setSIDL; inline;
  9633. begin
  9634. pTDefRegMap(@Self)^.&set := $00002000;
  9635. end;
  9636. procedure TTMR2_T2CON.clearSIDL; inline;
  9637. begin
  9638. pTDefRegMap(@Self)^.clr := $00002000;
  9639. end;
  9640. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  9641. begin
  9642. if thebits = 0 then
  9643. pTDefRegMap(@Self)^.clr := $00002000
  9644. else
  9645. pTDefRegMap(@Self)^.&set := $00002000;
  9646. end;
  9647. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  9648. begin
  9649. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9650. end;
  9651. procedure TTMR2_T2CON.setON; inline;
  9652. begin
  9653. pTDefRegMap(@Self)^.&set := $00008000;
  9654. end;
  9655. procedure TTMR2_T2CON.clearON; inline;
  9656. begin
  9657. pTDefRegMap(@Self)^.clr := $00008000;
  9658. end;
  9659. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  9660. begin
  9661. if thebits = 0 then
  9662. pTDefRegMap(@Self)^.clr := $00008000
  9663. else
  9664. pTDefRegMap(@Self)^.&set := $00008000;
  9665. end;
  9666. function TTMR2_T2CON.getON : TBits_1; inline;
  9667. begin
  9668. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9669. end;
  9670. procedure TTMR2_T2CON.setTCKPS0; inline;
  9671. begin
  9672. pTDefRegMap(@Self)^.&set := $00000010;
  9673. end;
  9674. procedure TTMR2_T2CON.clearTCKPS0; inline;
  9675. begin
  9676. pTDefRegMap(@Self)^.clr := $00000010;
  9677. end;
  9678. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  9679. begin
  9680. if thebits = 0 then
  9681. pTDefRegMap(@Self)^.clr := $00000010
  9682. else
  9683. pTDefRegMap(@Self)^.&set := $00000010;
  9684. end;
  9685. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  9686. begin
  9687. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9688. end;
  9689. procedure TTMR2_T2CON.setTCKPS1; inline;
  9690. begin
  9691. pTDefRegMap(@Self)^.&set := $00000020;
  9692. end;
  9693. procedure TTMR2_T2CON.clearTCKPS1; inline;
  9694. begin
  9695. pTDefRegMap(@Self)^.clr := $00000020;
  9696. end;
  9697. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  9698. begin
  9699. if thebits = 0 then
  9700. pTDefRegMap(@Self)^.clr := $00000020
  9701. else
  9702. pTDefRegMap(@Self)^.&set := $00000020;
  9703. end;
  9704. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  9705. begin
  9706. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9707. end;
  9708. procedure TTMR2_T2CON.setTCKPS2; inline;
  9709. begin
  9710. pTDefRegMap(@Self)^.&set := $00000040;
  9711. end;
  9712. procedure TTMR2_T2CON.clearTCKPS2; inline;
  9713. begin
  9714. pTDefRegMap(@Self)^.clr := $00000040;
  9715. end;
  9716. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  9717. begin
  9718. if thebits = 0 then
  9719. pTDefRegMap(@Self)^.clr := $00000040
  9720. else
  9721. pTDefRegMap(@Self)^.&set := $00000040;
  9722. end;
  9723. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  9724. begin
  9725. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9726. end;
  9727. procedure TTMR2_T2CON.setTSIDL; inline;
  9728. begin
  9729. pTDefRegMap(@Self)^.&set := $00002000;
  9730. end;
  9731. procedure TTMR2_T2CON.clearTSIDL; inline;
  9732. begin
  9733. pTDefRegMap(@Self)^.clr := $00002000;
  9734. end;
  9735. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  9736. begin
  9737. if thebits = 0 then
  9738. pTDefRegMap(@Self)^.clr := $00002000
  9739. else
  9740. pTDefRegMap(@Self)^.&set := $00002000;
  9741. end;
  9742. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  9743. begin
  9744. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9745. end;
  9746. procedure TTMR2_T2CON.setTON; inline;
  9747. begin
  9748. pTDefRegMap(@Self)^.&set := $00008000;
  9749. end;
  9750. procedure TTMR2_T2CON.clearTON; inline;
  9751. begin
  9752. pTDefRegMap(@Self)^.clr := $00008000;
  9753. end;
  9754. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  9755. begin
  9756. if thebits = 0 then
  9757. pTDefRegMap(@Self)^.clr := $00008000
  9758. else
  9759. pTDefRegMap(@Self)^.&set := $00008000;
  9760. end;
  9761. function TTMR2_T2CON.getTON : TBits_1; inline;
  9762. begin
  9763. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9764. end;
  9765. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  9766. begin
  9767. pTDefRegMap(@Self)^.val := thebits;
  9768. end;
  9769. function TTMR2_T2CON.getw : TBits_32; inline;
  9770. begin
  9771. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9772. end;
  9773. procedure TTMR3_T3CON.setTCS; inline;
  9774. begin
  9775. pTDefRegMap(@Self)^.&set := $00000002;
  9776. end;
  9777. procedure TTMR3_T3CON.clearTCS; inline;
  9778. begin
  9779. pTDefRegMap(@Self)^.clr := $00000002;
  9780. end;
  9781. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  9782. begin
  9783. if thebits = 0 then
  9784. pTDefRegMap(@Self)^.clr := $00000002
  9785. else
  9786. pTDefRegMap(@Self)^.&set := $00000002;
  9787. end;
  9788. function TTMR3_T3CON.getTCS : TBits_1; inline;
  9789. begin
  9790. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9791. end;
  9792. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  9793. begin
  9794. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  9795. end;
  9796. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  9797. begin
  9798. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  9799. end;
  9800. procedure TTMR3_T3CON.setTGATE; inline;
  9801. begin
  9802. pTDefRegMap(@Self)^.&set := $00000080;
  9803. end;
  9804. procedure TTMR3_T3CON.clearTGATE; inline;
  9805. begin
  9806. pTDefRegMap(@Self)^.clr := $00000080;
  9807. end;
  9808. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  9809. begin
  9810. if thebits = 0 then
  9811. pTDefRegMap(@Self)^.clr := $00000080
  9812. else
  9813. pTDefRegMap(@Self)^.&set := $00000080;
  9814. end;
  9815. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  9816. begin
  9817. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9818. end;
  9819. procedure TTMR3_T3CON.setSIDL; inline;
  9820. begin
  9821. pTDefRegMap(@Self)^.&set := $00002000;
  9822. end;
  9823. procedure TTMR3_T3CON.clearSIDL; inline;
  9824. begin
  9825. pTDefRegMap(@Self)^.clr := $00002000;
  9826. end;
  9827. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  9828. begin
  9829. if thebits = 0 then
  9830. pTDefRegMap(@Self)^.clr := $00002000
  9831. else
  9832. pTDefRegMap(@Self)^.&set := $00002000;
  9833. end;
  9834. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  9835. begin
  9836. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9837. end;
  9838. procedure TTMR3_T3CON.setON; inline;
  9839. begin
  9840. pTDefRegMap(@Self)^.&set := $00008000;
  9841. end;
  9842. procedure TTMR3_T3CON.clearON; inline;
  9843. begin
  9844. pTDefRegMap(@Self)^.clr := $00008000;
  9845. end;
  9846. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  9847. begin
  9848. if thebits = 0 then
  9849. pTDefRegMap(@Self)^.clr := $00008000
  9850. else
  9851. pTDefRegMap(@Self)^.&set := $00008000;
  9852. end;
  9853. function TTMR3_T3CON.getON : TBits_1; inline;
  9854. begin
  9855. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9856. end;
  9857. procedure TTMR3_T3CON.setTCKPS0; inline;
  9858. begin
  9859. pTDefRegMap(@Self)^.&set := $00000010;
  9860. end;
  9861. procedure TTMR3_T3CON.clearTCKPS0; inline;
  9862. begin
  9863. pTDefRegMap(@Self)^.clr := $00000010;
  9864. end;
  9865. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  9866. begin
  9867. if thebits = 0 then
  9868. pTDefRegMap(@Self)^.clr := $00000010
  9869. else
  9870. pTDefRegMap(@Self)^.&set := $00000010;
  9871. end;
  9872. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  9873. begin
  9874. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9875. end;
  9876. procedure TTMR3_T3CON.setTCKPS1; inline;
  9877. begin
  9878. pTDefRegMap(@Self)^.&set := $00000020;
  9879. end;
  9880. procedure TTMR3_T3CON.clearTCKPS1; inline;
  9881. begin
  9882. pTDefRegMap(@Self)^.clr := $00000020;
  9883. end;
  9884. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  9885. begin
  9886. if thebits = 0 then
  9887. pTDefRegMap(@Self)^.clr := $00000020
  9888. else
  9889. pTDefRegMap(@Self)^.&set := $00000020;
  9890. end;
  9891. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  9892. begin
  9893. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9894. end;
  9895. procedure TTMR3_T3CON.setTCKPS2; inline;
  9896. begin
  9897. pTDefRegMap(@Self)^.&set := $00000040;
  9898. end;
  9899. procedure TTMR3_T3CON.clearTCKPS2; inline;
  9900. begin
  9901. pTDefRegMap(@Self)^.clr := $00000040;
  9902. end;
  9903. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  9904. begin
  9905. if thebits = 0 then
  9906. pTDefRegMap(@Self)^.clr := $00000040
  9907. else
  9908. pTDefRegMap(@Self)^.&set := $00000040;
  9909. end;
  9910. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  9911. begin
  9912. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9913. end;
  9914. procedure TTMR3_T3CON.setTSIDL; inline;
  9915. begin
  9916. pTDefRegMap(@Self)^.&set := $00002000;
  9917. end;
  9918. procedure TTMR3_T3CON.clearTSIDL; inline;
  9919. begin
  9920. pTDefRegMap(@Self)^.clr := $00002000;
  9921. end;
  9922. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  9923. begin
  9924. if thebits = 0 then
  9925. pTDefRegMap(@Self)^.clr := $00002000
  9926. else
  9927. pTDefRegMap(@Self)^.&set := $00002000;
  9928. end;
  9929. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  9930. begin
  9931. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9932. end;
  9933. procedure TTMR3_T3CON.setTON; inline;
  9934. begin
  9935. pTDefRegMap(@Self)^.&set := $00008000;
  9936. end;
  9937. procedure TTMR3_T3CON.clearTON; inline;
  9938. begin
  9939. pTDefRegMap(@Self)^.clr := $00008000;
  9940. end;
  9941. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  9942. begin
  9943. if thebits = 0 then
  9944. pTDefRegMap(@Self)^.clr := $00008000
  9945. else
  9946. pTDefRegMap(@Self)^.&set := $00008000;
  9947. end;
  9948. function TTMR3_T3CON.getTON : TBits_1; inline;
  9949. begin
  9950. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9951. end;
  9952. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  9953. begin
  9954. pTDefRegMap(@Self)^.val := thebits;
  9955. end;
  9956. function TTMR3_T3CON.getw : TBits_32; inline;
  9957. begin
  9958. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9959. end;
  9960. procedure TTMR4_T4CON.setTCS; inline;
  9961. begin
  9962. pTDefRegMap(@Self)^.&set := $00000002;
  9963. end;
  9964. procedure TTMR4_T4CON.clearTCS; inline;
  9965. begin
  9966. pTDefRegMap(@Self)^.clr := $00000002;
  9967. end;
  9968. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  9969. begin
  9970. if thebits = 0 then
  9971. pTDefRegMap(@Self)^.clr := $00000002
  9972. else
  9973. pTDefRegMap(@Self)^.&set := $00000002;
  9974. end;
  9975. function TTMR4_T4CON.getTCS : TBits_1; inline;
  9976. begin
  9977. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9978. end;
  9979. procedure TTMR4_T4CON.setT32; inline;
  9980. begin
  9981. pTDefRegMap(@Self)^.&set := $00000008;
  9982. end;
  9983. procedure TTMR4_T4CON.clearT32; inline;
  9984. begin
  9985. pTDefRegMap(@Self)^.clr := $00000008;
  9986. end;
  9987. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  9988. begin
  9989. if thebits = 0 then
  9990. pTDefRegMap(@Self)^.clr := $00000008
  9991. else
  9992. pTDefRegMap(@Self)^.&set := $00000008;
  9993. end;
  9994. function TTMR4_T4CON.getT32 : TBits_1; inline;
  9995. begin
  9996. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9997. end;
  9998. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  9999. begin
  10000. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10001. end;
  10002. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  10003. begin
  10004. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10005. end;
  10006. procedure TTMR4_T4CON.setTGATE; inline;
  10007. begin
  10008. pTDefRegMap(@Self)^.&set := $00000080;
  10009. end;
  10010. procedure TTMR4_T4CON.clearTGATE; inline;
  10011. begin
  10012. pTDefRegMap(@Self)^.clr := $00000080;
  10013. end;
  10014. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  10015. begin
  10016. if thebits = 0 then
  10017. pTDefRegMap(@Self)^.clr := $00000080
  10018. else
  10019. pTDefRegMap(@Self)^.&set := $00000080;
  10020. end;
  10021. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  10022. begin
  10023. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10024. end;
  10025. procedure TTMR4_T4CON.setSIDL; inline;
  10026. begin
  10027. pTDefRegMap(@Self)^.&set := $00002000;
  10028. end;
  10029. procedure TTMR4_T4CON.clearSIDL; inline;
  10030. begin
  10031. pTDefRegMap(@Self)^.clr := $00002000;
  10032. end;
  10033. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  10034. begin
  10035. if thebits = 0 then
  10036. pTDefRegMap(@Self)^.clr := $00002000
  10037. else
  10038. pTDefRegMap(@Self)^.&set := $00002000;
  10039. end;
  10040. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  10041. begin
  10042. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10043. end;
  10044. procedure TTMR4_T4CON.setON; inline;
  10045. begin
  10046. pTDefRegMap(@Self)^.&set := $00008000;
  10047. end;
  10048. procedure TTMR4_T4CON.clearON; inline;
  10049. begin
  10050. pTDefRegMap(@Self)^.clr := $00008000;
  10051. end;
  10052. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  10053. begin
  10054. if thebits = 0 then
  10055. pTDefRegMap(@Self)^.clr := $00008000
  10056. else
  10057. pTDefRegMap(@Self)^.&set := $00008000;
  10058. end;
  10059. function TTMR4_T4CON.getON : TBits_1; inline;
  10060. begin
  10061. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10062. end;
  10063. procedure TTMR4_T4CON.setTCKPS0; inline;
  10064. begin
  10065. pTDefRegMap(@Self)^.&set := $00000010;
  10066. end;
  10067. procedure TTMR4_T4CON.clearTCKPS0; inline;
  10068. begin
  10069. pTDefRegMap(@Self)^.clr := $00000010;
  10070. end;
  10071. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  10072. begin
  10073. if thebits = 0 then
  10074. pTDefRegMap(@Self)^.clr := $00000010
  10075. else
  10076. pTDefRegMap(@Self)^.&set := $00000010;
  10077. end;
  10078. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  10079. begin
  10080. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10081. end;
  10082. procedure TTMR4_T4CON.setTCKPS1; inline;
  10083. begin
  10084. pTDefRegMap(@Self)^.&set := $00000020;
  10085. end;
  10086. procedure TTMR4_T4CON.clearTCKPS1; inline;
  10087. begin
  10088. pTDefRegMap(@Self)^.clr := $00000020;
  10089. end;
  10090. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  10091. begin
  10092. if thebits = 0 then
  10093. pTDefRegMap(@Self)^.clr := $00000020
  10094. else
  10095. pTDefRegMap(@Self)^.&set := $00000020;
  10096. end;
  10097. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  10098. begin
  10099. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10100. end;
  10101. procedure TTMR4_T4CON.setTCKPS2; inline;
  10102. begin
  10103. pTDefRegMap(@Self)^.&set := $00000040;
  10104. end;
  10105. procedure TTMR4_T4CON.clearTCKPS2; inline;
  10106. begin
  10107. pTDefRegMap(@Self)^.clr := $00000040;
  10108. end;
  10109. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  10110. begin
  10111. if thebits = 0 then
  10112. pTDefRegMap(@Self)^.clr := $00000040
  10113. else
  10114. pTDefRegMap(@Self)^.&set := $00000040;
  10115. end;
  10116. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  10117. begin
  10118. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10119. end;
  10120. procedure TTMR4_T4CON.setTSIDL; inline;
  10121. begin
  10122. pTDefRegMap(@Self)^.&set := $00002000;
  10123. end;
  10124. procedure TTMR4_T4CON.clearTSIDL; inline;
  10125. begin
  10126. pTDefRegMap(@Self)^.clr := $00002000;
  10127. end;
  10128. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  10129. begin
  10130. if thebits = 0 then
  10131. pTDefRegMap(@Self)^.clr := $00002000
  10132. else
  10133. pTDefRegMap(@Self)^.&set := $00002000;
  10134. end;
  10135. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  10136. begin
  10137. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10138. end;
  10139. procedure TTMR4_T4CON.setTON; inline;
  10140. begin
  10141. pTDefRegMap(@Self)^.&set := $00008000;
  10142. end;
  10143. procedure TTMR4_T4CON.clearTON; inline;
  10144. begin
  10145. pTDefRegMap(@Self)^.clr := $00008000;
  10146. end;
  10147. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  10148. begin
  10149. if thebits = 0 then
  10150. pTDefRegMap(@Self)^.clr := $00008000
  10151. else
  10152. pTDefRegMap(@Self)^.&set := $00008000;
  10153. end;
  10154. function TTMR4_T4CON.getTON : TBits_1; inline;
  10155. begin
  10156. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10157. end;
  10158. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  10159. begin
  10160. pTDefRegMap(@Self)^.val := thebits;
  10161. end;
  10162. function TTMR4_T4CON.getw : TBits_32; inline;
  10163. begin
  10164. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10165. end;
  10166. procedure TTMR5_T5CON.setTCS; inline;
  10167. begin
  10168. pTDefRegMap(@Self)^.&set := $00000002;
  10169. end;
  10170. procedure TTMR5_T5CON.clearTCS; inline;
  10171. begin
  10172. pTDefRegMap(@Self)^.clr := $00000002;
  10173. end;
  10174. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  10175. begin
  10176. if thebits = 0 then
  10177. pTDefRegMap(@Self)^.clr := $00000002
  10178. else
  10179. pTDefRegMap(@Self)^.&set := $00000002;
  10180. end;
  10181. function TTMR5_T5CON.getTCS : TBits_1; inline;
  10182. begin
  10183. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10184. end;
  10185. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  10186. begin
  10187. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10188. end;
  10189. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  10190. begin
  10191. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10192. end;
  10193. procedure TTMR5_T5CON.setTGATE; inline;
  10194. begin
  10195. pTDefRegMap(@Self)^.&set := $00000080;
  10196. end;
  10197. procedure TTMR5_T5CON.clearTGATE; inline;
  10198. begin
  10199. pTDefRegMap(@Self)^.clr := $00000080;
  10200. end;
  10201. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  10202. begin
  10203. if thebits = 0 then
  10204. pTDefRegMap(@Self)^.clr := $00000080
  10205. else
  10206. pTDefRegMap(@Self)^.&set := $00000080;
  10207. end;
  10208. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  10209. begin
  10210. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10211. end;
  10212. procedure TTMR5_T5CON.setSIDL; inline;
  10213. begin
  10214. pTDefRegMap(@Self)^.&set := $00002000;
  10215. end;
  10216. procedure TTMR5_T5CON.clearSIDL; inline;
  10217. begin
  10218. pTDefRegMap(@Self)^.clr := $00002000;
  10219. end;
  10220. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  10221. begin
  10222. if thebits = 0 then
  10223. pTDefRegMap(@Self)^.clr := $00002000
  10224. else
  10225. pTDefRegMap(@Self)^.&set := $00002000;
  10226. end;
  10227. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  10228. begin
  10229. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10230. end;
  10231. procedure TTMR5_T5CON.setON; inline;
  10232. begin
  10233. pTDefRegMap(@Self)^.&set := $00008000;
  10234. end;
  10235. procedure TTMR5_T5CON.clearON; inline;
  10236. begin
  10237. pTDefRegMap(@Self)^.clr := $00008000;
  10238. end;
  10239. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  10240. begin
  10241. if thebits = 0 then
  10242. pTDefRegMap(@Self)^.clr := $00008000
  10243. else
  10244. pTDefRegMap(@Self)^.&set := $00008000;
  10245. end;
  10246. function TTMR5_T5CON.getON : TBits_1; inline;
  10247. begin
  10248. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10249. end;
  10250. procedure TTMR5_T5CON.setTCKPS0; inline;
  10251. begin
  10252. pTDefRegMap(@Self)^.&set := $00000010;
  10253. end;
  10254. procedure TTMR5_T5CON.clearTCKPS0; inline;
  10255. begin
  10256. pTDefRegMap(@Self)^.clr := $00000010;
  10257. end;
  10258. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  10259. begin
  10260. if thebits = 0 then
  10261. pTDefRegMap(@Self)^.clr := $00000010
  10262. else
  10263. pTDefRegMap(@Self)^.&set := $00000010;
  10264. end;
  10265. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  10266. begin
  10267. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10268. end;
  10269. procedure TTMR5_T5CON.setTCKPS1; inline;
  10270. begin
  10271. pTDefRegMap(@Self)^.&set := $00000020;
  10272. end;
  10273. procedure TTMR5_T5CON.clearTCKPS1; inline;
  10274. begin
  10275. pTDefRegMap(@Self)^.clr := $00000020;
  10276. end;
  10277. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  10278. begin
  10279. if thebits = 0 then
  10280. pTDefRegMap(@Self)^.clr := $00000020
  10281. else
  10282. pTDefRegMap(@Self)^.&set := $00000020;
  10283. end;
  10284. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  10285. begin
  10286. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10287. end;
  10288. procedure TTMR5_T5CON.setTCKPS2; inline;
  10289. begin
  10290. pTDefRegMap(@Self)^.&set := $00000040;
  10291. end;
  10292. procedure TTMR5_T5CON.clearTCKPS2; inline;
  10293. begin
  10294. pTDefRegMap(@Self)^.clr := $00000040;
  10295. end;
  10296. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  10297. begin
  10298. if thebits = 0 then
  10299. pTDefRegMap(@Self)^.clr := $00000040
  10300. else
  10301. pTDefRegMap(@Self)^.&set := $00000040;
  10302. end;
  10303. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  10304. begin
  10305. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10306. end;
  10307. procedure TTMR5_T5CON.setTSIDL; inline;
  10308. begin
  10309. pTDefRegMap(@Self)^.&set := $00002000;
  10310. end;
  10311. procedure TTMR5_T5CON.clearTSIDL; inline;
  10312. begin
  10313. pTDefRegMap(@Self)^.clr := $00002000;
  10314. end;
  10315. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  10316. begin
  10317. if thebits = 0 then
  10318. pTDefRegMap(@Self)^.clr := $00002000
  10319. else
  10320. pTDefRegMap(@Self)^.&set := $00002000;
  10321. end;
  10322. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  10323. begin
  10324. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10325. end;
  10326. procedure TTMR5_T5CON.setTON; inline;
  10327. begin
  10328. pTDefRegMap(@Self)^.&set := $00008000;
  10329. end;
  10330. procedure TTMR5_T5CON.clearTON; inline;
  10331. begin
  10332. pTDefRegMap(@Self)^.clr := $00008000;
  10333. end;
  10334. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  10335. begin
  10336. if thebits = 0 then
  10337. pTDefRegMap(@Self)^.clr := $00008000
  10338. else
  10339. pTDefRegMap(@Self)^.&set := $00008000;
  10340. end;
  10341. function TTMR5_T5CON.getTON : TBits_1; inline;
  10342. begin
  10343. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10344. end;
  10345. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  10346. begin
  10347. pTDefRegMap(@Self)^.val := thebits;
  10348. end;
  10349. function TTMR5_T5CON.getw : TBits_32; inline;
  10350. begin
  10351. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10352. end;
  10353. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  10354. begin
  10355. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10356. end;
  10357. function TICAP1_IC1CON.getICM : TBits_3; inline;
  10358. begin
  10359. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10360. end;
  10361. procedure TICAP1_IC1CON.setICBNE; inline;
  10362. begin
  10363. pTDefRegMap(@Self)^.&set := $00000008;
  10364. end;
  10365. procedure TICAP1_IC1CON.clearICBNE; inline;
  10366. begin
  10367. pTDefRegMap(@Self)^.clr := $00000008;
  10368. end;
  10369. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  10370. begin
  10371. if thebits = 0 then
  10372. pTDefRegMap(@Self)^.clr := $00000008
  10373. else
  10374. pTDefRegMap(@Self)^.&set := $00000008;
  10375. end;
  10376. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  10377. begin
  10378. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10379. end;
  10380. procedure TICAP1_IC1CON.setICOV; inline;
  10381. begin
  10382. pTDefRegMap(@Self)^.&set := $00000010;
  10383. end;
  10384. procedure TICAP1_IC1CON.clearICOV; inline;
  10385. begin
  10386. pTDefRegMap(@Self)^.clr := $00000010;
  10387. end;
  10388. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  10389. begin
  10390. if thebits = 0 then
  10391. pTDefRegMap(@Self)^.clr := $00000010
  10392. else
  10393. pTDefRegMap(@Self)^.&set := $00000010;
  10394. end;
  10395. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  10396. begin
  10397. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10398. end;
  10399. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  10400. begin
  10401. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10402. end;
  10403. function TICAP1_IC1CON.getICI : TBits_2; inline;
  10404. begin
  10405. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10406. end;
  10407. procedure TICAP1_IC1CON.setICTMR; inline;
  10408. begin
  10409. pTDefRegMap(@Self)^.&set := $00000080;
  10410. end;
  10411. procedure TICAP1_IC1CON.clearICTMR; inline;
  10412. begin
  10413. pTDefRegMap(@Self)^.clr := $00000080;
  10414. end;
  10415. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  10416. begin
  10417. if thebits = 0 then
  10418. pTDefRegMap(@Self)^.clr := $00000080
  10419. else
  10420. pTDefRegMap(@Self)^.&set := $00000080;
  10421. end;
  10422. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  10423. begin
  10424. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10425. end;
  10426. procedure TICAP1_IC1CON.setC32; inline;
  10427. begin
  10428. pTDefRegMap(@Self)^.&set := $00000100;
  10429. end;
  10430. procedure TICAP1_IC1CON.clearC32; inline;
  10431. begin
  10432. pTDefRegMap(@Self)^.clr := $00000100;
  10433. end;
  10434. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  10435. begin
  10436. if thebits = 0 then
  10437. pTDefRegMap(@Self)^.clr := $00000100
  10438. else
  10439. pTDefRegMap(@Self)^.&set := $00000100;
  10440. end;
  10441. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  10442. begin
  10443. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10444. end;
  10445. procedure TICAP1_IC1CON.setFEDGE; inline;
  10446. begin
  10447. pTDefRegMap(@Self)^.&set := $00000200;
  10448. end;
  10449. procedure TICAP1_IC1CON.clearFEDGE; inline;
  10450. begin
  10451. pTDefRegMap(@Self)^.clr := $00000200;
  10452. end;
  10453. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  10454. begin
  10455. if thebits = 0 then
  10456. pTDefRegMap(@Self)^.clr := $00000200
  10457. else
  10458. pTDefRegMap(@Self)^.&set := $00000200;
  10459. end;
  10460. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  10461. begin
  10462. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10463. end;
  10464. procedure TICAP1_IC1CON.setSIDL; inline;
  10465. begin
  10466. pTDefRegMap(@Self)^.&set := $00002000;
  10467. end;
  10468. procedure TICAP1_IC1CON.clearSIDL; inline;
  10469. begin
  10470. pTDefRegMap(@Self)^.clr := $00002000;
  10471. end;
  10472. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  10473. begin
  10474. if thebits = 0 then
  10475. pTDefRegMap(@Self)^.clr := $00002000
  10476. else
  10477. pTDefRegMap(@Self)^.&set := $00002000;
  10478. end;
  10479. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  10480. begin
  10481. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10482. end;
  10483. procedure TICAP1_IC1CON.setON; inline;
  10484. begin
  10485. pTDefRegMap(@Self)^.&set := $00008000;
  10486. end;
  10487. procedure TICAP1_IC1CON.clearON; inline;
  10488. begin
  10489. pTDefRegMap(@Self)^.clr := $00008000;
  10490. end;
  10491. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  10492. begin
  10493. if thebits = 0 then
  10494. pTDefRegMap(@Self)^.clr := $00008000
  10495. else
  10496. pTDefRegMap(@Self)^.&set := $00008000;
  10497. end;
  10498. function TICAP1_IC1CON.getON : TBits_1; inline;
  10499. begin
  10500. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10501. end;
  10502. procedure TICAP1_IC1CON.setICM0; inline;
  10503. begin
  10504. pTDefRegMap(@Self)^.&set := $00000001;
  10505. end;
  10506. procedure TICAP1_IC1CON.clearICM0; inline;
  10507. begin
  10508. pTDefRegMap(@Self)^.clr := $00000001;
  10509. end;
  10510. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  10511. begin
  10512. if thebits = 0 then
  10513. pTDefRegMap(@Self)^.clr := $00000001
  10514. else
  10515. pTDefRegMap(@Self)^.&set := $00000001;
  10516. end;
  10517. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  10518. begin
  10519. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10520. end;
  10521. procedure TICAP1_IC1CON.setICM1; inline;
  10522. begin
  10523. pTDefRegMap(@Self)^.&set := $00000002;
  10524. end;
  10525. procedure TICAP1_IC1CON.clearICM1; inline;
  10526. begin
  10527. pTDefRegMap(@Self)^.clr := $00000002;
  10528. end;
  10529. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  10530. begin
  10531. if thebits = 0 then
  10532. pTDefRegMap(@Self)^.clr := $00000002
  10533. else
  10534. pTDefRegMap(@Self)^.&set := $00000002;
  10535. end;
  10536. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  10537. begin
  10538. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10539. end;
  10540. procedure TICAP1_IC1CON.setICM2; inline;
  10541. begin
  10542. pTDefRegMap(@Self)^.&set := $00000004;
  10543. end;
  10544. procedure TICAP1_IC1CON.clearICM2; inline;
  10545. begin
  10546. pTDefRegMap(@Self)^.clr := $00000004;
  10547. end;
  10548. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  10549. begin
  10550. if thebits = 0 then
  10551. pTDefRegMap(@Self)^.clr := $00000004
  10552. else
  10553. pTDefRegMap(@Self)^.&set := $00000004;
  10554. end;
  10555. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  10556. begin
  10557. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10558. end;
  10559. procedure TICAP1_IC1CON.setICI0; inline;
  10560. begin
  10561. pTDefRegMap(@Self)^.&set := $00000020;
  10562. end;
  10563. procedure TICAP1_IC1CON.clearICI0; inline;
  10564. begin
  10565. pTDefRegMap(@Self)^.clr := $00000020;
  10566. end;
  10567. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  10568. begin
  10569. if thebits = 0 then
  10570. pTDefRegMap(@Self)^.clr := $00000020
  10571. else
  10572. pTDefRegMap(@Self)^.&set := $00000020;
  10573. end;
  10574. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  10575. begin
  10576. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10577. end;
  10578. procedure TICAP1_IC1CON.setICI1; inline;
  10579. begin
  10580. pTDefRegMap(@Self)^.&set := $00000040;
  10581. end;
  10582. procedure TICAP1_IC1CON.clearICI1; inline;
  10583. begin
  10584. pTDefRegMap(@Self)^.clr := $00000040;
  10585. end;
  10586. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  10587. begin
  10588. if thebits = 0 then
  10589. pTDefRegMap(@Self)^.clr := $00000040
  10590. else
  10591. pTDefRegMap(@Self)^.&set := $00000040;
  10592. end;
  10593. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  10594. begin
  10595. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10596. end;
  10597. procedure TICAP1_IC1CON.setICSIDL; inline;
  10598. begin
  10599. pTDefRegMap(@Self)^.&set := $00002000;
  10600. end;
  10601. procedure TICAP1_IC1CON.clearICSIDL; inline;
  10602. begin
  10603. pTDefRegMap(@Self)^.clr := $00002000;
  10604. end;
  10605. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  10606. begin
  10607. if thebits = 0 then
  10608. pTDefRegMap(@Self)^.clr := $00002000
  10609. else
  10610. pTDefRegMap(@Self)^.&set := $00002000;
  10611. end;
  10612. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  10613. begin
  10614. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10615. end;
  10616. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  10617. begin
  10618. pTDefRegMap(@Self)^.val := thebits;
  10619. end;
  10620. function TICAP1_IC1CON.getw : TBits_32; inline;
  10621. begin
  10622. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10623. end;
  10624. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  10625. begin
  10626. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10627. end;
  10628. function TICAP2_IC2CON.getICM : TBits_3; inline;
  10629. begin
  10630. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10631. end;
  10632. procedure TICAP2_IC2CON.setICBNE; inline;
  10633. begin
  10634. pTDefRegMap(@Self)^.&set := $00000008;
  10635. end;
  10636. procedure TICAP2_IC2CON.clearICBNE; inline;
  10637. begin
  10638. pTDefRegMap(@Self)^.clr := $00000008;
  10639. end;
  10640. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  10641. begin
  10642. if thebits = 0 then
  10643. pTDefRegMap(@Self)^.clr := $00000008
  10644. else
  10645. pTDefRegMap(@Self)^.&set := $00000008;
  10646. end;
  10647. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  10648. begin
  10649. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10650. end;
  10651. procedure TICAP2_IC2CON.setICOV; inline;
  10652. begin
  10653. pTDefRegMap(@Self)^.&set := $00000010;
  10654. end;
  10655. procedure TICAP2_IC2CON.clearICOV; inline;
  10656. begin
  10657. pTDefRegMap(@Self)^.clr := $00000010;
  10658. end;
  10659. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  10660. begin
  10661. if thebits = 0 then
  10662. pTDefRegMap(@Self)^.clr := $00000010
  10663. else
  10664. pTDefRegMap(@Self)^.&set := $00000010;
  10665. end;
  10666. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  10667. begin
  10668. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10669. end;
  10670. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  10671. begin
  10672. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10673. end;
  10674. function TICAP2_IC2CON.getICI : TBits_2; inline;
  10675. begin
  10676. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10677. end;
  10678. procedure TICAP2_IC2CON.setICTMR; inline;
  10679. begin
  10680. pTDefRegMap(@Self)^.&set := $00000080;
  10681. end;
  10682. procedure TICAP2_IC2CON.clearICTMR; inline;
  10683. begin
  10684. pTDefRegMap(@Self)^.clr := $00000080;
  10685. end;
  10686. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  10687. begin
  10688. if thebits = 0 then
  10689. pTDefRegMap(@Self)^.clr := $00000080
  10690. else
  10691. pTDefRegMap(@Self)^.&set := $00000080;
  10692. end;
  10693. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  10694. begin
  10695. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10696. end;
  10697. procedure TICAP2_IC2CON.setC32; inline;
  10698. begin
  10699. pTDefRegMap(@Self)^.&set := $00000100;
  10700. end;
  10701. procedure TICAP2_IC2CON.clearC32; inline;
  10702. begin
  10703. pTDefRegMap(@Self)^.clr := $00000100;
  10704. end;
  10705. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  10706. begin
  10707. if thebits = 0 then
  10708. pTDefRegMap(@Self)^.clr := $00000100
  10709. else
  10710. pTDefRegMap(@Self)^.&set := $00000100;
  10711. end;
  10712. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  10713. begin
  10714. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10715. end;
  10716. procedure TICAP2_IC2CON.setFEDGE; inline;
  10717. begin
  10718. pTDefRegMap(@Self)^.&set := $00000200;
  10719. end;
  10720. procedure TICAP2_IC2CON.clearFEDGE; inline;
  10721. begin
  10722. pTDefRegMap(@Self)^.clr := $00000200;
  10723. end;
  10724. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  10725. begin
  10726. if thebits = 0 then
  10727. pTDefRegMap(@Self)^.clr := $00000200
  10728. else
  10729. pTDefRegMap(@Self)^.&set := $00000200;
  10730. end;
  10731. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  10732. begin
  10733. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10734. end;
  10735. procedure TICAP2_IC2CON.setSIDL; inline;
  10736. begin
  10737. pTDefRegMap(@Self)^.&set := $00002000;
  10738. end;
  10739. procedure TICAP2_IC2CON.clearSIDL; inline;
  10740. begin
  10741. pTDefRegMap(@Self)^.clr := $00002000;
  10742. end;
  10743. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  10744. begin
  10745. if thebits = 0 then
  10746. pTDefRegMap(@Self)^.clr := $00002000
  10747. else
  10748. pTDefRegMap(@Self)^.&set := $00002000;
  10749. end;
  10750. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  10751. begin
  10752. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10753. end;
  10754. procedure TICAP2_IC2CON.setON; inline;
  10755. begin
  10756. pTDefRegMap(@Self)^.&set := $00008000;
  10757. end;
  10758. procedure TICAP2_IC2CON.clearON; inline;
  10759. begin
  10760. pTDefRegMap(@Self)^.clr := $00008000;
  10761. end;
  10762. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  10763. begin
  10764. if thebits = 0 then
  10765. pTDefRegMap(@Self)^.clr := $00008000
  10766. else
  10767. pTDefRegMap(@Self)^.&set := $00008000;
  10768. end;
  10769. function TICAP2_IC2CON.getON : TBits_1; inline;
  10770. begin
  10771. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10772. end;
  10773. procedure TICAP2_IC2CON.setICM0; inline;
  10774. begin
  10775. pTDefRegMap(@Self)^.&set := $00000001;
  10776. end;
  10777. procedure TICAP2_IC2CON.clearICM0; inline;
  10778. begin
  10779. pTDefRegMap(@Self)^.clr := $00000001;
  10780. end;
  10781. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  10782. begin
  10783. if thebits = 0 then
  10784. pTDefRegMap(@Self)^.clr := $00000001
  10785. else
  10786. pTDefRegMap(@Self)^.&set := $00000001;
  10787. end;
  10788. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  10789. begin
  10790. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10791. end;
  10792. procedure TICAP2_IC2CON.setICM1; inline;
  10793. begin
  10794. pTDefRegMap(@Self)^.&set := $00000002;
  10795. end;
  10796. procedure TICAP2_IC2CON.clearICM1; inline;
  10797. begin
  10798. pTDefRegMap(@Self)^.clr := $00000002;
  10799. end;
  10800. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  10801. begin
  10802. if thebits = 0 then
  10803. pTDefRegMap(@Self)^.clr := $00000002
  10804. else
  10805. pTDefRegMap(@Self)^.&set := $00000002;
  10806. end;
  10807. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  10808. begin
  10809. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10810. end;
  10811. procedure TICAP2_IC2CON.setICM2; inline;
  10812. begin
  10813. pTDefRegMap(@Self)^.&set := $00000004;
  10814. end;
  10815. procedure TICAP2_IC2CON.clearICM2; inline;
  10816. begin
  10817. pTDefRegMap(@Self)^.clr := $00000004;
  10818. end;
  10819. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  10820. begin
  10821. if thebits = 0 then
  10822. pTDefRegMap(@Self)^.clr := $00000004
  10823. else
  10824. pTDefRegMap(@Self)^.&set := $00000004;
  10825. end;
  10826. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  10827. begin
  10828. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10829. end;
  10830. procedure TICAP2_IC2CON.setICI0; inline;
  10831. begin
  10832. pTDefRegMap(@Self)^.&set := $00000020;
  10833. end;
  10834. procedure TICAP2_IC2CON.clearICI0; inline;
  10835. begin
  10836. pTDefRegMap(@Self)^.clr := $00000020;
  10837. end;
  10838. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  10839. begin
  10840. if thebits = 0 then
  10841. pTDefRegMap(@Self)^.clr := $00000020
  10842. else
  10843. pTDefRegMap(@Self)^.&set := $00000020;
  10844. end;
  10845. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  10846. begin
  10847. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10848. end;
  10849. procedure TICAP2_IC2CON.setICI1; inline;
  10850. begin
  10851. pTDefRegMap(@Self)^.&set := $00000040;
  10852. end;
  10853. procedure TICAP2_IC2CON.clearICI1; inline;
  10854. begin
  10855. pTDefRegMap(@Self)^.clr := $00000040;
  10856. end;
  10857. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  10858. begin
  10859. if thebits = 0 then
  10860. pTDefRegMap(@Self)^.clr := $00000040
  10861. else
  10862. pTDefRegMap(@Self)^.&set := $00000040;
  10863. end;
  10864. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  10865. begin
  10866. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10867. end;
  10868. procedure TICAP2_IC2CON.setICSIDL; inline;
  10869. begin
  10870. pTDefRegMap(@Self)^.&set := $00002000;
  10871. end;
  10872. procedure TICAP2_IC2CON.clearICSIDL; inline;
  10873. begin
  10874. pTDefRegMap(@Self)^.clr := $00002000;
  10875. end;
  10876. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  10877. begin
  10878. if thebits = 0 then
  10879. pTDefRegMap(@Self)^.clr := $00002000
  10880. else
  10881. pTDefRegMap(@Self)^.&set := $00002000;
  10882. end;
  10883. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  10884. begin
  10885. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10886. end;
  10887. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  10888. begin
  10889. pTDefRegMap(@Self)^.val := thebits;
  10890. end;
  10891. function TICAP2_IC2CON.getw : TBits_32; inline;
  10892. begin
  10893. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10894. end;
  10895. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  10896. begin
  10897. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10898. end;
  10899. function TICAP3_IC3CON.getICM : TBits_3; inline;
  10900. begin
  10901. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10902. end;
  10903. procedure TICAP3_IC3CON.setICBNE; inline;
  10904. begin
  10905. pTDefRegMap(@Self)^.&set := $00000008;
  10906. end;
  10907. procedure TICAP3_IC3CON.clearICBNE; inline;
  10908. begin
  10909. pTDefRegMap(@Self)^.clr := $00000008;
  10910. end;
  10911. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  10912. begin
  10913. if thebits = 0 then
  10914. pTDefRegMap(@Self)^.clr := $00000008
  10915. else
  10916. pTDefRegMap(@Self)^.&set := $00000008;
  10917. end;
  10918. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  10919. begin
  10920. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10921. end;
  10922. procedure TICAP3_IC3CON.setICOV; inline;
  10923. begin
  10924. pTDefRegMap(@Self)^.&set := $00000010;
  10925. end;
  10926. procedure TICAP3_IC3CON.clearICOV; inline;
  10927. begin
  10928. pTDefRegMap(@Self)^.clr := $00000010;
  10929. end;
  10930. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  10931. begin
  10932. if thebits = 0 then
  10933. pTDefRegMap(@Self)^.clr := $00000010
  10934. else
  10935. pTDefRegMap(@Self)^.&set := $00000010;
  10936. end;
  10937. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  10938. begin
  10939. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10940. end;
  10941. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  10942. begin
  10943. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10944. end;
  10945. function TICAP3_IC3CON.getICI : TBits_2; inline;
  10946. begin
  10947. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10948. end;
  10949. procedure TICAP3_IC3CON.setICTMR; inline;
  10950. begin
  10951. pTDefRegMap(@Self)^.&set := $00000080;
  10952. end;
  10953. procedure TICAP3_IC3CON.clearICTMR; inline;
  10954. begin
  10955. pTDefRegMap(@Self)^.clr := $00000080;
  10956. end;
  10957. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  10958. begin
  10959. if thebits = 0 then
  10960. pTDefRegMap(@Self)^.clr := $00000080
  10961. else
  10962. pTDefRegMap(@Self)^.&set := $00000080;
  10963. end;
  10964. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  10965. begin
  10966. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10967. end;
  10968. procedure TICAP3_IC3CON.setC32; inline;
  10969. begin
  10970. pTDefRegMap(@Self)^.&set := $00000100;
  10971. end;
  10972. procedure TICAP3_IC3CON.clearC32; inline;
  10973. begin
  10974. pTDefRegMap(@Self)^.clr := $00000100;
  10975. end;
  10976. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  10977. begin
  10978. if thebits = 0 then
  10979. pTDefRegMap(@Self)^.clr := $00000100
  10980. else
  10981. pTDefRegMap(@Self)^.&set := $00000100;
  10982. end;
  10983. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  10984. begin
  10985. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10986. end;
  10987. procedure TICAP3_IC3CON.setFEDGE; inline;
  10988. begin
  10989. pTDefRegMap(@Self)^.&set := $00000200;
  10990. end;
  10991. procedure TICAP3_IC3CON.clearFEDGE; inline;
  10992. begin
  10993. pTDefRegMap(@Self)^.clr := $00000200;
  10994. end;
  10995. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  10996. begin
  10997. if thebits = 0 then
  10998. pTDefRegMap(@Self)^.clr := $00000200
  10999. else
  11000. pTDefRegMap(@Self)^.&set := $00000200;
  11001. end;
  11002. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  11003. begin
  11004. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11005. end;
  11006. procedure TICAP3_IC3CON.setSIDL; inline;
  11007. begin
  11008. pTDefRegMap(@Self)^.&set := $00002000;
  11009. end;
  11010. procedure TICAP3_IC3CON.clearSIDL; inline;
  11011. begin
  11012. pTDefRegMap(@Self)^.clr := $00002000;
  11013. end;
  11014. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  11015. begin
  11016. if thebits = 0 then
  11017. pTDefRegMap(@Self)^.clr := $00002000
  11018. else
  11019. pTDefRegMap(@Self)^.&set := $00002000;
  11020. end;
  11021. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  11022. begin
  11023. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11024. end;
  11025. procedure TICAP3_IC3CON.setON; inline;
  11026. begin
  11027. pTDefRegMap(@Self)^.&set := $00008000;
  11028. end;
  11029. procedure TICAP3_IC3CON.clearON; inline;
  11030. begin
  11031. pTDefRegMap(@Self)^.clr := $00008000;
  11032. end;
  11033. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  11034. begin
  11035. if thebits = 0 then
  11036. pTDefRegMap(@Self)^.clr := $00008000
  11037. else
  11038. pTDefRegMap(@Self)^.&set := $00008000;
  11039. end;
  11040. function TICAP3_IC3CON.getON : TBits_1; inline;
  11041. begin
  11042. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11043. end;
  11044. procedure TICAP3_IC3CON.setICM0; inline;
  11045. begin
  11046. pTDefRegMap(@Self)^.&set := $00000001;
  11047. end;
  11048. procedure TICAP3_IC3CON.clearICM0; inline;
  11049. begin
  11050. pTDefRegMap(@Self)^.clr := $00000001;
  11051. end;
  11052. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  11053. begin
  11054. if thebits = 0 then
  11055. pTDefRegMap(@Self)^.clr := $00000001
  11056. else
  11057. pTDefRegMap(@Self)^.&set := $00000001;
  11058. end;
  11059. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  11060. begin
  11061. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11062. end;
  11063. procedure TICAP3_IC3CON.setICM1; inline;
  11064. begin
  11065. pTDefRegMap(@Self)^.&set := $00000002;
  11066. end;
  11067. procedure TICAP3_IC3CON.clearICM1; inline;
  11068. begin
  11069. pTDefRegMap(@Self)^.clr := $00000002;
  11070. end;
  11071. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  11072. begin
  11073. if thebits = 0 then
  11074. pTDefRegMap(@Self)^.clr := $00000002
  11075. else
  11076. pTDefRegMap(@Self)^.&set := $00000002;
  11077. end;
  11078. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  11079. begin
  11080. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11081. end;
  11082. procedure TICAP3_IC3CON.setICM2; inline;
  11083. begin
  11084. pTDefRegMap(@Self)^.&set := $00000004;
  11085. end;
  11086. procedure TICAP3_IC3CON.clearICM2; inline;
  11087. begin
  11088. pTDefRegMap(@Self)^.clr := $00000004;
  11089. end;
  11090. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  11091. begin
  11092. if thebits = 0 then
  11093. pTDefRegMap(@Self)^.clr := $00000004
  11094. else
  11095. pTDefRegMap(@Self)^.&set := $00000004;
  11096. end;
  11097. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  11098. begin
  11099. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11100. end;
  11101. procedure TICAP3_IC3CON.setICI0; inline;
  11102. begin
  11103. pTDefRegMap(@Self)^.&set := $00000020;
  11104. end;
  11105. procedure TICAP3_IC3CON.clearICI0; inline;
  11106. begin
  11107. pTDefRegMap(@Self)^.clr := $00000020;
  11108. end;
  11109. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  11110. begin
  11111. if thebits = 0 then
  11112. pTDefRegMap(@Self)^.clr := $00000020
  11113. else
  11114. pTDefRegMap(@Self)^.&set := $00000020;
  11115. end;
  11116. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  11117. begin
  11118. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11119. end;
  11120. procedure TICAP3_IC3CON.setICI1; inline;
  11121. begin
  11122. pTDefRegMap(@Self)^.&set := $00000040;
  11123. end;
  11124. procedure TICAP3_IC3CON.clearICI1; inline;
  11125. begin
  11126. pTDefRegMap(@Self)^.clr := $00000040;
  11127. end;
  11128. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  11129. begin
  11130. if thebits = 0 then
  11131. pTDefRegMap(@Self)^.clr := $00000040
  11132. else
  11133. pTDefRegMap(@Self)^.&set := $00000040;
  11134. end;
  11135. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  11136. begin
  11137. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11138. end;
  11139. procedure TICAP3_IC3CON.setICSIDL; inline;
  11140. begin
  11141. pTDefRegMap(@Self)^.&set := $00002000;
  11142. end;
  11143. procedure TICAP3_IC3CON.clearICSIDL; inline;
  11144. begin
  11145. pTDefRegMap(@Self)^.clr := $00002000;
  11146. end;
  11147. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  11148. begin
  11149. if thebits = 0 then
  11150. pTDefRegMap(@Self)^.clr := $00002000
  11151. else
  11152. pTDefRegMap(@Self)^.&set := $00002000;
  11153. end;
  11154. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  11155. begin
  11156. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11157. end;
  11158. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  11159. begin
  11160. pTDefRegMap(@Self)^.val := thebits;
  11161. end;
  11162. function TICAP3_IC3CON.getw : TBits_32; inline;
  11163. begin
  11164. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11165. end;
  11166. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  11167. begin
  11168. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11169. end;
  11170. function TICAP4_IC4CON.getICM : TBits_3; inline;
  11171. begin
  11172. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11173. end;
  11174. procedure TICAP4_IC4CON.setICBNE; inline;
  11175. begin
  11176. pTDefRegMap(@Self)^.&set := $00000008;
  11177. end;
  11178. procedure TICAP4_IC4CON.clearICBNE; inline;
  11179. begin
  11180. pTDefRegMap(@Self)^.clr := $00000008;
  11181. end;
  11182. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  11183. begin
  11184. if thebits = 0 then
  11185. pTDefRegMap(@Self)^.clr := $00000008
  11186. else
  11187. pTDefRegMap(@Self)^.&set := $00000008;
  11188. end;
  11189. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  11190. begin
  11191. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11192. end;
  11193. procedure TICAP4_IC4CON.setICOV; inline;
  11194. begin
  11195. pTDefRegMap(@Self)^.&set := $00000010;
  11196. end;
  11197. procedure TICAP4_IC4CON.clearICOV; inline;
  11198. begin
  11199. pTDefRegMap(@Self)^.clr := $00000010;
  11200. end;
  11201. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  11202. begin
  11203. if thebits = 0 then
  11204. pTDefRegMap(@Self)^.clr := $00000010
  11205. else
  11206. pTDefRegMap(@Self)^.&set := $00000010;
  11207. end;
  11208. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  11209. begin
  11210. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11211. end;
  11212. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  11213. begin
  11214. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11215. end;
  11216. function TICAP4_IC4CON.getICI : TBits_2; inline;
  11217. begin
  11218. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11219. end;
  11220. procedure TICAP4_IC4CON.setICTMR; inline;
  11221. begin
  11222. pTDefRegMap(@Self)^.&set := $00000080;
  11223. end;
  11224. procedure TICAP4_IC4CON.clearICTMR; inline;
  11225. begin
  11226. pTDefRegMap(@Self)^.clr := $00000080;
  11227. end;
  11228. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  11229. begin
  11230. if thebits = 0 then
  11231. pTDefRegMap(@Self)^.clr := $00000080
  11232. else
  11233. pTDefRegMap(@Self)^.&set := $00000080;
  11234. end;
  11235. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  11236. begin
  11237. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11238. end;
  11239. procedure TICAP4_IC4CON.setC32; inline;
  11240. begin
  11241. pTDefRegMap(@Self)^.&set := $00000100;
  11242. end;
  11243. procedure TICAP4_IC4CON.clearC32; inline;
  11244. begin
  11245. pTDefRegMap(@Self)^.clr := $00000100;
  11246. end;
  11247. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  11248. begin
  11249. if thebits = 0 then
  11250. pTDefRegMap(@Self)^.clr := $00000100
  11251. else
  11252. pTDefRegMap(@Self)^.&set := $00000100;
  11253. end;
  11254. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  11255. begin
  11256. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11257. end;
  11258. procedure TICAP4_IC4CON.setFEDGE; inline;
  11259. begin
  11260. pTDefRegMap(@Self)^.&set := $00000200;
  11261. end;
  11262. procedure TICAP4_IC4CON.clearFEDGE; inline;
  11263. begin
  11264. pTDefRegMap(@Self)^.clr := $00000200;
  11265. end;
  11266. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  11267. begin
  11268. if thebits = 0 then
  11269. pTDefRegMap(@Self)^.clr := $00000200
  11270. else
  11271. pTDefRegMap(@Self)^.&set := $00000200;
  11272. end;
  11273. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  11274. begin
  11275. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11276. end;
  11277. procedure TICAP4_IC4CON.setSIDL; inline;
  11278. begin
  11279. pTDefRegMap(@Self)^.&set := $00002000;
  11280. end;
  11281. procedure TICAP4_IC4CON.clearSIDL; inline;
  11282. begin
  11283. pTDefRegMap(@Self)^.clr := $00002000;
  11284. end;
  11285. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  11286. begin
  11287. if thebits = 0 then
  11288. pTDefRegMap(@Self)^.clr := $00002000
  11289. else
  11290. pTDefRegMap(@Self)^.&set := $00002000;
  11291. end;
  11292. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  11293. begin
  11294. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11295. end;
  11296. procedure TICAP4_IC4CON.setON; inline;
  11297. begin
  11298. pTDefRegMap(@Self)^.&set := $00008000;
  11299. end;
  11300. procedure TICAP4_IC4CON.clearON; inline;
  11301. begin
  11302. pTDefRegMap(@Self)^.clr := $00008000;
  11303. end;
  11304. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  11305. begin
  11306. if thebits = 0 then
  11307. pTDefRegMap(@Self)^.clr := $00008000
  11308. else
  11309. pTDefRegMap(@Self)^.&set := $00008000;
  11310. end;
  11311. function TICAP4_IC4CON.getON : TBits_1; inline;
  11312. begin
  11313. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11314. end;
  11315. procedure TICAP4_IC4CON.setICM0; inline;
  11316. begin
  11317. pTDefRegMap(@Self)^.&set := $00000001;
  11318. end;
  11319. procedure TICAP4_IC4CON.clearICM0; inline;
  11320. begin
  11321. pTDefRegMap(@Self)^.clr := $00000001;
  11322. end;
  11323. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  11324. begin
  11325. if thebits = 0 then
  11326. pTDefRegMap(@Self)^.clr := $00000001
  11327. else
  11328. pTDefRegMap(@Self)^.&set := $00000001;
  11329. end;
  11330. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  11331. begin
  11332. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11333. end;
  11334. procedure TICAP4_IC4CON.setICM1; inline;
  11335. begin
  11336. pTDefRegMap(@Self)^.&set := $00000002;
  11337. end;
  11338. procedure TICAP4_IC4CON.clearICM1; inline;
  11339. begin
  11340. pTDefRegMap(@Self)^.clr := $00000002;
  11341. end;
  11342. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  11343. begin
  11344. if thebits = 0 then
  11345. pTDefRegMap(@Self)^.clr := $00000002
  11346. else
  11347. pTDefRegMap(@Self)^.&set := $00000002;
  11348. end;
  11349. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  11350. begin
  11351. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11352. end;
  11353. procedure TICAP4_IC4CON.setICM2; inline;
  11354. begin
  11355. pTDefRegMap(@Self)^.&set := $00000004;
  11356. end;
  11357. procedure TICAP4_IC4CON.clearICM2; inline;
  11358. begin
  11359. pTDefRegMap(@Self)^.clr := $00000004;
  11360. end;
  11361. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  11362. begin
  11363. if thebits = 0 then
  11364. pTDefRegMap(@Self)^.clr := $00000004
  11365. else
  11366. pTDefRegMap(@Self)^.&set := $00000004;
  11367. end;
  11368. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  11369. begin
  11370. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11371. end;
  11372. procedure TICAP4_IC4CON.setICI0; inline;
  11373. begin
  11374. pTDefRegMap(@Self)^.&set := $00000020;
  11375. end;
  11376. procedure TICAP4_IC4CON.clearICI0; inline;
  11377. begin
  11378. pTDefRegMap(@Self)^.clr := $00000020;
  11379. end;
  11380. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  11381. begin
  11382. if thebits = 0 then
  11383. pTDefRegMap(@Self)^.clr := $00000020
  11384. else
  11385. pTDefRegMap(@Self)^.&set := $00000020;
  11386. end;
  11387. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  11388. begin
  11389. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11390. end;
  11391. procedure TICAP4_IC4CON.setICI1; inline;
  11392. begin
  11393. pTDefRegMap(@Self)^.&set := $00000040;
  11394. end;
  11395. procedure TICAP4_IC4CON.clearICI1; inline;
  11396. begin
  11397. pTDefRegMap(@Self)^.clr := $00000040;
  11398. end;
  11399. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  11400. begin
  11401. if thebits = 0 then
  11402. pTDefRegMap(@Self)^.clr := $00000040
  11403. else
  11404. pTDefRegMap(@Self)^.&set := $00000040;
  11405. end;
  11406. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  11407. begin
  11408. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11409. end;
  11410. procedure TICAP4_IC4CON.setICSIDL; inline;
  11411. begin
  11412. pTDefRegMap(@Self)^.&set := $00002000;
  11413. end;
  11414. procedure TICAP4_IC4CON.clearICSIDL; inline;
  11415. begin
  11416. pTDefRegMap(@Self)^.clr := $00002000;
  11417. end;
  11418. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  11419. begin
  11420. if thebits = 0 then
  11421. pTDefRegMap(@Self)^.clr := $00002000
  11422. else
  11423. pTDefRegMap(@Self)^.&set := $00002000;
  11424. end;
  11425. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  11426. begin
  11427. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11428. end;
  11429. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  11430. begin
  11431. pTDefRegMap(@Self)^.val := thebits;
  11432. end;
  11433. function TICAP4_IC4CON.getw : TBits_32; inline;
  11434. begin
  11435. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11436. end;
  11437. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  11438. begin
  11439. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11440. end;
  11441. function TICAP5_IC5CON.getICM : TBits_3; inline;
  11442. begin
  11443. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11444. end;
  11445. procedure TICAP5_IC5CON.setICBNE; inline;
  11446. begin
  11447. pTDefRegMap(@Self)^.&set := $00000008;
  11448. end;
  11449. procedure TICAP5_IC5CON.clearICBNE; inline;
  11450. begin
  11451. pTDefRegMap(@Self)^.clr := $00000008;
  11452. end;
  11453. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  11454. begin
  11455. if thebits = 0 then
  11456. pTDefRegMap(@Self)^.clr := $00000008
  11457. else
  11458. pTDefRegMap(@Self)^.&set := $00000008;
  11459. end;
  11460. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  11461. begin
  11462. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11463. end;
  11464. procedure TICAP5_IC5CON.setICOV; inline;
  11465. begin
  11466. pTDefRegMap(@Self)^.&set := $00000010;
  11467. end;
  11468. procedure TICAP5_IC5CON.clearICOV; inline;
  11469. begin
  11470. pTDefRegMap(@Self)^.clr := $00000010;
  11471. end;
  11472. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  11473. begin
  11474. if thebits = 0 then
  11475. pTDefRegMap(@Self)^.clr := $00000010
  11476. else
  11477. pTDefRegMap(@Self)^.&set := $00000010;
  11478. end;
  11479. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  11480. begin
  11481. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11482. end;
  11483. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  11484. begin
  11485. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11486. end;
  11487. function TICAP5_IC5CON.getICI : TBits_2; inline;
  11488. begin
  11489. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11490. end;
  11491. procedure TICAP5_IC5CON.setICTMR; inline;
  11492. begin
  11493. pTDefRegMap(@Self)^.&set := $00000080;
  11494. end;
  11495. procedure TICAP5_IC5CON.clearICTMR; inline;
  11496. begin
  11497. pTDefRegMap(@Self)^.clr := $00000080;
  11498. end;
  11499. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  11500. begin
  11501. if thebits = 0 then
  11502. pTDefRegMap(@Self)^.clr := $00000080
  11503. else
  11504. pTDefRegMap(@Self)^.&set := $00000080;
  11505. end;
  11506. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  11507. begin
  11508. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11509. end;
  11510. procedure TICAP5_IC5CON.setC32; inline;
  11511. begin
  11512. pTDefRegMap(@Self)^.&set := $00000100;
  11513. end;
  11514. procedure TICAP5_IC5CON.clearC32; inline;
  11515. begin
  11516. pTDefRegMap(@Self)^.clr := $00000100;
  11517. end;
  11518. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  11519. begin
  11520. if thebits = 0 then
  11521. pTDefRegMap(@Self)^.clr := $00000100
  11522. else
  11523. pTDefRegMap(@Self)^.&set := $00000100;
  11524. end;
  11525. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  11526. begin
  11527. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11528. end;
  11529. procedure TICAP5_IC5CON.setFEDGE; inline;
  11530. begin
  11531. pTDefRegMap(@Self)^.&set := $00000200;
  11532. end;
  11533. procedure TICAP5_IC5CON.clearFEDGE; inline;
  11534. begin
  11535. pTDefRegMap(@Self)^.clr := $00000200;
  11536. end;
  11537. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  11538. begin
  11539. if thebits = 0 then
  11540. pTDefRegMap(@Self)^.clr := $00000200
  11541. else
  11542. pTDefRegMap(@Self)^.&set := $00000200;
  11543. end;
  11544. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  11545. begin
  11546. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11547. end;
  11548. procedure TICAP5_IC5CON.setSIDL; inline;
  11549. begin
  11550. pTDefRegMap(@Self)^.&set := $00002000;
  11551. end;
  11552. procedure TICAP5_IC5CON.clearSIDL; inline;
  11553. begin
  11554. pTDefRegMap(@Self)^.clr := $00002000;
  11555. end;
  11556. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  11557. begin
  11558. if thebits = 0 then
  11559. pTDefRegMap(@Self)^.clr := $00002000
  11560. else
  11561. pTDefRegMap(@Self)^.&set := $00002000;
  11562. end;
  11563. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  11564. begin
  11565. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11566. end;
  11567. procedure TICAP5_IC5CON.setON; inline;
  11568. begin
  11569. pTDefRegMap(@Self)^.&set := $00008000;
  11570. end;
  11571. procedure TICAP5_IC5CON.clearON; inline;
  11572. begin
  11573. pTDefRegMap(@Self)^.clr := $00008000;
  11574. end;
  11575. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  11576. begin
  11577. if thebits = 0 then
  11578. pTDefRegMap(@Self)^.clr := $00008000
  11579. else
  11580. pTDefRegMap(@Self)^.&set := $00008000;
  11581. end;
  11582. function TICAP5_IC5CON.getON : TBits_1; inline;
  11583. begin
  11584. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11585. end;
  11586. procedure TICAP5_IC5CON.setICM0; inline;
  11587. begin
  11588. pTDefRegMap(@Self)^.&set := $00000001;
  11589. end;
  11590. procedure TICAP5_IC5CON.clearICM0; inline;
  11591. begin
  11592. pTDefRegMap(@Self)^.clr := $00000001;
  11593. end;
  11594. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  11595. begin
  11596. if thebits = 0 then
  11597. pTDefRegMap(@Self)^.clr := $00000001
  11598. else
  11599. pTDefRegMap(@Self)^.&set := $00000001;
  11600. end;
  11601. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  11602. begin
  11603. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11604. end;
  11605. procedure TICAP5_IC5CON.setICM1; inline;
  11606. begin
  11607. pTDefRegMap(@Self)^.&set := $00000002;
  11608. end;
  11609. procedure TICAP5_IC5CON.clearICM1; inline;
  11610. begin
  11611. pTDefRegMap(@Self)^.clr := $00000002;
  11612. end;
  11613. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  11614. begin
  11615. if thebits = 0 then
  11616. pTDefRegMap(@Self)^.clr := $00000002
  11617. else
  11618. pTDefRegMap(@Self)^.&set := $00000002;
  11619. end;
  11620. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  11621. begin
  11622. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11623. end;
  11624. procedure TICAP5_IC5CON.setICM2; inline;
  11625. begin
  11626. pTDefRegMap(@Self)^.&set := $00000004;
  11627. end;
  11628. procedure TICAP5_IC5CON.clearICM2; inline;
  11629. begin
  11630. pTDefRegMap(@Self)^.clr := $00000004;
  11631. end;
  11632. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  11633. begin
  11634. if thebits = 0 then
  11635. pTDefRegMap(@Self)^.clr := $00000004
  11636. else
  11637. pTDefRegMap(@Self)^.&set := $00000004;
  11638. end;
  11639. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  11640. begin
  11641. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11642. end;
  11643. procedure TICAP5_IC5CON.setICI0; inline;
  11644. begin
  11645. pTDefRegMap(@Self)^.&set := $00000020;
  11646. end;
  11647. procedure TICAP5_IC5CON.clearICI0; inline;
  11648. begin
  11649. pTDefRegMap(@Self)^.clr := $00000020;
  11650. end;
  11651. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  11652. begin
  11653. if thebits = 0 then
  11654. pTDefRegMap(@Self)^.clr := $00000020
  11655. else
  11656. pTDefRegMap(@Self)^.&set := $00000020;
  11657. end;
  11658. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  11659. begin
  11660. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11661. end;
  11662. procedure TICAP5_IC5CON.setICI1; inline;
  11663. begin
  11664. pTDefRegMap(@Self)^.&set := $00000040;
  11665. end;
  11666. procedure TICAP5_IC5CON.clearICI1; inline;
  11667. begin
  11668. pTDefRegMap(@Self)^.clr := $00000040;
  11669. end;
  11670. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  11671. begin
  11672. if thebits = 0 then
  11673. pTDefRegMap(@Self)^.clr := $00000040
  11674. else
  11675. pTDefRegMap(@Self)^.&set := $00000040;
  11676. end;
  11677. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  11678. begin
  11679. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11680. end;
  11681. procedure TICAP5_IC5CON.setICSIDL; inline;
  11682. begin
  11683. pTDefRegMap(@Self)^.&set := $00002000;
  11684. end;
  11685. procedure TICAP5_IC5CON.clearICSIDL; inline;
  11686. begin
  11687. pTDefRegMap(@Self)^.clr := $00002000;
  11688. end;
  11689. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  11690. begin
  11691. if thebits = 0 then
  11692. pTDefRegMap(@Self)^.clr := $00002000
  11693. else
  11694. pTDefRegMap(@Self)^.&set := $00002000;
  11695. end;
  11696. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  11697. begin
  11698. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11699. end;
  11700. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  11701. begin
  11702. pTDefRegMap(@Self)^.val := thebits;
  11703. end;
  11704. function TICAP5_IC5CON.getw : TBits_32; inline;
  11705. begin
  11706. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11707. end;
  11708. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  11709. begin
  11710. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11711. end;
  11712. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  11713. begin
  11714. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11715. end;
  11716. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  11717. begin
  11718. pTDefRegMap(@Self)^.&set := $00000008;
  11719. end;
  11720. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  11721. begin
  11722. pTDefRegMap(@Self)^.clr := $00000008;
  11723. end;
  11724. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  11725. begin
  11726. if thebits = 0 then
  11727. pTDefRegMap(@Self)^.clr := $00000008
  11728. else
  11729. pTDefRegMap(@Self)^.&set := $00000008;
  11730. end;
  11731. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  11732. begin
  11733. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11734. end;
  11735. procedure TOCMP1_OC1CON.setOCFLT; inline;
  11736. begin
  11737. pTDefRegMap(@Self)^.&set := $00000010;
  11738. end;
  11739. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  11740. begin
  11741. pTDefRegMap(@Self)^.clr := $00000010;
  11742. end;
  11743. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  11744. begin
  11745. if thebits = 0 then
  11746. pTDefRegMap(@Self)^.clr := $00000010
  11747. else
  11748. pTDefRegMap(@Self)^.&set := $00000010;
  11749. end;
  11750. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  11751. begin
  11752. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11753. end;
  11754. procedure TOCMP1_OC1CON.setOC32; inline;
  11755. begin
  11756. pTDefRegMap(@Self)^.&set := $00000020;
  11757. end;
  11758. procedure TOCMP1_OC1CON.clearOC32; inline;
  11759. begin
  11760. pTDefRegMap(@Self)^.clr := $00000020;
  11761. end;
  11762. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  11763. begin
  11764. if thebits = 0 then
  11765. pTDefRegMap(@Self)^.clr := $00000020
  11766. else
  11767. pTDefRegMap(@Self)^.&set := $00000020;
  11768. end;
  11769. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  11770. begin
  11771. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11772. end;
  11773. procedure TOCMP1_OC1CON.setSIDL; inline;
  11774. begin
  11775. pTDefRegMap(@Self)^.&set := $00002000;
  11776. end;
  11777. procedure TOCMP1_OC1CON.clearSIDL; inline;
  11778. begin
  11779. pTDefRegMap(@Self)^.clr := $00002000;
  11780. end;
  11781. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  11782. begin
  11783. if thebits = 0 then
  11784. pTDefRegMap(@Self)^.clr := $00002000
  11785. else
  11786. pTDefRegMap(@Self)^.&set := $00002000;
  11787. end;
  11788. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  11789. begin
  11790. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11791. end;
  11792. procedure TOCMP1_OC1CON.setON; inline;
  11793. begin
  11794. pTDefRegMap(@Self)^.&set := $00008000;
  11795. end;
  11796. procedure TOCMP1_OC1CON.clearON; inline;
  11797. begin
  11798. pTDefRegMap(@Self)^.clr := $00008000;
  11799. end;
  11800. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  11801. begin
  11802. if thebits = 0 then
  11803. pTDefRegMap(@Self)^.clr := $00008000
  11804. else
  11805. pTDefRegMap(@Self)^.&set := $00008000;
  11806. end;
  11807. function TOCMP1_OC1CON.getON : TBits_1; inline;
  11808. begin
  11809. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11810. end;
  11811. procedure TOCMP1_OC1CON.setOCM0; inline;
  11812. begin
  11813. pTDefRegMap(@Self)^.&set := $00000001;
  11814. end;
  11815. procedure TOCMP1_OC1CON.clearOCM0; inline;
  11816. begin
  11817. pTDefRegMap(@Self)^.clr := $00000001;
  11818. end;
  11819. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  11820. begin
  11821. if thebits = 0 then
  11822. pTDefRegMap(@Self)^.clr := $00000001
  11823. else
  11824. pTDefRegMap(@Self)^.&set := $00000001;
  11825. end;
  11826. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  11827. begin
  11828. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11829. end;
  11830. procedure TOCMP1_OC1CON.setOCM1; inline;
  11831. begin
  11832. pTDefRegMap(@Self)^.&set := $00000002;
  11833. end;
  11834. procedure TOCMP1_OC1CON.clearOCM1; inline;
  11835. begin
  11836. pTDefRegMap(@Self)^.clr := $00000002;
  11837. end;
  11838. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  11839. begin
  11840. if thebits = 0 then
  11841. pTDefRegMap(@Self)^.clr := $00000002
  11842. else
  11843. pTDefRegMap(@Self)^.&set := $00000002;
  11844. end;
  11845. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  11846. begin
  11847. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11848. end;
  11849. procedure TOCMP1_OC1CON.setOCM2; inline;
  11850. begin
  11851. pTDefRegMap(@Self)^.&set := $00000004;
  11852. end;
  11853. procedure TOCMP1_OC1CON.clearOCM2; inline;
  11854. begin
  11855. pTDefRegMap(@Self)^.clr := $00000004;
  11856. end;
  11857. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  11858. begin
  11859. if thebits = 0 then
  11860. pTDefRegMap(@Self)^.clr := $00000004
  11861. else
  11862. pTDefRegMap(@Self)^.&set := $00000004;
  11863. end;
  11864. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  11865. begin
  11866. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11867. end;
  11868. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  11869. begin
  11870. pTDefRegMap(@Self)^.&set := $00002000;
  11871. end;
  11872. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  11873. begin
  11874. pTDefRegMap(@Self)^.clr := $00002000;
  11875. end;
  11876. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  11877. begin
  11878. if thebits = 0 then
  11879. pTDefRegMap(@Self)^.clr := $00002000
  11880. else
  11881. pTDefRegMap(@Self)^.&set := $00002000;
  11882. end;
  11883. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  11884. begin
  11885. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11886. end;
  11887. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  11888. begin
  11889. pTDefRegMap(@Self)^.val := thebits;
  11890. end;
  11891. function TOCMP1_OC1CON.getw : TBits_32; inline;
  11892. begin
  11893. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11894. end;
  11895. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  11896. begin
  11897. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11898. end;
  11899. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  11900. begin
  11901. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11902. end;
  11903. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  11904. begin
  11905. pTDefRegMap(@Self)^.&set := $00000008;
  11906. end;
  11907. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  11908. begin
  11909. pTDefRegMap(@Self)^.clr := $00000008;
  11910. end;
  11911. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  11912. begin
  11913. if thebits = 0 then
  11914. pTDefRegMap(@Self)^.clr := $00000008
  11915. else
  11916. pTDefRegMap(@Self)^.&set := $00000008;
  11917. end;
  11918. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  11919. begin
  11920. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11921. end;
  11922. procedure TOCMP2_OC2CON.setOCFLT; inline;
  11923. begin
  11924. pTDefRegMap(@Self)^.&set := $00000010;
  11925. end;
  11926. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  11927. begin
  11928. pTDefRegMap(@Self)^.clr := $00000010;
  11929. end;
  11930. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  11931. begin
  11932. if thebits = 0 then
  11933. pTDefRegMap(@Self)^.clr := $00000010
  11934. else
  11935. pTDefRegMap(@Self)^.&set := $00000010;
  11936. end;
  11937. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  11938. begin
  11939. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11940. end;
  11941. procedure TOCMP2_OC2CON.setOC32; inline;
  11942. begin
  11943. pTDefRegMap(@Self)^.&set := $00000020;
  11944. end;
  11945. procedure TOCMP2_OC2CON.clearOC32; inline;
  11946. begin
  11947. pTDefRegMap(@Self)^.clr := $00000020;
  11948. end;
  11949. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  11950. begin
  11951. if thebits = 0 then
  11952. pTDefRegMap(@Self)^.clr := $00000020
  11953. else
  11954. pTDefRegMap(@Self)^.&set := $00000020;
  11955. end;
  11956. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  11957. begin
  11958. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11959. end;
  11960. procedure TOCMP2_OC2CON.setSIDL; inline;
  11961. begin
  11962. pTDefRegMap(@Self)^.&set := $00002000;
  11963. end;
  11964. procedure TOCMP2_OC2CON.clearSIDL; inline;
  11965. begin
  11966. pTDefRegMap(@Self)^.clr := $00002000;
  11967. end;
  11968. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  11969. begin
  11970. if thebits = 0 then
  11971. pTDefRegMap(@Self)^.clr := $00002000
  11972. else
  11973. pTDefRegMap(@Self)^.&set := $00002000;
  11974. end;
  11975. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  11976. begin
  11977. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11978. end;
  11979. procedure TOCMP2_OC2CON.setON; inline;
  11980. begin
  11981. pTDefRegMap(@Self)^.&set := $00008000;
  11982. end;
  11983. procedure TOCMP2_OC2CON.clearON; inline;
  11984. begin
  11985. pTDefRegMap(@Self)^.clr := $00008000;
  11986. end;
  11987. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  11988. begin
  11989. if thebits = 0 then
  11990. pTDefRegMap(@Self)^.clr := $00008000
  11991. else
  11992. pTDefRegMap(@Self)^.&set := $00008000;
  11993. end;
  11994. function TOCMP2_OC2CON.getON : TBits_1; inline;
  11995. begin
  11996. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11997. end;
  11998. procedure TOCMP2_OC2CON.setOCM0; inline;
  11999. begin
  12000. pTDefRegMap(@Self)^.&set := $00000001;
  12001. end;
  12002. procedure TOCMP2_OC2CON.clearOCM0; inline;
  12003. begin
  12004. pTDefRegMap(@Self)^.clr := $00000001;
  12005. end;
  12006. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  12007. begin
  12008. if thebits = 0 then
  12009. pTDefRegMap(@Self)^.clr := $00000001
  12010. else
  12011. pTDefRegMap(@Self)^.&set := $00000001;
  12012. end;
  12013. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  12014. begin
  12015. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12016. end;
  12017. procedure TOCMP2_OC2CON.setOCM1; inline;
  12018. begin
  12019. pTDefRegMap(@Self)^.&set := $00000002;
  12020. end;
  12021. procedure TOCMP2_OC2CON.clearOCM1; inline;
  12022. begin
  12023. pTDefRegMap(@Self)^.clr := $00000002;
  12024. end;
  12025. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  12026. begin
  12027. if thebits = 0 then
  12028. pTDefRegMap(@Self)^.clr := $00000002
  12029. else
  12030. pTDefRegMap(@Self)^.&set := $00000002;
  12031. end;
  12032. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  12033. begin
  12034. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12035. end;
  12036. procedure TOCMP2_OC2CON.setOCM2; inline;
  12037. begin
  12038. pTDefRegMap(@Self)^.&set := $00000004;
  12039. end;
  12040. procedure TOCMP2_OC2CON.clearOCM2; inline;
  12041. begin
  12042. pTDefRegMap(@Self)^.clr := $00000004;
  12043. end;
  12044. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  12045. begin
  12046. if thebits = 0 then
  12047. pTDefRegMap(@Self)^.clr := $00000004
  12048. else
  12049. pTDefRegMap(@Self)^.&set := $00000004;
  12050. end;
  12051. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  12052. begin
  12053. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12054. end;
  12055. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  12056. begin
  12057. pTDefRegMap(@Self)^.&set := $00002000;
  12058. end;
  12059. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  12060. begin
  12061. pTDefRegMap(@Self)^.clr := $00002000;
  12062. end;
  12063. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  12064. begin
  12065. if thebits = 0 then
  12066. pTDefRegMap(@Self)^.clr := $00002000
  12067. else
  12068. pTDefRegMap(@Self)^.&set := $00002000;
  12069. end;
  12070. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  12071. begin
  12072. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12073. end;
  12074. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  12075. begin
  12076. pTDefRegMap(@Self)^.val := thebits;
  12077. end;
  12078. function TOCMP2_OC2CON.getw : TBits_32; inline;
  12079. begin
  12080. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12081. end;
  12082. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  12083. begin
  12084. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12085. end;
  12086. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  12087. begin
  12088. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12089. end;
  12090. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  12091. begin
  12092. pTDefRegMap(@Self)^.&set := $00000008;
  12093. end;
  12094. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  12095. begin
  12096. pTDefRegMap(@Self)^.clr := $00000008;
  12097. end;
  12098. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  12099. begin
  12100. if thebits = 0 then
  12101. pTDefRegMap(@Self)^.clr := $00000008
  12102. else
  12103. pTDefRegMap(@Self)^.&set := $00000008;
  12104. end;
  12105. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  12106. begin
  12107. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12108. end;
  12109. procedure TOCMP3_OC3CON.setOCFLT; inline;
  12110. begin
  12111. pTDefRegMap(@Self)^.&set := $00000010;
  12112. end;
  12113. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  12114. begin
  12115. pTDefRegMap(@Self)^.clr := $00000010;
  12116. end;
  12117. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  12118. begin
  12119. if thebits = 0 then
  12120. pTDefRegMap(@Self)^.clr := $00000010
  12121. else
  12122. pTDefRegMap(@Self)^.&set := $00000010;
  12123. end;
  12124. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  12125. begin
  12126. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12127. end;
  12128. procedure TOCMP3_OC3CON.setOC32; inline;
  12129. begin
  12130. pTDefRegMap(@Self)^.&set := $00000020;
  12131. end;
  12132. procedure TOCMP3_OC3CON.clearOC32; inline;
  12133. begin
  12134. pTDefRegMap(@Self)^.clr := $00000020;
  12135. end;
  12136. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  12137. begin
  12138. if thebits = 0 then
  12139. pTDefRegMap(@Self)^.clr := $00000020
  12140. else
  12141. pTDefRegMap(@Self)^.&set := $00000020;
  12142. end;
  12143. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  12144. begin
  12145. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12146. end;
  12147. procedure TOCMP3_OC3CON.setSIDL; inline;
  12148. begin
  12149. pTDefRegMap(@Self)^.&set := $00002000;
  12150. end;
  12151. procedure TOCMP3_OC3CON.clearSIDL; inline;
  12152. begin
  12153. pTDefRegMap(@Self)^.clr := $00002000;
  12154. end;
  12155. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  12156. begin
  12157. if thebits = 0 then
  12158. pTDefRegMap(@Self)^.clr := $00002000
  12159. else
  12160. pTDefRegMap(@Self)^.&set := $00002000;
  12161. end;
  12162. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  12163. begin
  12164. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12165. end;
  12166. procedure TOCMP3_OC3CON.setON; inline;
  12167. begin
  12168. pTDefRegMap(@Self)^.&set := $00008000;
  12169. end;
  12170. procedure TOCMP3_OC3CON.clearON; inline;
  12171. begin
  12172. pTDefRegMap(@Self)^.clr := $00008000;
  12173. end;
  12174. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  12175. begin
  12176. if thebits = 0 then
  12177. pTDefRegMap(@Self)^.clr := $00008000
  12178. else
  12179. pTDefRegMap(@Self)^.&set := $00008000;
  12180. end;
  12181. function TOCMP3_OC3CON.getON : TBits_1; inline;
  12182. begin
  12183. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12184. end;
  12185. procedure TOCMP3_OC3CON.setOCM0; inline;
  12186. begin
  12187. pTDefRegMap(@Self)^.&set := $00000001;
  12188. end;
  12189. procedure TOCMP3_OC3CON.clearOCM0; inline;
  12190. begin
  12191. pTDefRegMap(@Self)^.clr := $00000001;
  12192. end;
  12193. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  12194. begin
  12195. if thebits = 0 then
  12196. pTDefRegMap(@Self)^.clr := $00000001
  12197. else
  12198. pTDefRegMap(@Self)^.&set := $00000001;
  12199. end;
  12200. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  12201. begin
  12202. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12203. end;
  12204. procedure TOCMP3_OC3CON.setOCM1; inline;
  12205. begin
  12206. pTDefRegMap(@Self)^.&set := $00000002;
  12207. end;
  12208. procedure TOCMP3_OC3CON.clearOCM1; inline;
  12209. begin
  12210. pTDefRegMap(@Self)^.clr := $00000002;
  12211. end;
  12212. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  12213. begin
  12214. if thebits = 0 then
  12215. pTDefRegMap(@Self)^.clr := $00000002
  12216. else
  12217. pTDefRegMap(@Self)^.&set := $00000002;
  12218. end;
  12219. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  12220. begin
  12221. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12222. end;
  12223. procedure TOCMP3_OC3CON.setOCM2; inline;
  12224. begin
  12225. pTDefRegMap(@Self)^.&set := $00000004;
  12226. end;
  12227. procedure TOCMP3_OC3CON.clearOCM2; inline;
  12228. begin
  12229. pTDefRegMap(@Self)^.clr := $00000004;
  12230. end;
  12231. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  12232. begin
  12233. if thebits = 0 then
  12234. pTDefRegMap(@Self)^.clr := $00000004
  12235. else
  12236. pTDefRegMap(@Self)^.&set := $00000004;
  12237. end;
  12238. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  12239. begin
  12240. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12241. end;
  12242. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  12243. begin
  12244. pTDefRegMap(@Self)^.&set := $00002000;
  12245. end;
  12246. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  12247. begin
  12248. pTDefRegMap(@Self)^.clr := $00002000;
  12249. end;
  12250. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  12251. begin
  12252. if thebits = 0 then
  12253. pTDefRegMap(@Self)^.clr := $00002000
  12254. else
  12255. pTDefRegMap(@Self)^.&set := $00002000;
  12256. end;
  12257. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  12258. begin
  12259. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12260. end;
  12261. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  12262. begin
  12263. pTDefRegMap(@Self)^.val := thebits;
  12264. end;
  12265. function TOCMP3_OC3CON.getw : TBits_32; inline;
  12266. begin
  12267. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12268. end;
  12269. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  12270. begin
  12271. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12272. end;
  12273. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  12274. begin
  12275. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12276. end;
  12277. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  12278. begin
  12279. pTDefRegMap(@Self)^.&set := $00000008;
  12280. end;
  12281. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  12282. begin
  12283. pTDefRegMap(@Self)^.clr := $00000008;
  12284. end;
  12285. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  12286. begin
  12287. if thebits = 0 then
  12288. pTDefRegMap(@Self)^.clr := $00000008
  12289. else
  12290. pTDefRegMap(@Self)^.&set := $00000008;
  12291. end;
  12292. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  12293. begin
  12294. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12295. end;
  12296. procedure TOCMP4_OC4CON.setOCFLT; inline;
  12297. begin
  12298. pTDefRegMap(@Self)^.&set := $00000010;
  12299. end;
  12300. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  12301. begin
  12302. pTDefRegMap(@Self)^.clr := $00000010;
  12303. end;
  12304. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  12305. begin
  12306. if thebits = 0 then
  12307. pTDefRegMap(@Self)^.clr := $00000010
  12308. else
  12309. pTDefRegMap(@Self)^.&set := $00000010;
  12310. end;
  12311. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  12312. begin
  12313. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12314. end;
  12315. procedure TOCMP4_OC4CON.setOC32; inline;
  12316. begin
  12317. pTDefRegMap(@Self)^.&set := $00000020;
  12318. end;
  12319. procedure TOCMP4_OC4CON.clearOC32; inline;
  12320. begin
  12321. pTDefRegMap(@Self)^.clr := $00000020;
  12322. end;
  12323. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  12324. begin
  12325. if thebits = 0 then
  12326. pTDefRegMap(@Self)^.clr := $00000020
  12327. else
  12328. pTDefRegMap(@Self)^.&set := $00000020;
  12329. end;
  12330. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  12331. begin
  12332. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12333. end;
  12334. procedure TOCMP4_OC4CON.setSIDL; inline;
  12335. begin
  12336. pTDefRegMap(@Self)^.&set := $00002000;
  12337. end;
  12338. procedure TOCMP4_OC4CON.clearSIDL; inline;
  12339. begin
  12340. pTDefRegMap(@Self)^.clr := $00002000;
  12341. end;
  12342. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  12343. begin
  12344. if thebits = 0 then
  12345. pTDefRegMap(@Self)^.clr := $00002000
  12346. else
  12347. pTDefRegMap(@Self)^.&set := $00002000;
  12348. end;
  12349. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  12350. begin
  12351. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12352. end;
  12353. procedure TOCMP4_OC4CON.setON; inline;
  12354. begin
  12355. pTDefRegMap(@Self)^.&set := $00008000;
  12356. end;
  12357. procedure TOCMP4_OC4CON.clearON; inline;
  12358. begin
  12359. pTDefRegMap(@Self)^.clr := $00008000;
  12360. end;
  12361. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  12362. begin
  12363. if thebits = 0 then
  12364. pTDefRegMap(@Self)^.clr := $00008000
  12365. else
  12366. pTDefRegMap(@Self)^.&set := $00008000;
  12367. end;
  12368. function TOCMP4_OC4CON.getON : TBits_1; inline;
  12369. begin
  12370. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12371. end;
  12372. procedure TOCMP4_OC4CON.setOCM0; inline;
  12373. begin
  12374. pTDefRegMap(@Self)^.&set := $00000001;
  12375. end;
  12376. procedure TOCMP4_OC4CON.clearOCM0; inline;
  12377. begin
  12378. pTDefRegMap(@Self)^.clr := $00000001;
  12379. end;
  12380. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  12381. begin
  12382. if thebits = 0 then
  12383. pTDefRegMap(@Self)^.clr := $00000001
  12384. else
  12385. pTDefRegMap(@Self)^.&set := $00000001;
  12386. end;
  12387. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  12388. begin
  12389. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12390. end;
  12391. procedure TOCMP4_OC4CON.setOCM1; inline;
  12392. begin
  12393. pTDefRegMap(@Self)^.&set := $00000002;
  12394. end;
  12395. procedure TOCMP4_OC4CON.clearOCM1; inline;
  12396. begin
  12397. pTDefRegMap(@Self)^.clr := $00000002;
  12398. end;
  12399. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  12400. begin
  12401. if thebits = 0 then
  12402. pTDefRegMap(@Self)^.clr := $00000002
  12403. else
  12404. pTDefRegMap(@Self)^.&set := $00000002;
  12405. end;
  12406. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  12407. begin
  12408. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12409. end;
  12410. procedure TOCMP4_OC4CON.setOCM2; inline;
  12411. begin
  12412. pTDefRegMap(@Self)^.&set := $00000004;
  12413. end;
  12414. procedure TOCMP4_OC4CON.clearOCM2; inline;
  12415. begin
  12416. pTDefRegMap(@Self)^.clr := $00000004;
  12417. end;
  12418. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  12419. begin
  12420. if thebits = 0 then
  12421. pTDefRegMap(@Self)^.clr := $00000004
  12422. else
  12423. pTDefRegMap(@Self)^.&set := $00000004;
  12424. end;
  12425. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  12426. begin
  12427. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12428. end;
  12429. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  12430. begin
  12431. pTDefRegMap(@Self)^.&set := $00002000;
  12432. end;
  12433. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  12434. begin
  12435. pTDefRegMap(@Self)^.clr := $00002000;
  12436. end;
  12437. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  12438. begin
  12439. if thebits = 0 then
  12440. pTDefRegMap(@Self)^.clr := $00002000
  12441. else
  12442. pTDefRegMap(@Self)^.&set := $00002000;
  12443. end;
  12444. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  12445. begin
  12446. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12447. end;
  12448. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  12449. begin
  12450. pTDefRegMap(@Self)^.val := thebits;
  12451. end;
  12452. function TOCMP4_OC4CON.getw : TBits_32; inline;
  12453. begin
  12454. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12455. end;
  12456. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  12457. begin
  12458. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12459. end;
  12460. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  12461. begin
  12462. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12463. end;
  12464. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  12465. begin
  12466. pTDefRegMap(@Self)^.&set := $00000008;
  12467. end;
  12468. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  12469. begin
  12470. pTDefRegMap(@Self)^.clr := $00000008;
  12471. end;
  12472. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  12473. begin
  12474. if thebits = 0 then
  12475. pTDefRegMap(@Self)^.clr := $00000008
  12476. else
  12477. pTDefRegMap(@Self)^.&set := $00000008;
  12478. end;
  12479. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  12480. begin
  12481. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12482. end;
  12483. procedure TOCMP5_OC5CON.setOCFLT; inline;
  12484. begin
  12485. pTDefRegMap(@Self)^.&set := $00000010;
  12486. end;
  12487. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  12488. begin
  12489. pTDefRegMap(@Self)^.clr := $00000010;
  12490. end;
  12491. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  12492. begin
  12493. if thebits = 0 then
  12494. pTDefRegMap(@Self)^.clr := $00000010
  12495. else
  12496. pTDefRegMap(@Self)^.&set := $00000010;
  12497. end;
  12498. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  12499. begin
  12500. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12501. end;
  12502. procedure TOCMP5_OC5CON.setOC32; inline;
  12503. begin
  12504. pTDefRegMap(@Self)^.&set := $00000020;
  12505. end;
  12506. procedure TOCMP5_OC5CON.clearOC32; inline;
  12507. begin
  12508. pTDefRegMap(@Self)^.clr := $00000020;
  12509. end;
  12510. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  12511. begin
  12512. if thebits = 0 then
  12513. pTDefRegMap(@Self)^.clr := $00000020
  12514. else
  12515. pTDefRegMap(@Self)^.&set := $00000020;
  12516. end;
  12517. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  12518. begin
  12519. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12520. end;
  12521. procedure TOCMP5_OC5CON.setSIDL; inline;
  12522. begin
  12523. pTDefRegMap(@Self)^.&set := $00002000;
  12524. end;
  12525. procedure TOCMP5_OC5CON.clearSIDL; inline;
  12526. begin
  12527. pTDefRegMap(@Self)^.clr := $00002000;
  12528. end;
  12529. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  12530. begin
  12531. if thebits = 0 then
  12532. pTDefRegMap(@Self)^.clr := $00002000
  12533. else
  12534. pTDefRegMap(@Self)^.&set := $00002000;
  12535. end;
  12536. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  12537. begin
  12538. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12539. end;
  12540. procedure TOCMP5_OC5CON.setON; inline;
  12541. begin
  12542. pTDefRegMap(@Self)^.&set := $00008000;
  12543. end;
  12544. procedure TOCMP5_OC5CON.clearON; inline;
  12545. begin
  12546. pTDefRegMap(@Self)^.clr := $00008000;
  12547. end;
  12548. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  12549. begin
  12550. if thebits = 0 then
  12551. pTDefRegMap(@Self)^.clr := $00008000
  12552. else
  12553. pTDefRegMap(@Self)^.&set := $00008000;
  12554. end;
  12555. function TOCMP5_OC5CON.getON : TBits_1; inline;
  12556. begin
  12557. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12558. end;
  12559. procedure TOCMP5_OC5CON.setOCM0; inline;
  12560. begin
  12561. pTDefRegMap(@Self)^.&set := $00000001;
  12562. end;
  12563. procedure TOCMP5_OC5CON.clearOCM0; inline;
  12564. begin
  12565. pTDefRegMap(@Self)^.clr := $00000001;
  12566. end;
  12567. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  12568. begin
  12569. if thebits = 0 then
  12570. pTDefRegMap(@Self)^.clr := $00000001
  12571. else
  12572. pTDefRegMap(@Self)^.&set := $00000001;
  12573. end;
  12574. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  12575. begin
  12576. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12577. end;
  12578. procedure TOCMP5_OC5CON.setOCM1; inline;
  12579. begin
  12580. pTDefRegMap(@Self)^.&set := $00000002;
  12581. end;
  12582. procedure TOCMP5_OC5CON.clearOCM1; inline;
  12583. begin
  12584. pTDefRegMap(@Self)^.clr := $00000002;
  12585. end;
  12586. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  12587. begin
  12588. if thebits = 0 then
  12589. pTDefRegMap(@Self)^.clr := $00000002
  12590. else
  12591. pTDefRegMap(@Self)^.&set := $00000002;
  12592. end;
  12593. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  12594. begin
  12595. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12596. end;
  12597. procedure TOCMP5_OC5CON.setOCM2; inline;
  12598. begin
  12599. pTDefRegMap(@Self)^.&set := $00000004;
  12600. end;
  12601. procedure TOCMP5_OC5CON.clearOCM2; inline;
  12602. begin
  12603. pTDefRegMap(@Self)^.clr := $00000004;
  12604. end;
  12605. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  12606. begin
  12607. if thebits = 0 then
  12608. pTDefRegMap(@Self)^.clr := $00000004
  12609. else
  12610. pTDefRegMap(@Self)^.&set := $00000004;
  12611. end;
  12612. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  12613. begin
  12614. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12615. end;
  12616. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  12617. begin
  12618. pTDefRegMap(@Self)^.&set := $00002000;
  12619. end;
  12620. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  12621. begin
  12622. pTDefRegMap(@Self)^.clr := $00002000;
  12623. end;
  12624. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  12625. begin
  12626. if thebits = 0 then
  12627. pTDefRegMap(@Self)^.clr := $00002000
  12628. else
  12629. pTDefRegMap(@Self)^.&set := $00002000;
  12630. end;
  12631. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  12632. begin
  12633. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12634. end;
  12635. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  12636. begin
  12637. pTDefRegMap(@Self)^.val := thebits;
  12638. end;
  12639. function TOCMP5_OC5CON.getw : TBits_32; inline;
  12640. begin
  12641. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12642. end;
  12643. procedure TI2C1_I2C1CON.setSEN; inline;
  12644. begin
  12645. pTDefRegMap(@Self)^.&set := $00000001;
  12646. end;
  12647. procedure TI2C1_I2C1CON.clearSEN; inline;
  12648. begin
  12649. pTDefRegMap(@Self)^.clr := $00000001;
  12650. end;
  12651. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  12652. begin
  12653. if thebits = 0 then
  12654. pTDefRegMap(@Self)^.clr := $00000001
  12655. else
  12656. pTDefRegMap(@Self)^.&set := $00000001;
  12657. end;
  12658. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  12659. begin
  12660. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12661. end;
  12662. procedure TI2C1_I2C1CON.setRSEN; inline;
  12663. begin
  12664. pTDefRegMap(@Self)^.&set := $00000002;
  12665. end;
  12666. procedure TI2C1_I2C1CON.clearRSEN; inline;
  12667. begin
  12668. pTDefRegMap(@Self)^.clr := $00000002;
  12669. end;
  12670. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  12671. begin
  12672. if thebits = 0 then
  12673. pTDefRegMap(@Self)^.clr := $00000002
  12674. else
  12675. pTDefRegMap(@Self)^.&set := $00000002;
  12676. end;
  12677. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  12678. begin
  12679. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12680. end;
  12681. procedure TI2C1_I2C1CON.setPEN; inline;
  12682. begin
  12683. pTDefRegMap(@Self)^.&set := $00000004;
  12684. end;
  12685. procedure TI2C1_I2C1CON.clearPEN; inline;
  12686. begin
  12687. pTDefRegMap(@Self)^.clr := $00000004;
  12688. end;
  12689. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  12690. begin
  12691. if thebits = 0 then
  12692. pTDefRegMap(@Self)^.clr := $00000004
  12693. else
  12694. pTDefRegMap(@Self)^.&set := $00000004;
  12695. end;
  12696. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  12697. begin
  12698. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12699. end;
  12700. procedure TI2C1_I2C1CON.setRCEN; inline;
  12701. begin
  12702. pTDefRegMap(@Self)^.&set := $00000008;
  12703. end;
  12704. procedure TI2C1_I2C1CON.clearRCEN; inline;
  12705. begin
  12706. pTDefRegMap(@Self)^.clr := $00000008;
  12707. end;
  12708. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  12709. begin
  12710. if thebits = 0 then
  12711. pTDefRegMap(@Self)^.clr := $00000008
  12712. else
  12713. pTDefRegMap(@Self)^.&set := $00000008;
  12714. end;
  12715. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  12716. begin
  12717. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12718. end;
  12719. procedure TI2C1_I2C1CON.setACKEN; inline;
  12720. begin
  12721. pTDefRegMap(@Self)^.&set := $00000010;
  12722. end;
  12723. procedure TI2C1_I2C1CON.clearACKEN; inline;
  12724. begin
  12725. pTDefRegMap(@Self)^.clr := $00000010;
  12726. end;
  12727. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  12728. begin
  12729. if thebits = 0 then
  12730. pTDefRegMap(@Self)^.clr := $00000010
  12731. else
  12732. pTDefRegMap(@Self)^.&set := $00000010;
  12733. end;
  12734. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  12735. begin
  12736. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12737. end;
  12738. procedure TI2C1_I2C1CON.setACKDT; inline;
  12739. begin
  12740. pTDefRegMap(@Self)^.&set := $00000020;
  12741. end;
  12742. procedure TI2C1_I2C1CON.clearACKDT; inline;
  12743. begin
  12744. pTDefRegMap(@Self)^.clr := $00000020;
  12745. end;
  12746. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  12747. begin
  12748. if thebits = 0 then
  12749. pTDefRegMap(@Self)^.clr := $00000020
  12750. else
  12751. pTDefRegMap(@Self)^.&set := $00000020;
  12752. end;
  12753. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  12754. begin
  12755. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12756. end;
  12757. procedure TI2C1_I2C1CON.setSTREN; inline;
  12758. begin
  12759. pTDefRegMap(@Self)^.&set := $00000040;
  12760. end;
  12761. procedure TI2C1_I2C1CON.clearSTREN; inline;
  12762. begin
  12763. pTDefRegMap(@Self)^.clr := $00000040;
  12764. end;
  12765. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  12766. begin
  12767. if thebits = 0 then
  12768. pTDefRegMap(@Self)^.clr := $00000040
  12769. else
  12770. pTDefRegMap(@Self)^.&set := $00000040;
  12771. end;
  12772. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  12773. begin
  12774. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12775. end;
  12776. procedure TI2C1_I2C1CON.setGCEN; inline;
  12777. begin
  12778. pTDefRegMap(@Self)^.&set := $00000080;
  12779. end;
  12780. procedure TI2C1_I2C1CON.clearGCEN; inline;
  12781. begin
  12782. pTDefRegMap(@Self)^.clr := $00000080;
  12783. end;
  12784. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  12785. begin
  12786. if thebits = 0 then
  12787. pTDefRegMap(@Self)^.clr := $00000080
  12788. else
  12789. pTDefRegMap(@Self)^.&set := $00000080;
  12790. end;
  12791. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  12792. begin
  12793. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12794. end;
  12795. procedure TI2C1_I2C1CON.setSMEN; inline;
  12796. begin
  12797. pTDefRegMap(@Self)^.&set := $00000100;
  12798. end;
  12799. procedure TI2C1_I2C1CON.clearSMEN; inline;
  12800. begin
  12801. pTDefRegMap(@Self)^.clr := $00000100;
  12802. end;
  12803. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  12804. begin
  12805. if thebits = 0 then
  12806. pTDefRegMap(@Self)^.clr := $00000100
  12807. else
  12808. pTDefRegMap(@Self)^.&set := $00000100;
  12809. end;
  12810. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  12811. begin
  12812. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12813. end;
  12814. procedure TI2C1_I2C1CON.setDISSLW; inline;
  12815. begin
  12816. pTDefRegMap(@Self)^.&set := $00000200;
  12817. end;
  12818. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  12819. begin
  12820. pTDefRegMap(@Self)^.clr := $00000200;
  12821. end;
  12822. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  12823. begin
  12824. if thebits = 0 then
  12825. pTDefRegMap(@Self)^.clr := $00000200
  12826. else
  12827. pTDefRegMap(@Self)^.&set := $00000200;
  12828. end;
  12829. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  12830. begin
  12831. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12832. end;
  12833. procedure TI2C1_I2C1CON.setA10M; inline;
  12834. begin
  12835. pTDefRegMap(@Self)^.&set := $00000400;
  12836. end;
  12837. procedure TI2C1_I2C1CON.clearA10M; inline;
  12838. begin
  12839. pTDefRegMap(@Self)^.clr := $00000400;
  12840. end;
  12841. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  12842. begin
  12843. if thebits = 0 then
  12844. pTDefRegMap(@Self)^.clr := $00000400
  12845. else
  12846. pTDefRegMap(@Self)^.&set := $00000400;
  12847. end;
  12848. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  12849. begin
  12850. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12851. end;
  12852. procedure TI2C1_I2C1CON.setSTRICT; inline;
  12853. begin
  12854. pTDefRegMap(@Self)^.&set := $00000800;
  12855. end;
  12856. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  12857. begin
  12858. pTDefRegMap(@Self)^.clr := $00000800;
  12859. end;
  12860. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  12861. begin
  12862. if thebits = 0 then
  12863. pTDefRegMap(@Self)^.clr := $00000800
  12864. else
  12865. pTDefRegMap(@Self)^.&set := $00000800;
  12866. end;
  12867. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  12868. begin
  12869. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12870. end;
  12871. procedure TI2C1_I2C1CON.setSCLREL; inline;
  12872. begin
  12873. pTDefRegMap(@Self)^.&set := $00001000;
  12874. end;
  12875. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  12876. begin
  12877. pTDefRegMap(@Self)^.clr := $00001000;
  12878. end;
  12879. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  12880. begin
  12881. if thebits = 0 then
  12882. pTDefRegMap(@Self)^.clr := $00001000
  12883. else
  12884. pTDefRegMap(@Self)^.&set := $00001000;
  12885. end;
  12886. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  12887. begin
  12888. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12889. end;
  12890. procedure TI2C1_I2C1CON.setSIDL; inline;
  12891. begin
  12892. pTDefRegMap(@Self)^.&set := $00002000;
  12893. end;
  12894. procedure TI2C1_I2C1CON.clearSIDL; inline;
  12895. begin
  12896. pTDefRegMap(@Self)^.clr := $00002000;
  12897. end;
  12898. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  12899. begin
  12900. if thebits = 0 then
  12901. pTDefRegMap(@Self)^.clr := $00002000
  12902. else
  12903. pTDefRegMap(@Self)^.&set := $00002000;
  12904. end;
  12905. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  12906. begin
  12907. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12908. end;
  12909. procedure TI2C1_I2C1CON.setON; inline;
  12910. begin
  12911. pTDefRegMap(@Self)^.&set := $00008000;
  12912. end;
  12913. procedure TI2C1_I2C1CON.clearON; inline;
  12914. begin
  12915. pTDefRegMap(@Self)^.clr := $00008000;
  12916. end;
  12917. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  12918. begin
  12919. if thebits = 0 then
  12920. pTDefRegMap(@Self)^.clr := $00008000
  12921. else
  12922. pTDefRegMap(@Self)^.&set := $00008000;
  12923. end;
  12924. function TI2C1_I2C1CON.getON : TBits_1; inline;
  12925. begin
  12926. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12927. end;
  12928. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  12929. begin
  12930. pTDefRegMap(@Self)^.&set := $00000800;
  12931. end;
  12932. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  12933. begin
  12934. pTDefRegMap(@Self)^.clr := $00000800;
  12935. end;
  12936. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  12937. begin
  12938. if thebits = 0 then
  12939. pTDefRegMap(@Self)^.clr := $00000800
  12940. else
  12941. pTDefRegMap(@Self)^.&set := $00000800;
  12942. end;
  12943. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  12944. begin
  12945. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12946. end;
  12947. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  12948. begin
  12949. pTDefRegMap(@Self)^.&set := $00002000;
  12950. end;
  12951. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  12952. begin
  12953. pTDefRegMap(@Self)^.clr := $00002000;
  12954. end;
  12955. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  12956. begin
  12957. if thebits = 0 then
  12958. pTDefRegMap(@Self)^.clr := $00002000
  12959. else
  12960. pTDefRegMap(@Self)^.&set := $00002000;
  12961. end;
  12962. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  12963. begin
  12964. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12965. end;
  12966. procedure TI2C1_I2C1CON.setI2CEN; inline;
  12967. begin
  12968. pTDefRegMap(@Self)^.&set := $00008000;
  12969. end;
  12970. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  12971. begin
  12972. pTDefRegMap(@Self)^.clr := $00008000;
  12973. end;
  12974. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  12975. begin
  12976. if thebits = 0 then
  12977. pTDefRegMap(@Self)^.clr := $00008000
  12978. else
  12979. pTDefRegMap(@Self)^.&set := $00008000;
  12980. end;
  12981. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  12982. begin
  12983. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12984. end;
  12985. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  12986. begin
  12987. pTDefRegMap(@Self)^.val := thebits;
  12988. end;
  12989. function TI2C1_I2C1CON.getw : TBits_32; inline;
  12990. begin
  12991. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12992. end;
  12993. procedure TI2C1_I2C1STAT.setTBF; inline;
  12994. begin
  12995. pTDefRegMap(@Self)^.&set := $00000001;
  12996. end;
  12997. procedure TI2C1_I2C1STAT.clearTBF; inline;
  12998. begin
  12999. pTDefRegMap(@Self)^.clr := $00000001;
  13000. end;
  13001. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  13002. begin
  13003. if thebits = 0 then
  13004. pTDefRegMap(@Self)^.clr := $00000001
  13005. else
  13006. pTDefRegMap(@Self)^.&set := $00000001;
  13007. end;
  13008. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  13009. begin
  13010. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13011. end;
  13012. procedure TI2C1_I2C1STAT.setRBF; inline;
  13013. begin
  13014. pTDefRegMap(@Self)^.&set := $00000002;
  13015. end;
  13016. procedure TI2C1_I2C1STAT.clearRBF; inline;
  13017. begin
  13018. pTDefRegMap(@Self)^.clr := $00000002;
  13019. end;
  13020. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  13021. begin
  13022. if thebits = 0 then
  13023. pTDefRegMap(@Self)^.clr := $00000002
  13024. else
  13025. pTDefRegMap(@Self)^.&set := $00000002;
  13026. end;
  13027. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  13028. begin
  13029. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13030. end;
  13031. procedure TI2C1_I2C1STAT.setR_W; inline;
  13032. begin
  13033. pTDefRegMap(@Self)^.&set := $00000004;
  13034. end;
  13035. procedure TI2C1_I2C1STAT.clearR_W; inline;
  13036. begin
  13037. pTDefRegMap(@Self)^.clr := $00000004;
  13038. end;
  13039. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  13040. begin
  13041. if thebits = 0 then
  13042. pTDefRegMap(@Self)^.clr := $00000004
  13043. else
  13044. pTDefRegMap(@Self)^.&set := $00000004;
  13045. end;
  13046. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  13047. begin
  13048. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13049. end;
  13050. procedure TI2C1_I2C1STAT.setS; inline;
  13051. begin
  13052. pTDefRegMap(@Self)^.&set := $00000008;
  13053. end;
  13054. procedure TI2C1_I2C1STAT.clearS; inline;
  13055. begin
  13056. pTDefRegMap(@Self)^.clr := $00000008;
  13057. end;
  13058. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  13059. begin
  13060. if thebits = 0 then
  13061. pTDefRegMap(@Self)^.clr := $00000008
  13062. else
  13063. pTDefRegMap(@Self)^.&set := $00000008;
  13064. end;
  13065. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  13066. begin
  13067. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13068. end;
  13069. procedure TI2C1_I2C1STAT.setP; inline;
  13070. begin
  13071. pTDefRegMap(@Self)^.&set := $00000010;
  13072. end;
  13073. procedure TI2C1_I2C1STAT.clearP; inline;
  13074. begin
  13075. pTDefRegMap(@Self)^.clr := $00000010;
  13076. end;
  13077. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  13078. begin
  13079. if thebits = 0 then
  13080. pTDefRegMap(@Self)^.clr := $00000010
  13081. else
  13082. pTDefRegMap(@Self)^.&set := $00000010;
  13083. end;
  13084. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  13085. begin
  13086. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13087. end;
  13088. procedure TI2C1_I2C1STAT.setD_A; inline;
  13089. begin
  13090. pTDefRegMap(@Self)^.&set := $00000020;
  13091. end;
  13092. procedure TI2C1_I2C1STAT.clearD_A; inline;
  13093. begin
  13094. pTDefRegMap(@Self)^.clr := $00000020;
  13095. end;
  13096. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  13097. begin
  13098. if thebits = 0 then
  13099. pTDefRegMap(@Self)^.clr := $00000020
  13100. else
  13101. pTDefRegMap(@Self)^.&set := $00000020;
  13102. end;
  13103. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  13104. begin
  13105. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13106. end;
  13107. procedure TI2C1_I2C1STAT.setI2COV; inline;
  13108. begin
  13109. pTDefRegMap(@Self)^.&set := $00000040;
  13110. end;
  13111. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  13112. begin
  13113. pTDefRegMap(@Self)^.clr := $00000040;
  13114. end;
  13115. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  13116. begin
  13117. if thebits = 0 then
  13118. pTDefRegMap(@Self)^.clr := $00000040
  13119. else
  13120. pTDefRegMap(@Self)^.&set := $00000040;
  13121. end;
  13122. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  13123. begin
  13124. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13125. end;
  13126. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  13127. begin
  13128. pTDefRegMap(@Self)^.&set := $00000080;
  13129. end;
  13130. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  13131. begin
  13132. pTDefRegMap(@Self)^.clr := $00000080;
  13133. end;
  13134. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  13135. begin
  13136. if thebits = 0 then
  13137. pTDefRegMap(@Self)^.clr := $00000080
  13138. else
  13139. pTDefRegMap(@Self)^.&set := $00000080;
  13140. end;
  13141. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  13142. begin
  13143. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13144. end;
  13145. procedure TI2C1_I2C1STAT.setADD10; inline;
  13146. begin
  13147. pTDefRegMap(@Self)^.&set := $00000100;
  13148. end;
  13149. procedure TI2C1_I2C1STAT.clearADD10; inline;
  13150. begin
  13151. pTDefRegMap(@Self)^.clr := $00000100;
  13152. end;
  13153. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  13154. begin
  13155. if thebits = 0 then
  13156. pTDefRegMap(@Self)^.clr := $00000100
  13157. else
  13158. pTDefRegMap(@Self)^.&set := $00000100;
  13159. end;
  13160. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  13161. begin
  13162. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13163. end;
  13164. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  13165. begin
  13166. pTDefRegMap(@Self)^.&set := $00000200;
  13167. end;
  13168. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  13169. begin
  13170. pTDefRegMap(@Self)^.clr := $00000200;
  13171. end;
  13172. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  13173. begin
  13174. if thebits = 0 then
  13175. pTDefRegMap(@Self)^.clr := $00000200
  13176. else
  13177. pTDefRegMap(@Self)^.&set := $00000200;
  13178. end;
  13179. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  13180. begin
  13181. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13182. end;
  13183. procedure TI2C1_I2C1STAT.setBCL; inline;
  13184. begin
  13185. pTDefRegMap(@Self)^.&set := $00000400;
  13186. end;
  13187. procedure TI2C1_I2C1STAT.clearBCL; inline;
  13188. begin
  13189. pTDefRegMap(@Self)^.clr := $00000400;
  13190. end;
  13191. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  13192. begin
  13193. if thebits = 0 then
  13194. pTDefRegMap(@Self)^.clr := $00000400
  13195. else
  13196. pTDefRegMap(@Self)^.&set := $00000400;
  13197. end;
  13198. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  13199. begin
  13200. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13201. end;
  13202. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  13203. begin
  13204. pTDefRegMap(@Self)^.&set := $00004000;
  13205. end;
  13206. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  13207. begin
  13208. pTDefRegMap(@Self)^.clr := $00004000;
  13209. end;
  13210. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  13211. begin
  13212. if thebits = 0 then
  13213. pTDefRegMap(@Self)^.clr := $00004000
  13214. else
  13215. pTDefRegMap(@Self)^.&set := $00004000;
  13216. end;
  13217. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  13218. begin
  13219. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  13220. end;
  13221. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  13222. begin
  13223. pTDefRegMap(@Self)^.&set := $00008000;
  13224. end;
  13225. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  13226. begin
  13227. pTDefRegMap(@Self)^.clr := $00008000;
  13228. end;
  13229. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  13230. begin
  13231. if thebits = 0 then
  13232. pTDefRegMap(@Self)^.clr := $00008000
  13233. else
  13234. pTDefRegMap(@Self)^.&set := $00008000;
  13235. end;
  13236. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  13237. begin
  13238. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13239. end;
  13240. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  13241. begin
  13242. pTDefRegMap(@Self)^.&set := $00000040;
  13243. end;
  13244. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  13245. begin
  13246. pTDefRegMap(@Self)^.clr := $00000040;
  13247. end;
  13248. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  13249. begin
  13250. if thebits = 0 then
  13251. pTDefRegMap(@Self)^.clr := $00000040
  13252. else
  13253. pTDefRegMap(@Self)^.&set := $00000040;
  13254. end;
  13255. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  13256. begin
  13257. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13258. end;
  13259. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  13260. begin
  13261. pTDefRegMap(@Self)^.val := thebits;
  13262. end;
  13263. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  13264. begin
  13265. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13266. end;
  13267. procedure TI2C2_I2C2CON.setSEN; inline;
  13268. begin
  13269. pTDefRegMap(@Self)^.&set := $00000001;
  13270. end;
  13271. procedure TI2C2_I2C2CON.clearSEN; inline;
  13272. begin
  13273. pTDefRegMap(@Self)^.clr := $00000001;
  13274. end;
  13275. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  13276. begin
  13277. if thebits = 0 then
  13278. pTDefRegMap(@Self)^.clr := $00000001
  13279. else
  13280. pTDefRegMap(@Self)^.&set := $00000001;
  13281. end;
  13282. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  13283. begin
  13284. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13285. end;
  13286. procedure TI2C2_I2C2CON.setRSEN; inline;
  13287. begin
  13288. pTDefRegMap(@Self)^.&set := $00000002;
  13289. end;
  13290. procedure TI2C2_I2C2CON.clearRSEN; inline;
  13291. begin
  13292. pTDefRegMap(@Self)^.clr := $00000002;
  13293. end;
  13294. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  13295. begin
  13296. if thebits = 0 then
  13297. pTDefRegMap(@Self)^.clr := $00000002
  13298. else
  13299. pTDefRegMap(@Self)^.&set := $00000002;
  13300. end;
  13301. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  13302. begin
  13303. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13304. end;
  13305. procedure TI2C2_I2C2CON.setPEN; inline;
  13306. begin
  13307. pTDefRegMap(@Self)^.&set := $00000004;
  13308. end;
  13309. procedure TI2C2_I2C2CON.clearPEN; inline;
  13310. begin
  13311. pTDefRegMap(@Self)^.clr := $00000004;
  13312. end;
  13313. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  13314. begin
  13315. if thebits = 0 then
  13316. pTDefRegMap(@Self)^.clr := $00000004
  13317. else
  13318. pTDefRegMap(@Self)^.&set := $00000004;
  13319. end;
  13320. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  13321. begin
  13322. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13323. end;
  13324. procedure TI2C2_I2C2CON.setRCEN; inline;
  13325. begin
  13326. pTDefRegMap(@Self)^.&set := $00000008;
  13327. end;
  13328. procedure TI2C2_I2C2CON.clearRCEN; inline;
  13329. begin
  13330. pTDefRegMap(@Self)^.clr := $00000008;
  13331. end;
  13332. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  13333. begin
  13334. if thebits = 0 then
  13335. pTDefRegMap(@Self)^.clr := $00000008
  13336. else
  13337. pTDefRegMap(@Self)^.&set := $00000008;
  13338. end;
  13339. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  13340. begin
  13341. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13342. end;
  13343. procedure TI2C2_I2C2CON.setACKEN; inline;
  13344. begin
  13345. pTDefRegMap(@Self)^.&set := $00000010;
  13346. end;
  13347. procedure TI2C2_I2C2CON.clearACKEN; inline;
  13348. begin
  13349. pTDefRegMap(@Self)^.clr := $00000010;
  13350. end;
  13351. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  13352. begin
  13353. if thebits = 0 then
  13354. pTDefRegMap(@Self)^.clr := $00000010
  13355. else
  13356. pTDefRegMap(@Self)^.&set := $00000010;
  13357. end;
  13358. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  13359. begin
  13360. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13361. end;
  13362. procedure TI2C2_I2C2CON.setACKDT; inline;
  13363. begin
  13364. pTDefRegMap(@Self)^.&set := $00000020;
  13365. end;
  13366. procedure TI2C2_I2C2CON.clearACKDT; inline;
  13367. begin
  13368. pTDefRegMap(@Self)^.clr := $00000020;
  13369. end;
  13370. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  13371. begin
  13372. if thebits = 0 then
  13373. pTDefRegMap(@Self)^.clr := $00000020
  13374. else
  13375. pTDefRegMap(@Self)^.&set := $00000020;
  13376. end;
  13377. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  13378. begin
  13379. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13380. end;
  13381. procedure TI2C2_I2C2CON.setSTREN; inline;
  13382. begin
  13383. pTDefRegMap(@Self)^.&set := $00000040;
  13384. end;
  13385. procedure TI2C2_I2C2CON.clearSTREN; inline;
  13386. begin
  13387. pTDefRegMap(@Self)^.clr := $00000040;
  13388. end;
  13389. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  13390. begin
  13391. if thebits = 0 then
  13392. pTDefRegMap(@Self)^.clr := $00000040
  13393. else
  13394. pTDefRegMap(@Self)^.&set := $00000040;
  13395. end;
  13396. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  13397. begin
  13398. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13399. end;
  13400. procedure TI2C2_I2C2CON.setGCEN; inline;
  13401. begin
  13402. pTDefRegMap(@Self)^.&set := $00000080;
  13403. end;
  13404. procedure TI2C2_I2C2CON.clearGCEN; inline;
  13405. begin
  13406. pTDefRegMap(@Self)^.clr := $00000080;
  13407. end;
  13408. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  13409. begin
  13410. if thebits = 0 then
  13411. pTDefRegMap(@Self)^.clr := $00000080
  13412. else
  13413. pTDefRegMap(@Self)^.&set := $00000080;
  13414. end;
  13415. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  13416. begin
  13417. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13418. end;
  13419. procedure TI2C2_I2C2CON.setSMEN; inline;
  13420. begin
  13421. pTDefRegMap(@Self)^.&set := $00000100;
  13422. end;
  13423. procedure TI2C2_I2C2CON.clearSMEN; inline;
  13424. begin
  13425. pTDefRegMap(@Self)^.clr := $00000100;
  13426. end;
  13427. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  13428. begin
  13429. if thebits = 0 then
  13430. pTDefRegMap(@Self)^.clr := $00000100
  13431. else
  13432. pTDefRegMap(@Self)^.&set := $00000100;
  13433. end;
  13434. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  13435. begin
  13436. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13437. end;
  13438. procedure TI2C2_I2C2CON.setDISSLW; inline;
  13439. begin
  13440. pTDefRegMap(@Self)^.&set := $00000200;
  13441. end;
  13442. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  13443. begin
  13444. pTDefRegMap(@Self)^.clr := $00000200;
  13445. end;
  13446. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  13447. begin
  13448. if thebits = 0 then
  13449. pTDefRegMap(@Self)^.clr := $00000200
  13450. else
  13451. pTDefRegMap(@Self)^.&set := $00000200;
  13452. end;
  13453. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  13454. begin
  13455. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13456. end;
  13457. procedure TI2C2_I2C2CON.setA10M; inline;
  13458. begin
  13459. pTDefRegMap(@Self)^.&set := $00000400;
  13460. end;
  13461. procedure TI2C2_I2C2CON.clearA10M; inline;
  13462. begin
  13463. pTDefRegMap(@Self)^.clr := $00000400;
  13464. end;
  13465. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  13466. begin
  13467. if thebits = 0 then
  13468. pTDefRegMap(@Self)^.clr := $00000400
  13469. else
  13470. pTDefRegMap(@Self)^.&set := $00000400;
  13471. end;
  13472. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  13473. begin
  13474. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13475. end;
  13476. procedure TI2C2_I2C2CON.setSTRICT; inline;
  13477. begin
  13478. pTDefRegMap(@Self)^.&set := $00000800;
  13479. end;
  13480. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  13481. begin
  13482. pTDefRegMap(@Self)^.clr := $00000800;
  13483. end;
  13484. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  13485. begin
  13486. if thebits = 0 then
  13487. pTDefRegMap(@Self)^.clr := $00000800
  13488. else
  13489. pTDefRegMap(@Self)^.&set := $00000800;
  13490. end;
  13491. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  13492. begin
  13493. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13494. end;
  13495. procedure TI2C2_I2C2CON.setSCLREL; inline;
  13496. begin
  13497. pTDefRegMap(@Self)^.&set := $00001000;
  13498. end;
  13499. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  13500. begin
  13501. pTDefRegMap(@Self)^.clr := $00001000;
  13502. end;
  13503. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  13504. begin
  13505. if thebits = 0 then
  13506. pTDefRegMap(@Self)^.clr := $00001000
  13507. else
  13508. pTDefRegMap(@Self)^.&set := $00001000;
  13509. end;
  13510. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  13511. begin
  13512. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13513. end;
  13514. procedure TI2C2_I2C2CON.setSIDL; inline;
  13515. begin
  13516. pTDefRegMap(@Self)^.&set := $00002000;
  13517. end;
  13518. procedure TI2C2_I2C2CON.clearSIDL; inline;
  13519. begin
  13520. pTDefRegMap(@Self)^.clr := $00002000;
  13521. end;
  13522. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  13523. begin
  13524. if thebits = 0 then
  13525. pTDefRegMap(@Self)^.clr := $00002000
  13526. else
  13527. pTDefRegMap(@Self)^.&set := $00002000;
  13528. end;
  13529. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  13530. begin
  13531. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13532. end;
  13533. procedure TI2C2_I2C2CON.setON; inline;
  13534. begin
  13535. pTDefRegMap(@Self)^.&set := $00008000;
  13536. end;
  13537. procedure TI2C2_I2C2CON.clearON; inline;
  13538. begin
  13539. pTDefRegMap(@Self)^.clr := $00008000;
  13540. end;
  13541. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  13542. begin
  13543. if thebits = 0 then
  13544. pTDefRegMap(@Self)^.clr := $00008000
  13545. else
  13546. pTDefRegMap(@Self)^.&set := $00008000;
  13547. end;
  13548. function TI2C2_I2C2CON.getON : TBits_1; inline;
  13549. begin
  13550. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13551. end;
  13552. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  13553. begin
  13554. pTDefRegMap(@Self)^.&set := $00000800;
  13555. end;
  13556. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  13557. begin
  13558. pTDefRegMap(@Self)^.clr := $00000800;
  13559. end;
  13560. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  13561. begin
  13562. if thebits = 0 then
  13563. pTDefRegMap(@Self)^.clr := $00000800
  13564. else
  13565. pTDefRegMap(@Self)^.&set := $00000800;
  13566. end;
  13567. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  13568. begin
  13569. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13570. end;
  13571. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  13572. begin
  13573. pTDefRegMap(@Self)^.&set := $00002000;
  13574. end;
  13575. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  13576. begin
  13577. pTDefRegMap(@Self)^.clr := $00002000;
  13578. end;
  13579. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  13580. begin
  13581. if thebits = 0 then
  13582. pTDefRegMap(@Self)^.clr := $00002000
  13583. else
  13584. pTDefRegMap(@Self)^.&set := $00002000;
  13585. end;
  13586. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  13587. begin
  13588. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13589. end;
  13590. procedure TI2C2_I2C2CON.setI2CEN; inline;
  13591. begin
  13592. pTDefRegMap(@Self)^.&set := $00008000;
  13593. end;
  13594. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  13595. begin
  13596. pTDefRegMap(@Self)^.clr := $00008000;
  13597. end;
  13598. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  13599. begin
  13600. if thebits = 0 then
  13601. pTDefRegMap(@Self)^.clr := $00008000
  13602. else
  13603. pTDefRegMap(@Self)^.&set := $00008000;
  13604. end;
  13605. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  13606. begin
  13607. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13608. end;
  13609. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  13610. begin
  13611. pTDefRegMap(@Self)^.val := thebits;
  13612. end;
  13613. function TI2C2_I2C2CON.getw : TBits_32; inline;
  13614. begin
  13615. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13616. end;
  13617. procedure TI2C2_I2C2STAT.setTBF; inline;
  13618. begin
  13619. pTDefRegMap(@Self)^.&set := $00000001;
  13620. end;
  13621. procedure TI2C2_I2C2STAT.clearTBF; inline;
  13622. begin
  13623. pTDefRegMap(@Self)^.clr := $00000001;
  13624. end;
  13625. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  13626. begin
  13627. if thebits = 0 then
  13628. pTDefRegMap(@Self)^.clr := $00000001
  13629. else
  13630. pTDefRegMap(@Self)^.&set := $00000001;
  13631. end;
  13632. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  13633. begin
  13634. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13635. end;
  13636. procedure TI2C2_I2C2STAT.setRBF; inline;
  13637. begin
  13638. pTDefRegMap(@Self)^.&set := $00000002;
  13639. end;
  13640. procedure TI2C2_I2C2STAT.clearRBF; inline;
  13641. begin
  13642. pTDefRegMap(@Self)^.clr := $00000002;
  13643. end;
  13644. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  13645. begin
  13646. if thebits = 0 then
  13647. pTDefRegMap(@Self)^.clr := $00000002
  13648. else
  13649. pTDefRegMap(@Self)^.&set := $00000002;
  13650. end;
  13651. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  13652. begin
  13653. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13654. end;
  13655. procedure TI2C2_I2C2STAT.setR_W; inline;
  13656. begin
  13657. pTDefRegMap(@Self)^.&set := $00000004;
  13658. end;
  13659. procedure TI2C2_I2C2STAT.clearR_W; inline;
  13660. begin
  13661. pTDefRegMap(@Self)^.clr := $00000004;
  13662. end;
  13663. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  13664. begin
  13665. if thebits = 0 then
  13666. pTDefRegMap(@Self)^.clr := $00000004
  13667. else
  13668. pTDefRegMap(@Self)^.&set := $00000004;
  13669. end;
  13670. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  13671. begin
  13672. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13673. end;
  13674. procedure TI2C2_I2C2STAT.setS; inline;
  13675. begin
  13676. pTDefRegMap(@Self)^.&set := $00000008;
  13677. end;
  13678. procedure TI2C2_I2C2STAT.clearS; inline;
  13679. begin
  13680. pTDefRegMap(@Self)^.clr := $00000008;
  13681. end;
  13682. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  13683. begin
  13684. if thebits = 0 then
  13685. pTDefRegMap(@Self)^.clr := $00000008
  13686. else
  13687. pTDefRegMap(@Self)^.&set := $00000008;
  13688. end;
  13689. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  13690. begin
  13691. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13692. end;
  13693. procedure TI2C2_I2C2STAT.setP; inline;
  13694. begin
  13695. pTDefRegMap(@Self)^.&set := $00000010;
  13696. end;
  13697. procedure TI2C2_I2C2STAT.clearP; inline;
  13698. begin
  13699. pTDefRegMap(@Self)^.clr := $00000010;
  13700. end;
  13701. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  13702. begin
  13703. if thebits = 0 then
  13704. pTDefRegMap(@Self)^.clr := $00000010
  13705. else
  13706. pTDefRegMap(@Self)^.&set := $00000010;
  13707. end;
  13708. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  13709. begin
  13710. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13711. end;
  13712. procedure TI2C2_I2C2STAT.setD_A; inline;
  13713. begin
  13714. pTDefRegMap(@Self)^.&set := $00000020;
  13715. end;
  13716. procedure TI2C2_I2C2STAT.clearD_A; inline;
  13717. begin
  13718. pTDefRegMap(@Self)^.clr := $00000020;
  13719. end;
  13720. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  13721. begin
  13722. if thebits = 0 then
  13723. pTDefRegMap(@Self)^.clr := $00000020
  13724. else
  13725. pTDefRegMap(@Self)^.&set := $00000020;
  13726. end;
  13727. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  13728. begin
  13729. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13730. end;
  13731. procedure TI2C2_I2C2STAT.setI2COV; inline;
  13732. begin
  13733. pTDefRegMap(@Self)^.&set := $00000040;
  13734. end;
  13735. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  13736. begin
  13737. pTDefRegMap(@Self)^.clr := $00000040;
  13738. end;
  13739. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  13740. begin
  13741. if thebits = 0 then
  13742. pTDefRegMap(@Self)^.clr := $00000040
  13743. else
  13744. pTDefRegMap(@Self)^.&set := $00000040;
  13745. end;
  13746. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  13747. begin
  13748. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13749. end;
  13750. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  13751. begin
  13752. pTDefRegMap(@Self)^.&set := $00000080;
  13753. end;
  13754. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  13755. begin
  13756. pTDefRegMap(@Self)^.clr := $00000080;
  13757. end;
  13758. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  13759. begin
  13760. if thebits = 0 then
  13761. pTDefRegMap(@Self)^.clr := $00000080
  13762. else
  13763. pTDefRegMap(@Self)^.&set := $00000080;
  13764. end;
  13765. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  13766. begin
  13767. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13768. end;
  13769. procedure TI2C2_I2C2STAT.setADD10; inline;
  13770. begin
  13771. pTDefRegMap(@Self)^.&set := $00000100;
  13772. end;
  13773. procedure TI2C2_I2C2STAT.clearADD10; inline;
  13774. begin
  13775. pTDefRegMap(@Self)^.clr := $00000100;
  13776. end;
  13777. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  13778. begin
  13779. if thebits = 0 then
  13780. pTDefRegMap(@Self)^.clr := $00000100
  13781. else
  13782. pTDefRegMap(@Self)^.&set := $00000100;
  13783. end;
  13784. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  13785. begin
  13786. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13787. end;
  13788. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  13789. begin
  13790. pTDefRegMap(@Self)^.&set := $00000200;
  13791. end;
  13792. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  13793. begin
  13794. pTDefRegMap(@Self)^.clr := $00000200;
  13795. end;
  13796. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  13797. begin
  13798. if thebits = 0 then
  13799. pTDefRegMap(@Self)^.clr := $00000200
  13800. else
  13801. pTDefRegMap(@Self)^.&set := $00000200;
  13802. end;
  13803. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  13804. begin
  13805. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13806. end;
  13807. procedure TI2C2_I2C2STAT.setBCL; inline;
  13808. begin
  13809. pTDefRegMap(@Self)^.&set := $00000400;
  13810. end;
  13811. procedure TI2C2_I2C2STAT.clearBCL; inline;
  13812. begin
  13813. pTDefRegMap(@Self)^.clr := $00000400;
  13814. end;
  13815. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  13816. begin
  13817. if thebits = 0 then
  13818. pTDefRegMap(@Self)^.clr := $00000400
  13819. else
  13820. pTDefRegMap(@Self)^.&set := $00000400;
  13821. end;
  13822. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  13823. begin
  13824. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13825. end;
  13826. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  13827. begin
  13828. pTDefRegMap(@Self)^.&set := $00004000;
  13829. end;
  13830. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  13831. begin
  13832. pTDefRegMap(@Self)^.clr := $00004000;
  13833. end;
  13834. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  13835. begin
  13836. if thebits = 0 then
  13837. pTDefRegMap(@Self)^.clr := $00004000
  13838. else
  13839. pTDefRegMap(@Self)^.&set := $00004000;
  13840. end;
  13841. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  13842. begin
  13843. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  13844. end;
  13845. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  13846. begin
  13847. pTDefRegMap(@Self)^.&set := $00008000;
  13848. end;
  13849. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  13850. begin
  13851. pTDefRegMap(@Self)^.clr := $00008000;
  13852. end;
  13853. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  13854. begin
  13855. if thebits = 0 then
  13856. pTDefRegMap(@Self)^.clr := $00008000
  13857. else
  13858. pTDefRegMap(@Self)^.&set := $00008000;
  13859. end;
  13860. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  13861. begin
  13862. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13863. end;
  13864. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  13865. begin
  13866. pTDefRegMap(@Self)^.&set := $00000040;
  13867. end;
  13868. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  13869. begin
  13870. pTDefRegMap(@Self)^.clr := $00000040;
  13871. end;
  13872. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  13873. begin
  13874. if thebits = 0 then
  13875. pTDefRegMap(@Self)^.clr := $00000040
  13876. else
  13877. pTDefRegMap(@Self)^.&set := $00000040;
  13878. end;
  13879. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  13880. begin
  13881. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13882. end;
  13883. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  13884. begin
  13885. pTDefRegMap(@Self)^.val := thebits;
  13886. end;
  13887. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  13888. begin
  13889. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13890. end;
  13891. procedure TSPI1_SPI1CON.setMSTEN; inline;
  13892. begin
  13893. pTDefRegMap(@Self)^.&set := $00000020;
  13894. end;
  13895. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  13896. begin
  13897. pTDefRegMap(@Self)^.clr := $00000020;
  13898. end;
  13899. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  13900. begin
  13901. if thebits = 0 then
  13902. pTDefRegMap(@Self)^.clr := $00000020
  13903. else
  13904. pTDefRegMap(@Self)^.&set := $00000020;
  13905. end;
  13906. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  13907. begin
  13908. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13909. end;
  13910. procedure TSPI1_SPI1CON.setCKP; inline;
  13911. begin
  13912. pTDefRegMap(@Self)^.&set := $00000040;
  13913. end;
  13914. procedure TSPI1_SPI1CON.clearCKP; inline;
  13915. begin
  13916. pTDefRegMap(@Self)^.clr := $00000040;
  13917. end;
  13918. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  13919. begin
  13920. if thebits = 0 then
  13921. pTDefRegMap(@Self)^.clr := $00000040
  13922. else
  13923. pTDefRegMap(@Self)^.&set := $00000040;
  13924. end;
  13925. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  13926. begin
  13927. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13928. end;
  13929. procedure TSPI1_SPI1CON.setSSEN; inline;
  13930. begin
  13931. pTDefRegMap(@Self)^.&set := $00000080;
  13932. end;
  13933. procedure TSPI1_SPI1CON.clearSSEN; inline;
  13934. begin
  13935. pTDefRegMap(@Self)^.clr := $00000080;
  13936. end;
  13937. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  13938. begin
  13939. if thebits = 0 then
  13940. pTDefRegMap(@Self)^.clr := $00000080
  13941. else
  13942. pTDefRegMap(@Self)^.&set := $00000080;
  13943. end;
  13944. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  13945. begin
  13946. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13947. end;
  13948. procedure TSPI1_SPI1CON.setCKE; inline;
  13949. begin
  13950. pTDefRegMap(@Self)^.&set := $00000100;
  13951. end;
  13952. procedure TSPI1_SPI1CON.clearCKE; inline;
  13953. begin
  13954. pTDefRegMap(@Self)^.clr := $00000100;
  13955. end;
  13956. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  13957. begin
  13958. if thebits = 0 then
  13959. pTDefRegMap(@Self)^.clr := $00000100
  13960. else
  13961. pTDefRegMap(@Self)^.&set := $00000100;
  13962. end;
  13963. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  13964. begin
  13965. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13966. end;
  13967. procedure TSPI1_SPI1CON.setSMP; inline;
  13968. begin
  13969. pTDefRegMap(@Self)^.&set := $00000200;
  13970. end;
  13971. procedure TSPI1_SPI1CON.clearSMP; inline;
  13972. begin
  13973. pTDefRegMap(@Self)^.clr := $00000200;
  13974. end;
  13975. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  13976. begin
  13977. if thebits = 0 then
  13978. pTDefRegMap(@Self)^.clr := $00000200
  13979. else
  13980. pTDefRegMap(@Self)^.&set := $00000200;
  13981. end;
  13982. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  13983. begin
  13984. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13985. end;
  13986. procedure TSPI1_SPI1CON.setMODE16; inline;
  13987. begin
  13988. pTDefRegMap(@Self)^.&set := $00000400;
  13989. end;
  13990. procedure TSPI1_SPI1CON.clearMODE16; inline;
  13991. begin
  13992. pTDefRegMap(@Self)^.clr := $00000400;
  13993. end;
  13994. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  13995. begin
  13996. if thebits = 0 then
  13997. pTDefRegMap(@Self)^.clr := $00000400
  13998. else
  13999. pTDefRegMap(@Self)^.&set := $00000400;
  14000. end;
  14001. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  14002. begin
  14003. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14004. end;
  14005. procedure TSPI1_SPI1CON.setMODE32; inline;
  14006. begin
  14007. pTDefRegMap(@Self)^.&set := $00000800;
  14008. end;
  14009. procedure TSPI1_SPI1CON.clearMODE32; inline;
  14010. begin
  14011. pTDefRegMap(@Self)^.clr := $00000800;
  14012. end;
  14013. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  14014. begin
  14015. if thebits = 0 then
  14016. pTDefRegMap(@Self)^.clr := $00000800
  14017. else
  14018. pTDefRegMap(@Self)^.&set := $00000800;
  14019. end;
  14020. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  14021. begin
  14022. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14023. end;
  14024. procedure TSPI1_SPI1CON.setDISSDO; inline;
  14025. begin
  14026. pTDefRegMap(@Self)^.&set := $00001000;
  14027. end;
  14028. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  14029. begin
  14030. pTDefRegMap(@Self)^.clr := $00001000;
  14031. end;
  14032. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  14033. begin
  14034. if thebits = 0 then
  14035. pTDefRegMap(@Self)^.clr := $00001000
  14036. else
  14037. pTDefRegMap(@Self)^.&set := $00001000;
  14038. end;
  14039. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  14040. begin
  14041. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14042. end;
  14043. procedure TSPI1_SPI1CON.setSIDL; inline;
  14044. begin
  14045. pTDefRegMap(@Self)^.&set := $00002000;
  14046. end;
  14047. procedure TSPI1_SPI1CON.clearSIDL; inline;
  14048. begin
  14049. pTDefRegMap(@Self)^.clr := $00002000;
  14050. end;
  14051. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  14052. begin
  14053. if thebits = 0 then
  14054. pTDefRegMap(@Self)^.clr := $00002000
  14055. else
  14056. pTDefRegMap(@Self)^.&set := $00002000;
  14057. end;
  14058. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  14059. begin
  14060. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14061. end;
  14062. procedure TSPI1_SPI1CON.setON; inline;
  14063. begin
  14064. pTDefRegMap(@Self)^.&set := $00008000;
  14065. end;
  14066. procedure TSPI1_SPI1CON.clearON; inline;
  14067. begin
  14068. pTDefRegMap(@Self)^.clr := $00008000;
  14069. end;
  14070. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  14071. begin
  14072. if thebits = 0 then
  14073. pTDefRegMap(@Self)^.clr := $00008000
  14074. else
  14075. pTDefRegMap(@Self)^.&set := $00008000;
  14076. end;
  14077. function TSPI1_SPI1CON.getON : TBits_1; inline;
  14078. begin
  14079. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14080. end;
  14081. procedure TSPI1_SPI1CON.setSPIFE; inline;
  14082. begin
  14083. pTDefRegMap(@Self)^.&set := $00020000;
  14084. end;
  14085. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  14086. begin
  14087. pTDefRegMap(@Self)^.clr := $00020000;
  14088. end;
  14089. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  14090. begin
  14091. if thebits = 0 then
  14092. pTDefRegMap(@Self)^.clr := $00020000
  14093. else
  14094. pTDefRegMap(@Self)^.&set := $00020000;
  14095. end;
  14096. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  14097. begin
  14098. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  14099. end;
  14100. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  14101. begin
  14102. pTDefRegMap(@Self)^.&set := $20000000;
  14103. end;
  14104. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  14105. begin
  14106. pTDefRegMap(@Self)^.clr := $20000000;
  14107. end;
  14108. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  14109. begin
  14110. if thebits = 0 then
  14111. pTDefRegMap(@Self)^.clr := $20000000
  14112. else
  14113. pTDefRegMap(@Self)^.&set := $20000000;
  14114. end;
  14115. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  14116. begin
  14117. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  14118. end;
  14119. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  14120. begin
  14121. pTDefRegMap(@Self)^.&set := $40000000;
  14122. end;
  14123. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  14124. begin
  14125. pTDefRegMap(@Self)^.clr := $40000000;
  14126. end;
  14127. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  14128. begin
  14129. if thebits = 0 then
  14130. pTDefRegMap(@Self)^.clr := $40000000
  14131. else
  14132. pTDefRegMap(@Self)^.&set := $40000000;
  14133. end;
  14134. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  14135. begin
  14136. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  14137. end;
  14138. procedure TSPI1_SPI1CON.setFRMEN; inline;
  14139. begin
  14140. pTDefRegMap(@Self)^.&set := $80000000;
  14141. end;
  14142. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  14143. begin
  14144. pTDefRegMap(@Self)^.clr := $80000000;
  14145. end;
  14146. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  14147. begin
  14148. if thebits = 0 then
  14149. pTDefRegMap(@Self)^.clr := $80000000
  14150. else
  14151. pTDefRegMap(@Self)^.&set := $80000000;
  14152. end;
  14153. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  14154. begin
  14155. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  14156. end;
  14157. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  14158. begin
  14159. pTDefRegMap(@Self)^.val := thebits;
  14160. end;
  14161. function TSPI1_SPI1CON.getw : TBits_32; inline;
  14162. begin
  14163. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14164. end;
  14165. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  14166. begin
  14167. pTDefRegMap(@Self)^.&set := $00000001;
  14168. end;
  14169. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  14170. begin
  14171. pTDefRegMap(@Self)^.clr := $00000001;
  14172. end;
  14173. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  14174. begin
  14175. if thebits = 0 then
  14176. pTDefRegMap(@Self)^.clr := $00000001
  14177. else
  14178. pTDefRegMap(@Self)^.&set := $00000001;
  14179. end;
  14180. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  14181. begin
  14182. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14183. end;
  14184. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  14185. begin
  14186. pTDefRegMap(@Self)^.&set := $00000008;
  14187. end;
  14188. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  14189. begin
  14190. pTDefRegMap(@Self)^.clr := $00000008;
  14191. end;
  14192. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  14193. begin
  14194. if thebits = 0 then
  14195. pTDefRegMap(@Self)^.clr := $00000008
  14196. else
  14197. pTDefRegMap(@Self)^.&set := $00000008;
  14198. end;
  14199. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  14200. begin
  14201. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14202. end;
  14203. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  14204. begin
  14205. pTDefRegMap(@Self)^.&set := $00000040;
  14206. end;
  14207. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  14208. begin
  14209. pTDefRegMap(@Self)^.clr := $00000040;
  14210. end;
  14211. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  14212. begin
  14213. if thebits = 0 then
  14214. pTDefRegMap(@Self)^.clr := $00000040
  14215. else
  14216. pTDefRegMap(@Self)^.&set := $00000040;
  14217. end;
  14218. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  14219. begin
  14220. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14221. end;
  14222. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  14223. begin
  14224. pTDefRegMap(@Self)^.&set := $00000800;
  14225. end;
  14226. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  14227. begin
  14228. pTDefRegMap(@Self)^.clr := $00000800;
  14229. end;
  14230. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  14231. begin
  14232. if thebits = 0 then
  14233. pTDefRegMap(@Self)^.clr := $00000800
  14234. else
  14235. pTDefRegMap(@Self)^.&set := $00000800;
  14236. end;
  14237. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  14238. begin
  14239. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14240. end;
  14241. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  14242. begin
  14243. pTDefRegMap(@Self)^.val := thebits;
  14244. end;
  14245. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  14246. begin
  14247. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14248. end;
  14249. procedure TSPI2_SPI2CON.setMSTEN; inline;
  14250. begin
  14251. pTDefRegMap(@Self)^.&set := $00000020;
  14252. end;
  14253. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  14254. begin
  14255. pTDefRegMap(@Self)^.clr := $00000020;
  14256. end;
  14257. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  14258. begin
  14259. if thebits = 0 then
  14260. pTDefRegMap(@Self)^.clr := $00000020
  14261. else
  14262. pTDefRegMap(@Self)^.&set := $00000020;
  14263. end;
  14264. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  14265. begin
  14266. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14267. end;
  14268. procedure TSPI2_SPI2CON.setCKP; inline;
  14269. begin
  14270. pTDefRegMap(@Self)^.&set := $00000040;
  14271. end;
  14272. procedure TSPI2_SPI2CON.clearCKP; inline;
  14273. begin
  14274. pTDefRegMap(@Self)^.clr := $00000040;
  14275. end;
  14276. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  14277. begin
  14278. if thebits = 0 then
  14279. pTDefRegMap(@Self)^.clr := $00000040
  14280. else
  14281. pTDefRegMap(@Self)^.&set := $00000040;
  14282. end;
  14283. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  14284. begin
  14285. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14286. end;
  14287. procedure TSPI2_SPI2CON.setSSEN; inline;
  14288. begin
  14289. pTDefRegMap(@Self)^.&set := $00000080;
  14290. end;
  14291. procedure TSPI2_SPI2CON.clearSSEN; inline;
  14292. begin
  14293. pTDefRegMap(@Self)^.clr := $00000080;
  14294. end;
  14295. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  14296. begin
  14297. if thebits = 0 then
  14298. pTDefRegMap(@Self)^.clr := $00000080
  14299. else
  14300. pTDefRegMap(@Self)^.&set := $00000080;
  14301. end;
  14302. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  14303. begin
  14304. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14305. end;
  14306. procedure TSPI2_SPI2CON.setCKE; inline;
  14307. begin
  14308. pTDefRegMap(@Self)^.&set := $00000100;
  14309. end;
  14310. procedure TSPI2_SPI2CON.clearCKE; inline;
  14311. begin
  14312. pTDefRegMap(@Self)^.clr := $00000100;
  14313. end;
  14314. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  14315. begin
  14316. if thebits = 0 then
  14317. pTDefRegMap(@Self)^.clr := $00000100
  14318. else
  14319. pTDefRegMap(@Self)^.&set := $00000100;
  14320. end;
  14321. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  14322. begin
  14323. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14324. end;
  14325. procedure TSPI2_SPI2CON.setSMP; inline;
  14326. begin
  14327. pTDefRegMap(@Self)^.&set := $00000200;
  14328. end;
  14329. procedure TSPI2_SPI2CON.clearSMP; inline;
  14330. begin
  14331. pTDefRegMap(@Self)^.clr := $00000200;
  14332. end;
  14333. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  14334. begin
  14335. if thebits = 0 then
  14336. pTDefRegMap(@Self)^.clr := $00000200
  14337. else
  14338. pTDefRegMap(@Self)^.&set := $00000200;
  14339. end;
  14340. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  14341. begin
  14342. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14343. end;
  14344. procedure TSPI2_SPI2CON.setMODE16; inline;
  14345. begin
  14346. pTDefRegMap(@Self)^.&set := $00000400;
  14347. end;
  14348. procedure TSPI2_SPI2CON.clearMODE16; inline;
  14349. begin
  14350. pTDefRegMap(@Self)^.clr := $00000400;
  14351. end;
  14352. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  14353. begin
  14354. if thebits = 0 then
  14355. pTDefRegMap(@Self)^.clr := $00000400
  14356. else
  14357. pTDefRegMap(@Self)^.&set := $00000400;
  14358. end;
  14359. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  14360. begin
  14361. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14362. end;
  14363. procedure TSPI2_SPI2CON.setMODE32; inline;
  14364. begin
  14365. pTDefRegMap(@Self)^.&set := $00000800;
  14366. end;
  14367. procedure TSPI2_SPI2CON.clearMODE32; inline;
  14368. begin
  14369. pTDefRegMap(@Self)^.clr := $00000800;
  14370. end;
  14371. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  14372. begin
  14373. if thebits = 0 then
  14374. pTDefRegMap(@Self)^.clr := $00000800
  14375. else
  14376. pTDefRegMap(@Self)^.&set := $00000800;
  14377. end;
  14378. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  14379. begin
  14380. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14381. end;
  14382. procedure TSPI2_SPI2CON.setDISSDO; inline;
  14383. begin
  14384. pTDefRegMap(@Self)^.&set := $00001000;
  14385. end;
  14386. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  14387. begin
  14388. pTDefRegMap(@Self)^.clr := $00001000;
  14389. end;
  14390. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  14391. begin
  14392. if thebits = 0 then
  14393. pTDefRegMap(@Self)^.clr := $00001000
  14394. else
  14395. pTDefRegMap(@Self)^.&set := $00001000;
  14396. end;
  14397. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  14398. begin
  14399. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14400. end;
  14401. procedure TSPI2_SPI2CON.setSIDL; inline;
  14402. begin
  14403. pTDefRegMap(@Self)^.&set := $00002000;
  14404. end;
  14405. procedure TSPI2_SPI2CON.clearSIDL; inline;
  14406. begin
  14407. pTDefRegMap(@Self)^.clr := $00002000;
  14408. end;
  14409. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  14410. begin
  14411. if thebits = 0 then
  14412. pTDefRegMap(@Self)^.clr := $00002000
  14413. else
  14414. pTDefRegMap(@Self)^.&set := $00002000;
  14415. end;
  14416. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  14417. begin
  14418. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14419. end;
  14420. procedure TSPI2_SPI2CON.setON; inline;
  14421. begin
  14422. pTDefRegMap(@Self)^.&set := $00008000;
  14423. end;
  14424. procedure TSPI2_SPI2CON.clearON; inline;
  14425. begin
  14426. pTDefRegMap(@Self)^.clr := $00008000;
  14427. end;
  14428. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  14429. begin
  14430. if thebits = 0 then
  14431. pTDefRegMap(@Self)^.clr := $00008000
  14432. else
  14433. pTDefRegMap(@Self)^.&set := $00008000;
  14434. end;
  14435. function TSPI2_SPI2CON.getON : TBits_1; inline;
  14436. begin
  14437. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14438. end;
  14439. procedure TSPI2_SPI2CON.setSPIFE; inline;
  14440. begin
  14441. pTDefRegMap(@Self)^.&set := $00020000;
  14442. end;
  14443. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  14444. begin
  14445. pTDefRegMap(@Self)^.clr := $00020000;
  14446. end;
  14447. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  14448. begin
  14449. if thebits = 0 then
  14450. pTDefRegMap(@Self)^.clr := $00020000
  14451. else
  14452. pTDefRegMap(@Self)^.&set := $00020000;
  14453. end;
  14454. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  14455. begin
  14456. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  14457. end;
  14458. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  14459. begin
  14460. pTDefRegMap(@Self)^.&set := $20000000;
  14461. end;
  14462. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  14463. begin
  14464. pTDefRegMap(@Self)^.clr := $20000000;
  14465. end;
  14466. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  14467. begin
  14468. if thebits = 0 then
  14469. pTDefRegMap(@Self)^.clr := $20000000
  14470. else
  14471. pTDefRegMap(@Self)^.&set := $20000000;
  14472. end;
  14473. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  14474. begin
  14475. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  14476. end;
  14477. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  14478. begin
  14479. pTDefRegMap(@Self)^.&set := $40000000;
  14480. end;
  14481. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  14482. begin
  14483. pTDefRegMap(@Self)^.clr := $40000000;
  14484. end;
  14485. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  14486. begin
  14487. if thebits = 0 then
  14488. pTDefRegMap(@Self)^.clr := $40000000
  14489. else
  14490. pTDefRegMap(@Self)^.&set := $40000000;
  14491. end;
  14492. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  14493. begin
  14494. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  14495. end;
  14496. procedure TSPI2_SPI2CON.setFRMEN; inline;
  14497. begin
  14498. pTDefRegMap(@Self)^.&set := $80000000;
  14499. end;
  14500. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  14501. begin
  14502. pTDefRegMap(@Self)^.clr := $80000000;
  14503. end;
  14504. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  14505. begin
  14506. if thebits = 0 then
  14507. pTDefRegMap(@Self)^.clr := $80000000
  14508. else
  14509. pTDefRegMap(@Self)^.&set := $80000000;
  14510. end;
  14511. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  14512. begin
  14513. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  14514. end;
  14515. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  14516. begin
  14517. pTDefRegMap(@Self)^.val := thebits;
  14518. end;
  14519. function TSPI2_SPI2CON.getw : TBits_32; inline;
  14520. begin
  14521. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14522. end;
  14523. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  14524. begin
  14525. pTDefRegMap(@Self)^.&set := $00000001;
  14526. end;
  14527. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  14528. begin
  14529. pTDefRegMap(@Self)^.clr := $00000001;
  14530. end;
  14531. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  14532. begin
  14533. if thebits = 0 then
  14534. pTDefRegMap(@Self)^.clr := $00000001
  14535. else
  14536. pTDefRegMap(@Self)^.&set := $00000001;
  14537. end;
  14538. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  14539. begin
  14540. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14541. end;
  14542. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  14543. begin
  14544. pTDefRegMap(@Self)^.&set := $00000008;
  14545. end;
  14546. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  14547. begin
  14548. pTDefRegMap(@Self)^.clr := $00000008;
  14549. end;
  14550. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  14551. begin
  14552. if thebits = 0 then
  14553. pTDefRegMap(@Self)^.clr := $00000008
  14554. else
  14555. pTDefRegMap(@Self)^.&set := $00000008;
  14556. end;
  14557. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  14558. begin
  14559. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14560. end;
  14561. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  14562. begin
  14563. pTDefRegMap(@Self)^.&set := $00000040;
  14564. end;
  14565. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  14566. begin
  14567. pTDefRegMap(@Self)^.clr := $00000040;
  14568. end;
  14569. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  14570. begin
  14571. if thebits = 0 then
  14572. pTDefRegMap(@Self)^.clr := $00000040
  14573. else
  14574. pTDefRegMap(@Self)^.&set := $00000040;
  14575. end;
  14576. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  14577. begin
  14578. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14579. end;
  14580. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  14581. begin
  14582. pTDefRegMap(@Self)^.&set := $00000800;
  14583. end;
  14584. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  14585. begin
  14586. pTDefRegMap(@Self)^.clr := $00000800;
  14587. end;
  14588. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  14589. begin
  14590. if thebits = 0 then
  14591. pTDefRegMap(@Self)^.clr := $00000800
  14592. else
  14593. pTDefRegMap(@Self)^.&set := $00000800;
  14594. end;
  14595. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  14596. begin
  14597. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14598. end;
  14599. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  14600. begin
  14601. pTDefRegMap(@Self)^.val := thebits;
  14602. end;
  14603. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  14604. begin
  14605. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14606. end;
  14607. procedure TUART1_U1MODE.setSTSEL; inline;
  14608. begin
  14609. pTDefRegMap(@Self)^.&set := $00000001;
  14610. end;
  14611. procedure TUART1_U1MODE.clearSTSEL; inline;
  14612. begin
  14613. pTDefRegMap(@Self)^.clr := $00000001;
  14614. end;
  14615. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  14616. begin
  14617. if thebits = 0 then
  14618. pTDefRegMap(@Self)^.clr := $00000001
  14619. else
  14620. pTDefRegMap(@Self)^.&set := $00000001;
  14621. end;
  14622. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  14623. begin
  14624. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14625. end;
  14626. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  14627. begin
  14628. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  14629. end;
  14630. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  14631. begin
  14632. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  14633. end;
  14634. procedure TUART1_U1MODE.setBRGH; inline;
  14635. begin
  14636. pTDefRegMap(@Self)^.&set := $00000008;
  14637. end;
  14638. procedure TUART1_U1MODE.clearBRGH; inline;
  14639. begin
  14640. pTDefRegMap(@Self)^.clr := $00000008;
  14641. end;
  14642. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  14643. begin
  14644. if thebits = 0 then
  14645. pTDefRegMap(@Self)^.clr := $00000008
  14646. else
  14647. pTDefRegMap(@Self)^.&set := $00000008;
  14648. end;
  14649. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  14650. begin
  14651. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14652. end;
  14653. procedure TUART1_U1MODE.setRXINV; inline;
  14654. begin
  14655. pTDefRegMap(@Self)^.&set := $00000010;
  14656. end;
  14657. procedure TUART1_U1MODE.clearRXINV; inline;
  14658. begin
  14659. pTDefRegMap(@Self)^.clr := $00000010;
  14660. end;
  14661. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  14662. begin
  14663. if thebits = 0 then
  14664. pTDefRegMap(@Self)^.clr := $00000010
  14665. else
  14666. pTDefRegMap(@Self)^.&set := $00000010;
  14667. end;
  14668. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  14669. begin
  14670. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14671. end;
  14672. procedure TUART1_U1MODE.setABAUD; inline;
  14673. begin
  14674. pTDefRegMap(@Self)^.&set := $00000020;
  14675. end;
  14676. procedure TUART1_U1MODE.clearABAUD; inline;
  14677. begin
  14678. pTDefRegMap(@Self)^.clr := $00000020;
  14679. end;
  14680. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  14681. begin
  14682. if thebits = 0 then
  14683. pTDefRegMap(@Self)^.clr := $00000020
  14684. else
  14685. pTDefRegMap(@Self)^.&set := $00000020;
  14686. end;
  14687. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  14688. begin
  14689. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14690. end;
  14691. procedure TUART1_U1MODE.setLPBACK; inline;
  14692. begin
  14693. pTDefRegMap(@Self)^.&set := $00000040;
  14694. end;
  14695. procedure TUART1_U1MODE.clearLPBACK; inline;
  14696. begin
  14697. pTDefRegMap(@Self)^.clr := $00000040;
  14698. end;
  14699. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  14700. begin
  14701. if thebits = 0 then
  14702. pTDefRegMap(@Self)^.clr := $00000040
  14703. else
  14704. pTDefRegMap(@Self)^.&set := $00000040;
  14705. end;
  14706. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  14707. begin
  14708. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14709. end;
  14710. procedure TUART1_U1MODE.setWAKE; inline;
  14711. begin
  14712. pTDefRegMap(@Self)^.&set := $00000080;
  14713. end;
  14714. procedure TUART1_U1MODE.clearWAKE; inline;
  14715. begin
  14716. pTDefRegMap(@Self)^.clr := $00000080;
  14717. end;
  14718. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  14719. begin
  14720. if thebits = 0 then
  14721. pTDefRegMap(@Self)^.clr := $00000080
  14722. else
  14723. pTDefRegMap(@Self)^.&set := $00000080;
  14724. end;
  14725. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  14726. begin
  14727. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14728. end;
  14729. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  14730. begin
  14731. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  14732. end;
  14733. function TUART1_U1MODE.getUEN : TBits_2; inline;
  14734. begin
  14735. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  14736. end;
  14737. procedure TUART1_U1MODE.setRTSMD; inline;
  14738. begin
  14739. pTDefRegMap(@Self)^.&set := $00000800;
  14740. end;
  14741. procedure TUART1_U1MODE.clearRTSMD; inline;
  14742. begin
  14743. pTDefRegMap(@Self)^.clr := $00000800;
  14744. end;
  14745. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  14746. begin
  14747. if thebits = 0 then
  14748. pTDefRegMap(@Self)^.clr := $00000800
  14749. else
  14750. pTDefRegMap(@Self)^.&set := $00000800;
  14751. end;
  14752. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  14753. begin
  14754. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14755. end;
  14756. procedure TUART1_U1MODE.setIREN; inline;
  14757. begin
  14758. pTDefRegMap(@Self)^.&set := $00001000;
  14759. end;
  14760. procedure TUART1_U1MODE.clearIREN; inline;
  14761. begin
  14762. pTDefRegMap(@Self)^.clr := $00001000;
  14763. end;
  14764. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  14765. begin
  14766. if thebits = 0 then
  14767. pTDefRegMap(@Self)^.clr := $00001000
  14768. else
  14769. pTDefRegMap(@Self)^.&set := $00001000;
  14770. end;
  14771. function TUART1_U1MODE.getIREN : TBits_1; inline;
  14772. begin
  14773. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14774. end;
  14775. procedure TUART1_U1MODE.setSIDL; inline;
  14776. begin
  14777. pTDefRegMap(@Self)^.&set := $00002000;
  14778. end;
  14779. procedure TUART1_U1MODE.clearSIDL; inline;
  14780. begin
  14781. pTDefRegMap(@Self)^.clr := $00002000;
  14782. end;
  14783. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  14784. begin
  14785. if thebits = 0 then
  14786. pTDefRegMap(@Self)^.clr := $00002000
  14787. else
  14788. pTDefRegMap(@Self)^.&set := $00002000;
  14789. end;
  14790. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  14791. begin
  14792. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14793. end;
  14794. procedure TUART1_U1MODE.setON; inline;
  14795. begin
  14796. pTDefRegMap(@Self)^.&set := $00008000;
  14797. end;
  14798. procedure TUART1_U1MODE.clearON; inline;
  14799. begin
  14800. pTDefRegMap(@Self)^.clr := $00008000;
  14801. end;
  14802. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  14803. begin
  14804. if thebits = 0 then
  14805. pTDefRegMap(@Self)^.clr := $00008000
  14806. else
  14807. pTDefRegMap(@Self)^.&set := $00008000;
  14808. end;
  14809. function TUART1_U1MODE.getON : TBits_1; inline;
  14810. begin
  14811. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14812. end;
  14813. procedure TUART1_U1MODE.setPDSEL0; inline;
  14814. begin
  14815. pTDefRegMap(@Self)^.&set := $00000002;
  14816. end;
  14817. procedure TUART1_U1MODE.clearPDSEL0; inline;
  14818. begin
  14819. pTDefRegMap(@Self)^.clr := $00000002;
  14820. end;
  14821. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  14822. begin
  14823. if thebits = 0 then
  14824. pTDefRegMap(@Self)^.clr := $00000002
  14825. else
  14826. pTDefRegMap(@Self)^.&set := $00000002;
  14827. end;
  14828. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  14829. begin
  14830. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14831. end;
  14832. procedure TUART1_U1MODE.setPDSEL1; inline;
  14833. begin
  14834. pTDefRegMap(@Self)^.&set := $00000004;
  14835. end;
  14836. procedure TUART1_U1MODE.clearPDSEL1; inline;
  14837. begin
  14838. pTDefRegMap(@Self)^.clr := $00000004;
  14839. end;
  14840. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  14841. begin
  14842. if thebits = 0 then
  14843. pTDefRegMap(@Self)^.clr := $00000004
  14844. else
  14845. pTDefRegMap(@Self)^.&set := $00000004;
  14846. end;
  14847. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  14848. begin
  14849. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14850. end;
  14851. procedure TUART1_U1MODE.setUEN0; inline;
  14852. begin
  14853. pTDefRegMap(@Self)^.&set := $00000100;
  14854. end;
  14855. procedure TUART1_U1MODE.clearUEN0; inline;
  14856. begin
  14857. pTDefRegMap(@Self)^.clr := $00000100;
  14858. end;
  14859. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  14860. begin
  14861. if thebits = 0 then
  14862. pTDefRegMap(@Self)^.clr := $00000100
  14863. else
  14864. pTDefRegMap(@Self)^.&set := $00000100;
  14865. end;
  14866. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  14867. begin
  14868. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14869. end;
  14870. procedure TUART1_U1MODE.setUEN1; inline;
  14871. begin
  14872. pTDefRegMap(@Self)^.&set := $00000200;
  14873. end;
  14874. procedure TUART1_U1MODE.clearUEN1; inline;
  14875. begin
  14876. pTDefRegMap(@Self)^.clr := $00000200;
  14877. end;
  14878. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  14879. begin
  14880. if thebits = 0 then
  14881. pTDefRegMap(@Self)^.clr := $00000200
  14882. else
  14883. pTDefRegMap(@Self)^.&set := $00000200;
  14884. end;
  14885. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  14886. begin
  14887. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14888. end;
  14889. procedure TUART1_U1MODE.setUSIDL; inline;
  14890. begin
  14891. pTDefRegMap(@Self)^.&set := $00002000;
  14892. end;
  14893. procedure TUART1_U1MODE.clearUSIDL; inline;
  14894. begin
  14895. pTDefRegMap(@Self)^.clr := $00002000;
  14896. end;
  14897. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  14898. begin
  14899. if thebits = 0 then
  14900. pTDefRegMap(@Self)^.clr := $00002000
  14901. else
  14902. pTDefRegMap(@Self)^.&set := $00002000;
  14903. end;
  14904. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  14905. begin
  14906. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14907. end;
  14908. procedure TUART1_U1MODE.setUARTEN; inline;
  14909. begin
  14910. pTDefRegMap(@Self)^.&set := $00008000;
  14911. end;
  14912. procedure TUART1_U1MODE.clearUARTEN; inline;
  14913. begin
  14914. pTDefRegMap(@Self)^.clr := $00008000;
  14915. end;
  14916. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  14917. begin
  14918. if thebits = 0 then
  14919. pTDefRegMap(@Self)^.clr := $00008000
  14920. else
  14921. pTDefRegMap(@Self)^.&set := $00008000;
  14922. end;
  14923. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  14924. begin
  14925. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14926. end;
  14927. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  14928. begin
  14929. pTDefRegMap(@Self)^.val := thebits;
  14930. end;
  14931. function TUART1_U1MODE.getw : TBits_32; inline;
  14932. begin
  14933. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14934. end;
  14935. procedure TUART1_U1STA.setURXDA; inline;
  14936. begin
  14937. pTDefRegMap(@Self)^.&set := $00000001;
  14938. end;
  14939. procedure TUART1_U1STA.clearURXDA; inline;
  14940. begin
  14941. pTDefRegMap(@Self)^.clr := $00000001;
  14942. end;
  14943. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  14944. begin
  14945. if thebits = 0 then
  14946. pTDefRegMap(@Self)^.clr := $00000001
  14947. else
  14948. pTDefRegMap(@Self)^.&set := $00000001;
  14949. end;
  14950. function TUART1_U1STA.getURXDA : TBits_1; inline;
  14951. begin
  14952. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14953. end;
  14954. procedure TUART1_U1STA.setOERR; inline;
  14955. begin
  14956. pTDefRegMap(@Self)^.&set := $00000002;
  14957. end;
  14958. procedure TUART1_U1STA.clearOERR; inline;
  14959. begin
  14960. pTDefRegMap(@Self)^.clr := $00000002;
  14961. end;
  14962. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  14963. begin
  14964. if thebits = 0 then
  14965. pTDefRegMap(@Self)^.clr := $00000002
  14966. else
  14967. pTDefRegMap(@Self)^.&set := $00000002;
  14968. end;
  14969. function TUART1_U1STA.getOERR : TBits_1; inline;
  14970. begin
  14971. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14972. end;
  14973. procedure TUART1_U1STA.setFERR; inline;
  14974. begin
  14975. pTDefRegMap(@Self)^.&set := $00000004;
  14976. end;
  14977. procedure TUART1_U1STA.clearFERR; inline;
  14978. begin
  14979. pTDefRegMap(@Self)^.clr := $00000004;
  14980. end;
  14981. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  14982. begin
  14983. if thebits = 0 then
  14984. pTDefRegMap(@Self)^.clr := $00000004
  14985. else
  14986. pTDefRegMap(@Self)^.&set := $00000004;
  14987. end;
  14988. function TUART1_U1STA.getFERR : TBits_1; inline;
  14989. begin
  14990. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14991. end;
  14992. procedure TUART1_U1STA.setPERR; inline;
  14993. begin
  14994. pTDefRegMap(@Self)^.&set := $00000008;
  14995. end;
  14996. procedure TUART1_U1STA.clearPERR; inline;
  14997. begin
  14998. pTDefRegMap(@Self)^.clr := $00000008;
  14999. end;
  15000. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  15001. begin
  15002. if thebits = 0 then
  15003. pTDefRegMap(@Self)^.clr := $00000008
  15004. else
  15005. pTDefRegMap(@Self)^.&set := $00000008;
  15006. end;
  15007. function TUART1_U1STA.getPERR : TBits_1; inline;
  15008. begin
  15009. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15010. end;
  15011. procedure TUART1_U1STA.setRIDLE; inline;
  15012. begin
  15013. pTDefRegMap(@Self)^.&set := $00000010;
  15014. end;
  15015. procedure TUART1_U1STA.clearRIDLE; inline;
  15016. begin
  15017. pTDefRegMap(@Self)^.clr := $00000010;
  15018. end;
  15019. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  15020. begin
  15021. if thebits = 0 then
  15022. pTDefRegMap(@Self)^.clr := $00000010
  15023. else
  15024. pTDefRegMap(@Self)^.&set := $00000010;
  15025. end;
  15026. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  15027. begin
  15028. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15029. end;
  15030. procedure TUART1_U1STA.setADDEN; inline;
  15031. begin
  15032. pTDefRegMap(@Self)^.&set := $00000020;
  15033. end;
  15034. procedure TUART1_U1STA.clearADDEN; inline;
  15035. begin
  15036. pTDefRegMap(@Self)^.clr := $00000020;
  15037. end;
  15038. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  15039. begin
  15040. if thebits = 0 then
  15041. pTDefRegMap(@Self)^.clr := $00000020
  15042. else
  15043. pTDefRegMap(@Self)^.&set := $00000020;
  15044. end;
  15045. function TUART1_U1STA.getADDEN : TBits_1; inline;
  15046. begin
  15047. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15048. end;
  15049. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  15050. begin
  15051. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  15052. end;
  15053. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  15054. begin
  15055. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  15056. end;
  15057. procedure TUART1_U1STA.setTRMT; inline;
  15058. begin
  15059. pTDefRegMap(@Self)^.&set := $00000100;
  15060. end;
  15061. procedure TUART1_U1STA.clearTRMT; inline;
  15062. begin
  15063. pTDefRegMap(@Self)^.clr := $00000100;
  15064. end;
  15065. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  15066. begin
  15067. if thebits = 0 then
  15068. pTDefRegMap(@Self)^.clr := $00000100
  15069. else
  15070. pTDefRegMap(@Self)^.&set := $00000100;
  15071. end;
  15072. function TUART1_U1STA.getTRMT : TBits_1; inline;
  15073. begin
  15074. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15075. end;
  15076. procedure TUART1_U1STA.setUTXBF; inline;
  15077. begin
  15078. pTDefRegMap(@Self)^.&set := $00000200;
  15079. end;
  15080. procedure TUART1_U1STA.clearUTXBF; inline;
  15081. begin
  15082. pTDefRegMap(@Self)^.clr := $00000200;
  15083. end;
  15084. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  15085. begin
  15086. if thebits = 0 then
  15087. pTDefRegMap(@Self)^.clr := $00000200
  15088. else
  15089. pTDefRegMap(@Self)^.&set := $00000200;
  15090. end;
  15091. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  15092. begin
  15093. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15094. end;
  15095. procedure TUART1_U1STA.setUTXEN; inline;
  15096. begin
  15097. pTDefRegMap(@Self)^.&set := $00000400;
  15098. end;
  15099. procedure TUART1_U1STA.clearUTXEN; inline;
  15100. begin
  15101. pTDefRegMap(@Self)^.clr := $00000400;
  15102. end;
  15103. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  15104. begin
  15105. if thebits = 0 then
  15106. pTDefRegMap(@Self)^.clr := $00000400
  15107. else
  15108. pTDefRegMap(@Self)^.&set := $00000400;
  15109. end;
  15110. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  15111. begin
  15112. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15113. end;
  15114. procedure TUART1_U1STA.setUTXBRK; inline;
  15115. begin
  15116. pTDefRegMap(@Self)^.&set := $00000800;
  15117. end;
  15118. procedure TUART1_U1STA.clearUTXBRK; inline;
  15119. begin
  15120. pTDefRegMap(@Self)^.clr := $00000800;
  15121. end;
  15122. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  15123. begin
  15124. if thebits = 0 then
  15125. pTDefRegMap(@Self)^.clr := $00000800
  15126. else
  15127. pTDefRegMap(@Self)^.&set := $00000800;
  15128. end;
  15129. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  15130. begin
  15131. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15132. end;
  15133. procedure TUART1_U1STA.setURXEN; inline;
  15134. begin
  15135. pTDefRegMap(@Self)^.&set := $00001000;
  15136. end;
  15137. procedure TUART1_U1STA.clearURXEN; inline;
  15138. begin
  15139. pTDefRegMap(@Self)^.clr := $00001000;
  15140. end;
  15141. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  15142. begin
  15143. if thebits = 0 then
  15144. pTDefRegMap(@Self)^.clr := $00001000
  15145. else
  15146. pTDefRegMap(@Self)^.&set := $00001000;
  15147. end;
  15148. function TUART1_U1STA.getURXEN : TBits_1; inline;
  15149. begin
  15150. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15151. end;
  15152. procedure TUART1_U1STA.setUTXINV; inline;
  15153. begin
  15154. pTDefRegMap(@Self)^.&set := $00002000;
  15155. end;
  15156. procedure TUART1_U1STA.clearUTXINV; inline;
  15157. begin
  15158. pTDefRegMap(@Self)^.clr := $00002000;
  15159. end;
  15160. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  15161. begin
  15162. if thebits = 0 then
  15163. pTDefRegMap(@Self)^.clr := $00002000
  15164. else
  15165. pTDefRegMap(@Self)^.&set := $00002000;
  15166. end;
  15167. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  15168. begin
  15169. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15170. end;
  15171. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  15172. begin
  15173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  15174. end;
  15175. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  15176. begin
  15177. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  15178. end;
  15179. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  15180. begin
  15181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  15182. end;
  15183. function TUART1_U1STA.getADDR : TBits_8; inline;
  15184. begin
  15185. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  15186. end;
  15187. procedure TUART1_U1STA.setADM_EN; inline;
  15188. begin
  15189. pTDefRegMap(@Self)^.&set := $01000000;
  15190. end;
  15191. procedure TUART1_U1STA.clearADM_EN; inline;
  15192. begin
  15193. pTDefRegMap(@Self)^.clr := $01000000;
  15194. end;
  15195. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  15196. begin
  15197. if thebits = 0 then
  15198. pTDefRegMap(@Self)^.clr := $01000000
  15199. else
  15200. pTDefRegMap(@Self)^.&set := $01000000;
  15201. end;
  15202. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  15203. begin
  15204. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  15205. end;
  15206. procedure TUART1_U1STA.setURXISEL0; inline;
  15207. begin
  15208. pTDefRegMap(@Self)^.&set := $00000040;
  15209. end;
  15210. procedure TUART1_U1STA.clearURXISEL0; inline;
  15211. begin
  15212. pTDefRegMap(@Self)^.clr := $00000040;
  15213. end;
  15214. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  15215. begin
  15216. if thebits = 0 then
  15217. pTDefRegMap(@Self)^.clr := $00000040
  15218. else
  15219. pTDefRegMap(@Self)^.&set := $00000040;
  15220. end;
  15221. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  15222. begin
  15223. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15224. end;
  15225. procedure TUART1_U1STA.setURXISEL1; inline;
  15226. begin
  15227. pTDefRegMap(@Self)^.&set := $00000080;
  15228. end;
  15229. procedure TUART1_U1STA.clearURXISEL1; inline;
  15230. begin
  15231. pTDefRegMap(@Self)^.clr := $00000080;
  15232. end;
  15233. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  15234. begin
  15235. if thebits = 0 then
  15236. pTDefRegMap(@Self)^.clr := $00000080
  15237. else
  15238. pTDefRegMap(@Self)^.&set := $00000080;
  15239. end;
  15240. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  15241. begin
  15242. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15243. end;
  15244. procedure TUART1_U1STA.setUTXISEL0; inline;
  15245. begin
  15246. pTDefRegMap(@Self)^.&set := $00004000;
  15247. end;
  15248. procedure TUART1_U1STA.clearUTXISEL0; inline;
  15249. begin
  15250. pTDefRegMap(@Self)^.clr := $00004000;
  15251. end;
  15252. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  15253. begin
  15254. if thebits = 0 then
  15255. pTDefRegMap(@Self)^.clr := $00004000
  15256. else
  15257. pTDefRegMap(@Self)^.&set := $00004000;
  15258. end;
  15259. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  15260. begin
  15261. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15262. end;
  15263. procedure TUART1_U1STA.setUTXISEL1; inline;
  15264. begin
  15265. pTDefRegMap(@Self)^.&set := $00008000;
  15266. end;
  15267. procedure TUART1_U1STA.clearUTXISEL1; inline;
  15268. begin
  15269. pTDefRegMap(@Self)^.clr := $00008000;
  15270. end;
  15271. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  15272. begin
  15273. if thebits = 0 then
  15274. pTDefRegMap(@Self)^.clr := $00008000
  15275. else
  15276. pTDefRegMap(@Self)^.&set := $00008000;
  15277. end;
  15278. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  15279. begin
  15280. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15281. end;
  15282. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  15283. begin
  15284. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  15285. end;
  15286. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  15287. begin
  15288. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  15289. end;
  15290. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  15291. begin
  15292. pTDefRegMap(@Self)^.val := thebits;
  15293. end;
  15294. function TUART1_U1STA.getw : TBits_32; inline;
  15295. begin
  15296. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15297. end;
  15298. procedure TUART2_U2MODE.setSTSEL; inline;
  15299. begin
  15300. pTDefRegMap(@Self)^.&set := $00000001;
  15301. end;
  15302. procedure TUART2_U2MODE.clearSTSEL; inline;
  15303. begin
  15304. pTDefRegMap(@Self)^.clr := $00000001;
  15305. end;
  15306. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  15307. begin
  15308. if thebits = 0 then
  15309. pTDefRegMap(@Self)^.clr := $00000001
  15310. else
  15311. pTDefRegMap(@Self)^.&set := $00000001;
  15312. end;
  15313. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  15314. begin
  15315. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15316. end;
  15317. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  15318. begin
  15319. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  15320. end;
  15321. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  15322. begin
  15323. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  15324. end;
  15325. procedure TUART2_U2MODE.setBRGH; inline;
  15326. begin
  15327. pTDefRegMap(@Self)^.&set := $00000008;
  15328. end;
  15329. procedure TUART2_U2MODE.clearBRGH; inline;
  15330. begin
  15331. pTDefRegMap(@Self)^.clr := $00000008;
  15332. end;
  15333. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  15334. begin
  15335. if thebits = 0 then
  15336. pTDefRegMap(@Self)^.clr := $00000008
  15337. else
  15338. pTDefRegMap(@Self)^.&set := $00000008;
  15339. end;
  15340. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  15341. begin
  15342. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15343. end;
  15344. procedure TUART2_U2MODE.setRXINV; inline;
  15345. begin
  15346. pTDefRegMap(@Self)^.&set := $00000010;
  15347. end;
  15348. procedure TUART2_U2MODE.clearRXINV; inline;
  15349. begin
  15350. pTDefRegMap(@Self)^.clr := $00000010;
  15351. end;
  15352. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  15353. begin
  15354. if thebits = 0 then
  15355. pTDefRegMap(@Self)^.clr := $00000010
  15356. else
  15357. pTDefRegMap(@Self)^.&set := $00000010;
  15358. end;
  15359. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  15360. begin
  15361. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15362. end;
  15363. procedure TUART2_U2MODE.setABAUD; inline;
  15364. begin
  15365. pTDefRegMap(@Self)^.&set := $00000020;
  15366. end;
  15367. procedure TUART2_U2MODE.clearABAUD; inline;
  15368. begin
  15369. pTDefRegMap(@Self)^.clr := $00000020;
  15370. end;
  15371. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  15372. begin
  15373. if thebits = 0 then
  15374. pTDefRegMap(@Self)^.clr := $00000020
  15375. else
  15376. pTDefRegMap(@Self)^.&set := $00000020;
  15377. end;
  15378. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  15379. begin
  15380. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15381. end;
  15382. procedure TUART2_U2MODE.setLPBACK; inline;
  15383. begin
  15384. pTDefRegMap(@Self)^.&set := $00000040;
  15385. end;
  15386. procedure TUART2_U2MODE.clearLPBACK; inline;
  15387. begin
  15388. pTDefRegMap(@Self)^.clr := $00000040;
  15389. end;
  15390. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  15391. begin
  15392. if thebits = 0 then
  15393. pTDefRegMap(@Self)^.clr := $00000040
  15394. else
  15395. pTDefRegMap(@Self)^.&set := $00000040;
  15396. end;
  15397. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  15398. begin
  15399. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15400. end;
  15401. procedure TUART2_U2MODE.setWAKE; inline;
  15402. begin
  15403. pTDefRegMap(@Self)^.&set := $00000080;
  15404. end;
  15405. procedure TUART2_U2MODE.clearWAKE; inline;
  15406. begin
  15407. pTDefRegMap(@Self)^.clr := $00000080;
  15408. end;
  15409. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  15410. begin
  15411. if thebits = 0 then
  15412. pTDefRegMap(@Self)^.clr := $00000080
  15413. else
  15414. pTDefRegMap(@Self)^.&set := $00000080;
  15415. end;
  15416. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  15417. begin
  15418. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15419. end;
  15420. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  15421. begin
  15422. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  15423. end;
  15424. function TUART2_U2MODE.getUEN : TBits_2; inline;
  15425. begin
  15426. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  15427. end;
  15428. procedure TUART2_U2MODE.setRTSMD; inline;
  15429. begin
  15430. pTDefRegMap(@Self)^.&set := $00000800;
  15431. end;
  15432. procedure TUART2_U2MODE.clearRTSMD; inline;
  15433. begin
  15434. pTDefRegMap(@Self)^.clr := $00000800;
  15435. end;
  15436. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  15437. begin
  15438. if thebits = 0 then
  15439. pTDefRegMap(@Self)^.clr := $00000800
  15440. else
  15441. pTDefRegMap(@Self)^.&set := $00000800;
  15442. end;
  15443. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  15444. begin
  15445. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15446. end;
  15447. procedure TUART2_U2MODE.setIREN; inline;
  15448. begin
  15449. pTDefRegMap(@Self)^.&set := $00001000;
  15450. end;
  15451. procedure TUART2_U2MODE.clearIREN; inline;
  15452. begin
  15453. pTDefRegMap(@Self)^.clr := $00001000;
  15454. end;
  15455. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  15456. begin
  15457. if thebits = 0 then
  15458. pTDefRegMap(@Self)^.clr := $00001000
  15459. else
  15460. pTDefRegMap(@Self)^.&set := $00001000;
  15461. end;
  15462. function TUART2_U2MODE.getIREN : TBits_1; inline;
  15463. begin
  15464. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15465. end;
  15466. procedure TUART2_U2MODE.setSIDL; inline;
  15467. begin
  15468. pTDefRegMap(@Self)^.&set := $00002000;
  15469. end;
  15470. procedure TUART2_U2MODE.clearSIDL; inline;
  15471. begin
  15472. pTDefRegMap(@Self)^.clr := $00002000;
  15473. end;
  15474. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  15475. begin
  15476. if thebits = 0 then
  15477. pTDefRegMap(@Self)^.clr := $00002000
  15478. else
  15479. pTDefRegMap(@Self)^.&set := $00002000;
  15480. end;
  15481. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  15482. begin
  15483. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15484. end;
  15485. procedure TUART2_U2MODE.setON; inline;
  15486. begin
  15487. pTDefRegMap(@Self)^.&set := $00008000;
  15488. end;
  15489. procedure TUART2_U2MODE.clearON; inline;
  15490. begin
  15491. pTDefRegMap(@Self)^.clr := $00008000;
  15492. end;
  15493. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  15494. begin
  15495. if thebits = 0 then
  15496. pTDefRegMap(@Self)^.clr := $00008000
  15497. else
  15498. pTDefRegMap(@Self)^.&set := $00008000;
  15499. end;
  15500. function TUART2_U2MODE.getON : TBits_1; inline;
  15501. begin
  15502. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15503. end;
  15504. procedure TUART2_U2MODE.setPDSEL0; inline;
  15505. begin
  15506. pTDefRegMap(@Self)^.&set := $00000002;
  15507. end;
  15508. procedure TUART2_U2MODE.clearPDSEL0; inline;
  15509. begin
  15510. pTDefRegMap(@Self)^.clr := $00000002;
  15511. end;
  15512. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  15513. begin
  15514. if thebits = 0 then
  15515. pTDefRegMap(@Self)^.clr := $00000002
  15516. else
  15517. pTDefRegMap(@Self)^.&set := $00000002;
  15518. end;
  15519. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  15520. begin
  15521. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15522. end;
  15523. procedure TUART2_U2MODE.setPDSEL1; inline;
  15524. begin
  15525. pTDefRegMap(@Self)^.&set := $00000004;
  15526. end;
  15527. procedure TUART2_U2MODE.clearPDSEL1; inline;
  15528. begin
  15529. pTDefRegMap(@Self)^.clr := $00000004;
  15530. end;
  15531. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  15532. begin
  15533. if thebits = 0 then
  15534. pTDefRegMap(@Self)^.clr := $00000004
  15535. else
  15536. pTDefRegMap(@Self)^.&set := $00000004;
  15537. end;
  15538. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  15539. begin
  15540. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15541. end;
  15542. procedure TUART2_U2MODE.setUEN0; inline;
  15543. begin
  15544. pTDefRegMap(@Self)^.&set := $00000100;
  15545. end;
  15546. procedure TUART2_U2MODE.clearUEN0; inline;
  15547. begin
  15548. pTDefRegMap(@Self)^.clr := $00000100;
  15549. end;
  15550. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  15551. begin
  15552. if thebits = 0 then
  15553. pTDefRegMap(@Self)^.clr := $00000100
  15554. else
  15555. pTDefRegMap(@Self)^.&set := $00000100;
  15556. end;
  15557. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  15558. begin
  15559. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15560. end;
  15561. procedure TUART2_U2MODE.setUEN1; inline;
  15562. begin
  15563. pTDefRegMap(@Self)^.&set := $00000200;
  15564. end;
  15565. procedure TUART2_U2MODE.clearUEN1; inline;
  15566. begin
  15567. pTDefRegMap(@Self)^.clr := $00000200;
  15568. end;
  15569. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  15570. begin
  15571. if thebits = 0 then
  15572. pTDefRegMap(@Self)^.clr := $00000200
  15573. else
  15574. pTDefRegMap(@Self)^.&set := $00000200;
  15575. end;
  15576. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  15577. begin
  15578. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15579. end;
  15580. procedure TUART2_U2MODE.setUSIDL; inline;
  15581. begin
  15582. pTDefRegMap(@Self)^.&set := $00002000;
  15583. end;
  15584. procedure TUART2_U2MODE.clearUSIDL; inline;
  15585. begin
  15586. pTDefRegMap(@Self)^.clr := $00002000;
  15587. end;
  15588. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  15589. begin
  15590. if thebits = 0 then
  15591. pTDefRegMap(@Self)^.clr := $00002000
  15592. else
  15593. pTDefRegMap(@Self)^.&set := $00002000;
  15594. end;
  15595. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  15596. begin
  15597. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15598. end;
  15599. procedure TUART2_U2MODE.setUARTEN; inline;
  15600. begin
  15601. pTDefRegMap(@Self)^.&set := $00008000;
  15602. end;
  15603. procedure TUART2_U2MODE.clearUARTEN; inline;
  15604. begin
  15605. pTDefRegMap(@Self)^.clr := $00008000;
  15606. end;
  15607. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  15608. begin
  15609. if thebits = 0 then
  15610. pTDefRegMap(@Self)^.clr := $00008000
  15611. else
  15612. pTDefRegMap(@Self)^.&set := $00008000;
  15613. end;
  15614. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  15615. begin
  15616. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15617. end;
  15618. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  15619. begin
  15620. pTDefRegMap(@Self)^.val := thebits;
  15621. end;
  15622. function TUART2_U2MODE.getw : TBits_32; inline;
  15623. begin
  15624. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15625. end;
  15626. procedure TUART2_U2STA.setURXDA; inline;
  15627. begin
  15628. pTDefRegMap(@Self)^.&set := $00000001;
  15629. end;
  15630. procedure TUART2_U2STA.clearURXDA; inline;
  15631. begin
  15632. pTDefRegMap(@Self)^.clr := $00000001;
  15633. end;
  15634. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  15635. begin
  15636. if thebits = 0 then
  15637. pTDefRegMap(@Self)^.clr := $00000001
  15638. else
  15639. pTDefRegMap(@Self)^.&set := $00000001;
  15640. end;
  15641. function TUART2_U2STA.getURXDA : TBits_1; inline;
  15642. begin
  15643. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15644. end;
  15645. procedure TUART2_U2STA.setOERR; inline;
  15646. begin
  15647. pTDefRegMap(@Self)^.&set := $00000002;
  15648. end;
  15649. procedure TUART2_U2STA.clearOERR; inline;
  15650. begin
  15651. pTDefRegMap(@Self)^.clr := $00000002;
  15652. end;
  15653. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  15654. begin
  15655. if thebits = 0 then
  15656. pTDefRegMap(@Self)^.clr := $00000002
  15657. else
  15658. pTDefRegMap(@Self)^.&set := $00000002;
  15659. end;
  15660. function TUART2_U2STA.getOERR : TBits_1; inline;
  15661. begin
  15662. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15663. end;
  15664. procedure TUART2_U2STA.setFERR; inline;
  15665. begin
  15666. pTDefRegMap(@Self)^.&set := $00000004;
  15667. end;
  15668. procedure TUART2_U2STA.clearFERR; inline;
  15669. begin
  15670. pTDefRegMap(@Self)^.clr := $00000004;
  15671. end;
  15672. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  15673. begin
  15674. if thebits = 0 then
  15675. pTDefRegMap(@Self)^.clr := $00000004
  15676. else
  15677. pTDefRegMap(@Self)^.&set := $00000004;
  15678. end;
  15679. function TUART2_U2STA.getFERR : TBits_1; inline;
  15680. begin
  15681. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15682. end;
  15683. procedure TUART2_U2STA.setPERR; inline;
  15684. begin
  15685. pTDefRegMap(@Self)^.&set := $00000008;
  15686. end;
  15687. procedure TUART2_U2STA.clearPERR; inline;
  15688. begin
  15689. pTDefRegMap(@Self)^.clr := $00000008;
  15690. end;
  15691. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  15692. begin
  15693. if thebits = 0 then
  15694. pTDefRegMap(@Self)^.clr := $00000008
  15695. else
  15696. pTDefRegMap(@Self)^.&set := $00000008;
  15697. end;
  15698. function TUART2_U2STA.getPERR : TBits_1; inline;
  15699. begin
  15700. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15701. end;
  15702. procedure TUART2_U2STA.setRIDLE; inline;
  15703. begin
  15704. pTDefRegMap(@Self)^.&set := $00000010;
  15705. end;
  15706. procedure TUART2_U2STA.clearRIDLE; inline;
  15707. begin
  15708. pTDefRegMap(@Self)^.clr := $00000010;
  15709. end;
  15710. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  15711. begin
  15712. if thebits = 0 then
  15713. pTDefRegMap(@Self)^.clr := $00000010
  15714. else
  15715. pTDefRegMap(@Self)^.&set := $00000010;
  15716. end;
  15717. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  15718. begin
  15719. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15720. end;
  15721. procedure TUART2_U2STA.setADDEN; inline;
  15722. begin
  15723. pTDefRegMap(@Self)^.&set := $00000020;
  15724. end;
  15725. procedure TUART2_U2STA.clearADDEN; inline;
  15726. begin
  15727. pTDefRegMap(@Self)^.clr := $00000020;
  15728. end;
  15729. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  15730. begin
  15731. if thebits = 0 then
  15732. pTDefRegMap(@Self)^.clr := $00000020
  15733. else
  15734. pTDefRegMap(@Self)^.&set := $00000020;
  15735. end;
  15736. function TUART2_U2STA.getADDEN : TBits_1; inline;
  15737. begin
  15738. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15739. end;
  15740. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  15741. begin
  15742. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  15743. end;
  15744. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  15745. begin
  15746. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  15747. end;
  15748. procedure TUART2_U2STA.setTRMT; inline;
  15749. begin
  15750. pTDefRegMap(@Self)^.&set := $00000100;
  15751. end;
  15752. procedure TUART2_U2STA.clearTRMT; inline;
  15753. begin
  15754. pTDefRegMap(@Self)^.clr := $00000100;
  15755. end;
  15756. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  15757. begin
  15758. if thebits = 0 then
  15759. pTDefRegMap(@Self)^.clr := $00000100
  15760. else
  15761. pTDefRegMap(@Self)^.&set := $00000100;
  15762. end;
  15763. function TUART2_U2STA.getTRMT : TBits_1; inline;
  15764. begin
  15765. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15766. end;
  15767. procedure TUART2_U2STA.setUTXBF; inline;
  15768. begin
  15769. pTDefRegMap(@Self)^.&set := $00000200;
  15770. end;
  15771. procedure TUART2_U2STA.clearUTXBF; inline;
  15772. begin
  15773. pTDefRegMap(@Self)^.clr := $00000200;
  15774. end;
  15775. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  15776. begin
  15777. if thebits = 0 then
  15778. pTDefRegMap(@Self)^.clr := $00000200
  15779. else
  15780. pTDefRegMap(@Self)^.&set := $00000200;
  15781. end;
  15782. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  15783. begin
  15784. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15785. end;
  15786. procedure TUART2_U2STA.setUTXEN; inline;
  15787. begin
  15788. pTDefRegMap(@Self)^.&set := $00000400;
  15789. end;
  15790. procedure TUART2_U2STA.clearUTXEN; inline;
  15791. begin
  15792. pTDefRegMap(@Self)^.clr := $00000400;
  15793. end;
  15794. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  15795. begin
  15796. if thebits = 0 then
  15797. pTDefRegMap(@Self)^.clr := $00000400
  15798. else
  15799. pTDefRegMap(@Self)^.&set := $00000400;
  15800. end;
  15801. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  15802. begin
  15803. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15804. end;
  15805. procedure TUART2_U2STA.setUTXBRK; inline;
  15806. begin
  15807. pTDefRegMap(@Self)^.&set := $00000800;
  15808. end;
  15809. procedure TUART2_U2STA.clearUTXBRK; inline;
  15810. begin
  15811. pTDefRegMap(@Self)^.clr := $00000800;
  15812. end;
  15813. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  15814. begin
  15815. if thebits = 0 then
  15816. pTDefRegMap(@Self)^.clr := $00000800
  15817. else
  15818. pTDefRegMap(@Self)^.&set := $00000800;
  15819. end;
  15820. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  15821. begin
  15822. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15823. end;
  15824. procedure TUART2_U2STA.setURXEN; inline;
  15825. begin
  15826. pTDefRegMap(@Self)^.&set := $00001000;
  15827. end;
  15828. procedure TUART2_U2STA.clearURXEN; inline;
  15829. begin
  15830. pTDefRegMap(@Self)^.clr := $00001000;
  15831. end;
  15832. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  15833. begin
  15834. if thebits = 0 then
  15835. pTDefRegMap(@Self)^.clr := $00001000
  15836. else
  15837. pTDefRegMap(@Self)^.&set := $00001000;
  15838. end;
  15839. function TUART2_U2STA.getURXEN : TBits_1; inline;
  15840. begin
  15841. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15842. end;
  15843. procedure TUART2_U2STA.setUTXINV; inline;
  15844. begin
  15845. pTDefRegMap(@Self)^.&set := $00002000;
  15846. end;
  15847. procedure TUART2_U2STA.clearUTXINV; inline;
  15848. begin
  15849. pTDefRegMap(@Self)^.clr := $00002000;
  15850. end;
  15851. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  15852. begin
  15853. if thebits = 0 then
  15854. pTDefRegMap(@Self)^.clr := $00002000
  15855. else
  15856. pTDefRegMap(@Self)^.&set := $00002000;
  15857. end;
  15858. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  15859. begin
  15860. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15861. end;
  15862. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  15863. begin
  15864. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  15865. end;
  15866. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  15867. begin
  15868. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  15869. end;
  15870. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  15871. begin
  15872. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  15873. end;
  15874. function TUART2_U2STA.getADDR : TBits_8; inline;
  15875. begin
  15876. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  15877. end;
  15878. procedure TUART2_U2STA.setADM_EN; inline;
  15879. begin
  15880. pTDefRegMap(@Self)^.&set := $01000000;
  15881. end;
  15882. procedure TUART2_U2STA.clearADM_EN; inline;
  15883. begin
  15884. pTDefRegMap(@Self)^.clr := $01000000;
  15885. end;
  15886. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  15887. begin
  15888. if thebits = 0 then
  15889. pTDefRegMap(@Self)^.clr := $01000000
  15890. else
  15891. pTDefRegMap(@Self)^.&set := $01000000;
  15892. end;
  15893. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  15894. begin
  15895. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  15896. end;
  15897. procedure TUART2_U2STA.setURXISEL0; inline;
  15898. begin
  15899. pTDefRegMap(@Self)^.&set := $00000040;
  15900. end;
  15901. procedure TUART2_U2STA.clearURXISEL0; inline;
  15902. begin
  15903. pTDefRegMap(@Self)^.clr := $00000040;
  15904. end;
  15905. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  15906. begin
  15907. if thebits = 0 then
  15908. pTDefRegMap(@Self)^.clr := $00000040
  15909. else
  15910. pTDefRegMap(@Self)^.&set := $00000040;
  15911. end;
  15912. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  15913. begin
  15914. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15915. end;
  15916. procedure TUART2_U2STA.setURXISEL1; inline;
  15917. begin
  15918. pTDefRegMap(@Self)^.&set := $00000080;
  15919. end;
  15920. procedure TUART2_U2STA.clearURXISEL1; inline;
  15921. begin
  15922. pTDefRegMap(@Self)^.clr := $00000080;
  15923. end;
  15924. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  15925. begin
  15926. if thebits = 0 then
  15927. pTDefRegMap(@Self)^.clr := $00000080
  15928. else
  15929. pTDefRegMap(@Self)^.&set := $00000080;
  15930. end;
  15931. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  15932. begin
  15933. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15934. end;
  15935. procedure TUART2_U2STA.setUTXISEL0; inline;
  15936. begin
  15937. pTDefRegMap(@Self)^.&set := $00004000;
  15938. end;
  15939. procedure TUART2_U2STA.clearUTXISEL0; inline;
  15940. begin
  15941. pTDefRegMap(@Self)^.clr := $00004000;
  15942. end;
  15943. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  15944. begin
  15945. if thebits = 0 then
  15946. pTDefRegMap(@Self)^.clr := $00004000
  15947. else
  15948. pTDefRegMap(@Self)^.&set := $00004000;
  15949. end;
  15950. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  15951. begin
  15952. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15953. end;
  15954. procedure TUART2_U2STA.setUTXISEL1; inline;
  15955. begin
  15956. pTDefRegMap(@Self)^.&set := $00008000;
  15957. end;
  15958. procedure TUART2_U2STA.clearUTXISEL1; inline;
  15959. begin
  15960. pTDefRegMap(@Self)^.clr := $00008000;
  15961. end;
  15962. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  15963. begin
  15964. if thebits = 0 then
  15965. pTDefRegMap(@Self)^.clr := $00008000
  15966. else
  15967. pTDefRegMap(@Self)^.&set := $00008000;
  15968. end;
  15969. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  15970. begin
  15971. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15972. end;
  15973. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  15974. begin
  15975. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  15976. end;
  15977. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  15978. begin
  15979. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  15980. end;
  15981. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  15982. begin
  15983. pTDefRegMap(@Self)^.val := thebits;
  15984. end;
  15985. function TUART2_U2STA.getw : TBits_32; inline;
  15986. begin
  15987. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15988. end;
  15989. procedure TPMP_PMCON.setRDSP; inline;
  15990. begin
  15991. pTDefRegMap(@Self)^.&set := $00000001;
  15992. end;
  15993. procedure TPMP_PMCON.clearRDSP; inline;
  15994. begin
  15995. pTDefRegMap(@Self)^.clr := $00000001;
  15996. end;
  15997. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  15998. begin
  15999. if thebits = 0 then
  16000. pTDefRegMap(@Self)^.clr := $00000001
  16001. else
  16002. pTDefRegMap(@Self)^.&set := $00000001;
  16003. end;
  16004. function TPMP_PMCON.getRDSP : TBits_1; inline;
  16005. begin
  16006. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16007. end;
  16008. procedure TPMP_PMCON.setWRSP; inline;
  16009. begin
  16010. pTDefRegMap(@Self)^.&set := $00000002;
  16011. end;
  16012. procedure TPMP_PMCON.clearWRSP; inline;
  16013. begin
  16014. pTDefRegMap(@Self)^.clr := $00000002;
  16015. end;
  16016. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  16017. begin
  16018. if thebits = 0 then
  16019. pTDefRegMap(@Self)^.clr := $00000002
  16020. else
  16021. pTDefRegMap(@Self)^.&set := $00000002;
  16022. end;
  16023. function TPMP_PMCON.getWRSP : TBits_1; inline;
  16024. begin
  16025. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16026. end;
  16027. procedure TPMP_PMCON.setCS1P; inline;
  16028. begin
  16029. pTDefRegMap(@Self)^.&set := $00000008;
  16030. end;
  16031. procedure TPMP_PMCON.clearCS1P; inline;
  16032. begin
  16033. pTDefRegMap(@Self)^.clr := $00000008;
  16034. end;
  16035. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  16036. begin
  16037. if thebits = 0 then
  16038. pTDefRegMap(@Self)^.clr := $00000008
  16039. else
  16040. pTDefRegMap(@Self)^.&set := $00000008;
  16041. end;
  16042. function TPMP_PMCON.getCS1P : TBits_1; inline;
  16043. begin
  16044. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16045. end;
  16046. procedure TPMP_PMCON.setCS2P; inline;
  16047. begin
  16048. pTDefRegMap(@Self)^.&set := $00000010;
  16049. end;
  16050. procedure TPMP_PMCON.clearCS2P; inline;
  16051. begin
  16052. pTDefRegMap(@Self)^.clr := $00000010;
  16053. end;
  16054. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  16055. begin
  16056. if thebits = 0 then
  16057. pTDefRegMap(@Self)^.clr := $00000010
  16058. else
  16059. pTDefRegMap(@Self)^.&set := $00000010;
  16060. end;
  16061. function TPMP_PMCON.getCS2P : TBits_1; inline;
  16062. begin
  16063. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16064. end;
  16065. procedure TPMP_PMCON.setALP; inline;
  16066. begin
  16067. pTDefRegMap(@Self)^.&set := $00000020;
  16068. end;
  16069. procedure TPMP_PMCON.clearALP; inline;
  16070. begin
  16071. pTDefRegMap(@Self)^.clr := $00000020;
  16072. end;
  16073. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  16074. begin
  16075. if thebits = 0 then
  16076. pTDefRegMap(@Self)^.clr := $00000020
  16077. else
  16078. pTDefRegMap(@Self)^.&set := $00000020;
  16079. end;
  16080. function TPMP_PMCON.getALP : TBits_1; inline;
  16081. begin
  16082. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16083. end;
  16084. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  16085. begin
  16086. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  16087. end;
  16088. function TPMP_PMCON.getCSF : TBits_2; inline;
  16089. begin
  16090. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  16091. end;
  16092. procedure TPMP_PMCON.setPTRDEN; inline;
  16093. begin
  16094. pTDefRegMap(@Self)^.&set := $00000100;
  16095. end;
  16096. procedure TPMP_PMCON.clearPTRDEN; inline;
  16097. begin
  16098. pTDefRegMap(@Self)^.clr := $00000100;
  16099. end;
  16100. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  16101. begin
  16102. if thebits = 0 then
  16103. pTDefRegMap(@Self)^.clr := $00000100
  16104. else
  16105. pTDefRegMap(@Self)^.&set := $00000100;
  16106. end;
  16107. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  16108. begin
  16109. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16110. end;
  16111. procedure TPMP_PMCON.setPTWREN; inline;
  16112. begin
  16113. pTDefRegMap(@Self)^.&set := $00000200;
  16114. end;
  16115. procedure TPMP_PMCON.clearPTWREN; inline;
  16116. begin
  16117. pTDefRegMap(@Self)^.clr := $00000200;
  16118. end;
  16119. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  16120. begin
  16121. if thebits = 0 then
  16122. pTDefRegMap(@Self)^.clr := $00000200
  16123. else
  16124. pTDefRegMap(@Self)^.&set := $00000200;
  16125. end;
  16126. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  16127. begin
  16128. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16129. end;
  16130. procedure TPMP_PMCON.setPMPTTL; inline;
  16131. begin
  16132. pTDefRegMap(@Self)^.&set := $00000400;
  16133. end;
  16134. procedure TPMP_PMCON.clearPMPTTL; inline;
  16135. begin
  16136. pTDefRegMap(@Self)^.clr := $00000400;
  16137. end;
  16138. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  16139. begin
  16140. if thebits = 0 then
  16141. pTDefRegMap(@Self)^.clr := $00000400
  16142. else
  16143. pTDefRegMap(@Self)^.&set := $00000400;
  16144. end;
  16145. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  16146. begin
  16147. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16148. end;
  16149. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  16150. begin
  16151. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  16152. end;
  16153. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  16154. begin
  16155. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  16156. end;
  16157. procedure TPMP_PMCON.setSIDL; inline;
  16158. begin
  16159. pTDefRegMap(@Self)^.&set := $00002000;
  16160. end;
  16161. procedure TPMP_PMCON.clearSIDL; inline;
  16162. begin
  16163. pTDefRegMap(@Self)^.clr := $00002000;
  16164. end;
  16165. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  16166. begin
  16167. if thebits = 0 then
  16168. pTDefRegMap(@Self)^.clr := $00002000
  16169. else
  16170. pTDefRegMap(@Self)^.&set := $00002000;
  16171. end;
  16172. function TPMP_PMCON.getSIDL : TBits_1; inline;
  16173. begin
  16174. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16175. end;
  16176. procedure TPMP_PMCON.setON; inline;
  16177. begin
  16178. pTDefRegMap(@Self)^.&set := $00008000;
  16179. end;
  16180. procedure TPMP_PMCON.clearON; inline;
  16181. begin
  16182. pTDefRegMap(@Self)^.clr := $00008000;
  16183. end;
  16184. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  16185. begin
  16186. if thebits = 0 then
  16187. pTDefRegMap(@Self)^.clr := $00008000
  16188. else
  16189. pTDefRegMap(@Self)^.&set := $00008000;
  16190. end;
  16191. function TPMP_PMCON.getON : TBits_1; inline;
  16192. begin
  16193. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16194. end;
  16195. procedure TPMP_PMCON.setCSF0; inline;
  16196. begin
  16197. pTDefRegMap(@Self)^.&set := $00000040;
  16198. end;
  16199. procedure TPMP_PMCON.clearCSF0; inline;
  16200. begin
  16201. pTDefRegMap(@Self)^.clr := $00000040;
  16202. end;
  16203. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  16204. begin
  16205. if thebits = 0 then
  16206. pTDefRegMap(@Self)^.clr := $00000040
  16207. else
  16208. pTDefRegMap(@Self)^.&set := $00000040;
  16209. end;
  16210. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  16211. begin
  16212. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16213. end;
  16214. procedure TPMP_PMCON.setCSF1; inline;
  16215. begin
  16216. pTDefRegMap(@Self)^.&set := $00000080;
  16217. end;
  16218. procedure TPMP_PMCON.clearCSF1; inline;
  16219. begin
  16220. pTDefRegMap(@Self)^.clr := $00000080;
  16221. end;
  16222. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  16223. begin
  16224. if thebits = 0 then
  16225. pTDefRegMap(@Self)^.clr := $00000080
  16226. else
  16227. pTDefRegMap(@Self)^.&set := $00000080;
  16228. end;
  16229. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  16230. begin
  16231. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16232. end;
  16233. procedure TPMP_PMCON.setADRMUX0; inline;
  16234. begin
  16235. pTDefRegMap(@Self)^.&set := $00000800;
  16236. end;
  16237. procedure TPMP_PMCON.clearADRMUX0; inline;
  16238. begin
  16239. pTDefRegMap(@Self)^.clr := $00000800;
  16240. end;
  16241. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  16242. begin
  16243. if thebits = 0 then
  16244. pTDefRegMap(@Self)^.clr := $00000800
  16245. else
  16246. pTDefRegMap(@Self)^.&set := $00000800;
  16247. end;
  16248. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  16249. begin
  16250. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16251. end;
  16252. procedure TPMP_PMCON.setADRMUX1; inline;
  16253. begin
  16254. pTDefRegMap(@Self)^.&set := $00001000;
  16255. end;
  16256. procedure TPMP_PMCON.clearADRMUX1; inline;
  16257. begin
  16258. pTDefRegMap(@Self)^.clr := $00001000;
  16259. end;
  16260. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  16261. begin
  16262. if thebits = 0 then
  16263. pTDefRegMap(@Self)^.clr := $00001000
  16264. else
  16265. pTDefRegMap(@Self)^.&set := $00001000;
  16266. end;
  16267. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  16268. begin
  16269. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16270. end;
  16271. procedure TPMP_PMCON.setPSIDL; inline;
  16272. begin
  16273. pTDefRegMap(@Self)^.&set := $00002000;
  16274. end;
  16275. procedure TPMP_PMCON.clearPSIDL; inline;
  16276. begin
  16277. pTDefRegMap(@Self)^.clr := $00002000;
  16278. end;
  16279. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  16280. begin
  16281. if thebits = 0 then
  16282. pTDefRegMap(@Self)^.clr := $00002000
  16283. else
  16284. pTDefRegMap(@Self)^.&set := $00002000;
  16285. end;
  16286. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  16287. begin
  16288. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16289. end;
  16290. procedure TPMP_PMCON.setPMPEN; inline;
  16291. begin
  16292. pTDefRegMap(@Self)^.&set := $00008000;
  16293. end;
  16294. procedure TPMP_PMCON.clearPMPEN; inline;
  16295. begin
  16296. pTDefRegMap(@Self)^.clr := $00008000;
  16297. end;
  16298. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  16299. begin
  16300. if thebits = 0 then
  16301. pTDefRegMap(@Self)^.clr := $00008000
  16302. else
  16303. pTDefRegMap(@Self)^.&set := $00008000;
  16304. end;
  16305. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  16306. begin
  16307. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16308. end;
  16309. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  16310. begin
  16311. pTDefRegMap(@Self)^.val := thebits;
  16312. end;
  16313. function TPMP_PMCON.getw : TBits_32; inline;
  16314. begin
  16315. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16316. end;
  16317. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  16318. begin
  16319. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16320. end;
  16321. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  16322. begin
  16323. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16324. end;
  16325. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  16326. begin
  16327. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  16328. end;
  16329. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  16330. begin
  16331. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  16332. end;
  16333. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  16334. begin
  16335. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  16336. end;
  16337. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  16338. begin
  16339. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  16340. end;
  16341. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  16342. begin
  16343. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  16344. end;
  16345. function TPMP_PMMODE.getMODE : TBits_2; inline;
  16346. begin
  16347. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  16348. end;
  16349. procedure TPMP_PMMODE.setMODE16; inline;
  16350. begin
  16351. pTDefRegMap(@Self)^.&set := $00000400;
  16352. end;
  16353. procedure TPMP_PMMODE.clearMODE16; inline;
  16354. begin
  16355. pTDefRegMap(@Self)^.clr := $00000400;
  16356. end;
  16357. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  16358. begin
  16359. if thebits = 0 then
  16360. pTDefRegMap(@Self)^.clr := $00000400
  16361. else
  16362. pTDefRegMap(@Self)^.&set := $00000400;
  16363. end;
  16364. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  16365. begin
  16366. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16367. end;
  16368. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  16369. begin
  16370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  16371. end;
  16372. function TPMP_PMMODE.getINCM : TBits_2; inline;
  16373. begin
  16374. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  16375. end;
  16376. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  16377. begin
  16378. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  16379. end;
  16380. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  16381. begin
  16382. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  16383. end;
  16384. procedure TPMP_PMMODE.setBUSY; inline;
  16385. begin
  16386. pTDefRegMap(@Self)^.&set := $00008000;
  16387. end;
  16388. procedure TPMP_PMMODE.clearBUSY; inline;
  16389. begin
  16390. pTDefRegMap(@Self)^.clr := $00008000;
  16391. end;
  16392. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  16393. begin
  16394. if thebits = 0 then
  16395. pTDefRegMap(@Self)^.clr := $00008000
  16396. else
  16397. pTDefRegMap(@Self)^.&set := $00008000;
  16398. end;
  16399. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  16400. begin
  16401. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16402. end;
  16403. procedure TPMP_PMMODE.setWAITE0; inline;
  16404. begin
  16405. pTDefRegMap(@Self)^.&set := $00000001;
  16406. end;
  16407. procedure TPMP_PMMODE.clearWAITE0; inline;
  16408. begin
  16409. pTDefRegMap(@Self)^.clr := $00000001;
  16410. end;
  16411. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  16412. begin
  16413. if thebits = 0 then
  16414. pTDefRegMap(@Self)^.clr := $00000001
  16415. else
  16416. pTDefRegMap(@Self)^.&set := $00000001;
  16417. end;
  16418. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  16419. begin
  16420. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16421. end;
  16422. procedure TPMP_PMMODE.setWAITE1; inline;
  16423. begin
  16424. pTDefRegMap(@Self)^.&set := $00000002;
  16425. end;
  16426. procedure TPMP_PMMODE.clearWAITE1; inline;
  16427. begin
  16428. pTDefRegMap(@Self)^.clr := $00000002;
  16429. end;
  16430. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  16431. begin
  16432. if thebits = 0 then
  16433. pTDefRegMap(@Self)^.clr := $00000002
  16434. else
  16435. pTDefRegMap(@Self)^.&set := $00000002;
  16436. end;
  16437. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  16438. begin
  16439. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16440. end;
  16441. procedure TPMP_PMMODE.setWAITM0; inline;
  16442. begin
  16443. pTDefRegMap(@Self)^.&set := $00000004;
  16444. end;
  16445. procedure TPMP_PMMODE.clearWAITM0; inline;
  16446. begin
  16447. pTDefRegMap(@Self)^.clr := $00000004;
  16448. end;
  16449. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  16450. begin
  16451. if thebits = 0 then
  16452. pTDefRegMap(@Self)^.clr := $00000004
  16453. else
  16454. pTDefRegMap(@Self)^.&set := $00000004;
  16455. end;
  16456. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  16457. begin
  16458. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16459. end;
  16460. procedure TPMP_PMMODE.setWAITM1; inline;
  16461. begin
  16462. pTDefRegMap(@Self)^.&set := $00000008;
  16463. end;
  16464. procedure TPMP_PMMODE.clearWAITM1; inline;
  16465. begin
  16466. pTDefRegMap(@Self)^.clr := $00000008;
  16467. end;
  16468. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  16469. begin
  16470. if thebits = 0 then
  16471. pTDefRegMap(@Self)^.clr := $00000008
  16472. else
  16473. pTDefRegMap(@Self)^.&set := $00000008;
  16474. end;
  16475. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  16476. begin
  16477. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16478. end;
  16479. procedure TPMP_PMMODE.setWAITM2; inline;
  16480. begin
  16481. pTDefRegMap(@Self)^.&set := $00000010;
  16482. end;
  16483. procedure TPMP_PMMODE.clearWAITM2; inline;
  16484. begin
  16485. pTDefRegMap(@Self)^.clr := $00000010;
  16486. end;
  16487. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  16488. begin
  16489. if thebits = 0 then
  16490. pTDefRegMap(@Self)^.clr := $00000010
  16491. else
  16492. pTDefRegMap(@Self)^.&set := $00000010;
  16493. end;
  16494. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  16495. begin
  16496. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16497. end;
  16498. procedure TPMP_PMMODE.setWAITM3; inline;
  16499. begin
  16500. pTDefRegMap(@Self)^.&set := $00000020;
  16501. end;
  16502. procedure TPMP_PMMODE.clearWAITM3; inline;
  16503. begin
  16504. pTDefRegMap(@Self)^.clr := $00000020;
  16505. end;
  16506. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  16507. begin
  16508. if thebits = 0 then
  16509. pTDefRegMap(@Self)^.clr := $00000020
  16510. else
  16511. pTDefRegMap(@Self)^.&set := $00000020;
  16512. end;
  16513. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  16514. begin
  16515. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16516. end;
  16517. procedure TPMP_PMMODE.setWAITB0; inline;
  16518. begin
  16519. pTDefRegMap(@Self)^.&set := $00000040;
  16520. end;
  16521. procedure TPMP_PMMODE.clearWAITB0; inline;
  16522. begin
  16523. pTDefRegMap(@Self)^.clr := $00000040;
  16524. end;
  16525. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  16526. begin
  16527. if thebits = 0 then
  16528. pTDefRegMap(@Self)^.clr := $00000040
  16529. else
  16530. pTDefRegMap(@Self)^.&set := $00000040;
  16531. end;
  16532. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  16533. begin
  16534. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16535. end;
  16536. procedure TPMP_PMMODE.setWAITB1; inline;
  16537. begin
  16538. pTDefRegMap(@Self)^.&set := $00000080;
  16539. end;
  16540. procedure TPMP_PMMODE.clearWAITB1; inline;
  16541. begin
  16542. pTDefRegMap(@Self)^.clr := $00000080;
  16543. end;
  16544. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  16545. begin
  16546. if thebits = 0 then
  16547. pTDefRegMap(@Self)^.clr := $00000080
  16548. else
  16549. pTDefRegMap(@Self)^.&set := $00000080;
  16550. end;
  16551. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  16552. begin
  16553. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16554. end;
  16555. procedure TPMP_PMMODE.setMODE0; inline;
  16556. begin
  16557. pTDefRegMap(@Self)^.&set := $00000100;
  16558. end;
  16559. procedure TPMP_PMMODE.clearMODE0; inline;
  16560. begin
  16561. pTDefRegMap(@Self)^.clr := $00000100;
  16562. end;
  16563. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  16564. begin
  16565. if thebits = 0 then
  16566. pTDefRegMap(@Self)^.clr := $00000100
  16567. else
  16568. pTDefRegMap(@Self)^.&set := $00000100;
  16569. end;
  16570. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  16571. begin
  16572. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16573. end;
  16574. procedure TPMP_PMMODE.setMODE1; inline;
  16575. begin
  16576. pTDefRegMap(@Self)^.&set := $00000200;
  16577. end;
  16578. procedure TPMP_PMMODE.clearMODE1; inline;
  16579. begin
  16580. pTDefRegMap(@Self)^.clr := $00000200;
  16581. end;
  16582. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  16583. begin
  16584. if thebits = 0 then
  16585. pTDefRegMap(@Self)^.clr := $00000200
  16586. else
  16587. pTDefRegMap(@Self)^.&set := $00000200;
  16588. end;
  16589. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  16590. begin
  16591. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16592. end;
  16593. procedure TPMP_PMMODE.setINCM0; inline;
  16594. begin
  16595. pTDefRegMap(@Self)^.&set := $00000800;
  16596. end;
  16597. procedure TPMP_PMMODE.clearINCM0; inline;
  16598. begin
  16599. pTDefRegMap(@Self)^.clr := $00000800;
  16600. end;
  16601. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  16602. begin
  16603. if thebits = 0 then
  16604. pTDefRegMap(@Self)^.clr := $00000800
  16605. else
  16606. pTDefRegMap(@Self)^.&set := $00000800;
  16607. end;
  16608. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  16609. begin
  16610. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16611. end;
  16612. procedure TPMP_PMMODE.setINCM1; inline;
  16613. begin
  16614. pTDefRegMap(@Self)^.&set := $00001000;
  16615. end;
  16616. procedure TPMP_PMMODE.clearINCM1; inline;
  16617. begin
  16618. pTDefRegMap(@Self)^.clr := $00001000;
  16619. end;
  16620. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  16621. begin
  16622. if thebits = 0 then
  16623. pTDefRegMap(@Self)^.clr := $00001000
  16624. else
  16625. pTDefRegMap(@Self)^.&set := $00001000;
  16626. end;
  16627. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  16628. begin
  16629. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16630. end;
  16631. procedure TPMP_PMMODE.setIRQM0; inline;
  16632. begin
  16633. pTDefRegMap(@Self)^.&set := $00002000;
  16634. end;
  16635. procedure TPMP_PMMODE.clearIRQM0; inline;
  16636. begin
  16637. pTDefRegMap(@Self)^.clr := $00002000;
  16638. end;
  16639. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  16640. begin
  16641. if thebits = 0 then
  16642. pTDefRegMap(@Self)^.clr := $00002000
  16643. else
  16644. pTDefRegMap(@Self)^.&set := $00002000;
  16645. end;
  16646. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  16647. begin
  16648. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16649. end;
  16650. procedure TPMP_PMMODE.setIRQM1; inline;
  16651. begin
  16652. pTDefRegMap(@Self)^.&set := $00004000;
  16653. end;
  16654. procedure TPMP_PMMODE.clearIRQM1; inline;
  16655. begin
  16656. pTDefRegMap(@Self)^.clr := $00004000;
  16657. end;
  16658. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  16659. begin
  16660. if thebits = 0 then
  16661. pTDefRegMap(@Self)^.clr := $00004000
  16662. else
  16663. pTDefRegMap(@Self)^.&set := $00004000;
  16664. end;
  16665. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  16666. begin
  16667. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16668. end;
  16669. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  16670. begin
  16671. pTDefRegMap(@Self)^.val := thebits;
  16672. end;
  16673. function TPMP_PMMODE.getw : TBits_32; inline;
  16674. begin
  16675. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16676. end;
  16677. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  16678. begin
  16679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  16680. end;
  16681. function TPMP_PMADDR.getADDR : TBits_14; inline;
  16682. begin
  16683. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  16684. end;
  16685. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  16686. begin
  16687. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  16688. end;
  16689. function TPMP_PMADDR.getCS : TBits_2; inline;
  16690. begin
  16691. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  16692. end;
  16693. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  16694. begin
  16695. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  16696. end;
  16697. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  16698. begin
  16699. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  16700. end;
  16701. procedure TPMP_PMADDR.setCS1; inline;
  16702. begin
  16703. pTDefRegMap(@Self)^.&set := $00004000;
  16704. end;
  16705. procedure TPMP_PMADDR.clearCS1; inline;
  16706. begin
  16707. pTDefRegMap(@Self)^.clr := $00004000;
  16708. end;
  16709. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  16710. begin
  16711. if thebits = 0 then
  16712. pTDefRegMap(@Self)^.clr := $00004000
  16713. else
  16714. pTDefRegMap(@Self)^.&set := $00004000;
  16715. end;
  16716. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  16717. begin
  16718. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16719. end;
  16720. procedure TPMP_PMADDR.setCS2; inline;
  16721. begin
  16722. pTDefRegMap(@Self)^.&set := $00008000;
  16723. end;
  16724. procedure TPMP_PMADDR.clearCS2; inline;
  16725. begin
  16726. pTDefRegMap(@Self)^.clr := $00008000;
  16727. end;
  16728. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  16729. begin
  16730. if thebits = 0 then
  16731. pTDefRegMap(@Self)^.clr := $00008000
  16732. else
  16733. pTDefRegMap(@Self)^.&set := $00008000;
  16734. end;
  16735. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  16736. begin
  16737. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16738. end;
  16739. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  16740. begin
  16741. pTDefRegMap(@Self)^.val := thebits;
  16742. end;
  16743. function TPMP_PMADDR.getw : TBits_32; inline;
  16744. begin
  16745. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16746. end;
  16747. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  16748. begin
  16749. pTDefRegMap(@Self)^.val := thebits;
  16750. end;
  16751. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  16752. begin
  16753. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16754. end;
  16755. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  16756. begin
  16757. pTDefRegMap(@Self)^.val := thebits;
  16758. end;
  16759. function TPMP_PMDOUT.getw : TBits_32; inline;
  16760. begin
  16761. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16762. end;
  16763. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  16764. begin
  16765. pTDefRegMap(@Self)^.val := thebits;
  16766. end;
  16767. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  16768. begin
  16769. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16770. end;
  16771. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  16772. begin
  16773. pTDefRegMap(@Self)^.val := thebits;
  16774. end;
  16775. function TPMP_PMDIN.getw : TBits_32; inline;
  16776. begin
  16777. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16778. end;
  16779. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  16780. begin
  16781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  16782. end;
  16783. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  16784. begin
  16785. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  16786. end;
  16787. procedure TPMP_PMAEN.setPTEN0; inline;
  16788. begin
  16789. pTDefRegMap(@Self)^.&set := $00000001;
  16790. end;
  16791. procedure TPMP_PMAEN.clearPTEN0; inline;
  16792. begin
  16793. pTDefRegMap(@Self)^.clr := $00000001;
  16794. end;
  16795. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  16796. begin
  16797. if thebits = 0 then
  16798. pTDefRegMap(@Self)^.clr := $00000001
  16799. else
  16800. pTDefRegMap(@Self)^.&set := $00000001;
  16801. end;
  16802. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  16803. begin
  16804. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16805. end;
  16806. procedure TPMP_PMAEN.setPTEN1; inline;
  16807. begin
  16808. pTDefRegMap(@Self)^.&set := $00000002;
  16809. end;
  16810. procedure TPMP_PMAEN.clearPTEN1; inline;
  16811. begin
  16812. pTDefRegMap(@Self)^.clr := $00000002;
  16813. end;
  16814. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  16815. begin
  16816. if thebits = 0 then
  16817. pTDefRegMap(@Self)^.clr := $00000002
  16818. else
  16819. pTDefRegMap(@Self)^.&set := $00000002;
  16820. end;
  16821. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  16822. begin
  16823. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16824. end;
  16825. procedure TPMP_PMAEN.setPTEN2; inline;
  16826. begin
  16827. pTDefRegMap(@Self)^.&set := $00000004;
  16828. end;
  16829. procedure TPMP_PMAEN.clearPTEN2; inline;
  16830. begin
  16831. pTDefRegMap(@Self)^.clr := $00000004;
  16832. end;
  16833. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  16834. begin
  16835. if thebits = 0 then
  16836. pTDefRegMap(@Self)^.clr := $00000004
  16837. else
  16838. pTDefRegMap(@Self)^.&set := $00000004;
  16839. end;
  16840. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  16841. begin
  16842. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16843. end;
  16844. procedure TPMP_PMAEN.setPTEN3; inline;
  16845. begin
  16846. pTDefRegMap(@Self)^.&set := $00000008;
  16847. end;
  16848. procedure TPMP_PMAEN.clearPTEN3; inline;
  16849. begin
  16850. pTDefRegMap(@Self)^.clr := $00000008;
  16851. end;
  16852. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  16853. begin
  16854. if thebits = 0 then
  16855. pTDefRegMap(@Self)^.clr := $00000008
  16856. else
  16857. pTDefRegMap(@Self)^.&set := $00000008;
  16858. end;
  16859. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  16860. begin
  16861. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16862. end;
  16863. procedure TPMP_PMAEN.setPTEN4; inline;
  16864. begin
  16865. pTDefRegMap(@Self)^.&set := $00000010;
  16866. end;
  16867. procedure TPMP_PMAEN.clearPTEN4; inline;
  16868. begin
  16869. pTDefRegMap(@Self)^.clr := $00000010;
  16870. end;
  16871. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  16872. begin
  16873. if thebits = 0 then
  16874. pTDefRegMap(@Self)^.clr := $00000010
  16875. else
  16876. pTDefRegMap(@Self)^.&set := $00000010;
  16877. end;
  16878. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  16879. begin
  16880. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16881. end;
  16882. procedure TPMP_PMAEN.setPTEN5; inline;
  16883. begin
  16884. pTDefRegMap(@Self)^.&set := $00000020;
  16885. end;
  16886. procedure TPMP_PMAEN.clearPTEN5; inline;
  16887. begin
  16888. pTDefRegMap(@Self)^.clr := $00000020;
  16889. end;
  16890. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  16891. begin
  16892. if thebits = 0 then
  16893. pTDefRegMap(@Self)^.clr := $00000020
  16894. else
  16895. pTDefRegMap(@Self)^.&set := $00000020;
  16896. end;
  16897. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  16898. begin
  16899. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16900. end;
  16901. procedure TPMP_PMAEN.setPTEN6; inline;
  16902. begin
  16903. pTDefRegMap(@Self)^.&set := $00000040;
  16904. end;
  16905. procedure TPMP_PMAEN.clearPTEN6; inline;
  16906. begin
  16907. pTDefRegMap(@Self)^.clr := $00000040;
  16908. end;
  16909. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  16910. begin
  16911. if thebits = 0 then
  16912. pTDefRegMap(@Self)^.clr := $00000040
  16913. else
  16914. pTDefRegMap(@Self)^.&set := $00000040;
  16915. end;
  16916. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  16917. begin
  16918. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16919. end;
  16920. procedure TPMP_PMAEN.setPTEN7; inline;
  16921. begin
  16922. pTDefRegMap(@Self)^.&set := $00000080;
  16923. end;
  16924. procedure TPMP_PMAEN.clearPTEN7; inline;
  16925. begin
  16926. pTDefRegMap(@Self)^.clr := $00000080;
  16927. end;
  16928. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  16929. begin
  16930. if thebits = 0 then
  16931. pTDefRegMap(@Self)^.clr := $00000080
  16932. else
  16933. pTDefRegMap(@Self)^.&set := $00000080;
  16934. end;
  16935. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  16936. begin
  16937. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16938. end;
  16939. procedure TPMP_PMAEN.setPTEN8; inline;
  16940. begin
  16941. pTDefRegMap(@Self)^.&set := $00000100;
  16942. end;
  16943. procedure TPMP_PMAEN.clearPTEN8; inline;
  16944. begin
  16945. pTDefRegMap(@Self)^.clr := $00000100;
  16946. end;
  16947. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  16948. begin
  16949. if thebits = 0 then
  16950. pTDefRegMap(@Self)^.clr := $00000100
  16951. else
  16952. pTDefRegMap(@Self)^.&set := $00000100;
  16953. end;
  16954. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  16955. begin
  16956. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16957. end;
  16958. procedure TPMP_PMAEN.setPTEN9; inline;
  16959. begin
  16960. pTDefRegMap(@Self)^.&set := $00000200;
  16961. end;
  16962. procedure TPMP_PMAEN.clearPTEN9; inline;
  16963. begin
  16964. pTDefRegMap(@Self)^.clr := $00000200;
  16965. end;
  16966. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  16967. begin
  16968. if thebits = 0 then
  16969. pTDefRegMap(@Self)^.clr := $00000200
  16970. else
  16971. pTDefRegMap(@Self)^.&set := $00000200;
  16972. end;
  16973. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  16974. begin
  16975. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16976. end;
  16977. procedure TPMP_PMAEN.setPTEN10; inline;
  16978. begin
  16979. pTDefRegMap(@Self)^.&set := $00000400;
  16980. end;
  16981. procedure TPMP_PMAEN.clearPTEN10; inline;
  16982. begin
  16983. pTDefRegMap(@Self)^.clr := $00000400;
  16984. end;
  16985. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  16986. begin
  16987. if thebits = 0 then
  16988. pTDefRegMap(@Self)^.clr := $00000400
  16989. else
  16990. pTDefRegMap(@Self)^.&set := $00000400;
  16991. end;
  16992. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  16993. begin
  16994. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16995. end;
  16996. procedure TPMP_PMAEN.setPTEN11; inline;
  16997. begin
  16998. pTDefRegMap(@Self)^.&set := $00000800;
  16999. end;
  17000. procedure TPMP_PMAEN.clearPTEN11; inline;
  17001. begin
  17002. pTDefRegMap(@Self)^.clr := $00000800;
  17003. end;
  17004. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  17005. begin
  17006. if thebits = 0 then
  17007. pTDefRegMap(@Self)^.clr := $00000800
  17008. else
  17009. pTDefRegMap(@Self)^.&set := $00000800;
  17010. end;
  17011. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  17012. begin
  17013. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17014. end;
  17015. procedure TPMP_PMAEN.setPTEN12; inline;
  17016. begin
  17017. pTDefRegMap(@Self)^.&set := $00001000;
  17018. end;
  17019. procedure TPMP_PMAEN.clearPTEN12; inline;
  17020. begin
  17021. pTDefRegMap(@Self)^.clr := $00001000;
  17022. end;
  17023. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  17024. begin
  17025. if thebits = 0 then
  17026. pTDefRegMap(@Self)^.clr := $00001000
  17027. else
  17028. pTDefRegMap(@Self)^.&set := $00001000;
  17029. end;
  17030. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  17031. begin
  17032. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17033. end;
  17034. procedure TPMP_PMAEN.setPTEN13; inline;
  17035. begin
  17036. pTDefRegMap(@Self)^.&set := $00002000;
  17037. end;
  17038. procedure TPMP_PMAEN.clearPTEN13; inline;
  17039. begin
  17040. pTDefRegMap(@Self)^.clr := $00002000;
  17041. end;
  17042. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  17043. begin
  17044. if thebits = 0 then
  17045. pTDefRegMap(@Self)^.clr := $00002000
  17046. else
  17047. pTDefRegMap(@Self)^.&set := $00002000;
  17048. end;
  17049. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  17050. begin
  17051. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17052. end;
  17053. procedure TPMP_PMAEN.setPTEN14; inline;
  17054. begin
  17055. pTDefRegMap(@Self)^.&set := $00004000;
  17056. end;
  17057. procedure TPMP_PMAEN.clearPTEN14; inline;
  17058. begin
  17059. pTDefRegMap(@Self)^.clr := $00004000;
  17060. end;
  17061. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  17062. begin
  17063. if thebits = 0 then
  17064. pTDefRegMap(@Self)^.clr := $00004000
  17065. else
  17066. pTDefRegMap(@Self)^.&set := $00004000;
  17067. end;
  17068. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  17069. begin
  17070. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17071. end;
  17072. procedure TPMP_PMAEN.setPTEN15; inline;
  17073. begin
  17074. pTDefRegMap(@Self)^.&set := $00008000;
  17075. end;
  17076. procedure TPMP_PMAEN.clearPTEN15; inline;
  17077. begin
  17078. pTDefRegMap(@Self)^.clr := $00008000;
  17079. end;
  17080. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  17081. begin
  17082. if thebits = 0 then
  17083. pTDefRegMap(@Self)^.clr := $00008000
  17084. else
  17085. pTDefRegMap(@Self)^.&set := $00008000;
  17086. end;
  17087. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  17088. begin
  17089. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17090. end;
  17091. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  17092. begin
  17093. pTDefRegMap(@Self)^.val := thebits;
  17094. end;
  17095. function TPMP_PMAEN.getw : TBits_32; inline;
  17096. begin
  17097. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17098. end;
  17099. procedure TPMP_PMSTAT.setOB0E; inline;
  17100. begin
  17101. pTDefRegMap(@Self)^.&set := $00000001;
  17102. end;
  17103. procedure TPMP_PMSTAT.clearOB0E; inline;
  17104. begin
  17105. pTDefRegMap(@Self)^.clr := $00000001;
  17106. end;
  17107. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  17108. begin
  17109. if thebits = 0 then
  17110. pTDefRegMap(@Self)^.clr := $00000001
  17111. else
  17112. pTDefRegMap(@Self)^.&set := $00000001;
  17113. end;
  17114. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  17115. begin
  17116. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17117. end;
  17118. procedure TPMP_PMSTAT.setOB1E; inline;
  17119. begin
  17120. pTDefRegMap(@Self)^.&set := $00000002;
  17121. end;
  17122. procedure TPMP_PMSTAT.clearOB1E; inline;
  17123. begin
  17124. pTDefRegMap(@Self)^.clr := $00000002;
  17125. end;
  17126. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  17127. begin
  17128. if thebits = 0 then
  17129. pTDefRegMap(@Self)^.clr := $00000002
  17130. else
  17131. pTDefRegMap(@Self)^.&set := $00000002;
  17132. end;
  17133. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  17134. begin
  17135. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17136. end;
  17137. procedure TPMP_PMSTAT.setOB2E; inline;
  17138. begin
  17139. pTDefRegMap(@Self)^.&set := $00000004;
  17140. end;
  17141. procedure TPMP_PMSTAT.clearOB2E; inline;
  17142. begin
  17143. pTDefRegMap(@Self)^.clr := $00000004;
  17144. end;
  17145. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  17146. begin
  17147. if thebits = 0 then
  17148. pTDefRegMap(@Self)^.clr := $00000004
  17149. else
  17150. pTDefRegMap(@Self)^.&set := $00000004;
  17151. end;
  17152. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  17153. begin
  17154. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17155. end;
  17156. procedure TPMP_PMSTAT.setOB3E; inline;
  17157. begin
  17158. pTDefRegMap(@Self)^.&set := $00000008;
  17159. end;
  17160. procedure TPMP_PMSTAT.clearOB3E; inline;
  17161. begin
  17162. pTDefRegMap(@Self)^.clr := $00000008;
  17163. end;
  17164. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  17165. begin
  17166. if thebits = 0 then
  17167. pTDefRegMap(@Self)^.clr := $00000008
  17168. else
  17169. pTDefRegMap(@Self)^.&set := $00000008;
  17170. end;
  17171. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  17172. begin
  17173. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17174. end;
  17175. procedure TPMP_PMSTAT.setOBUF; inline;
  17176. begin
  17177. pTDefRegMap(@Self)^.&set := $00000040;
  17178. end;
  17179. procedure TPMP_PMSTAT.clearOBUF; inline;
  17180. begin
  17181. pTDefRegMap(@Self)^.clr := $00000040;
  17182. end;
  17183. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  17184. begin
  17185. if thebits = 0 then
  17186. pTDefRegMap(@Self)^.clr := $00000040
  17187. else
  17188. pTDefRegMap(@Self)^.&set := $00000040;
  17189. end;
  17190. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  17191. begin
  17192. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17193. end;
  17194. procedure TPMP_PMSTAT.setOBE; inline;
  17195. begin
  17196. pTDefRegMap(@Self)^.&set := $00000080;
  17197. end;
  17198. procedure TPMP_PMSTAT.clearOBE; inline;
  17199. begin
  17200. pTDefRegMap(@Self)^.clr := $00000080;
  17201. end;
  17202. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  17203. begin
  17204. if thebits = 0 then
  17205. pTDefRegMap(@Self)^.clr := $00000080
  17206. else
  17207. pTDefRegMap(@Self)^.&set := $00000080;
  17208. end;
  17209. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  17210. begin
  17211. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17212. end;
  17213. procedure TPMP_PMSTAT.setIB0F; inline;
  17214. begin
  17215. pTDefRegMap(@Self)^.&set := $00000100;
  17216. end;
  17217. procedure TPMP_PMSTAT.clearIB0F; inline;
  17218. begin
  17219. pTDefRegMap(@Self)^.clr := $00000100;
  17220. end;
  17221. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  17222. begin
  17223. if thebits = 0 then
  17224. pTDefRegMap(@Self)^.clr := $00000100
  17225. else
  17226. pTDefRegMap(@Self)^.&set := $00000100;
  17227. end;
  17228. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  17229. begin
  17230. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17231. end;
  17232. procedure TPMP_PMSTAT.setIB1F; inline;
  17233. begin
  17234. pTDefRegMap(@Self)^.&set := $00000200;
  17235. end;
  17236. procedure TPMP_PMSTAT.clearIB1F; inline;
  17237. begin
  17238. pTDefRegMap(@Self)^.clr := $00000200;
  17239. end;
  17240. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  17241. begin
  17242. if thebits = 0 then
  17243. pTDefRegMap(@Self)^.clr := $00000200
  17244. else
  17245. pTDefRegMap(@Self)^.&set := $00000200;
  17246. end;
  17247. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  17248. begin
  17249. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17250. end;
  17251. procedure TPMP_PMSTAT.setIB2F; inline;
  17252. begin
  17253. pTDefRegMap(@Self)^.&set := $00000400;
  17254. end;
  17255. procedure TPMP_PMSTAT.clearIB2F; inline;
  17256. begin
  17257. pTDefRegMap(@Self)^.clr := $00000400;
  17258. end;
  17259. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  17260. begin
  17261. if thebits = 0 then
  17262. pTDefRegMap(@Self)^.clr := $00000400
  17263. else
  17264. pTDefRegMap(@Self)^.&set := $00000400;
  17265. end;
  17266. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  17267. begin
  17268. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17269. end;
  17270. procedure TPMP_PMSTAT.setIB3F; inline;
  17271. begin
  17272. pTDefRegMap(@Self)^.&set := $00000800;
  17273. end;
  17274. procedure TPMP_PMSTAT.clearIB3F; inline;
  17275. begin
  17276. pTDefRegMap(@Self)^.clr := $00000800;
  17277. end;
  17278. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  17279. begin
  17280. if thebits = 0 then
  17281. pTDefRegMap(@Self)^.clr := $00000800
  17282. else
  17283. pTDefRegMap(@Self)^.&set := $00000800;
  17284. end;
  17285. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  17286. begin
  17287. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17288. end;
  17289. procedure TPMP_PMSTAT.setIBOV; inline;
  17290. begin
  17291. pTDefRegMap(@Self)^.&set := $00004000;
  17292. end;
  17293. procedure TPMP_PMSTAT.clearIBOV; inline;
  17294. begin
  17295. pTDefRegMap(@Self)^.clr := $00004000;
  17296. end;
  17297. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  17298. begin
  17299. if thebits = 0 then
  17300. pTDefRegMap(@Self)^.clr := $00004000
  17301. else
  17302. pTDefRegMap(@Self)^.&set := $00004000;
  17303. end;
  17304. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  17305. begin
  17306. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17307. end;
  17308. procedure TPMP_PMSTAT.setIBF; inline;
  17309. begin
  17310. pTDefRegMap(@Self)^.&set := $00008000;
  17311. end;
  17312. procedure TPMP_PMSTAT.clearIBF; inline;
  17313. begin
  17314. pTDefRegMap(@Self)^.clr := $00008000;
  17315. end;
  17316. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  17317. begin
  17318. if thebits = 0 then
  17319. pTDefRegMap(@Self)^.clr := $00008000
  17320. else
  17321. pTDefRegMap(@Self)^.&set := $00008000;
  17322. end;
  17323. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  17324. begin
  17325. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17326. end;
  17327. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  17328. begin
  17329. pTDefRegMap(@Self)^.val := thebits;
  17330. end;
  17331. function TPMP_PMSTAT.getw : TBits_32; inline;
  17332. begin
  17333. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17334. end;
  17335. procedure TADC10_AD1CON1.setDONE; inline;
  17336. begin
  17337. pTDefRegMap(@Self)^.&set := $00000001;
  17338. end;
  17339. procedure TADC10_AD1CON1.clearDONE; inline;
  17340. begin
  17341. pTDefRegMap(@Self)^.clr := $00000001;
  17342. end;
  17343. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  17344. begin
  17345. if thebits = 0 then
  17346. pTDefRegMap(@Self)^.clr := $00000001
  17347. else
  17348. pTDefRegMap(@Self)^.&set := $00000001;
  17349. end;
  17350. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  17351. begin
  17352. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17353. end;
  17354. procedure TADC10_AD1CON1.setSAMP; inline;
  17355. begin
  17356. pTDefRegMap(@Self)^.&set := $00000002;
  17357. end;
  17358. procedure TADC10_AD1CON1.clearSAMP; inline;
  17359. begin
  17360. pTDefRegMap(@Self)^.clr := $00000002;
  17361. end;
  17362. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  17363. begin
  17364. if thebits = 0 then
  17365. pTDefRegMap(@Self)^.clr := $00000002
  17366. else
  17367. pTDefRegMap(@Self)^.&set := $00000002;
  17368. end;
  17369. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  17370. begin
  17371. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17372. end;
  17373. procedure TADC10_AD1CON1.setASAM; inline;
  17374. begin
  17375. pTDefRegMap(@Self)^.&set := $00000004;
  17376. end;
  17377. procedure TADC10_AD1CON1.clearASAM; inline;
  17378. begin
  17379. pTDefRegMap(@Self)^.clr := $00000004;
  17380. end;
  17381. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  17382. begin
  17383. if thebits = 0 then
  17384. pTDefRegMap(@Self)^.clr := $00000004
  17385. else
  17386. pTDefRegMap(@Self)^.&set := $00000004;
  17387. end;
  17388. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  17389. begin
  17390. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17391. end;
  17392. procedure TADC10_AD1CON1.setCLRASAM; inline;
  17393. begin
  17394. pTDefRegMap(@Self)^.&set := $00000010;
  17395. end;
  17396. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  17397. begin
  17398. pTDefRegMap(@Self)^.clr := $00000010;
  17399. end;
  17400. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  17401. begin
  17402. if thebits = 0 then
  17403. pTDefRegMap(@Self)^.clr := $00000010
  17404. else
  17405. pTDefRegMap(@Self)^.&set := $00000010;
  17406. end;
  17407. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  17408. begin
  17409. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17410. end;
  17411. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  17412. begin
  17413. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  17414. end;
  17415. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  17416. begin
  17417. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  17418. end;
  17419. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  17420. begin
  17421. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  17422. end;
  17423. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  17424. begin
  17425. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  17426. end;
  17427. procedure TADC10_AD1CON1.setSIDL; inline;
  17428. begin
  17429. pTDefRegMap(@Self)^.&set := $00002000;
  17430. end;
  17431. procedure TADC10_AD1CON1.clearSIDL; inline;
  17432. begin
  17433. pTDefRegMap(@Self)^.clr := $00002000;
  17434. end;
  17435. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  17436. begin
  17437. if thebits = 0 then
  17438. pTDefRegMap(@Self)^.clr := $00002000
  17439. else
  17440. pTDefRegMap(@Self)^.&set := $00002000;
  17441. end;
  17442. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  17443. begin
  17444. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17445. end;
  17446. procedure TADC10_AD1CON1.setON; inline;
  17447. begin
  17448. pTDefRegMap(@Self)^.&set := $00008000;
  17449. end;
  17450. procedure TADC10_AD1CON1.clearON; inline;
  17451. begin
  17452. pTDefRegMap(@Self)^.clr := $00008000;
  17453. end;
  17454. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  17455. begin
  17456. if thebits = 0 then
  17457. pTDefRegMap(@Self)^.clr := $00008000
  17458. else
  17459. pTDefRegMap(@Self)^.&set := $00008000;
  17460. end;
  17461. function TADC10_AD1CON1.getON : TBits_1; inline;
  17462. begin
  17463. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17464. end;
  17465. procedure TADC10_AD1CON1.setSSRC0; inline;
  17466. begin
  17467. pTDefRegMap(@Self)^.&set := $00000020;
  17468. end;
  17469. procedure TADC10_AD1CON1.clearSSRC0; inline;
  17470. begin
  17471. pTDefRegMap(@Self)^.clr := $00000020;
  17472. end;
  17473. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  17474. begin
  17475. if thebits = 0 then
  17476. pTDefRegMap(@Self)^.clr := $00000020
  17477. else
  17478. pTDefRegMap(@Self)^.&set := $00000020;
  17479. end;
  17480. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  17481. begin
  17482. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17483. end;
  17484. procedure TADC10_AD1CON1.setSSRC1; inline;
  17485. begin
  17486. pTDefRegMap(@Self)^.&set := $00000040;
  17487. end;
  17488. procedure TADC10_AD1CON1.clearSSRC1; inline;
  17489. begin
  17490. pTDefRegMap(@Self)^.clr := $00000040;
  17491. end;
  17492. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  17493. begin
  17494. if thebits = 0 then
  17495. pTDefRegMap(@Self)^.clr := $00000040
  17496. else
  17497. pTDefRegMap(@Self)^.&set := $00000040;
  17498. end;
  17499. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  17500. begin
  17501. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17502. end;
  17503. procedure TADC10_AD1CON1.setSSRC2; inline;
  17504. begin
  17505. pTDefRegMap(@Self)^.&set := $00000080;
  17506. end;
  17507. procedure TADC10_AD1CON1.clearSSRC2; inline;
  17508. begin
  17509. pTDefRegMap(@Self)^.clr := $00000080;
  17510. end;
  17511. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  17512. begin
  17513. if thebits = 0 then
  17514. pTDefRegMap(@Self)^.clr := $00000080
  17515. else
  17516. pTDefRegMap(@Self)^.&set := $00000080;
  17517. end;
  17518. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  17519. begin
  17520. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17521. end;
  17522. procedure TADC10_AD1CON1.setFORM0; inline;
  17523. begin
  17524. pTDefRegMap(@Self)^.&set := $00000100;
  17525. end;
  17526. procedure TADC10_AD1CON1.clearFORM0; inline;
  17527. begin
  17528. pTDefRegMap(@Self)^.clr := $00000100;
  17529. end;
  17530. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  17531. begin
  17532. if thebits = 0 then
  17533. pTDefRegMap(@Self)^.clr := $00000100
  17534. else
  17535. pTDefRegMap(@Self)^.&set := $00000100;
  17536. end;
  17537. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  17538. begin
  17539. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17540. end;
  17541. procedure TADC10_AD1CON1.setFORM1; inline;
  17542. begin
  17543. pTDefRegMap(@Self)^.&set := $00000200;
  17544. end;
  17545. procedure TADC10_AD1CON1.clearFORM1; inline;
  17546. begin
  17547. pTDefRegMap(@Self)^.clr := $00000200;
  17548. end;
  17549. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  17550. begin
  17551. if thebits = 0 then
  17552. pTDefRegMap(@Self)^.clr := $00000200
  17553. else
  17554. pTDefRegMap(@Self)^.&set := $00000200;
  17555. end;
  17556. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  17557. begin
  17558. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17559. end;
  17560. procedure TADC10_AD1CON1.setFORM2; inline;
  17561. begin
  17562. pTDefRegMap(@Self)^.&set := $00000400;
  17563. end;
  17564. procedure TADC10_AD1CON1.clearFORM2; inline;
  17565. begin
  17566. pTDefRegMap(@Self)^.clr := $00000400;
  17567. end;
  17568. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  17569. begin
  17570. if thebits = 0 then
  17571. pTDefRegMap(@Self)^.clr := $00000400
  17572. else
  17573. pTDefRegMap(@Self)^.&set := $00000400;
  17574. end;
  17575. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  17576. begin
  17577. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17578. end;
  17579. procedure TADC10_AD1CON1.setADSIDL; inline;
  17580. begin
  17581. pTDefRegMap(@Self)^.&set := $00002000;
  17582. end;
  17583. procedure TADC10_AD1CON1.clearADSIDL; inline;
  17584. begin
  17585. pTDefRegMap(@Self)^.clr := $00002000;
  17586. end;
  17587. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  17588. begin
  17589. if thebits = 0 then
  17590. pTDefRegMap(@Self)^.clr := $00002000
  17591. else
  17592. pTDefRegMap(@Self)^.&set := $00002000;
  17593. end;
  17594. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  17595. begin
  17596. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17597. end;
  17598. procedure TADC10_AD1CON1.setADON; inline;
  17599. begin
  17600. pTDefRegMap(@Self)^.&set := $00008000;
  17601. end;
  17602. procedure TADC10_AD1CON1.clearADON; inline;
  17603. begin
  17604. pTDefRegMap(@Self)^.clr := $00008000;
  17605. end;
  17606. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  17607. begin
  17608. if thebits = 0 then
  17609. pTDefRegMap(@Self)^.clr := $00008000
  17610. else
  17611. pTDefRegMap(@Self)^.&set := $00008000;
  17612. end;
  17613. function TADC10_AD1CON1.getADON : TBits_1; inline;
  17614. begin
  17615. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17616. end;
  17617. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  17618. begin
  17619. pTDefRegMap(@Self)^.val := thebits;
  17620. end;
  17621. function TADC10_AD1CON1.getw : TBits_32; inline;
  17622. begin
  17623. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17624. end;
  17625. procedure TADC10_AD1CON2.setALTS; inline;
  17626. begin
  17627. pTDefRegMap(@Self)^.&set := $00000001;
  17628. end;
  17629. procedure TADC10_AD1CON2.clearALTS; inline;
  17630. begin
  17631. pTDefRegMap(@Self)^.clr := $00000001;
  17632. end;
  17633. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  17634. begin
  17635. if thebits = 0 then
  17636. pTDefRegMap(@Self)^.clr := $00000001
  17637. else
  17638. pTDefRegMap(@Self)^.&set := $00000001;
  17639. end;
  17640. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  17641. begin
  17642. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17643. end;
  17644. procedure TADC10_AD1CON2.setBUFM; inline;
  17645. begin
  17646. pTDefRegMap(@Self)^.&set := $00000002;
  17647. end;
  17648. procedure TADC10_AD1CON2.clearBUFM; inline;
  17649. begin
  17650. pTDefRegMap(@Self)^.clr := $00000002;
  17651. end;
  17652. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  17653. begin
  17654. if thebits = 0 then
  17655. pTDefRegMap(@Self)^.clr := $00000002
  17656. else
  17657. pTDefRegMap(@Self)^.&set := $00000002;
  17658. end;
  17659. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  17660. begin
  17661. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17662. end;
  17663. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  17664. begin
  17665. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  17666. end;
  17667. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  17668. begin
  17669. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  17670. end;
  17671. procedure TADC10_AD1CON2.setBUFS; inline;
  17672. begin
  17673. pTDefRegMap(@Self)^.&set := $00000080;
  17674. end;
  17675. procedure TADC10_AD1CON2.clearBUFS; inline;
  17676. begin
  17677. pTDefRegMap(@Self)^.clr := $00000080;
  17678. end;
  17679. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  17680. begin
  17681. if thebits = 0 then
  17682. pTDefRegMap(@Self)^.clr := $00000080
  17683. else
  17684. pTDefRegMap(@Self)^.&set := $00000080;
  17685. end;
  17686. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  17687. begin
  17688. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17689. end;
  17690. procedure TADC10_AD1CON2.setCSCNA; inline;
  17691. begin
  17692. pTDefRegMap(@Self)^.&set := $00000400;
  17693. end;
  17694. procedure TADC10_AD1CON2.clearCSCNA; inline;
  17695. begin
  17696. pTDefRegMap(@Self)^.clr := $00000400;
  17697. end;
  17698. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  17699. begin
  17700. if thebits = 0 then
  17701. pTDefRegMap(@Self)^.clr := $00000400
  17702. else
  17703. pTDefRegMap(@Self)^.&set := $00000400;
  17704. end;
  17705. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  17706. begin
  17707. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17708. end;
  17709. procedure TADC10_AD1CON2.setOFFCAL; inline;
  17710. begin
  17711. pTDefRegMap(@Self)^.&set := $00001000;
  17712. end;
  17713. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  17714. begin
  17715. pTDefRegMap(@Self)^.clr := $00001000;
  17716. end;
  17717. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  17718. begin
  17719. if thebits = 0 then
  17720. pTDefRegMap(@Self)^.clr := $00001000
  17721. else
  17722. pTDefRegMap(@Self)^.&set := $00001000;
  17723. end;
  17724. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  17725. begin
  17726. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17727. end;
  17728. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  17729. begin
  17730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  17731. end;
  17732. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  17733. begin
  17734. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  17735. end;
  17736. procedure TADC10_AD1CON2.setSMPI0; inline;
  17737. begin
  17738. pTDefRegMap(@Self)^.&set := $00000004;
  17739. end;
  17740. procedure TADC10_AD1CON2.clearSMPI0; inline;
  17741. begin
  17742. pTDefRegMap(@Self)^.clr := $00000004;
  17743. end;
  17744. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  17745. begin
  17746. if thebits = 0 then
  17747. pTDefRegMap(@Self)^.clr := $00000004
  17748. else
  17749. pTDefRegMap(@Self)^.&set := $00000004;
  17750. end;
  17751. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  17752. begin
  17753. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17754. end;
  17755. procedure TADC10_AD1CON2.setSMPI1; inline;
  17756. begin
  17757. pTDefRegMap(@Self)^.&set := $00000008;
  17758. end;
  17759. procedure TADC10_AD1CON2.clearSMPI1; inline;
  17760. begin
  17761. pTDefRegMap(@Self)^.clr := $00000008;
  17762. end;
  17763. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  17764. begin
  17765. if thebits = 0 then
  17766. pTDefRegMap(@Self)^.clr := $00000008
  17767. else
  17768. pTDefRegMap(@Self)^.&set := $00000008;
  17769. end;
  17770. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  17771. begin
  17772. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17773. end;
  17774. procedure TADC10_AD1CON2.setSMPI2; inline;
  17775. begin
  17776. pTDefRegMap(@Self)^.&set := $00000010;
  17777. end;
  17778. procedure TADC10_AD1CON2.clearSMPI2; inline;
  17779. begin
  17780. pTDefRegMap(@Self)^.clr := $00000010;
  17781. end;
  17782. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  17783. begin
  17784. if thebits = 0 then
  17785. pTDefRegMap(@Self)^.clr := $00000010
  17786. else
  17787. pTDefRegMap(@Self)^.&set := $00000010;
  17788. end;
  17789. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  17790. begin
  17791. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17792. end;
  17793. procedure TADC10_AD1CON2.setSMPI3; inline;
  17794. begin
  17795. pTDefRegMap(@Self)^.&set := $00000020;
  17796. end;
  17797. procedure TADC10_AD1CON2.clearSMPI3; inline;
  17798. begin
  17799. pTDefRegMap(@Self)^.clr := $00000020;
  17800. end;
  17801. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  17802. begin
  17803. if thebits = 0 then
  17804. pTDefRegMap(@Self)^.clr := $00000020
  17805. else
  17806. pTDefRegMap(@Self)^.&set := $00000020;
  17807. end;
  17808. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  17809. begin
  17810. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17811. end;
  17812. procedure TADC10_AD1CON2.setVCFG0; inline;
  17813. begin
  17814. pTDefRegMap(@Self)^.&set := $00002000;
  17815. end;
  17816. procedure TADC10_AD1CON2.clearVCFG0; inline;
  17817. begin
  17818. pTDefRegMap(@Self)^.clr := $00002000;
  17819. end;
  17820. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  17821. begin
  17822. if thebits = 0 then
  17823. pTDefRegMap(@Self)^.clr := $00002000
  17824. else
  17825. pTDefRegMap(@Self)^.&set := $00002000;
  17826. end;
  17827. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  17828. begin
  17829. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17830. end;
  17831. procedure TADC10_AD1CON2.setVCFG1; inline;
  17832. begin
  17833. pTDefRegMap(@Self)^.&set := $00004000;
  17834. end;
  17835. procedure TADC10_AD1CON2.clearVCFG1; inline;
  17836. begin
  17837. pTDefRegMap(@Self)^.clr := $00004000;
  17838. end;
  17839. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  17840. begin
  17841. if thebits = 0 then
  17842. pTDefRegMap(@Self)^.clr := $00004000
  17843. else
  17844. pTDefRegMap(@Self)^.&set := $00004000;
  17845. end;
  17846. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  17847. begin
  17848. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17849. end;
  17850. procedure TADC10_AD1CON2.setVCFG2; inline;
  17851. begin
  17852. pTDefRegMap(@Self)^.&set := $00008000;
  17853. end;
  17854. procedure TADC10_AD1CON2.clearVCFG2; inline;
  17855. begin
  17856. pTDefRegMap(@Self)^.clr := $00008000;
  17857. end;
  17858. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  17859. begin
  17860. if thebits = 0 then
  17861. pTDefRegMap(@Self)^.clr := $00008000
  17862. else
  17863. pTDefRegMap(@Self)^.&set := $00008000;
  17864. end;
  17865. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  17866. begin
  17867. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17868. end;
  17869. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  17870. begin
  17871. pTDefRegMap(@Self)^.val := thebits;
  17872. end;
  17873. function TADC10_AD1CON2.getw : TBits_32; inline;
  17874. begin
  17875. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17876. end;
  17877. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  17878. begin
  17879. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  17880. end;
  17881. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  17882. begin
  17883. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  17884. end;
  17885. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  17886. begin
  17887. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  17888. end;
  17889. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  17890. begin
  17891. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  17892. end;
  17893. procedure TADC10_AD1CON3.setADRC; inline;
  17894. begin
  17895. pTDefRegMap(@Self)^.&set := $00008000;
  17896. end;
  17897. procedure TADC10_AD1CON3.clearADRC; inline;
  17898. begin
  17899. pTDefRegMap(@Self)^.clr := $00008000;
  17900. end;
  17901. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  17902. begin
  17903. if thebits = 0 then
  17904. pTDefRegMap(@Self)^.clr := $00008000
  17905. else
  17906. pTDefRegMap(@Self)^.&set := $00008000;
  17907. end;
  17908. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  17909. begin
  17910. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17911. end;
  17912. procedure TADC10_AD1CON3.setADCS0; inline;
  17913. begin
  17914. pTDefRegMap(@Self)^.&set := $00000001;
  17915. end;
  17916. procedure TADC10_AD1CON3.clearADCS0; inline;
  17917. begin
  17918. pTDefRegMap(@Self)^.clr := $00000001;
  17919. end;
  17920. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  17921. begin
  17922. if thebits = 0 then
  17923. pTDefRegMap(@Self)^.clr := $00000001
  17924. else
  17925. pTDefRegMap(@Self)^.&set := $00000001;
  17926. end;
  17927. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  17928. begin
  17929. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17930. end;
  17931. procedure TADC10_AD1CON3.setADCS1; inline;
  17932. begin
  17933. pTDefRegMap(@Self)^.&set := $00000002;
  17934. end;
  17935. procedure TADC10_AD1CON3.clearADCS1; inline;
  17936. begin
  17937. pTDefRegMap(@Self)^.clr := $00000002;
  17938. end;
  17939. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  17940. begin
  17941. if thebits = 0 then
  17942. pTDefRegMap(@Self)^.clr := $00000002
  17943. else
  17944. pTDefRegMap(@Self)^.&set := $00000002;
  17945. end;
  17946. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  17947. begin
  17948. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17949. end;
  17950. procedure TADC10_AD1CON3.setADCS2; inline;
  17951. begin
  17952. pTDefRegMap(@Self)^.&set := $00000004;
  17953. end;
  17954. procedure TADC10_AD1CON3.clearADCS2; inline;
  17955. begin
  17956. pTDefRegMap(@Self)^.clr := $00000004;
  17957. end;
  17958. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  17959. begin
  17960. if thebits = 0 then
  17961. pTDefRegMap(@Self)^.clr := $00000004
  17962. else
  17963. pTDefRegMap(@Self)^.&set := $00000004;
  17964. end;
  17965. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  17966. begin
  17967. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17968. end;
  17969. procedure TADC10_AD1CON3.setADCS3; inline;
  17970. begin
  17971. pTDefRegMap(@Self)^.&set := $00000008;
  17972. end;
  17973. procedure TADC10_AD1CON3.clearADCS3; inline;
  17974. begin
  17975. pTDefRegMap(@Self)^.clr := $00000008;
  17976. end;
  17977. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  17978. begin
  17979. if thebits = 0 then
  17980. pTDefRegMap(@Self)^.clr := $00000008
  17981. else
  17982. pTDefRegMap(@Self)^.&set := $00000008;
  17983. end;
  17984. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  17985. begin
  17986. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17987. end;
  17988. procedure TADC10_AD1CON3.setADCS4; inline;
  17989. begin
  17990. pTDefRegMap(@Self)^.&set := $00000010;
  17991. end;
  17992. procedure TADC10_AD1CON3.clearADCS4; inline;
  17993. begin
  17994. pTDefRegMap(@Self)^.clr := $00000010;
  17995. end;
  17996. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  17997. begin
  17998. if thebits = 0 then
  17999. pTDefRegMap(@Self)^.clr := $00000010
  18000. else
  18001. pTDefRegMap(@Self)^.&set := $00000010;
  18002. end;
  18003. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  18004. begin
  18005. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18006. end;
  18007. procedure TADC10_AD1CON3.setADCS5; inline;
  18008. begin
  18009. pTDefRegMap(@Self)^.&set := $00000020;
  18010. end;
  18011. procedure TADC10_AD1CON3.clearADCS5; inline;
  18012. begin
  18013. pTDefRegMap(@Self)^.clr := $00000020;
  18014. end;
  18015. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  18016. begin
  18017. if thebits = 0 then
  18018. pTDefRegMap(@Self)^.clr := $00000020
  18019. else
  18020. pTDefRegMap(@Self)^.&set := $00000020;
  18021. end;
  18022. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  18023. begin
  18024. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18025. end;
  18026. procedure TADC10_AD1CON3.setADCS6; inline;
  18027. begin
  18028. pTDefRegMap(@Self)^.&set := $00000040;
  18029. end;
  18030. procedure TADC10_AD1CON3.clearADCS6; inline;
  18031. begin
  18032. pTDefRegMap(@Self)^.clr := $00000040;
  18033. end;
  18034. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  18035. begin
  18036. if thebits = 0 then
  18037. pTDefRegMap(@Self)^.clr := $00000040
  18038. else
  18039. pTDefRegMap(@Self)^.&set := $00000040;
  18040. end;
  18041. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  18042. begin
  18043. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18044. end;
  18045. procedure TADC10_AD1CON3.setADCS7; inline;
  18046. begin
  18047. pTDefRegMap(@Self)^.&set := $00000080;
  18048. end;
  18049. procedure TADC10_AD1CON3.clearADCS7; inline;
  18050. begin
  18051. pTDefRegMap(@Self)^.clr := $00000080;
  18052. end;
  18053. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  18054. begin
  18055. if thebits = 0 then
  18056. pTDefRegMap(@Self)^.clr := $00000080
  18057. else
  18058. pTDefRegMap(@Self)^.&set := $00000080;
  18059. end;
  18060. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  18061. begin
  18062. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18063. end;
  18064. procedure TADC10_AD1CON3.setSAMC0; inline;
  18065. begin
  18066. pTDefRegMap(@Self)^.&set := $00000100;
  18067. end;
  18068. procedure TADC10_AD1CON3.clearSAMC0; inline;
  18069. begin
  18070. pTDefRegMap(@Self)^.clr := $00000100;
  18071. end;
  18072. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  18073. begin
  18074. if thebits = 0 then
  18075. pTDefRegMap(@Self)^.clr := $00000100
  18076. else
  18077. pTDefRegMap(@Self)^.&set := $00000100;
  18078. end;
  18079. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  18080. begin
  18081. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18082. end;
  18083. procedure TADC10_AD1CON3.setSAMC1; inline;
  18084. begin
  18085. pTDefRegMap(@Self)^.&set := $00000200;
  18086. end;
  18087. procedure TADC10_AD1CON3.clearSAMC1; inline;
  18088. begin
  18089. pTDefRegMap(@Self)^.clr := $00000200;
  18090. end;
  18091. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  18092. begin
  18093. if thebits = 0 then
  18094. pTDefRegMap(@Self)^.clr := $00000200
  18095. else
  18096. pTDefRegMap(@Self)^.&set := $00000200;
  18097. end;
  18098. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  18099. begin
  18100. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18101. end;
  18102. procedure TADC10_AD1CON3.setSAMC2; inline;
  18103. begin
  18104. pTDefRegMap(@Self)^.&set := $00000400;
  18105. end;
  18106. procedure TADC10_AD1CON3.clearSAMC2; inline;
  18107. begin
  18108. pTDefRegMap(@Self)^.clr := $00000400;
  18109. end;
  18110. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  18111. begin
  18112. if thebits = 0 then
  18113. pTDefRegMap(@Self)^.clr := $00000400
  18114. else
  18115. pTDefRegMap(@Self)^.&set := $00000400;
  18116. end;
  18117. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  18118. begin
  18119. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18120. end;
  18121. procedure TADC10_AD1CON3.setSAMC3; inline;
  18122. begin
  18123. pTDefRegMap(@Self)^.&set := $00000800;
  18124. end;
  18125. procedure TADC10_AD1CON3.clearSAMC3; inline;
  18126. begin
  18127. pTDefRegMap(@Self)^.clr := $00000800;
  18128. end;
  18129. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  18130. begin
  18131. if thebits = 0 then
  18132. pTDefRegMap(@Self)^.clr := $00000800
  18133. else
  18134. pTDefRegMap(@Self)^.&set := $00000800;
  18135. end;
  18136. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  18137. begin
  18138. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18139. end;
  18140. procedure TADC10_AD1CON3.setSAMC4; inline;
  18141. begin
  18142. pTDefRegMap(@Self)^.&set := $00001000;
  18143. end;
  18144. procedure TADC10_AD1CON3.clearSAMC4; inline;
  18145. begin
  18146. pTDefRegMap(@Self)^.clr := $00001000;
  18147. end;
  18148. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  18149. begin
  18150. if thebits = 0 then
  18151. pTDefRegMap(@Self)^.clr := $00001000
  18152. else
  18153. pTDefRegMap(@Self)^.&set := $00001000;
  18154. end;
  18155. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  18156. begin
  18157. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18158. end;
  18159. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  18160. begin
  18161. pTDefRegMap(@Self)^.val := thebits;
  18162. end;
  18163. function TADC10_AD1CON3.getw : TBits_32; inline;
  18164. begin
  18165. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18166. end;
  18167. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  18168. begin
  18169. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  18170. end;
  18171. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  18172. begin
  18173. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  18174. end;
  18175. procedure TADC10_AD1CHS.setCH0NA; inline;
  18176. begin
  18177. pTDefRegMap(@Self)^.&set := $00800000;
  18178. end;
  18179. procedure TADC10_AD1CHS.clearCH0NA; inline;
  18180. begin
  18181. pTDefRegMap(@Self)^.clr := $00800000;
  18182. end;
  18183. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  18184. begin
  18185. if thebits = 0 then
  18186. pTDefRegMap(@Self)^.clr := $00800000
  18187. else
  18188. pTDefRegMap(@Self)^.&set := $00800000;
  18189. end;
  18190. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  18191. begin
  18192. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  18193. end;
  18194. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  18195. begin
  18196. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  18197. end;
  18198. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  18199. begin
  18200. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  18201. end;
  18202. procedure TADC10_AD1CHS.setCH0NB; inline;
  18203. begin
  18204. pTDefRegMap(@Self)^.&set := $80000000;
  18205. end;
  18206. procedure TADC10_AD1CHS.clearCH0NB; inline;
  18207. begin
  18208. pTDefRegMap(@Self)^.clr := $80000000;
  18209. end;
  18210. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  18211. begin
  18212. if thebits = 0 then
  18213. pTDefRegMap(@Self)^.clr := $80000000
  18214. else
  18215. pTDefRegMap(@Self)^.&set := $80000000;
  18216. end;
  18217. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  18218. begin
  18219. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  18220. end;
  18221. procedure TADC10_AD1CHS.setCH0SA0; inline;
  18222. begin
  18223. pTDefRegMap(@Self)^.&set := $00010000;
  18224. end;
  18225. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  18226. begin
  18227. pTDefRegMap(@Self)^.clr := $00010000;
  18228. end;
  18229. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  18230. begin
  18231. if thebits = 0 then
  18232. pTDefRegMap(@Self)^.clr := $00010000
  18233. else
  18234. pTDefRegMap(@Self)^.&set := $00010000;
  18235. end;
  18236. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  18237. begin
  18238. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  18239. end;
  18240. procedure TADC10_AD1CHS.setCH0SA1; inline;
  18241. begin
  18242. pTDefRegMap(@Self)^.&set := $00020000;
  18243. end;
  18244. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  18245. begin
  18246. pTDefRegMap(@Self)^.clr := $00020000;
  18247. end;
  18248. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  18249. begin
  18250. if thebits = 0 then
  18251. pTDefRegMap(@Self)^.clr := $00020000
  18252. else
  18253. pTDefRegMap(@Self)^.&set := $00020000;
  18254. end;
  18255. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  18256. begin
  18257. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  18258. end;
  18259. procedure TADC10_AD1CHS.setCH0SA2; inline;
  18260. begin
  18261. pTDefRegMap(@Self)^.&set := $00040000;
  18262. end;
  18263. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  18264. begin
  18265. pTDefRegMap(@Self)^.clr := $00040000;
  18266. end;
  18267. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  18268. begin
  18269. if thebits = 0 then
  18270. pTDefRegMap(@Self)^.clr := $00040000
  18271. else
  18272. pTDefRegMap(@Self)^.&set := $00040000;
  18273. end;
  18274. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  18275. begin
  18276. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  18277. end;
  18278. procedure TADC10_AD1CHS.setCH0SA3; inline;
  18279. begin
  18280. pTDefRegMap(@Self)^.&set := $00080000;
  18281. end;
  18282. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  18283. begin
  18284. pTDefRegMap(@Self)^.clr := $00080000;
  18285. end;
  18286. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  18287. begin
  18288. if thebits = 0 then
  18289. pTDefRegMap(@Self)^.clr := $00080000
  18290. else
  18291. pTDefRegMap(@Self)^.&set := $00080000;
  18292. end;
  18293. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  18294. begin
  18295. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  18296. end;
  18297. procedure TADC10_AD1CHS.setCH0SB0; inline;
  18298. begin
  18299. pTDefRegMap(@Self)^.&set := $01000000;
  18300. end;
  18301. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  18302. begin
  18303. pTDefRegMap(@Self)^.clr := $01000000;
  18304. end;
  18305. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  18306. begin
  18307. if thebits = 0 then
  18308. pTDefRegMap(@Self)^.clr := $01000000
  18309. else
  18310. pTDefRegMap(@Self)^.&set := $01000000;
  18311. end;
  18312. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  18313. begin
  18314. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  18315. end;
  18316. procedure TADC10_AD1CHS.setCH0SB1; inline;
  18317. begin
  18318. pTDefRegMap(@Self)^.&set := $02000000;
  18319. end;
  18320. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  18321. begin
  18322. pTDefRegMap(@Self)^.clr := $02000000;
  18323. end;
  18324. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  18325. begin
  18326. if thebits = 0 then
  18327. pTDefRegMap(@Self)^.clr := $02000000
  18328. else
  18329. pTDefRegMap(@Self)^.&set := $02000000;
  18330. end;
  18331. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  18332. begin
  18333. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  18334. end;
  18335. procedure TADC10_AD1CHS.setCH0SB2; inline;
  18336. begin
  18337. pTDefRegMap(@Self)^.&set := $04000000;
  18338. end;
  18339. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  18340. begin
  18341. pTDefRegMap(@Self)^.clr := $04000000;
  18342. end;
  18343. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  18344. begin
  18345. if thebits = 0 then
  18346. pTDefRegMap(@Self)^.clr := $04000000
  18347. else
  18348. pTDefRegMap(@Self)^.&set := $04000000;
  18349. end;
  18350. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  18351. begin
  18352. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  18353. end;
  18354. procedure TADC10_AD1CHS.setCH0SB3; inline;
  18355. begin
  18356. pTDefRegMap(@Self)^.&set := $08000000;
  18357. end;
  18358. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  18359. begin
  18360. pTDefRegMap(@Self)^.clr := $08000000;
  18361. end;
  18362. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  18363. begin
  18364. if thebits = 0 then
  18365. pTDefRegMap(@Self)^.clr := $08000000
  18366. else
  18367. pTDefRegMap(@Self)^.&set := $08000000;
  18368. end;
  18369. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  18370. begin
  18371. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  18372. end;
  18373. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  18374. begin
  18375. pTDefRegMap(@Self)^.val := thebits;
  18376. end;
  18377. function TADC10_AD1CHS.getw : TBits_32; inline;
  18378. begin
  18379. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18380. end;
  18381. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  18382. begin
  18383. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  18384. end;
  18385. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  18386. begin
  18387. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  18388. end;
  18389. procedure TADC10_AD1CSSL.setCSSL0; inline;
  18390. begin
  18391. pTDefRegMap(@Self)^.&set := $00000001;
  18392. end;
  18393. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  18394. begin
  18395. pTDefRegMap(@Self)^.clr := $00000001;
  18396. end;
  18397. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  18398. begin
  18399. if thebits = 0 then
  18400. pTDefRegMap(@Self)^.clr := $00000001
  18401. else
  18402. pTDefRegMap(@Self)^.&set := $00000001;
  18403. end;
  18404. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  18405. begin
  18406. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18407. end;
  18408. procedure TADC10_AD1CSSL.setCSSL1; inline;
  18409. begin
  18410. pTDefRegMap(@Self)^.&set := $00000002;
  18411. end;
  18412. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  18413. begin
  18414. pTDefRegMap(@Self)^.clr := $00000002;
  18415. end;
  18416. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  18417. begin
  18418. if thebits = 0 then
  18419. pTDefRegMap(@Self)^.clr := $00000002
  18420. else
  18421. pTDefRegMap(@Self)^.&set := $00000002;
  18422. end;
  18423. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  18424. begin
  18425. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18426. end;
  18427. procedure TADC10_AD1CSSL.setCSSL2; inline;
  18428. begin
  18429. pTDefRegMap(@Self)^.&set := $00000004;
  18430. end;
  18431. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  18432. begin
  18433. pTDefRegMap(@Self)^.clr := $00000004;
  18434. end;
  18435. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  18436. begin
  18437. if thebits = 0 then
  18438. pTDefRegMap(@Self)^.clr := $00000004
  18439. else
  18440. pTDefRegMap(@Self)^.&set := $00000004;
  18441. end;
  18442. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  18443. begin
  18444. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18445. end;
  18446. procedure TADC10_AD1CSSL.setCSSL3; inline;
  18447. begin
  18448. pTDefRegMap(@Self)^.&set := $00000008;
  18449. end;
  18450. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  18451. begin
  18452. pTDefRegMap(@Self)^.clr := $00000008;
  18453. end;
  18454. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  18455. begin
  18456. if thebits = 0 then
  18457. pTDefRegMap(@Self)^.clr := $00000008
  18458. else
  18459. pTDefRegMap(@Self)^.&set := $00000008;
  18460. end;
  18461. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  18462. begin
  18463. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18464. end;
  18465. procedure TADC10_AD1CSSL.setCSSL4; inline;
  18466. begin
  18467. pTDefRegMap(@Self)^.&set := $00000010;
  18468. end;
  18469. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  18470. begin
  18471. pTDefRegMap(@Self)^.clr := $00000010;
  18472. end;
  18473. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  18474. begin
  18475. if thebits = 0 then
  18476. pTDefRegMap(@Self)^.clr := $00000010
  18477. else
  18478. pTDefRegMap(@Self)^.&set := $00000010;
  18479. end;
  18480. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  18481. begin
  18482. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18483. end;
  18484. procedure TADC10_AD1CSSL.setCSSL5; inline;
  18485. begin
  18486. pTDefRegMap(@Self)^.&set := $00000020;
  18487. end;
  18488. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  18489. begin
  18490. pTDefRegMap(@Self)^.clr := $00000020;
  18491. end;
  18492. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  18493. begin
  18494. if thebits = 0 then
  18495. pTDefRegMap(@Self)^.clr := $00000020
  18496. else
  18497. pTDefRegMap(@Self)^.&set := $00000020;
  18498. end;
  18499. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  18500. begin
  18501. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18502. end;
  18503. procedure TADC10_AD1CSSL.setCSSL6; inline;
  18504. begin
  18505. pTDefRegMap(@Self)^.&set := $00000040;
  18506. end;
  18507. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  18508. begin
  18509. pTDefRegMap(@Self)^.clr := $00000040;
  18510. end;
  18511. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  18512. begin
  18513. if thebits = 0 then
  18514. pTDefRegMap(@Self)^.clr := $00000040
  18515. else
  18516. pTDefRegMap(@Self)^.&set := $00000040;
  18517. end;
  18518. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  18519. begin
  18520. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18521. end;
  18522. procedure TADC10_AD1CSSL.setCSSL7; inline;
  18523. begin
  18524. pTDefRegMap(@Self)^.&set := $00000080;
  18525. end;
  18526. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  18527. begin
  18528. pTDefRegMap(@Self)^.clr := $00000080;
  18529. end;
  18530. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  18531. begin
  18532. if thebits = 0 then
  18533. pTDefRegMap(@Self)^.clr := $00000080
  18534. else
  18535. pTDefRegMap(@Self)^.&set := $00000080;
  18536. end;
  18537. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  18538. begin
  18539. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18540. end;
  18541. procedure TADC10_AD1CSSL.setCSSL8; inline;
  18542. begin
  18543. pTDefRegMap(@Self)^.&set := $00000100;
  18544. end;
  18545. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  18546. begin
  18547. pTDefRegMap(@Self)^.clr := $00000100;
  18548. end;
  18549. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  18550. begin
  18551. if thebits = 0 then
  18552. pTDefRegMap(@Self)^.clr := $00000100
  18553. else
  18554. pTDefRegMap(@Self)^.&set := $00000100;
  18555. end;
  18556. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  18557. begin
  18558. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18559. end;
  18560. procedure TADC10_AD1CSSL.setCSSL9; inline;
  18561. begin
  18562. pTDefRegMap(@Self)^.&set := $00000200;
  18563. end;
  18564. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  18565. begin
  18566. pTDefRegMap(@Self)^.clr := $00000200;
  18567. end;
  18568. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  18569. begin
  18570. if thebits = 0 then
  18571. pTDefRegMap(@Self)^.clr := $00000200
  18572. else
  18573. pTDefRegMap(@Self)^.&set := $00000200;
  18574. end;
  18575. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  18576. begin
  18577. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18578. end;
  18579. procedure TADC10_AD1CSSL.setCSSL10; inline;
  18580. begin
  18581. pTDefRegMap(@Self)^.&set := $00000400;
  18582. end;
  18583. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  18584. begin
  18585. pTDefRegMap(@Self)^.clr := $00000400;
  18586. end;
  18587. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  18588. begin
  18589. if thebits = 0 then
  18590. pTDefRegMap(@Self)^.clr := $00000400
  18591. else
  18592. pTDefRegMap(@Self)^.&set := $00000400;
  18593. end;
  18594. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  18595. begin
  18596. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18597. end;
  18598. procedure TADC10_AD1CSSL.setCSSL11; inline;
  18599. begin
  18600. pTDefRegMap(@Self)^.&set := $00000800;
  18601. end;
  18602. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  18603. begin
  18604. pTDefRegMap(@Self)^.clr := $00000800;
  18605. end;
  18606. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  18607. begin
  18608. if thebits = 0 then
  18609. pTDefRegMap(@Self)^.clr := $00000800
  18610. else
  18611. pTDefRegMap(@Self)^.&set := $00000800;
  18612. end;
  18613. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  18614. begin
  18615. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18616. end;
  18617. procedure TADC10_AD1CSSL.setCSSL12; inline;
  18618. begin
  18619. pTDefRegMap(@Self)^.&set := $00001000;
  18620. end;
  18621. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  18622. begin
  18623. pTDefRegMap(@Self)^.clr := $00001000;
  18624. end;
  18625. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  18626. begin
  18627. if thebits = 0 then
  18628. pTDefRegMap(@Self)^.clr := $00001000
  18629. else
  18630. pTDefRegMap(@Self)^.&set := $00001000;
  18631. end;
  18632. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  18633. begin
  18634. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18635. end;
  18636. procedure TADC10_AD1CSSL.setCSSL13; inline;
  18637. begin
  18638. pTDefRegMap(@Self)^.&set := $00002000;
  18639. end;
  18640. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  18641. begin
  18642. pTDefRegMap(@Self)^.clr := $00002000;
  18643. end;
  18644. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  18645. begin
  18646. if thebits = 0 then
  18647. pTDefRegMap(@Self)^.clr := $00002000
  18648. else
  18649. pTDefRegMap(@Self)^.&set := $00002000;
  18650. end;
  18651. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  18652. begin
  18653. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18654. end;
  18655. procedure TADC10_AD1CSSL.setCSSL14; inline;
  18656. begin
  18657. pTDefRegMap(@Self)^.&set := $00004000;
  18658. end;
  18659. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  18660. begin
  18661. pTDefRegMap(@Self)^.clr := $00004000;
  18662. end;
  18663. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  18664. begin
  18665. if thebits = 0 then
  18666. pTDefRegMap(@Self)^.clr := $00004000
  18667. else
  18668. pTDefRegMap(@Self)^.&set := $00004000;
  18669. end;
  18670. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  18671. begin
  18672. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18673. end;
  18674. procedure TADC10_AD1CSSL.setCSSL15; inline;
  18675. begin
  18676. pTDefRegMap(@Self)^.&set := $00008000;
  18677. end;
  18678. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  18679. begin
  18680. pTDefRegMap(@Self)^.clr := $00008000;
  18681. end;
  18682. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  18683. begin
  18684. if thebits = 0 then
  18685. pTDefRegMap(@Self)^.clr := $00008000
  18686. else
  18687. pTDefRegMap(@Self)^.&set := $00008000;
  18688. end;
  18689. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  18690. begin
  18691. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18692. end;
  18693. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  18694. begin
  18695. pTDefRegMap(@Self)^.val := thebits;
  18696. end;
  18697. function TADC10_AD1CSSL.getw : TBits_32; inline;
  18698. begin
  18699. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18700. end;
  18701. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  18702. begin
  18703. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  18704. end;
  18705. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  18706. begin
  18707. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  18708. end;
  18709. procedure TADC10_AD1PCFG.setPCFG0; inline;
  18710. begin
  18711. pTDefRegMap(@Self)^.&set := $00000001;
  18712. end;
  18713. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  18714. begin
  18715. pTDefRegMap(@Self)^.clr := $00000001;
  18716. end;
  18717. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  18718. begin
  18719. if thebits = 0 then
  18720. pTDefRegMap(@Self)^.clr := $00000001
  18721. else
  18722. pTDefRegMap(@Self)^.&set := $00000001;
  18723. end;
  18724. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  18725. begin
  18726. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18727. end;
  18728. procedure TADC10_AD1PCFG.setPCFG1; inline;
  18729. begin
  18730. pTDefRegMap(@Self)^.&set := $00000002;
  18731. end;
  18732. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  18733. begin
  18734. pTDefRegMap(@Self)^.clr := $00000002;
  18735. end;
  18736. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  18737. begin
  18738. if thebits = 0 then
  18739. pTDefRegMap(@Self)^.clr := $00000002
  18740. else
  18741. pTDefRegMap(@Self)^.&set := $00000002;
  18742. end;
  18743. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  18744. begin
  18745. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18746. end;
  18747. procedure TADC10_AD1PCFG.setPCFG2; inline;
  18748. begin
  18749. pTDefRegMap(@Self)^.&set := $00000004;
  18750. end;
  18751. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  18752. begin
  18753. pTDefRegMap(@Self)^.clr := $00000004;
  18754. end;
  18755. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  18756. begin
  18757. if thebits = 0 then
  18758. pTDefRegMap(@Self)^.clr := $00000004
  18759. else
  18760. pTDefRegMap(@Self)^.&set := $00000004;
  18761. end;
  18762. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  18763. begin
  18764. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18765. end;
  18766. procedure TADC10_AD1PCFG.setPCFG3; inline;
  18767. begin
  18768. pTDefRegMap(@Self)^.&set := $00000008;
  18769. end;
  18770. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  18771. begin
  18772. pTDefRegMap(@Self)^.clr := $00000008;
  18773. end;
  18774. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  18775. begin
  18776. if thebits = 0 then
  18777. pTDefRegMap(@Self)^.clr := $00000008
  18778. else
  18779. pTDefRegMap(@Self)^.&set := $00000008;
  18780. end;
  18781. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  18782. begin
  18783. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18784. end;
  18785. procedure TADC10_AD1PCFG.setPCFG4; inline;
  18786. begin
  18787. pTDefRegMap(@Self)^.&set := $00000010;
  18788. end;
  18789. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  18790. begin
  18791. pTDefRegMap(@Self)^.clr := $00000010;
  18792. end;
  18793. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  18794. begin
  18795. if thebits = 0 then
  18796. pTDefRegMap(@Self)^.clr := $00000010
  18797. else
  18798. pTDefRegMap(@Self)^.&set := $00000010;
  18799. end;
  18800. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  18801. begin
  18802. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18803. end;
  18804. procedure TADC10_AD1PCFG.setPCFG5; inline;
  18805. begin
  18806. pTDefRegMap(@Self)^.&set := $00000020;
  18807. end;
  18808. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  18809. begin
  18810. pTDefRegMap(@Self)^.clr := $00000020;
  18811. end;
  18812. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  18813. begin
  18814. if thebits = 0 then
  18815. pTDefRegMap(@Self)^.clr := $00000020
  18816. else
  18817. pTDefRegMap(@Self)^.&set := $00000020;
  18818. end;
  18819. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  18820. begin
  18821. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18822. end;
  18823. procedure TADC10_AD1PCFG.setPCFG6; inline;
  18824. begin
  18825. pTDefRegMap(@Self)^.&set := $00000040;
  18826. end;
  18827. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  18828. begin
  18829. pTDefRegMap(@Self)^.clr := $00000040;
  18830. end;
  18831. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  18832. begin
  18833. if thebits = 0 then
  18834. pTDefRegMap(@Self)^.clr := $00000040
  18835. else
  18836. pTDefRegMap(@Self)^.&set := $00000040;
  18837. end;
  18838. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  18839. begin
  18840. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18841. end;
  18842. procedure TADC10_AD1PCFG.setPCFG7; inline;
  18843. begin
  18844. pTDefRegMap(@Self)^.&set := $00000080;
  18845. end;
  18846. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  18847. begin
  18848. pTDefRegMap(@Self)^.clr := $00000080;
  18849. end;
  18850. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  18851. begin
  18852. if thebits = 0 then
  18853. pTDefRegMap(@Self)^.clr := $00000080
  18854. else
  18855. pTDefRegMap(@Self)^.&set := $00000080;
  18856. end;
  18857. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  18858. begin
  18859. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18860. end;
  18861. procedure TADC10_AD1PCFG.setPCFG8; inline;
  18862. begin
  18863. pTDefRegMap(@Self)^.&set := $00000100;
  18864. end;
  18865. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  18866. begin
  18867. pTDefRegMap(@Self)^.clr := $00000100;
  18868. end;
  18869. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  18870. begin
  18871. if thebits = 0 then
  18872. pTDefRegMap(@Self)^.clr := $00000100
  18873. else
  18874. pTDefRegMap(@Self)^.&set := $00000100;
  18875. end;
  18876. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  18877. begin
  18878. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18879. end;
  18880. procedure TADC10_AD1PCFG.setPCFG9; inline;
  18881. begin
  18882. pTDefRegMap(@Self)^.&set := $00000200;
  18883. end;
  18884. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  18885. begin
  18886. pTDefRegMap(@Self)^.clr := $00000200;
  18887. end;
  18888. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  18889. begin
  18890. if thebits = 0 then
  18891. pTDefRegMap(@Self)^.clr := $00000200
  18892. else
  18893. pTDefRegMap(@Self)^.&set := $00000200;
  18894. end;
  18895. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  18896. begin
  18897. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18898. end;
  18899. procedure TADC10_AD1PCFG.setPCFG10; inline;
  18900. begin
  18901. pTDefRegMap(@Self)^.&set := $00000400;
  18902. end;
  18903. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  18904. begin
  18905. pTDefRegMap(@Self)^.clr := $00000400;
  18906. end;
  18907. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  18908. begin
  18909. if thebits = 0 then
  18910. pTDefRegMap(@Self)^.clr := $00000400
  18911. else
  18912. pTDefRegMap(@Self)^.&set := $00000400;
  18913. end;
  18914. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  18915. begin
  18916. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18917. end;
  18918. procedure TADC10_AD1PCFG.setPCFG11; inline;
  18919. begin
  18920. pTDefRegMap(@Self)^.&set := $00000800;
  18921. end;
  18922. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  18923. begin
  18924. pTDefRegMap(@Self)^.clr := $00000800;
  18925. end;
  18926. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  18927. begin
  18928. if thebits = 0 then
  18929. pTDefRegMap(@Self)^.clr := $00000800
  18930. else
  18931. pTDefRegMap(@Self)^.&set := $00000800;
  18932. end;
  18933. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  18934. begin
  18935. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18936. end;
  18937. procedure TADC10_AD1PCFG.setPCFG12; inline;
  18938. begin
  18939. pTDefRegMap(@Self)^.&set := $00001000;
  18940. end;
  18941. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  18942. begin
  18943. pTDefRegMap(@Self)^.clr := $00001000;
  18944. end;
  18945. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  18946. begin
  18947. if thebits = 0 then
  18948. pTDefRegMap(@Self)^.clr := $00001000
  18949. else
  18950. pTDefRegMap(@Self)^.&set := $00001000;
  18951. end;
  18952. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  18953. begin
  18954. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18955. end;
  18956. procedure TADC10_AD1PCFG.setPCFG13; inline;
  18957. begin
  18958. pTDefRegMap(@Self)^.&set := $00002000;
  18959. end;
  18960. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  18961. begin
  18962. pTDefRegMap(@Self)^.clr := $00002000;
  18963. end;
  18964. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  18965. begin
  18966. if thebits = 0 then
  18967. pTDefRegMap(@Self)^.clr := $00002000
  18968. else
  18969. pTDefRegMap(@Self)^.&set := $00002000;
  18970. end;
  18971. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  18972. begin
  18973. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18974. end;
  18975. procedure TADC10_AD1PCFG.setPCFG14; inline;
  18976. begin
  18977. pTDefRegMap(@Self)^.&set := $00004000;
  18978. end;
  18979. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  18980. begin
  18981. pTDefRegMap(@Self)^.clr := $00004000;
  18982. end;
  18983. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  18984. begin
  18985. if thebits = 0 then
  18986. pTDefRegMap(@Self)^.clr := $00004000
  18987. else
  18988. pTDefRegMap(@Self)^.&set := $00004000;
  18989. end;
  18990. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  18991. begin
  18992. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18993. end;
  18994. procedure TADC10_AD1PCFG.setPCFG15; inline;
  18995. begin
  18996. pTDefRegMap(@Self)^.&set := $00008000;
  18997. end;
  18998. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  18999. begin
  19000. pTDefRegMap(@Self)^.clr := $00008000;
  19001. end;
  19002. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  19003. begin
  19004. if thebits = 0 then
  19005. pTDefRegMap(@Self)^.clr := $00008000
  19006. else
  19007. pTDefRegMap(@Self)^.&set := $00008000;
  19008. end;
  19009. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  19010. begin
  19011. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19012. end;
  19013. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  19014. begin
  19015. pTDefRegMap(@Self)^.val := thebits;
  19016. end;
  19017. function TADC10_AD1PCFG.getw : TBits_32; inline;
  19018. begin
  19019. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19020. end;
  19021. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  19022. begin
  19023. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  19024. end;
  19025. function TCVR_CVRCON.getCVR : TBits_4; inline;
  19026. begin
  19027. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  19028. end;
  19029. procedure TCVR_CVRCON.setCVRSS; inline;
  19030. begin
  19031. pTDefRegMap(@Self)^.&set := $00000010;
  19032. end;
  19033. procedure TCVR_CVRCON.clearCVRSS; inline;
  19034. begin
  19035. pTDefRegMap(@Self)^.clr := $00000010;
  19036. end;
  19037. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  19038. begin
  19039. if thebits = 0 then
  19040. pTDefRegMap(@Self)^.clr := $00000010
  19041. else
  19042. pTDefRegMap(@Self)^.&set := $00000010;
  19043. end;
  19044. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  19045. begin
  19046. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19047. end;
  19048. procedure TCVR_CVRCON.setCVRR; inline;
  19049. begin
  19050. pTDefRegMap(@Self)^.&set := $00000020;
  19051. end;
  19052. procedure TCVR_CVRCON.clearCVRR; inline;
  19053. begin
  19054. pTDefRegMap(@Self)^.clr := $00000020;
  19055. end;
  19056. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  19057. begin
  19058. if thebits = 0 then
  19059. pTDefRegMap(@Self)^.clr := $00000020
  19060. else
  19061. pTDefRegMap(@Self)^.&set := $00000020;
  19062. end;
  19063. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  19064. begin
  19065. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19066. end;
  19067. procedure TCVR_CVRCON.setCVROE; inline;
  19068. begin
  19069. pTDefRegMap(@Self)^.&set := $00000040;
  19070. end;
  19071. procedure TCVR_CVRCON.clearCVROE; inline;
  19072. begin
  19073. pTDefRegMap(@Self)^.clr := $00000040;
  19074. end;
  19075. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  19076. begin
  19077. if thebits = 0 then
  19078. pTDefRegMap(@Self)^.clr := $00000040
  19079. else
  19080. pTDefRegMap(@Self)^.&set := $00000040;
  19081. end;
  19082. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  19083. begin
  19084. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19085. end;
  19086. procedure TCVR_CVRCON.setON; inline;
  19087. begin
  19088. pTDefRegMap(@Self)^.&set := $00008000;
  19089. end;
  19090. procedure TCVR_CVRCON.clearON; inline;
  19091. begin
  19092. pTDefRegMap(@Self)^.clr := $00008000;
  19093. end;
  19094. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  19095. begin
  19096. if thebits = 0 then
  19097. pTDefRegMap(@Self)^.clr := $00008000
  19098. else
  19099. pTDefRegMap(@Self)^.&set := $00008000;
  19100. end;
  19101. function TCVR_CVRCON.getON : TBits_1; inline;
  19102. begin
  19103. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19104. end;
  19105. procedure TCVR_CVRCON.setCVR0; inline;
  19106. begin
  19107. pTDefRegMap(@Self)^.&set := $00000001;
  19108. end;
  19109. procedure TCVR_CVRCON.clearCVR0; inline;
  19110. begin
  19111. pTDefRegMap(@Self)^.clr := $00000001;
  19112. end;
  19113. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  19114. begin
  19115. if thebits = 0 then
  19116. pTDefRegMap(@Self)^.clr := $00000001
  19117. else
  19118. pTDefRegMap(@Self)^.&set := $00000001;
  19119. end;
  19120. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  19121. begin
  19122. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19123. end;
  19124. procedure TCVR_CVRCON.setCVR1; inline;
  19125. begin
  19126. pTDefRegMap(@Self)^.&set := $00000002;
  19127. end;
  19128. procedure TCVR_CVRCON.clearCVR1; inline;
  19129. begin
  19130. pTDefRegMap(@Self)^.clr := $00000002;
  19131. end;
  19132. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  19133. begin
  19134. if thebits = 0 then
  19135. pTDefRegMap(@Self)^.clr := $00000002
  19136. else
  19137. pTDefRegMap(@Self)^.&set := $00000002;
  19138. end;
  19139. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  19140. begin
  19141. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19142. end;
  19143. procedure TCVR_CVRCON.setCVR2; inline;
  19144. begin
  19145. pTDefRegMap(@Self)^.&set := $00000004;
  19146. end;
  19147. procedure TCVR_CVRCON.clearCVR2; inline;
  19148. begin
  19149. pTDefRegMap(@Self)^.clr := $00000004;
  19150. end;
  19151. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  19152. begin
  19153. if thebits = 0 then
  19154. pTDefRegMap(@Self)^.clr := $00000004
  19155. else
  19156. pTDefRegMap(@Self)^.&set := $00000004;
  19157. end;
  19158. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  19159. begin
  19160. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19161. end;
  19162. procedure TCVR_CVRCON.setCVR3; inline;
  19163. begin
  19164. pTDefRegMap(@Self)^.&set := $00000008;
  19165. end;
  19166. procedure TCVR_CVRCON.clearCVR3; inline;
  19167. begin
  19168. pTDefRegMap(@Self)^.clr := $00000008;
  19169. end;
  19170. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  19171. begin
  19172. if thebits = 0 then
  19173. pTDefRegMap(@Self)^.clr := $00000008
  19174. else
  19175. pTDefRegMap(@Self)^.&set := $00000008;
  19176. end;
  19177. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  19178. begin
  19179. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19180. end;
  19181. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  19182. begin
  19183. pTDefRegMap(@Self)^.val := thebits;
  19184. end;
  19185. function TCVR_CVRCON.getw : TBits_32; inline;
  19186. begin
  19187. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19188. end;
  19189. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  19190. begin
  19191. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19192. end;
  19193. function TCMP_CM1CON.getCCH : TBits_2; inline;
  19194. begin
  19195. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19196. end;
  19197. procedure TCMP_CM1CON.setCREF; inline;
  19198. begin
  19199. pTDefRegMap(@Self)^.&set := $00000010;
  19200. end;
  19201. procedure TCMP_CM1CON.clearCREF; inline;
  19202. begin
  19203. pTDefRegMap(@Self)^.clr := $00000010;
  19204. end;
  19205. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  19206. begin
  19207. if thebits = 0 then
  19208. pTDefRegMap(@Self)^.clr := $00000010
  19209. else
  19210. pTDefRegMap(@Self)^.&set := $00000010;
  19211. end;
  19212. function TCMP_CM1CON.getCREF : TBits_1; inline;
  19213. begin
  19214. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19215. end;
  19216. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  19217. begin
  19218. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19219. end;
  19220. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  19221. begin
  19222. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19223. end;
  19224. procedure TCMP_CM1CON.setCOUT; inline;
  19225. begin
  19226. pTDefRegMap(@Self)^.&set := $00000100;
  19227. end;
  19228. procedure TCMP_CM1CON.clearCOUT; inline;
  19229. begin
  19230. pTDefRegMap(@Self)^.clr := $00000100;
  19231. end;
  19232. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  19233. begin
  19234. if thebits = 0 then
  19235. pTDefRegMap(@Self)^.clr := $00000100
  19236. else
  19237. pTDefRegMap(@Self)^.&set := $00000100;
  19238. end;
  19239. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  19240. begin
  19241. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19242. end;
  19243. procedure TCMP_CM1CON.setCPOL; inline;
  19244. begin
  19245. pTDefRegMap(@Self)^.&set := $00002000;
  19246. end;
  19247. procedure TCMP_CM1CON.clearCPOL; inline;
  19248. begin
  19249. pTDefRegMap(@Self)^.clr := $00002000;
  19250. end;
  19251. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  19252. begin
  19253. if thebits = 0 then
  19254. pTDefRegMap(@Self)^.clr := $00002000
  19255. else
  19256. pTDefRegMap(@Self)^.&set := $00002000;
  19257. end;
  19258. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  19259. begin
  19260. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19261. end;
  19262. procedure TCMP_CM1CON.setCOE; inline;
  19263. begin
  19264. pTDefRegMap(@Self)^.&set := $00004000;
  19265. end;
  19266. procedure TCMP_CM1CON.clearCOE; inline;
  19267. begin
  19268. pTDefRegMap(@Self)^.clr := $00004000;
  19269. end;
  19270. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  19271. begin
  19272. if thebits = 0 then
  19273. pTDefRegMap(@Self)^.clr := $00004000
  19274. else
  19275. pTDefRegMap(@Self)^.&set := $00004000;
  19276. end;
  19277. function TCMP_CM1CON.getCOE : TBits_1; inline;
  19278. begin
  19279. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19280. end;
  19281. procedure TCMP_CM1CON.setON; inline;
  19282. begin
  19283. pTDefRegMap(@Self)^.&set := $00008000;
  19284. end;
  19285. procedure TCMP_CM1CON.clearON; inline;
  19286. begin
  19287. pTDefRegMap(@Self)^.clr := $00008000;
  19288. end;
  19289. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  19290. begin
  19291. if thebits = 0 then
  19292. pTDefRegMap(@Self)^.clr := $00008000
  19293. else
  19294. pTDefRegMap(@Self)^.&set := $00008000;
  19295. end;
  19296. function TCMP_CM1CON.getON : TBits_1; inline;
  19297. begin
  19298. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19299. end;
  19300. procedure TCMP_CM1CON.setCCH0; inline;
  19301. begin
  19302. pTDefRegMap(@Self)^.&set := $00000001;
  19303. end;
  19304. procedure TCMP_CM1CON.clearCCH0; inline;
  19305. begin
  19306. pTDefRegMap(@Self)^.clr := $00000001;
  19307. end;
  19308. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  19309. begin
  19310. if thebits = 0 then
  19311. pTDefRegMap(@Self)^.clr := $00000001
  19312. else
  19313. pTDefRegMap(@Self)^.&set := $00000001;
  19314. end;
  19315. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  19316. begin
  19317. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19318. end;
  19319. procedure TCMP_CM1CON.setCCH1; inline;
  19320. begin
  19321. pTDefRegMap(@Self)^.&set := $00000002;
  19322. end;
  19323. procedure TCMP_CM1CON.clearCCH1; inline;
  19324. begin
  19325. pTDefRegMap(@Self)^.clr := $00000002;
  19326. end;
  19327. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  19328. begin
  19329. if thebits = 0 then
  19330. pTDefRegMap(@Self)^.clr := $00000002
  19331. else
  19332. pTDefRegMap(@Self)^.&set := $00000002;
  19333. end;
  19334. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  19335. begin
  19336. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19337. end;
  19338. procedure TCMP_CM1CON.setEVPOL0; inline;
  19339. begin
  19340. pTDefRegMap(@Self)^.&set := $00000040;
  19341. end;
  19342. procedure TCMP_CM1CON.clearEVPOL0; inline;
  19343. begin
  19344. pTDefRegMap(@Self)^.clr := $00000040;
  19345. end;
  19346. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  19347. begin
  19348. if thebits = 0 then
  19349. pTDefRegMap(@Self)^.clr := $00000040
  19350. else
  19351. pTDefRegMap(@Self)^.&set := $00000040;
  19352. end;
  19353. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  19354. begin
  19355. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19356. end;
  19357. procedure TCMP_CM1CON.setEVPOL1; inline;
  19358. begin
  19359. pTDefRegMap(@Self)^.&set := $00000080;
  19360. end;
  19361. procedure TCMP_CM1CON.clearEVPOL1; inline;
  19362. begin
  19363. pTDefRegMap(@Self)^.clr := $00000080;
  19364. end;
  19365. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  19366. begin
  19367. if thebits = 0 then
  19368. pTDefRegMap(@Self)^.clr := $00000080
  19369. else
  19370. pTDefRegMap(@Self)^.&set := $00000080;
  19371. end;
  19372. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  19373. begin
  19374. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19375. end;
  19376. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  19377. begin
  19378. pTDefRegMap(@Self)^.val := thebits;
  19379. end;
  19380. function TCMP_CM1CON.getw : TBits_32; inline;
  19381. begin
  19382. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19383. end;
  19384. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  19385. begin
  19386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19387. end;
  19388. function TCMP_CM2CON.getCCH : TBits_2; inline;
  19389. begin
  19390. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19391. end;
  19392. procedure TCMP_CM2CON.setCREF; inline;
  19393. begin
  19394. pTDefRegMap(@Self)^.&set := $00000010;
  19395. end;
  19396. procedure TCMP_CM2CON.clearCREF; inline;
  19397. begin
  19398. pTDefRegMap(@Self)^.clr := $00000010;
  19399. end;
  19400. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  19401. begin
  19402. if thebits = 0 then
  19403. pTDefRegMap(@Self)^.clr := $00000010
  19404. else
  19405. pTDefRegMap(@Self)^.&set := $00000010;
  19406. end;
  19407. function TCMP_CM2CON.getCREF : TBits_1; inline;
  19408. begin
  19409. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19410. end;
  19411. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  19412. begin
  19413. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19414. end;
  19415. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  19416. begin
  19417. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19418. end;
  19419. procedure TCMP_CM2CON.setCOUT; inline;
  19420. begin
  19421. pTDefRegMap(@Self)^.&set := $00000100;
  19422. end;
  19423. procedure TCMP_CM2CON.clearCOUT; inline;
  19424. begin
  19425. pTDefRegMap(@Self)^.clr := $00000100;
  19426. end;
  19427. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  19428. begin
  19429. if thebits = 0 then
  19430. pTDefRegMap(@Self)^.clr := $00000100
  19431. else
  19432. pTDefRegMap(@Self)^.&set := $00000100;
  19433. end;
  19434. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  19435. begin
  19436. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19437. end;
  19438. procedure TCMP_CM2CON.setCPOL; inline;
  19439. begin
  19440. pTDefRegMap(@Self)^.&set := $00002000;
  19441. end;
  19442. procedure TCMP_CM2CON.clearCPOL; inline;
  19443. begin
  19444. pTDefRegMap(@Self)^.clr := $00002000;
  19445. end;
  19446. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  19447. begin
  19448. if thebits = 0 then
  19449. pTDefRegMap(@Self)^.clr := $00002000
  19450. else
  19451. pTDefRegMap(@Self)^.&set := $00002000;
  19452. end;
  19453. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  19454. begin
  19455. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19456. end;
  19457. procedure TCMP_CM2CON.setCOE; inline;
  19458. begin
  19459. pTDefRegMap(@Self)^.&set := $00004000;
  19460. end;
  19461. procedure TCMP_CM2CON.clearCOE; inline;
  19462. begin
  19463. pTDefRegMap(@Self)^.clr := $00004000;
  19464. end;
  19465. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  19466. begin
  19467. if thebits = 0 then
  19468. pTDefRegMap(@Self)^.clr := $00004000
  19469. else
  19470. pTDefRegMap(@Self)^.&set := $00004000;
  19471. end;
  19472. function TCMP_CM2CON.getCOE : TBits_1; inline;
  19473. begin
  19474. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19475. end;
  19476. procedure TCMP_CM2CON.setON; inline;
  19477. begin
  19478. pTDefRegMap(@Self)^.&set := $00008000;
  19479. end;
  19480. procedure TCMP_CM2CON.clearON; inline;
  19481. begin
  19482. pTDefRegMap(@Self)^.clr := $00008000;
  19483. end;
  19484. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  19485. begin
  19486. if thebits = 0 then
  19487. pTDefRegMap(@Self)^.clr := $00008000
  19488. else
  19489. pTDefRegMap(@Self)^.&set := $00008000;
  19490. end;
  19491. function TCMP_CM2CON.getON : TBits_1; inline;
  19492. begin
  19493. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19494. end;
  19495. procedure TCMP_CM2CON.setCCH0; inline;
  19496. begin
  19497. pTDefRegMap(@Self)^.&set := $00000001;
  19498. end;
  19499. procedure TCMP_CM2CON.clearCCH0; inline;
  19500. begin
  19501. pTDefRegMap(@Self)^.clr := $00000001;
  19502. end;
  19503. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  19504. begin
  19505. if thebits = 0 then
  19506. pTDefRegMap(@Self)^.clr := $00000001
  19507. else
  19508. pTDefRegMap(@Self)^.&set := $00000001;
  19509. end;
  19510. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  19511. begin
  19512. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19513. end;
  19514. procedure TCMP_CM2CON.setCCH1; inline;
  19515. begin
  19516. pTDefRegMap(@Self)^.&set := $00000002;
  19517. end;
  19518. procedure TCMP_CM2CON.clearCCH1; inline;
  19519. begin
  19520. pTDefRegMap(@Self)^.clr := $00000002;
  19521. end;
  19522. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  19523. begin
  19524. if thebits = 0 then
  19525. pTDefRegMap(@Self)^.clr := $00000002
  19526. else
  19527. pTDefRegMap(@Self)^.&set := $00000002;
  19528. end;
  19529. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  19530. begin
  19531. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19532. end;
  19533. procedure TCMP_CM2CON.setEVPOL0; inline;
  19534. begin
  19535. pTDefRegMap(@Self)^.&set := $00000040;
  19536. end;
  19537. procedure TCMP_CM2CON.clearEVPOL0; inline;
  19538. begin
  19539. pTDefRegMap(@Self)^.clr := $00000040;
  19540. end;
  19541. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  19542. begin
  19543. if thebits = 0 then
  19544. pTDefRegMap(@Self)^.clr := $00000040
  19545. else
  19546. pTDefRegMap(@Self)^.&set := $00000040;
  19547. end;
  19548. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  19549. begin
  19550. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19551. end;
  19552. procedure TCMP_CM2CON.setEVPOL1; inline;
  19553. begin
  19554. pTDefRegMap(@Self)^.&set := $00000080;
  19555. end;
  19556. procedure TCMP_CM2CON.clearEVPOL1; inline;
  19557. begin
  19558. pTDefRegMap(@Self)^.clr := $00000080;
  19559. end;
  19560. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  19561. begin
  19562. if thebits = 0 then
  19563. pTDefRegMap(@Self)^.clr := $00000080
  19564. else
  19565. pTDefRegMap(@Self)^.&set := $00000080;
  19566. end;
  19567. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  19568. begin
  19569. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19570. end;
  19571. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  19572. begin
  19573. pTDefRegMap(@Self)^.val := thebits;
  19574. end;
  19575. function TCMP_CM2CON.getw : TBits_32; inline;
  19576. begin
  19577. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19578. end;
  19579. procedure TCMP_CMSTAT.setC1OUT; inline;
  19580. begin
  19581. pTDefRegMap(@Self)^.&set := $00000001;
  19582. end;
  19583. procedure TCMP_CMSTAT.clearC1OUT; inline;
  19584. begin
  19585. pTDefRegMap(@Self)^.clr := $00000001;
  19586. end;
  19587. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  19588. begin
  19589. if thebits = 0 then
  19590. pTDefRegMap(@Self)^.clr := $00000001
  19591. else
  19592. pTDefRegMap(@Self)^.&set := $00000001;
  19593. end;
  19594. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  19595. begin
  19596. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19597. end;
  19598. procedure TCMP_CMSTAT.setC2OUT; inline;
  19599. begin
  19600. pTDefRegMap(@Self)^.&set := $00000002;
  19601. end;
  19602. procedure TCMP_CMSTAT.clearC2OUT; inline;
  19603. begin
  19604. pTDefRegMap(@Self)^.clr := $00000002;
  19605. end;
  19606. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  19607. begin
  19608. if thebits = 0 then
  19609. pTDefRegMap(@Self)^.clr := $00000002
  19610. else
  19611. pTDefRegMap(@Self)^.&set := $00000002;
  19612. end;
  19613. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  19614. begin
  19615. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19616. end;
  19617. procedure TCMP_CMSTAT.setSIDL; inline;
  19618. begin
  19619. pTDefRegMap(@Self)^.&set := $00002000;
  19620. end;
  19621. procedure TCMP_CMSTAT.clearSIDL; inline;
  19622. begin
  19623. pTDefRegMap(@Self)^.clr := $00002000;
  19624. end;
  19625. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  19626. begin
  19627. if thebits = 0 then
  19628. pTDefRegMap(@Self)^.clr := $00002000
  19629. else
  19630. pTDefRegMap(@Self)^.&set := $00002000;
  19631. end;
  19632. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  19633. begin
  19634. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19635. end;
  19636. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  19637. begin
  19638. pTDefRegMap(@Self)^.val := thebits;
  19639. end;
  19640. function TCMP_CMSTAT.getw : TBits_32; inline;
  19641. begin
  19642. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19643. end;
  19644. procedure TOSC_OSCCON.setOSWEN; inline;
  19645. begin
  19646. pTDefRegMap(@Self)^.&set := $00000001;
  19647. end;
  19648. procedure TOSC_OSCCON.clearOSWEN; inline;
  19649. begin
  19650. pTDefRegMap(@Self)^.clr := $00000001;
  19651. end;
  19652. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  19653. begin
  19654. if thebits = 0 then
  19655. pTDefRegMap(@Self)^.clr := $00000001
  19656. else
  19657. pTDefRegMap(@Self)^.&set := $00000001;
  19658. end;
  19659. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  19660. begin
  19661. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19662. end;
  19663. procedure TOSC_OSCCON.setSOSCEN; inline;
  19664. begin
  19665. pTDefRegMap(@Self)^.&set := $00000002;
  19666. end;
  19667. procedure TOSC_OSCCON.clearSOSCEN; inline;
  19668. begin
  19669. pTDefRegMap(@Self)^.clr := $00000002;
  19670. end;
  19671. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  19672. begin
  19673. if thebits = 0 then
  19674. pTDefRegMap(@Self)^.clr := $00000002
  19675. else
  19676. pTDefRegMap(@Self)^.&set := $00000002;
  19677. end;
  19678. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  19679. begin
  19680. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19681. end;
  19682. procedure TOSC_OSCCON.setUFRCEN; inline;
  19683. begin
  19684. pTDefRegMap(@Self)^.&set := $00000004;
  19685. end;
  19686. procedure TOSC_OSCCON.clearUFRCEN; inline;
  19687. begin
  19688. pTDefRegMap(@Self)^.clr := $00000004;
  19689. end;
  19690. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  19691. begin
  19692. if thebits = 0 then
  19693. pTDefRegMap(@Self)^.clr := $00000004
  19694. else
  19695. pTDefRegMap(@Self)^.&set := $00000004;
  19696. end;
  19697. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  19698. begin
  19699. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19700. end;
  19701. procedure TOSC_OSCCON.setCF; inline;
  19702. begin
  19703. pTDefRegMap(@Self)^.&set := $00000008;
  19704. end;
  19705. procedure TOSC_OSCCON.clearCF; inline;
  19706. begin
  19707. pTDefRegMap(@Self)^.clr := $00000008;
  19708. end;
  19709. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  19710. begin
  19711. if thebits = 0 then
  19712. pTDefRegMap(@Self)^.clr := $00000008
  19713. else
  19714. pTDefRegMap(@Self)^.&set := $00000008;
  19715. end;
  19716. function TOSC_OSCCON.getCF : TBits_1; inline;
  19717. begin
  19718. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19719. end;
  19720. procedure TOSC_OSCCON.setSLPEN; inline;
  19721. begin
  19722. pTDefRegMap(@Self)^.&set := $00000010;
  19723. end;
  19724. procedure TOSC_OSCCON.clearSLPEN; inline;
  19725. begin
  19726. pTDefRegMap(@Self)^.clr := $00000010;
  19727. end;
  19728. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  19729. begin
  19730. if thebits = 0 then
  19731. pTDefRegMap(@Self)^.clr := $00000010
  19732. else
  19733. pTDefRegMap(@Self)^.&set := $00000010;
  19734. end;
  19735. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  19736. begin
  19737. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19738. end;
  19739. procedure TOSC_OSCCON.setLOCK; inline;
  19740. begin
  19741. pTDefRegMap(@Self)^.&set := $00000020;
  19742. end;
  19743. procedure TOSC_OSCCON.clearLOCK; inline;
  19744. begin
  19745. pTDefRegMap(@Self)^.clr := $00000020;
  19746. end;
  19747. procedure TOSC_OSCCON.setLOCK(thebits : TBits_1); inline;
  19748. begin
  19749. if thebits = 0 then
  19750. pTDefRegMap(@Self)^.clr := $00000020
  19751. else
  19752. pTDefRegMap(@Self)^.&set := $00000020;
  19753. end;
  19754. function TOSC_OSCCON.getLOCK : TBits_1; inline;
  19755. begin
  19756. getLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19757. end;
  19758. procedure TOSC_OSCCON.setULOCK; inline;
  19759. begin
  19760. pTDefRegMap(@Self)^.&set := $00000040;
  19761. end;
  19762. procedure TOSC_OSCCON.clearULOCK; inline;
  19763. begin
  19764. pTDefRegMap(@Self)^.clr := $00000040;
  19765. end;
  19766. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  19767. begin
  19768. if thebits = 0 then
  19769. pTDefRegMap(@Self)^.clr := $00000040
  19770. else
  19771. pTDefRegMap(@Self)^.&set := $00000040;
  19772. end;
  19773. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  19774. begin
  19775. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19776. end;
  19777. procedure TOSC_OSCCON.setCLKLOCK; inline;
  19778. begin
  19779. pTDefRegMap(@Self)^.&set := $00000080;
  19780. end;
  19781. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  19782. begin
  19783. pTDefRegMap(@Self)^.clr := $00000080;
  19784. end;
  19785. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  19786. begin
  19787. if thebits = 0 then
  19788. pTDefRegMap(@Self)^.clr := $00000080
  19789. else
  19790. pTDefRegMap(@Self)^.&set := $00000080;
  19791. end;
  19792. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  19793. begin
  19794. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19795. end;
  19796. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  19797. begin
  19798. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  19799. end;
  19800. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  19801. begin
  19802. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  19803. end;
  19804. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  19805. begin
  19806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  19807. end;
  19808. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  19809. begin
  19810. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  19811. end;
  19812. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  19813. begin
  19814. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  19815. end;
  19816. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  19817. begin
  19818. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  19819. end;
  19820. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  19821. begin
  19822. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  19823. end;
  19824. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  19825. begin
  19826. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  19827. end;
  19828. procedure TOSC_OSCCON.setSOSCRDY; inline;
  19829. begin
  19830. pTDefRegMap(@Self)^.&set := $00400000;
  19831. end;
  19832. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  19833. begin
  19834. pTDefRegMap(@Self)^.clr := $00400000;
  19835. end;
  19836. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  19837. begin
  19838. if thebits = 0 then
  19839. pTDefRegMap(@Self)^.clr := $00400000
  19840. else
  19841. pTDefRegMap(@Self)^.&set := $00400000;
  19842. end;
  19843. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  19844. begin
  19845. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  19846. end;
  19847. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  19848. begin
  19849. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  19850. end;
  19851. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  19852. begin
  19853. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  19854. end;
  19855. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  19856. begin
  19857. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  19858. end;
  19859. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  19860. begin
  19861. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  19862. end;
  19863. procedure TOSC_OSCCON.setNOSC0; inline;
  19864. begin
  19865. pTDefRegMap(@Self)^.&set := $00000100;
  19866. end;
  19867. procedure TOSC_OSCCON.clearNOSC0; inline;
  19868. begin
  19869. pTDefRegMap(@Self)^.clr := $00000100;
  19870. end;
  19871. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  19872. begin
  19873. if thebits = 0 then
  19874. pTDefRegMap(@Self)^.clr := $00000100
  19875. else
  19876. pTDefRegMap(@Self)^.&set := $00000100;
  19877. end;
  19878. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  19879. begin
  19880. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19881. end;
  19882. procedure TOSC_OSCCON.setNOSC1; inline;
  19883. begin
  19884. pTDefRegMap(@Self)^.&set := $00000200;
  19885. end;
  19886. procedure TOSC_OSCCON.clearNOSC1; inline;
  19887. begin
  19888. pTDefRegMap(@Self)^.clr := $00000200;
  19889. end;
  19890. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  19891. begin
  19892. if thebits = 0 then
  19893. pTDefRegMap(@Self)^.clr := $00000200
  19894. else
  19895. pTDefRegMap(@Self)^.&set := $00000200;
  19896. end;
  19897. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  19898. begin
  19899. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19900. end;
  19901. procedure TOSC_OSCCON.setNOSC2; inline;
  19902. begin
  19903. pTDefRegMap(@Self)^.&set := $00000400;
  19904. end;
  19905. procedure TOSC_OSCCON.clearNOSC2; inline;
  19906. begin
  19907. pTDefRegMap(@Self)^.clr := $00000400;
  19908. end;
  19909. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  19910. begin
  19911. if thebits = 0 then
  19912. pTDefRegMap(@Self)^.clr := $00000400
  19913. else
  19914. pTDefRegMap(@Self)^.&set := $00000400;
  19915. end;
  19916. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  19917. begin
  19918. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19919. end;
  19920. procedure TOSC_OSCCON.setCOSC0; inline;
  19921. begin
  19922. pTDefRegMap(@Self)^.&set := $00001000;
  19923. end;
  19924. procedure TOSC_OSCCON.clearCOSC0; inline;
  19925. begin
  19926. pTDefRegMap(@Self)^.clr := $00001000;
  19927. end;
  19928. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  19929. begin
  19930. if thebits = 0 then
  19931. pTDefRegMap(@Self)^.clr := $00001000
  19932. else
  19933. pTDefRegMap(@Self)^.&set := $00001000;
  19934. end;
  19935. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  19936. begin
  19937. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19938. end;
  19939. procedure TOSC_OSCCON.setCOSC1; inline;
  19940. begin
  19941. pTDefRegMap(@Self)^.&set := $00002000;
  19942. end;
  19943. procedure TOSC_OSCCON.clearCOSC1; inline;
  19944. begin
  19945. pTDefRegMap(@Self)^.clr := $00002000;
  19946. end;
  19947. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  19948. begin
  19949. if thebits = 0 then
  19950. pTDefRegMap(@Self)^.clr := $00002000
  19951. else
  19952. pTDefRegMap(@Self)^.&set := $00002000;
  19953. end;
  19954. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  19955. begin
  19956. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19957. end;
  19958. procedure TOSC_OSCCON.setCOSC2; inline;
  19959. begin
  19960. pTDefRegMap(@Self)^.&set := $00004000;
  19961. end;
  19962. procedure TOSC_OSCCON.clearCOSC2; inline;
  19963. begin
  19964. pTDefRegMap(@Self)^.clr := $00004000;
  19965. end;
  19966. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  19967. begin
  19968. if thebits = 0 then
  19969. pTDefRegMap(@Self)^.clr := $00004000
  19970. else
  19971. pTDefRegMap(@Self)^.&set := $00004000;
  19972. end;
  19973. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  19974. begin
  19975. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19976. end;
  19977. procedure TOSC_OSCCON.setPLLMULT0; inline;
  19978. begin
  19979. pTDefRegMap(@Self)^.&set := $00010000;
  19980. end;
  19981. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  19982. begin
  19983. pTDefRegMap(@Self)^.clr := $00010000;
  19984. end;
  19985. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  19986. begin
  19987. if thebits = 0 then
  19988. pTDefRegMap(@Self)^.clr := $00010000
  19989. else
  19990. pTDefRegMap(@Self)^.&set := $00010000;
  19991. end;
  19992. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  19993. begin
  19994. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  19995. end;
  19996. procedure TOSC_OSCCON.setPLLMULT1; inline;
  19997. begin
  19998. pTDefRegMap(@Self)^.&set := $00020000;
  19999. end;
  20000. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  20001. begin
  20002. pTDefRegMap(@Self)^.clr := $00020000;
  20003. end;
  20004. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  20005. begin
  20006. if thebits = 0 then
  20007. pTDefRegMap(@Self)^.clr := $00020000
  20008. else
  20009. pTDefRegMap(@Self)^.&set := $00020000;
  20010. end;
  20011. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  20012. begin
  20013. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  20014. end;
  20015. procedure TOSC_OSCCON.setPLLMULT2; inline;
  20016. begin
  20017. pTDefRegMap(@Self)^.&set := $00040000;
  20018. end;
  20019. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  20020. begin
  20021. pTDefRegMap(@Self)^.clr := $00040000;
  20022. end;
  20023. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  20024. begin
  20025. if thebits = 0 then
  20026. pTDefRegMap(@Self)^.clr := $00040000
  20027. else
  20028. pTDefRegMap(@Self)^.&set := $00040000;
  20029. end;
  20030. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  20031. begin
  20032. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  20033. end;
  20034. procedure TOSC_OSCCON.setPBDIV0; inline;
  20035. begin
  20036. pTDefRegMap(@Self)^.&set := $00080000;
  20037. end;
  20038. procedure TOSC_OSCCON.clearPBDIV0; inline;
  20039. begin
  20040. pTDefRegMap(@Self)^.clr := $00080000;
  20041. end;
  20042. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  20043. begin
  20044. if thebits = 0 then
  20045. pTDefRegMap(@Self)^.clr := $00080000
  20046. else
  20047. pTDefRegMap(@Self)^.&set := $00080000;
  20048. end;
  20049. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  20050. begin
  20051. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  20052. end;
  20053. procedure TOSC_OSCCON.setPBDIV1; inline;
  20054. begin
  20055. pTDefRegMap(@Self)^.&set := $00100000;
  20056. end;
  20057. procedure TOSC_OSCCON.clearPBDIV1; inline;
  20058. begin
  20059. pTDefRegMap(@Self)^.clr := $00100000;
  20060. end;
  20061. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  20062. begin
  20063. if thebits = 0 then
  20064. pTDefRegMap(@Self)^.clr := $00100000
  20065. else
  20066. pTDefRegMap(@Self)^.&set := $00100000;
  20067. end;
  20068. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  20069. begin
  20070. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  20071. end;
  20072. procedure TOSC_OSCCON.setFRCDIV0; inline;
  20073. begin
  20074. pTDefRegMap(@Self)^.&set := $01000000;
  20075. end;
  20076. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  20077. begin
  20078. pTDefRegMap(@Self)^.clr := $01000000;
  20079. end;
  20080. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  20081. begin
  20082. if thebits = 0 then
  20083. pTDefRegMap(@Self)^.clr := $01000000
  20084. else
  20085. pTDefRegMap(@Self)^.&set := $01000000;
  20086. end;
  20087. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  20088. begin
  20089. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20090. end;
  20091. procedure TOSC_OSCCON.setFRCDIV1; inline;
  20092. begin
  20093. pTDefRegMap(@Self)^.&set := $02000000;
  20094. end;
  20095. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  20096. begin
  20097. pTDefRegMap(@Self)^.clr := $02000000;
  20098. end;
  20099. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  20100. begin
  20101. if thebits = 0 then
  20102. pTDefRegMap(@Self)^.clr := $02000000
  20103. else
  20104. pTDefRegMap(@Self)^.&set := $02000000;
  20105. end;
  20106. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  20107. begin
  20108. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  20109. end;
  20110. procedure TOSC_OSCCON.setFRCDIV2; inline;
  20111. begin
  20112. pTDefRegMap(@Self)^.&set := $04000000;
  20113. end;
  20114. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  20115. begin
  20116. pTDefRegMap(@Self)^.clr := $04000000;
  20117. end;
  20118. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  20119. begin
  20120. if thebits = 0 then
  20121. pTDefRegMap(@Self)^.clr := $04000000
  20122. else
  20123. pTDefRegMap(@Self)^.&set := $04000000;
  20124. end;
  20125. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  20126. begin
  20127. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  20128. end;
  20129. procedure TOSC_OSCCON.setPLLODIV0; inline;
  20130. begin
  20131. pTDefRegMap(@Self)^.&set := $08000000;
  20132. end;
  20133. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  20134. begin
  20135. pTDefRegMap(@Self)^.clr := $08000000;
  20136. end;
  20137. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  20138. begin
  20139. if thebits = 0 then
  20140. pTDefRegMap(@Self)^.clr := $08000000
  20141. else
  20142. pTDefRegMap(@Self)^.&set := $08000000;
  20143. end;
  20144. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  20145. begin
  20146. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  20147. end;
  20148. procedure TOSC_OSCCON.setPLLODIV1; inline;
  20149. begin
  20150. pTDefRegMap(@Self)^.&set := $10000000;
  20151. end;
  20152. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  20153. begin
  20154. pTDefRegMap(@Self)^.clr := $10000000;
  20155. end;
  20156. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  20157. begin
  20158. if thebits = 0 then
  20159. pTDefRegMap(@Self)^.clr := $10000000
  20160. else
  20161. pTDefRegMap(@Self)^.&set := $10000000;
  20162. end;
  20163. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  20164. begin
  20165. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  20166. end;
  20167. procedure TOSC_OSCCON.setPLLODIV2; inline;
  20168. begin
  20169. pTDefRegMap(@Self)^.&set := $20000000;
  20170. end;
  20171. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  20172. begin
  20173. pTDefRegMap(@Self)^.clr := $20000000;
  20174. end;
  20175. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  20176. begin
  20177. if thebits = 0 then
  20178. pTDefRegMap(@Self)^.clr := $20000000
  20179. else
  20180. pTDefRegMap(@Self)^.&set := $20000000;
  20181. end;
  20182. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  20183. begin
  20184. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  20185. end;
  20186. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  20187. begin
  20188. pTDefRegMap(@Self)^.val := thebits;
  20189. end;
  20190. function TOSC_OSCCON.getw : TBits_32; inline;
  20191. begin
  20192. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20193. end;
  20194. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  20195. begin
  20196. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  20197. end;
  20198. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  20199. begin
  20200. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  20201. end;
  20202. procedure TOSC_OSCTUN.setTUN0; inline;
  20203. begin
  20204. pTDefRegMap(@Self)^.&set := $00000001;
  20205. end;
  20206. procedure TOSC_OSCTUN.clearTUN0; inline;
  20207. begin
  20208. pTDefRegMap(@Self)^.clr := $00000001;
  20209. end;
  20210. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  20211. begin
  20212. if thebits = 0 then
  20213. pTDefRegMap(@Self)^.clr := $00000001
  20214. else
  20215. pTDefRegMap(@Self)^.&set := $00000001;
  20216. end;
  20217. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  20218. begin
  20219. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20220. end;
  20221. procedure TOSC_OSCTUN.setTUN1; inline;
  20222. begin
  20223. pTDefRegMap(@Self)^.&set := $00000002;
  20224. end;
  20225. procedure TOSC_OSCTUN.clearTUN1; inline;
  20226. begin
  20227. pTDefRegMap(@Self)^.clr := $00000002;
  20228. end;
  20229. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  20230. begin
  20231. if thebits = 0 then
  20232. pTDefRegMap(@Self)^.clr := $00000002
  20233. else
  20234. pTDefRegMap(@Self)^.&set := $00000002;
  20235. end;
  20236. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  20237. begin
  20238. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20239. end;
  20240. procedure TOSC_OSCTUN.setTUN2; inline;
  20241. begin
  20242. pTDefRegMap(@Self)^.&set := $00000004;
  20243. end;
  20244. procedure TOSC_OSCTUN.clearTUN2; inline;
  20245. begin
  20246. pTDefRegMap(@Self)^.clr := $00000004;
  20247. end;
  20248. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  20249. begin
  20250. if thebits = 0 then
  20251. pTDefRegMap(@Self)^.clr := $00000004
  20252. else
  20253. pTDefRegMap(@Self)^.&set := $00000004;
  20254. end;
  20255. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  20256. begin
  20257. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20258. end;
  20259. procedure TOSC_OSCTUN.setTUN3; inline;
  20260. begin
  20261. pTDefRegMap(@Self)^.&set := $00000008;
  20262. end;
  20263. procedure TOSC_OSCTUN.clearTUN3; inline;
  20264. begin
  20265. pTDefRegMap(@Self)^.clr := $00000008;
  20266. end;
  20267. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  20268. begin
  20269. if thebits = 0 then
  20270. pTDefRegMap(@Self)^.clr := $00000008
  20271. else
  20272. pTDefRegMap(@Self)^.&set := $00000008;
  20273. end;
  20274. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  20275. begin
  20276. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20277. end;
  20278. procedure TOSC_OSCTUN.setTUN4; inline;
  20279. begin
  20280. pTDefRegMap(@Self)^.&set := $00000010;
  20281. end;
  20282. procedure TOSC_OSCTUN.clearTUN4; inline;
  20283. begin
  20284. pTDefRegMap(@Self)^.clr := $00000010;
  20285. end;
  20286. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  20287. begin
  20288. if thebits = 0 then
  20289. pTDefRegMap(@Self)^.clr := $00000010
  20290. else
  20291. pTDefRegMap(@Self)^.&set := $00000010;
  20292. end;
  20293. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  20294. begin
  20295. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20296. end;
  20297. procedure TOSC_OSCTUN.setTUN5; inline;
  20298. begin
  20299. pTDefRegMap(@Self)^.&set := $00000020;
  20300. end;
  20301. procedure TOSC_OSCTUN.clearTUN5; inline;
  20302. begin
  20303. pTDefRegMap(@Self)^.clr := $00000020;
  20304. end;
  20305. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  20306. begin
  20307. if thebits = 0 then
  20308. pTDefRegMap(@Self)^.clr := $00000020
  20309. else
  20310. pTDefRegMap(@Self)^.&set := $00000020;
  20311. end;
  20312. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  20313. begin
  20314. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20315. end;
  20316. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  20317. begin
  20318. pTDefRegMap(@Self)^.val := thebits;
  20319. end;
  20320. function TOSC_OSCTUN.getw : TBits_32; inline;
  20321. begin
  20322. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20323. end;
  20324. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  20325. begin
  20326. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  20327. end;
  20328. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  20329. begin
  20330. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  20331. end;
  20332. procedure TNVM_NVMCON.setLVDSTAT; inline;
  20333. begin
  20334. pTDefRegMap(@Self)^.&set := $00000800;
  20335. end;
  20336. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  20337. begin
  20338. pTDefRegMap(@Self)^.clr := $00000800;
  20339. end;
  20340. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  20341. begin
  20342. if thebits = 0 then
  20343. pTDefRegMap(@Self)^.clr := $00000800
  20344. else
  20345. pTDefRegMap(@Self)^.&set := $00000800;
  20346. end;
  20347. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  20348. begin
  20349. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20350. end;
  20351. procedure TNVM_NVMCON.setLVDERR; inline;
  20352. begin
  20353. pTDefRegMap(@Self)^.&set := $00001000;
  20354. end;
  20355. procedure TNVM_NVMCON.clearLVDERR; inline;
  20356. begin
  20357. pTDefRegMap(@Self)^.clr := $00001000;
  20358. end;
  20359. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  20360. begin
  20361. if thebits = 0 then
  20362. pTDefRegMap(@Self)^.clr := $00001000
  20363. else
  20364. pTDefRegMap(@Self)^.&set := $00001000;
  20365. end;
  20366. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  20367. begin
  20368. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20369. end;
  20370. procedure TNVM_NVMCON.setWRERR; inline;
  20371. begin
  20372. pTDefRegMap(@Self)^.&set := $00002000;
  20373. end;
  20374. procedure TNVM_NVMCON.clearWRERR; inline;
  20375. begin
  20376. pTDefRegMap(@Self)^.clr := $00002000;
  20377. end;
  20378. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  20379. begin
  20380. if thebits = 0 then
  20381. pTDefRegMap(@Self)^.clr := $00002000
  20382. else
  20383. pTDefRegMap(@Self)^.&set := $00002000;
  20384. end;
  20385. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  20386. begin
  20387. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20388. end;
  20389. procedure TNVM_NVMCON.setWREN; inline;
  20390. begin
  20391. pTDefRegMap(@Self)^.&set := $00004000;
  20392. end;
  20393. procedure TNVM_NVMCON.clearWREN; inline;
  20394. begin
  20395. pTDefRegMap(@Self)^.clr := $00004000;
  20396. end;
  20397. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  20398. begin
  20399. if thebits = 0 then
  20400. pTDefRegMap(@Self)^.clr := $00004000
  20401. else
  20402. pTDefRegMap(@Self)^.&set := $00004000;
  20403. end;
  20404. function TNVM_NVMCON.getWREN : TBits_1; inline;
  20405. begin
  20406. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20407. end;
  20408. procedure TNVM_NVMCON.setWR; inline;
  20409. begin
  20410. pTDefRegMap(@Self)^.&set := $00008000;
  20411. end;
  20412. procedure TNVM_NVMCON.clearWR; inline;
  20413. begin
  20414. pTDefRegMap(@Self)^.clr := $00008000;
  20415. end;
  20416. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  20417. begin
  20418. if thebits = 0 then
  20419. pTDefRegMap(@Self)^.clr := $00008000
  20420. else
  20421. pTDefRegMap(@Self)^.&set := $00008000;
  20422. end;
  20423. function TNVM_NVMCON.getWR : TBits_1; inline;
  20424. begin
  20425. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20426. end;
  20427. procedure TNVM_NVMCON.setNVMOP0; inline;
  20428. begin
  20429. pTDefRegMap(@Self)^.&set := $00000001;
  20430. end;
  20431. procedure TNVM_NVMCON.clearNVMOP0; inline;
  20432. begin
  20433. pTDefRegMap(@Self)^.clr := $00000001;
  20434. end;
  20435. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  20436. begin
  20437. if thebits = 0 then
  20438. pTDefRegMap(@Self)^.clr := $00000001
  20439. else
  20440. pTDefRegMap(@Self)^.&set := $00000001;
  20441. end;
  20442. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  20443. begin
  20444. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20445. end;
  20446. procedure TNVM_NVMCON.setNVMOP1; inline;
  20447. begin
  20448. pTDefRegMap(@Self)^.&set := $00000002;
  20449. end;
  20450. procedure TNVM_NVMCON.clearNVMOP1; inline;
  20451. begin
  20452. pTDefRegMap(@Self)^.clr := $00000002;
  20453. end;
  20454. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  20455. begin
  20456. if thebits = 0 then
  20457. pTDefRegMap(@Self)^.clr := $00000002
  20458. else
  20459. pTDefRegMap(@Self)^.&set := $00000002;
  20460. end;
  20461. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  20462. begin
  20463. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20464. end;
  20465. procedure TNVM_NVMCON.setNVMOP2; inline;
  20466. begin
  20467. pTDefRegMap(@Self)^.&set := $00000004;
  20468. end;
  20469. procedure TNVM_NVMCON.clearNVMOP2; inline;
  20470. begin
  20471. pTDefRegMap(@Self)^.clr := $00000004;
  20472. end;
  20473. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  20474. begin
  20475. if thebits = 0 then
  20476. pTDefRegMap(@Self)^.clr := $00000004
  20477. else
  20478. pTDefRegMap(@Self)^.&set := $00000004;
  20479. end;
  20480. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  20481. begin
  20482. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20483. end;
  20484. procedure TNVM_NVMCON.setNVMOP3; inline;
  20485. begin
  20486. pTDefRegMap(@Self)^.&set := $00000008;
  20487. end;
  20488. procedure TNVM_NVMCON.clearNVMOP3; inline;
  20489. begin
  20490. pTDefRegMap(@Self)^.clr := $00000008;
  20491. end;
  20492. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  20493. begin
  20494. if thebits = 0 then
  20495. pTDefRegMap(@Self)^.clr := $00000008
  20496. else
  20497. pTDefRegMap(@Self)^.&set := $00000008;
  20498. end;
  20499. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  20500. begin
  20501. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20502. end;
  20503. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  20504. begin
  20505. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  20506. end;
  20507. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  20508. begin
  20509. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  20510. end;
  20511. procedure TNVM_NVMCON.setPROGOP0; inline;
  20512. begin
  20513. pTDefRegMap(@Self)^.&set := $00000001;
  20514. end;
  20515. procedure TNVM_NVMCON.clearPROGOP0; inline;
  20516. begin
  20517. pTDefRegMap(@Self)^.clr := $00000001;
  20518. end;
  20519. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  20520. begin
  20521. if thebits = 0 then
  20522. pTDefRegMap(@Self)^.clr := $00000001
  20523. else
  20524. pTDefRegMap(@Self)^.&set := $00000001;
  20525. end;
  20526. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  20527. begin
  20528. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20529. end;
  20530. procedure TNVM_NVMCON.setPROGOP1; inline;
  20531. begin
  20532. pTDefRegMap(@Self)^.&set := $00000002;
  20533. end;
  20534. procedure TNVM_NVMCON.clearPROGOP1; inline;
  20535. begin
  20536. pTDefRegMap(@Self)^.clr := $00000002;
  20537. end;
  20538. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  20539. begin
  20540. if thebits = 0 then
  20541. pTDefRegMap(@Self)^.clr := $00000002
  20542. else
  20543. pTDefRegMap(@Self)^.&set := $00000002;
  20544. end;
  20545. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  20546. begin
  20547. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20548. end;
  20549. procedure TNVM_NVMCON.setPROGOP2; inline;
  20550. begin
  20551. pTDefRegMap(@Self)^.&set := $00000004;
  20552. end;
  20553. procedure TNVM_NVMCON.clearPROGOP2; inline;
  20554. begin
  20555. pTDefRegMap(@Self)^.clr := $00000004;
  20556. end;
  20557. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  20558. begin
  20559. if thebits = 0 then
  20560. pTDefRegMap(@Self)^.clr := $00000004
  20561. else
  20562. pTDefRegMap(@Self)^.&set := $00000004;
  20563. end;
  20564. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  20565. begin
  20566. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20567. end;
  20568. procedure TNVM_NVMCON.setPROGOP3; inline;
  20569. begin
  20570. pTDefRegMap(@Self)^.&set := $00000008;
  20571. end;
  20572. procedure TNVM_NVMCON.clearPROGOP3; inline;
  20573. begin
  20574. pTDefRegMap(@Self)^.clr := $00000008;
  20575. end;
  20576. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  20577. begin
  20578. if thebits = 0 then
  20579. pTDefRegMap(@Self)^.clr := $00000008
  20580. else
  20581. pTDefRegMap(@Self)^.&set := $00000008;
  20582. end;
  20583. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  20584. begin
  20585. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20586. end;
  20587. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  20588. begin
  20589. pTDefRegMap(@Self)^.val := thebits;
  20590. end;
  20591. function TNVM_NVMCON.getw : TBits_32; inline;
  20592. begin
  20593. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20594. end;
  20595. procedure TRCON_RCON.setPOR; inline;
  20596. begin
  20597. pTDefRegMap(@Self)^.&set := $00000001;
  20598. end;
  20599. procedure TRCON_RCON.clearPOR; inline;
  20600. begin
  20601. pTDefRegMap(@Self)^.clr := $00000001;
  20602. end;
  20603. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  20604. begin
  20605. if thebits = 0 then
  20606. pTDefRegMap(@Self)^.clr := $00000001
  20607. else
  20608. pTDefRegMap(@Self)^.&set := $00000001;
  20609. end;
  20610. function TRCON_RCON.getPOR : TBits_1; inline;
  20611. begin
  20612. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20613. end;
  20614. procedure TRCON_RCON.setBOR; inline;
  20615. begin
  20616. pTDefRegMap(@Self)^.&set := $00000002;
  20617. end;
  20618. procedure TRCON_RCON.clearBOR; inline;
  20619. begin
  20620. pTDefRegMap(@Self)^.clr := $00000002;
  20621. end;
  20622. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  20623. begin
  20624. if thebits = 0 then
  20625. pTDefRegMap(@Self)^.clr := $00000002
  20626. else
  20627. pTDefRegMap(@Self)^.&set := $00000002;
  20628. end;
  20629. function TRCON_RCON.getBOR : TBits_1; inline;
  20630. begin
  20631. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20632. end;
  20633. procedure TRCON_RCON.setIDLE; inline;
  20634. begin
  20635. pTDefRegMap(@Self)^.&set := $00000004;
  20636. end;
  20637. procedure TRCON_RCON.clearIDLE; inline;
  20638. begin
  20639. pTDefRegMap(@Self)^.clr := $00000004;
  20640. end;
  20641. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  20642. begin
  20643. if thebits = 0 then
  20644. pTDefRegMap(@Self)^.clr := $00000004
  20645. else
  20646. pTDefRegMap(@Self)^.&set := $00000004;
  20647. end;
  20648. function TRCON_RCON.getIDLE : TBits_1; inline;
  20649. begin
  20650. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20651. end;
  20652. procedure TRCON_RCON.setSLEEP; inline;
  20653. begin
  20654. pTDefRegMap(@Self)^.&set := $00000008;
  20655. end;
  20656. procedure TRCON_RCON.clearSLEEP; inline;
  20657. begin
  20658. pTDefRegMap(@Self)^.clr := $00000008;
  20659. end;
  20660. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  20661. begin
  20662. if thebits = 0 then
  20663. pTDefRegMap(@Self)^.clr := $00000008
  20664. else
  20665. pTDefRegMap(@Self)^.&set := $00000008;
  20666. end;
  20667. function TRCON_RCON.getSLEEP : TBits_1; inline;
  20668. begin
  20669. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20670. end;
  20671. procedure TRCON_RCON.setWDTO; inline;
  20672. begin
  20673. pTDefRegMap(@Self)^.&set := $00000010;
  20674. end;
  20675. procedure TRCON_RCON.clearWDTO; inline;
  20676. begin
  20677. pTDefRegMap(@Self)^.clr := $00000010;
  20678. end;
  20679. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  20680. begin
  20681. if thebits = 0 then
  20682. pTDefRegMap(@Self)^.clr := $00000010
  20683. else
  20684. pTDefRegMap(@Self)^.&set := $00000010;
  20685. end;
  20686. function TRCON_RCON.getWDTO : TBits_1; inline;
  20687. begin
  20688. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20689. end;
  20690. procedure TRCON_RCON.setSWR; inline;
  20691. begin
  20692. pTDefRegMap(@Self)^.&set := $00000040;
  20693. end;
  20694. procedure TRCON_RCON.clearSWR; inline;
  20695. begin
  20696. pTDefRegMap(@Self)^.clr := $00000040;
  20697. end;
  20698. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  20699. begin
  20700. if thebits = 0 then
  20701. pTDefRegMap(@Self)^.clr := $00000040
  20702. else
  20703. pTDefRegMap(@Self)^.&set := $00000040;
  20704. end;
  20705. function TRCON_RCON.getSWR : TBits_1; inline;
  20706. begin
  20707. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20708. end;
  20709. procedure TRCON_RCON.setEXTR; inline;
  20710. begin
  20711. pTDefRegMap(@Self)^.&set := $00000080;
  20712. end;
  20713. procedure TRCON_RCON.clearEXTR; inline;
  20714. begin
  20715. pTDefRegMap(@Self)^.clr := $00000080;
  20716. end;
  20717. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  20718. begin
  20719. if thebits = 0 then
  20720. pTDefRegMap(@Self)^.clr := $00000080
  20721. else
  20722. pTDefRegMap(@Self)^.&set := $00000080;
  20723. end;
  20724. function TRCON_RCON.getEXTR : TBits_1; inline;
  20725. begin
  20726. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20727. end;
  20728. procedure TRCON_RCON.setVREGS; inline;
  20729. begin
  20730. pTDefRegMap(@Self)^.&set := $00000100;
  20731. end;
  20732. procedure TRCON_RCON.clearVREGS; inline;
  20733. begin
  20734. pTDefRegMap(@Self)^.clr := $00000100;
  20735. end;
  20736. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  20737. begin
  20738. if thebits = 0 then
  20739. pTDefRegMap(@Self)^.clr := $00000100
  20740. else
  20741. pTDefRegMap(@Self)^.&set := $00000100;
  20742. end;
  20743. function TRCON_RCON.getVREGS : TBits_1; inline;
  20744. begin
  20745. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20746. end;
  20747. procedure TRCON_RCON.setCMR; inline;
  20748. begin
  20749. pTDefRegMap(@Self)^.&set := $00000200;
  20750. end;
  20751. procedure TRCON_RCON.clearCMR; inline;
  20752. begin
  20753. pTDefRegMap(@Self)^.clr := $00000200;
  20754. end;
  20755. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  20756. begin
  20757. if thebits = 0 then
  20758. pTDefRegMap(@Self)^.clr := $00000200
  20759. else
  20760. pTDefRegMap(@Self)^.&set := $00000200;
  20761. end;
  20762. function TRCON_RCON.getCMR : TBits_1; inline;
  20763. begin
  20764. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20765. end;
  20766. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  20767. begin
  20768. pTDefRegMap(@Self)^.val := thebits;
  20769. end;
  20770. function TRCON_RCON.getw : TBits_32; inline;
  20771. begin
  20772. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20773. end;
  20774. procedure TRCON_RSWRST.setSWRST; inline;
  20775. begin
  20776. pTDefRegMap(@Self)^.&set := $00000001;
  20777. end;
  20778. procedure TRCON_RSWRST.clearSWRST; inline;
  20779. begin
  20780. pTDefRegMap(@Self)^.clr := $00000001;
  20781. end;
  20782. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  20783. begin
  20784. if thebits = 0 then
  20785. pTDefRegMap(@Self)^.clr := $00000001
  20786. else
  20787. pTDefRegMap(@Self)^.&set := $00000001;
  20788. end;
  20789. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  20790. begin
  20791. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20792. end;
  20793. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  20794. begin
  20795. pTDefRegMap(@Self)^.val := thebits;
  20796. end;
  20797. function TRCON_RSWRST.getw : TBits_32; inline;
  20798. begin
  20799. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20800. end;
  20801. procedure TINT_INTSTAT.setVEC(thebits : TBits_6); inline;
  20802. begin
  20803. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  20804. end;
  20805. function TINT_INTSTAT.getVEC : TBits_6; inline;
  20806. begin
  20807. getVEC := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  20808. end;
  20809. procedure TINT_INTSTAT.setRIPL(thebits : TBits_3); inline;
  20810. begin
  20811. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  20812. end;
  20813. function TINT_INTSTAT.getRIPL : TBits_3; inline;
  20814. begin
  20815. getRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  20816. end;
  20817. procedure TINT_INTSTAT.setSRIPL(thebits : TBits_3); inline;
  20818. begin
  20819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  20820. end;
  20821. function TINT_INTSTAT.getSRIPL : TBits_3; inline;
  20822. begin
  20823. getSRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  20824. end;
  20825. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  20826. begin
  20827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  20828. end;
  20829. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  20830. begin
  20831. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  20832. end;
  20833. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  20834. begin
  20835. pTDefRegMap(@Self)^.&set := $00000040;
  20836. end;
  20837. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  20838. begin
  20839. pTDefRegMap(@Self)^.clr := $00000040;
  20840. end;
  20841. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  20842. begin
  20843. if thebits = 0 then
  20844. pTDefRegMap(@Self)^.clr := $00000040
  20845. else
  20846. pTDefRegMap(@Self)^.&set := $00000040;
  20847. end;
  20848. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  20849. begin
  20850. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20851. end;
  20852. procedure TBMX_BMXCON.setBMXERRIS; inline;
  20853. begin
  20854. pTDefRegMap(@Self)^.&set := $00010000;
  20855. end;
  20856. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  20857. begin
  20858. pTDefRegMap(@Self)^.clr := $00010000;
  20859. end;
  20860. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  20861. begin
  20862. if thebits = 0 then
  20863. pTDefRegMap(@Self)^.clr := $00010000
  20864. else
  20865. pTDefRegMap(@Self)^.&set := $00010000;
  20866. end;
  20867. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  20868. begin
  20869. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  20870. end;
  20871. procedure TBMX_BMXCON.setBMXERRDS; inline;
  20872. begin
  20873. pTDefRegMap(@Self)^.&set := $00020000;
  20874. end;
  20875. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  20876. begin
  20877. pTDefRegMap(@Self)^.clr := $00020000;
  20878. end;
  20879. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  20880. begin
  20881. if thebits = 0 then
  20882. pTDefRegMap(@Self)^.clr := $00020000
  20883. else
  20884. pTDefRegMap(@Self)^.&set := $00020000;
  20885. end;
  20886. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  20887. begin
  20888. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  20889. end;
  20890. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  20891. begin
  20892. pTDefRegMap(@Self)^.&set := $00040000;
  20893. end;
  20894. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  20895. begin
  20896. pTDefRegMap(@Self)^.clr := $00040000;
  20897. end;
  20898. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  20899. begin
  20900. if thebits = 0 then
  20901. pTDefRegMap(@Self)^.clr := $00040000
  20902. else
  20903. pTDefRegMap(@Self)^.&set := $00040000;
  20904. end;
  20905. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  20906. begin
  20907. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  20908. end;
  20909. procedure TBMX_BMXCON.setBMXERRICD; inline;
  20910. begin
  20911. pTDefRegMap(@Self)^.&set := $00080000;
  20912. end;
  20913. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  20914. begin
  20915. pTDefRegMap(@Self)^.clr := $00080000;
  20916. end;
  20917. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  20918. begin
  20919. if thebits = 0 then
  20920. pTDefRegMap(@Self)^.clr := $00080000
  20921. else
  20922. pTDefRegMap(@Self)^.&set := $00080000;
  20923. end;
  20924. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  20925. begin
  20926. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  20927. end;
  20928. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  20929. begin
  20930. pTDefRegMap(@Self)^.&set := $00100000;
  20931. end;
  20932. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  20933. begin
  20934. pTDefRegMap(@Self)^.clr := $00100000;
  20935. end;
  20936. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  20937. begin
  20938. if thebits = 0 then
  20939. pTDefRegMap(@Self)^.clr := $00100000
  20940. else
  20941. pTDefRegMap(@Self)^.&set := $00100000;
  20942. end;
  20943. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  20944. begin
  20945. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  20946. end;
  20947. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  20948. begin
  20949. pTDefRegMap(@Self)^.&set := $04000000;
  20950. end;
  20951. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  20952. begin
  20953. pTDefRegMap(@Self)^.clr := $04000000;
  20954. end;
  20955. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  20956. begin
  20957. if thebits = 0 then
  20958. pTDefRegMap(@Self)^.clr := $04000000
  20959. else
  20960. pTDefRegMap(@Self)^.&set := $04000000;
  20961. end;
  20962. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  20963. begin
  20964. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  20965. end;
  20966. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  20967. begin
  20968. pTDefRegMap(@Self)^.val := thebits;
  20969. end;
  20970. function TBMX_BMXCON.getw : TBits_32; inline;
  20971. begin
  20972. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20973. end;
  20974. procedure TDMAC_DMACON.setSUSPEND; inline;
  20975. begin
  20976. pTDefRegMap(@Self)^.&set := $00001000;
  20977. end;
  20978. procedure TDMAC_DMACON.clearSUSPEND; inline;
  20979. begin
  20980. pTDefRegMap(@Self)^.clr := $00001000;
  20981. end;
  20982. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  20983. begin
  20984. if thebits = 0 then
  20985. pTDefRegMap(@Self)^.clr := $00001000
  20986. else
  20987. pTDefRegMap(@Self)^.&set := $00001000;
  20988. end;
  20989. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  20990. begin
  20991. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20992. end;
  20993. procedure TDMAC_DMACON.setSIDL; inline;
  20994. begin
  20995. pTDefRegMap(@Self)^.&set := $00002000;
  20996. end;
  20997. procedure TDMAC_DMACON.clearSIDL; inline;
  20998. begin
  20999. pTDefRegMap(@Self)^.clr := $00002000;
  21000. end;
  21001. procedure TDMAC_DMACON.setSIDL(thebits : TBits_1); inline;
  21002. begin
  21003. if thebits = 0 then
  21004. pTDefRegMap(@Self)^.clr := $00002000
  21005. else
  21006. pTDefRegMap(@Self)^.&set := $00002000;
  21007. end;
  21008. function TDMAC_DMACON.getSIDL : TBits_1; inline;
  21009. begin
  21010. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21011. end;
  21012. procedure TDMAC_DMACON.setON; inline;
  21013. begin
  21014. pTDefRegMap(@Self)^.&set := $00008000;
  21015. end;
  21016. procedure TDMAC_DMACON.clearON; inline;
  21017. begin
  21018. pTDefRegMap(@Self)^.clr := $00008000;
  21019. end;
  21020. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  21021. begin
  21022. if thebits = 0 then
  21023. pTDefRegMap(@Self)^.clr := $00008000
  21024. else
  21025. pTDefRegMap(@Self)^.&set := $00008000;
  21026. end;
  21027. function TDMAC_DMACON.getON : TBits_1; inline;
  21028. begin
  21029. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21030. end;
  21031. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  21032. begin
  21033. pTDefRegMap(@Self)^.val := thebits;
  21034. end;
  21035. function TDMAC_DMACON.getw : TBits_32; inline;
  21036. begin
  21037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21038. end;
  21039. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_2); inline;
  21040. begin
  21041. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21042. end;
  21043. function TDMAC_DMASTAT.getDMACH : TBits_2; inline;
  21044. begin
  21045. getDMACH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21046. end;
  21047. procedure TDMAC_DMASTAT.setRDWR; inline;
  21048. begin
  21049. pTDefRegMap(@Self)^.&set := $00000008;
  21050. end;
  21051. procedure TDMAC_DMASTAT.clearRDWR; inline;
  21052. begin
  21053. pTDefRegMap(@Self)^.clr := $00000008;
  21054. end;
  21055. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  21056. begin
  21057. if thebits = 0 then
  21058. pTDefRegMap(@Self)^.clr := $00000008
  21059. else
  21060. pTDefRegMap(@Self)^.&set := $00000008;
  21061. end;
  21062. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  21063. begin
  21064. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21065. end;
  21066. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  21067. begin
  21068. pTDefRegMap(@Self)^.val := thebits;
  21069. end;
  21070. function TDMAC_DMASTAT.getw : TBits_32; inline;
  21071. begin
  21072. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21073. end;
  21074. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_2); inline;
  21075. begin
  21076. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21077. end;
  21078. function TDMAC_DCRCCON.getCRCCH : TBits_2; inline;
  21079. begin
  21080. getCRCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21081. end;
  21082. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  21083. begin
  21084. pTDefRegMap(@Self)^.&set := $00000020;
  21085. end;
  21086. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  21087. begin
  21088. pTDefRegMap(@Self)^.clr := $00000020;
  21089. end;
  21090. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  21091. begin
  21092. if thebits = 0 then
  21093. pTDefRegMap(@Self)^.clr := $00000020
  21094. else
  21095. pTDefRegMap(@Self)^.&set := $00000020;
  21096. end;
  21097. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  21098. begin
  21099. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21100. end;
  21101. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  21102. begin
  21103. pTDefRegMap(@Self)^.&set := $00000040;
  21104. end;
  21105. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  21106. begin
  21107. pTDefRegMap(@Self)^.clr := $00000040;
  21108. end;
  21109. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  21110. begin
  21111. if thebits = 0 then
  21112. pTDefRegMap(@Self)^.clr := $00000040
  21113. else
  21114. pTDefRegMap(@Self)^.&set := $00000040;
  21115. end;
  21116. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  21117. begin
  21118. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21119. end;
  21120. procedure TDMAC_DCRCCON.setCRCEN; inline;
  21121. begin
  21122. pTDefRegMap(@Self)^.&set := $00000080;
  21123. end;
  21124. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  21125. begin
  21126. pTDefRegMap(@Self)^.clr := $00000080;
  21127. end;
  21128. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  21129. begin
  21130. if thebits = 0 then
  21131. pTDefRegMap(@Self)^.clr := $00000080
  21132. else
  21133. pTDefRegMap(@Self)^.&set := $00000080;
  21134. end;
  21135. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  21136. begin
  21137. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21138. end;
  21139. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_4); inline;
  21140. begin
  21141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  21142. end;
  21143. function TDMAC_DCRCCON.getPLEN : TBits_4; inline;
  21144. begin
  21145. getPLEN := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  21146. end;
  21147. procedure TDMAC_DCRCCON.setBITO; inline;
  21148. begin
  21149. pTDefRegMap(@Self)^.&set := $01000000;
  21150. end;
  21151. procedure TDMAC_DCRCCON.clearBITO; inline;
  21152. begin
  21153. pTDefRegMap(@Self)^.clr := $01000000;
  21154. end;
  21155. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  21156. begin
  21157. if thebits = 0 then
  21158. pTDefRegMap(@Self)^.clr := $01000000
  21159. else
  21160. pTDefRegMap(@Self)^.&set := $01000000;
  21161. end;
  21162. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  21163. begin
  21164. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  21165. end;
  21166. procedure TDMAC_DCRCCON.setWBO; inline;
  21167. begin
  21168. pTDefRegMap(@Self)^.&set := $08000000;
  21169. end;
  21170. procedure TDMAC_DCRCCON.clearWBO; inline;
  21171. begin
  21172. pTDefRegMap(@Self)^.clr := $08000000;
  21173. end;
  21174. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  21175. begin
  21176. if thebits = 0 then
  21177. pTDefRegMap(@Self)^.clr := $08000000
  21178. else
  21179. pTDefRegMap(@Self)^.&set := $08000000;
  21180. end;
  21181. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  21182. begin
  21183. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  21184. end;
  21185. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  21186. begin
  21187. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  21188. end;
  21189. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  21190. begin
  21191. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  21192. end;
  21193. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  21194. begin
  21195. pTDefRegMap(@Self)^.val := thebits;
  21196. end;
  21197. function TDMAC_DCRCCON.getw : TBits_32; inline;
  21198. begin
  21199. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21200. end;
  21201. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  21202. begin
  21203. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21204. end;
  21205. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  21206. begin
  21207. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21208. end;
  21209. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  21210. begin
  21211. pTDefRegMap(@Self)^.&set := $00000004;
  21212. end;
  21213. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  21214. begin
  21215. pTDefRegMap(@Self)^.clr := $00000004;
  21216. end;
  21217. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  21218. begin
  21219. if thebits = 0 then
  21220. pTDefRegMap(@Self)^.clr := $00000004
  21221. else
  21222. pTDefRegMap(@Self)^.&set := $00000004;
  21223. end;
  21224. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  21225. begin
  21226. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21227. end;
  21228. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  21229. begin
  21230. pTDefRegMap(@Self)^.&set := $00000010;
  21231. end;
  21232. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  21233. begin
  21234. pTDefRegMap(@Self)^.clr := $00000010;
  21235. end;
  21236. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  21237. begin
  21238. if thebits = 0 then
  21239. pTDefRegMap(@Self)^.clr := $00000010
  21240. else
  21241. pTDefRegMap(@Self)^.&set := $00000010;
  21242. end;
  21243. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  21244. begin
  21245. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21246. end;
  21247. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  21248. begin
  21249. pTDefRegMap(@Self)^.&set := $00000020;
  21250. end;
  21251. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  21252. begin
  21253. pTDefRegMap(@Self)^.clr := $00000020;
  21254. end;
  21255. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  21256. begin
  21257. if thebits = 0 then
  21258. pTDefRegMap(@Self)^.clr := $00000020
  21259. else
  21260. pTDefRegMap(@Self)^.&set := $00000020;
  21261. end;
  21262. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  21263. begin
  21264. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21265. end;
  21266. procedure TDMAC0_DCH0CON.setCHAED; inline;
  21267. begin
  21268. pTDefRegMap(@Self)^.&set := $00000040;
  21269. end;
  21270. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  21271. begin
  21272. pTDefRegMap(@Self)^.clr := $00000040;
  21273. end;
  21274. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  21275. begin
  21276. if thebits = 0 then
  21277. pTDefRegMap(@Self)^.clr := $00000040
  21278. else
  21279. pTDefRegMap(@Self)^.&set := $00000040;
  21280. end;
  21281. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  21282. begin
  21283. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21284. end;
  21285. procedure TDMAC0_DCH0CON.setCHEN; inline;
  21286. begin
  21287. pTDefRegMap(@Self)^.&set := $00000080;
  21288. end;
  21289. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  21290. begin
  21291. pTDefRegMap(@Self)^.clr := $00000080;
  21292. end;
  21293. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  21294. begin
  21295. if thebits = 0 then
  21296. pTDefRegMap(@Self)^.clr := $00000080
  21297. else
  21298. pTDefRegMap(@Self)^.&set := $00000080;
  21299. end;
  21300. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  21301. begin
  21302. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21303. end;
  21304. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  21305. begin
  21306. pTDefRegMap(@Self)^.&set := $00000100;
  21307. end;
  21308. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  21309. begin
  21310. pTDefRegMap(@Self)^.clr := $00000100;
  21311. end;
  21312. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  21313. begin
  21314. if thebits = 0 then
  21315. pTDefRegMap(@Self)^.clr := $00000100
  21316. else
  21317. pTDefRegMap(@Self)^.&set := $00000100;
  21318. end;
  21319. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  21320. begin
  21321. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21322. end;
  21323. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  21324. begin
  21325. pTDefRegMap(@Self)^.val := thebits;
  21326. end;
  21327. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  21328. begin
  21329. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21330. end;
  21331. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  21332. begin
  21333. pTDefRegMap(@Self)^.&set := $00000008;
  21334. end;
  21335. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  21336. begin
  21337. pTDefRegMap(@Self)^.clr := $00000008;
  21338. end;
  21339. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  21340. begin
  21341. if thebits = 0 then
  21342. pTDefRegMap(@Self)^.clr := $00000008
  21343. else
  21344. pTDefRegMap(@Self)^.&set := $00000008;
  21345. end;
  21346. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  21347. begin
  21348. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21349. end;
  21350. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  21351. begin
  21352. pTDefRegMap(@Self)^.&set := $00000010;
  21353. end;
  21354. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  21355. begin
  21356. pTDefRegMap(@Self)^.clr := $00000010;
  21357. end;
  21358. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  21359. begin
  21360. if thebits = 0 then
  21361. pTDefRegMap(@Self)^.clr := $00000010
  21362. else
  21363. pTDefRegMap(@Self)^.&set := $00000010;
  21364. end;
  21365. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  21366. begin
  21367. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21368. end;
  21369. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  21370. begin
  21371. pTDefRegMap(@Self)^.&set := $00000020;
  21372. end;
  21373. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  21374. begin
  21375. pTDefRegMap(@Self)^.clr := $00000020;
  21376. end;
  21377. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  21378. begin
  21379. if thebits = 0 then
  21380. pTDefRegMap(@Self)^.clr := $00000020
  21381. else
  21382. pTDefRegMap(@Self)^.&set := $00000020;
  21383. end;
  21384. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  21385. begin
  21386. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21387. end;
  21388. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  21389. begin
  21390. pTDefRegMap(@Self)^.&set := $00000040;
  21391. end;
  21392. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  21393. begin
  21394. pTDefRegMap(@Self)^.clr := $00000040;
  21395. end;
  21396. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  21397. begin
  21398. if thebits = 0 then
  21399. pTDefRegMap(@Self)^.clr := $00000040
  21400. else
  21401. pTDefRegMap(@Self)^.&set := $00000040;
  21402. end;
  21403. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  21404. begin
  21405. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21406. end;
  21407. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  21408. begin
  21409. pTDefRegMap(@Self)^.&set := $00000080;
  21410. end;
  21411. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  21412. begin
  21413. pTDefRegMap(@Self)^.clr := $00000080;
  21414. end;
  21415. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  21416. begin
  21417. if thebits = 0 then
  21418. pTDefRegMap(@Self)^.clr := $00000080
  21419. else
  21420. pTDefRegMap(@Self)^.&set := $00000080;
  21421. end;
  21422. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  21423. begin
  21424. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21425. end;
  21426. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  21427. begin
  21428. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  21429. end;
  21430. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  21431. begin
  21432. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  21433. end;
  21434. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  21435. begin
  21436. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21437. end;
  21438. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  21439. begin
  21440. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21441. end;
  21442. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  21443. begin
  21444. pTDefRegMap(@Self)^.val := thebits;
  21445. end;
  21446. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  21447. begin
  21448. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21449. end;
  21450. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  21451. begin
  21452. pTDefRegMap(@Self)^.&set := $00000001;
  21453. end;
  21454. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  21455. begin
  21456. pTDefRegMap(@Self)^.clr := $00000001;
  21457. end;
  21458. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  21459. begin
  21460. if thebits = 0 then
  21461. pTDefRegMap(@Self)^.clr := $00000001
  21462. else
  21463. pTDefRegMap(@Self)^.&set := $00000001;
  21464. end;
  21465. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  21466. begin
  21467. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21468. end;
  21469. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  21470. begin
  21471. pTDefRegMap(@Self)^.&set := $00000002;
  21472. end;
  21473. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  21474. begin
  21475. pTDefRegMap(@Self)^.clr := $00000002;
  21476. end;
  21477. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  21478. begin
  21479. if thebits = 0 then
  21480. pTDefRegMap(@Self)^.clr := $00000002
  21481. else
  21482. pTDefRegMap(@Self)^.&set := $00000002;
  21483. end;
  21484. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  21485. begin
  21486. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21487. end;
  21488. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  21489. begin
  21490. pTDefRegMap(@Self)^.&set := $00000004;
  21491. end;
  21492. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  21493. begin
  21494. pTDefRegMap(@Self)^.clr := $00000004;
  21495. end;
  21496. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  21497. begin
  21498. if thebits = 0 then
  21499. pTDefRegMap(@Self)^.clr := $00000004
  21500. else
  21501. pTDefRegMap(@Self)^.&set := $00000004;
  21502. end;
  21503. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  21504. begin
  21505. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21506. end;
  21507. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  21508. begin
  21509. pTDefRegMap(@Self)^.&set := $00000008;
  21510. end;
  21511. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  21512. begin
  21513. pTDefRegMap(@Self)^.clr := $00000008;
  21514. end;
  21515. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  21516. begin
  21517. if thebits = 0 then
  21518. pTDefRegMap(@Self)^.clr := $00000008
  21519. else
  21520. pTDefRegMap(@Self)^.&set := $00000008;
  21521. end;
  21522. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  21523. begin
  21524. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21525. end;
  21526. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  21527. begin
  21528. pTDefRegMap(@Self)^.&set := $00000010;
  21529. end;
  21530. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  21531. begin
  21532. pTDefRegMap(@Self)^.clr := $00000010;
  21533. end;
  21534. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  21535. begin
  21536. if thebits = 0 then
  21537. pTDefRegMap(@Self)^.clr := $00000010
  21538. else
  21539. pTDefRegMap(@Self)^.&set := $00000010;
  21540. end;
  21541. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  21542. begin
  21543. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21544. end;
  21545. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  21546. begin
  21547. pTDefRegMap(@Self)^.&set := $00000020;
  21548. end;
  21549. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  21550. begin
  21551. pTDefRegMap(@Self)^.clr := $00000020;
  21552. end;
  21553. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  21554. begin
  21555. if thebits = 0 then
  21556. pTDefRegMap(@Self)^.clr := $00000020
  21557. else
  21558. pTDefRegMap(@Self)^.&set := $00000020;
  21559. end;
  21560. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  21561. begin
  21562. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21563. end;
  21564. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  21565. begin
  21566. pTDefRegMap(@Self)^.&set := $00000040;
  21567. end;
  21568. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  21569. begin
  21570. pTDefRegMap(@Self)^.clr := $00000040;
  21571. end;
  21572. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  21573. begin
  21574. if thebits = 0 then
  21575. pTDefRegMap(@Self)^.clr := $00000040
  21576. else
  21577. pTDefRegMap(@Self)^.&set := $00000040;
  21578. end;
  21579. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  21580. begin
  21581. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21582. end;
  21583. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  21584. begin
  21585. pTDefRegMap(@Self)^.&set := $00000080;
  21586. end;
  21587. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  21588. begin
  21589. pTDefRegMap(@Self)^.clr := $00000080;
  21590. end;
  21591. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  21592. begin
  21593. if thebits = 0 then
  21594. pTDefRegMap(@Self)^.clr := $00000080
  21595. else
  21596. pTDefRegMap(@Self)^.&set := $00000080;
  21597. end;
  21598. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  21599. begin
  21600. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21601. end;
  21602. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  21603. begin
  21604. pTDefRegMap(@Self)^.&set := $00010000;
  21605. end;
  21606. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  21607. begin
  21608. pTDefRegMap(@Self)^.clr := $00010000;
  21609. end;
  21610. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  21611. begin
  21612. if thebits = 0 then
  21613. pTDefRegMap(@Self)^.clr := $00010000
  21614. else
  21615. pTDefRegMap(@Self)^.&set := $00010000;
  21616. end;
  21617. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  21618. begin
  21619. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  21620. end;
  21621. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  21622. begin
  21623. pTDefRegMap(@Self)^.&set := $00020000;
  21624. end;
  21625. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  21626. begin
  21627. pTDefRegMap(@Self)^.clr := $00020000;
  21628. end;
  21629. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  21630. begin
  21631. if thebits = 0 then
  21632. pTDefRegMap(@Self)^.clr := $00020000
  21633. else
  21634. pTDefRegMap(@Self)^.&set := $00020000;
  21635. end;
  21636. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  21637. begin
  21638. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  21639. end;
  21640. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  21641. begin
  21642. pTDefRegMap(@Self)^.&set := $00040000;
  21643. end;
  21644. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  21645. begin
  21646. pTDefRegMap(@Self)^.clr := $00040000;
  21647. end;
  21648. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  21649. begin
  21650. if thebits = 0 then
  21651. pTDefRegMap(@Self)^.clr := $00040000
  21652. else
  21653. pTDefRegMap(@Self)^.&set := $00040000;
  21654. end;
  21655. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  21656. begin
  21657. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  21658. end;
  21659. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  21660. begin
  21661. pTDefRegMap(@Self)^.&set := $00080000;
  21662. end;
  21663. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  21664. begin
  21665. pTDefRegMap(@Self)^.clr := $00080000;
  21666. end;
  21667. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  21668. begin
  21669. if thebits = 0 then
  21670. pTDefRegMap(@Self)^.clr := $00080000
  21671. else
  21672. pTDefRegMap(@Self)^.&set := $00080000;
  21673. end;
  21674. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  21675. begin
  21676. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  21677. end;
  21678. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  21679. begin
  21680. pTDefRegMap(@Self)^.&set := $00100000;
  21681. end;
  21682. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  21683. begin
  21684. pTDefRegMap(@Self)^.clr := $00100000;
  21685. end;
  21686. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  21687. begin
  21688. if thebits = 0 then
  21689. pTDefRegMap(@Self)^.clr := $00100000
  21690. else
  21691. pTDefRegMap(@Self)^.&set := $00100000;
  21692. end;
  21693. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  21694. begin
  21695. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  21696. end;
  21697. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  21698. begin
  21699. pTDefRegMap(@Self)^.&set := $00200000;
  21700. end;
  21701. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  21702. begin
  21703. pTDefRegMap(@Self)^.clr := $00200000;
  21704. end;
  21705. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  21706. begin
  21707. if thebits = 0 then
  21708. pTDefRegMap(@Self)^.clr := $00200000
  21709. else
  21710. pTDefRegMap(@Self)^.&set := $00200000;
  21711. end;
  21712. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  21713. begin
  21714. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  21715. end;
  21716. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  21717. begin
  21718. pTDefRegMap(@Self)^.&set := $00400000;
  21719. end;
  21720. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  21721. begin
  21722. pTDefRegMap(@Self)^.clr := $00400000;
  21723. end;
  21724. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  21725. begin
  21726. if thebits = 0 then
  21727. pTDefRegMap(@Self)^.clr := $00400000
  21728. else
  21729. pTDefRegMap(@Self)^.&set := $00400000;
  21730. end;
  21731. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  21732. begin
  21733. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  21734. end;
  21735. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  21736. begin
  21737. pTDefRegMap(@Self)^.&set := $00800000;
  21738. end;
  21739. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  21740. begin
  21741. pTDefRegMap(@Self)^.clr := $00800000;
  21742. end;
  21743. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  21744. begin
  21745. if thebits = 0 then
  21746. pTDefRegMap(@Self)^.clr := $00800000
  21747. else
  21748. pTDefRegMap(@Self)^.&set := $00800000;
  21749. end;
  21750. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  21751. begin
  21752. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  21753. end;
  21754. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  21755. begin
  21756. pTDefRegMap(@Self)^.val := thebits;
  21757. end;
  21758. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  21759. begin
  21760. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21761. end;
  21762. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  21763. begin
  21764. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21765. end;
  21766. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  21767. begin
  21768. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21769. end;
  21770. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  21771. begin
  21772. pTDefRegMap(@Self)^.&set := $00000004;
  21773. end;
  21774. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  21775. begin
  21776. pTDefRegMap(@Self)^.clr := $00000004;
  21777. end;
  21778. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  21779. begin
  21780. if thebits = 0 then
  21781. pTDefRegMap(@Self)^.clr := $00000004
  21782. else
  21783. pTDefRegMap(@Self)^.&set := $00000004;
  21784. end;
  21785. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  21786. begin
  21787. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21788. end;
  21789. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  21790. begin
  21791. pTDefRegMap(@Self)^.&set := $00000010;
  21792. end;
  21793. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  21794. begin
  21795. pTDefRegMap(@Self)^.clr := $00000010;
  21796. end;
  21797. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  21798. begin
  21799. if thebits = 0 then
  21800. pTDefRegMap(@Self)^.clr := $00000010
  21801. else
  21802. pTDefRegMap(@Self)^.&set := $00000010;
  21803. end;
  21804. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  21805. begin
  21806. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21807. end;
  21808. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  21809. begin
  21810. pTDefRegMap(@Self)^.&set := $00000020;
  21811. end;
  21812. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  21813. begin
  21814. pTDefRegMap(@Self)^.clr := $00000020;
  21815. end;
  21816. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  21817. begin
  21818. if thebits = 0 then
  21819. pTDefRegMap(@Self)^.clr := $00000020
  21820. else
  21821. pTDefRegMap(@Self)^.&set := $00000020;
  21822. end;
  21823. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  21824. begin
  21825. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21826. end;
  21827. procedure TDMAC1_DCH1CON.setCHAED; inline;
  21828. begin
  21829. pTDefRegMap(@Self)^.&set := $00000040;
  21830. end;
  21831. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  21832. begin
  21833. pTDefRegMap(@Self)^.clr := $00000040;
  21834. end;
  21835. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  21836. begin
  21837. if thebits = 0 then
  21838. pTDefRegMap(@Self)^.clr := $00000040
  21839. else
  21840. pTDefRegMap(@Self)^.&set := $00000040;
  21841. end;
  21842. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  21843. begin
  21844. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21845. end;
  21846. procedure TDMAC1_DCH1CON.setCHEN; inline;
  21847. begin
  21848. pTDefRegMap(@Self)^.&set := $00000080;
  21849. end;
  21850. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  21851. begin
  21852. pTDefRegMap(@Self)^.clr := $00000080;
  21853. end;
  21854. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  21855. begin
  21856. if thebits = 0 then
  21857. pTDefRegMap(@Self)^.clr := $00000080
  21858. else
  21859. pTDefRegMap(@Self)^.&set := $00000080;
  21860. end;
  21861. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  21862. begin
  21863. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21864. end;
  21865. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  21866. begin
  21867. pTDefRegMap(@Self)^.&set := $00000100;
  21868. end;
  21869. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  21870. begin
  21871. pTDefRegMap(@Self)^.clr := $00000100;
  21872. end;
  21873. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  21874. begin
  21875. if thebits = 0 then
  21876. pTDefRegMap(@Self)^.clr := $00000100
  21877. else
  21878. pTDefRegMap(@Self)^.&set := $00000100;
  21879. end;
  21880. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  21881. begin
  21882. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21883. end;
  21884. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  21885. begin
  21886. pTDefRegMap(@Self)^.val := thebits;
  21887. end;
  21888. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  21889. begin
  21890. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21891. end;
  21892. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  21893. begin
  21894. pTDefRegMap(@Self)^.&set := $00000008;
  21895. end;
  21896. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  21897. begin
  21898. pTDefRegMap(@Self)^.clr := $00000008;
  21899. end;
  21900. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  21901. begin
  21902. if thebits = 0 then
  21903. pTDefRegMap(@Self)^.clr := $00000008
  21904. else
  21905. pTDefRegMap(@Self)^.&set := $00000008;
  21906. end;
  21907. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  21908. begin
  21909. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21910. end;
  21911. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  21912. begin
  21913. pTDefRegMap(@Self)^.&set := $00000010;
  21914. end;
  21915. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  21916. begin
  21917. pTDefRegMap(@Self)^.clr := $00000010;
  21918. end;
  21919. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  21920. begin
  21921. if thebits = 0 then
  21922. pTDefRegMap(@Self)^.clr := $00000010
  21923. else
  21924. pTDefRegMap(@Self)^.&set := $00000010;
  21925. end;
  21926. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  21927. begin
  21928. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21929. end;
  21930. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  21931. begin
  21932. pTDefRegMap(@Self)^.&set := $00000020;
  21933. end;
  21934. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  21935. begin
  21936. pTDefRegMap(@Self)^.clr := $00000020;
  21937. end;
  21938. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  21939. begin
  21940. if thebits = 0 then
  21941. pTDefRegMap(@Self)^.clr := $00000020
  21942. else
  21943. pTDefRegMap(@Self)^.&set := $00000020;
  21944. end;
  21945. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  21946. begin
  21947. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21948. end;
  21949. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  21950. begin
  21951. pTDefRegMap(@Self)^.&set := $00000040;
  21952. end;
  21953. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  21954. begin
  21955. pTDefRegMap(@Self)^.clr := $00000040;
  21956. end;
  21957. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  21958. begin
  21959. if thebits = 0 then
  21960. pTDefRegMap(@Self)^.clr := $00000040
  21961. else
  21962. pTDefRegMap(@Self)^.&set := $00000040;
  21963. end;
  21964. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  21965. begin
  21966. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21967. end;
  21968. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  21969. begin
  21970. pTDefRegMap(@Self)^.&set := $00000080;
  21971. end;
  21972. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  21973. begin
  21974. pTDefRegMap(@Self)^.clr := $00000080;
  21975. end;
  21976. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  21977. begin
  21978. if thebits = 0 then
  21979. pTDefRegMap(@Self)^.clr := $00000080
  21980. else
  21981. pTDefRegMap(@Self)^.&set := $00000080;
  21982. end;
  21983. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  21984. begin
  21985. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21986. end;
  21987. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  21988. begin
  21989. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  21990. end;
  21991. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  21992. begin
  21993. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  21994. end;
  21995. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  21996. begin
  21997. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21998. end;
  21999. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  22000. begin
  22001. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  22002. end;
  22003. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  22004. begin
  22005. pTDefRegMap(@Self)^.val := thebits;
  22006. end;
  22007. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  22008. begin
  22009. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22010. end;
  22011. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  22012. begin
  22013. pTDefRegMap(@Self)^.&set := $00000001;
  22014. end;
  22015. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  22016. begin
  22017. pTDefRegMap(@Self)^.clr := $00000001;
  22018. end;
  22019. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  22020. begin
  22021. if thebits = 0 then
  22022. pTDefRegMap(@Self)^.clr := $00000001
  22023. else
  22024. pTDefRegMap(@Self)^.&set := $00000001;
  22025. end;
  22026. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  22027. begin
  22028. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22029. end;
  22030. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  22031. begin
  22032. pTDefRegMap(@Self)^.&set := $00000002;
  22033. end;
  22034. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  22035. begin
  22036. pTDefRegMap(@Self)^.clr := $00000002;
  22037. end;
  22038. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  22039. begin
  22040. if thebits = 0 then
  22041. pTDefRegMap(@Self)^.clr := $00000002
  22042. else
  22043. pTDefRegMap(@Self)^.&set := $00000002;
  22044. end;
  22045. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  22046. begin
  22047. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22048. end;
  22049. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  22050. begin
  22051. pTDefRegMap(@Self)^.&set := $00000004;
  22052. end;
  22053. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  22054. begin
  22055. pTDefRegMap(@Self)^.clr := $00000004;
  22056. end;
  22057. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  22058. begin
  22059. if thebits = 0 then
  22060. pTDefRegMap(@Self)^.clr := $00000004
  22061. else
  22062. pTDefRegMap(@Self)^.&set := $00000004;
  22063. end;
  22064. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  22065. begin
  22066. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22067. end;
  22068. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  22069. begin
  22070. pTDefRegMap(@Self)^.&set := $00000008;
  22071. end;
  22072. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  22073. begin
  22074. pTDefRegMap(@Self)^.clr := $00000008;
  22075. end;
  22076. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  22077. begin
  22078. if thebits = 0 then
  22079. pTDefRegMap(@Self)^.clr := $00000008
  22080. else
  22081. pTDefRegMap(@Self)^.&set := $00000008;
  22082. end;
  22083. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  22084. begin
  22085. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22086. end;
  22087. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  22088. begin
  22089. pTDefRegMap(@Self)^.&set := $00000010;
  22090. end;
  22091. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  22092. begin
  22093. pTDefRegMap(@Self)^.clr := $00000010;
  22094. end;
  22095. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  22096. begin
  22097. if thebits = 0 then
  22098. pTDefRegMap(@Self)^.clr := $00000010
  22099. else
  22100. pTDefRegMap(@Self)^.&set := $00000010;
  22101. end;
  22102. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  22103. begin
  22104. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22105. end;
  22106. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  22107. begin
  22108. pTDefRegMap(@Self)^.&set := $00000020;
  22109. end;
  22110. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  22111. begin
  22112. pTDefRegMap(@Self)^.clr := $00000020;
  22113. end;
  22114. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  22115. begin
  22116. if thebits = 0 then
  22117. pTDefRegMap(@Self)^.clr := $00000020
  22118. else
  22119. pTDefRegMap(@Self)^.&set := $00000020;
  22120. end;
  22121. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  22122. begin
  22123. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22124. end;
  22125. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  22126. begin
  22127. pTDefRegMap(@Self)^.&set := $00000040;
  22128. end;
  22129. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  22130. begin
  22131. pTDefRegMap(@Self)^.clr := $00000040;
  22132. end;
  22133. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  22134. begin
  22135. if thebits = 0 then
  22136. pTDefRegMap(@Self)^.clr := $00000040
  22137. else
  22138. pTDefRegMap(@Self)^.&set := $00000040;
  22139. end;
  22140. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  22141. begin
  22142. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22143. end;
  22144. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  22145. begin
  22146. pTDefRegMap(@Self)^.&set := $00000080;
  22147. end;
  22148. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  22149. begin
  22150. pTDefRegMap(@Self)^.clr := $00000080;
  22151. end;
  22152. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  22153. begin
  22154. if thebits = 0 then
  22155. pTDefRegMap(@Self)^.clr := $00000080
  22156. else
  22157. pTDefRegMap(@Self)^.&set := $00000080;
  22158. end;
  22159. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  22160. begin
  22161. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22162. end;
  22163. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  22164. begin
  22165. pTDefRegMap(@Self)^.&set := $00010000;
  22166. end;
  22167. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  22168. begin
  22169. pTDefRegMap(@Self)^.clr := $00010000;
  22170. end;
  22171. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  22172. begin
  22173. if thebits = 0 then
  22174. pTDefRegMap(@Self)^.clr := $00010000
  22175. else
  22176. pTDefRegMap(@Self)^.&set := $00010000;
  22177. end;
  22178. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  22179. begin
  22180. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22181. end;
  22182. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  22183. begin
  22184. pTDefRegMap(@Self)^.&set := $00020000;
  22185. end;
  22186. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  22187. begin
  22188. pTDefRegMap(@Self)^.clr := $00020000;
  22189. end;
  22190. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  22191. begin
  22192. if thebits = 0 then
  22193. pTDefRegMap(@Self)^.clr := $00020000
  22194. else
  22195. pTDefRegMap(@Self)^.&set := $00020000;
  22196. end;
  22197. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  22198. begin
  22199. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  22200. end;
  22201. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  22202. begin
  22203. pTDefRegMap(@Self)^.&set := $00040000;
  22204. end;
  22205. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  22206. begin
  22207. pTDefRegMap(@Self)^.clr := $00040000;
  22208. end;
  22209. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  22210. begin
  22211. if thebits = 0 then
  22212. pTDefRegMap(@Self)^.clr := $00040000
  22213. else
  22214. pTDefRegMap(@Self)^.&set := $00040000;
  22215. end;
  22216. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  22217. begin
  22218. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  22219. end;
  22220. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  22221. begin
  22222. pTDefRegMap(@Self)^.&set := $00080000;
  22223. end;
  22224. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  22225. begin
  22226. pTDefRegMap(@Self)^.clr := $00080000;
  22227. end;
  22228. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  22229. begin
  22230. if thebits = 0 then
  22231. pTDefRegMap(@Self)^.clr := $00080000
  22232. else
  22233. pTDefRegMap(@Self)^.&set := $00080000;
  22234. end;
  22235. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  22236. begin
  22237. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  22238. end;
  22239. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  22240. begin
  22241. pTDefRegMap(@Self)^.&set := $00100000;
  22242. end;
  22243. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  22244. begin
  22245. pTDefRegMap(@Self)^.clr := $00100000;
  22246. end;
  22247. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  22248. begin
  22249. if thebits = 0 then
  22250. pTDefRegMap(@Self)^.clr := $00100000
  22251. else
  22252. pTDefRegMap(@Self)^.&set := $00100000;
  22253. end;
  22254. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  22255. begin
  22256. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  22257. end;
  22258. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  22259. begin
  22260. pTDefRegMap(@Self)^.&set := $00200000;
  22261. end;
  22262. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  22263. begin
  22264. pTDefRegMap(@Self)^.clr := $00200000;
  22265. end;
  22266. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  22267. begin
  22268. if thebits = 0 then
  22269. pTDefRegMap(@Self)^.clr := $00200000
  22270. else
  22271. pTDefRegMap(@Self)^.&set := $00200000;
  22272. end;
  22273. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  22274. begin
  22275. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  22276. end;
  22277. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  22278. begin
  22279. pTDefRegMap(@Self)^.&set := $00400000;
  22280. end;
  22281. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  22282. begin
  22283. pTDefRegMap(@Self)^.clr := $00400000;
  22284. end;
  22285. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  22286. begin
  22287. if thebits = 0 then
  22288. pTDefRegMap(@Self)^.clr := $00400000
  22289. else
  22290. pTDefRegMap(@Self)^.&set := $00400000;
  22291. end;
  22292. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  22293. begin
  22294. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  22295. end;
  22296. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  22297. begin
  22298. pTDefRegMap(@Self)^.&set := $00800000;
  22299. end;
  22300. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  22301. begin
  22302. pTDefRegMap(@Self)^.clr := $00800000;
  22303. end;
  22304. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  22305. begin
  22306. if thebits = 0 then
  22307. pTDefRegMap(@Self)^.clr := $00800000
  22308. else
  22309. pTDefRegMap(@Self)^.&set := $00800000;
  22310. end;
  22311. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  22312. begin
  22313. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22314. end;
  22315. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  22316. begin
  22317. pTDefRegMap(@Self)^.val := thebits;
  22318. end;
  22319. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  22320. begin
  22321. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22322. end;
  22323. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  22324. begin
  22325. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  22326. end;
  22327. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  22328. begin
  22329. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  22330. end;
  22331. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  22332. begin
  22333. pTDefRegMap(@Self)^.&set := $00000004;
  22334. end;
  22335. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  22336. begin
  22337. pTDefRegMap(@Self)^.clr := $00000004;
  22338. end;
  22339. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  22340. begin
  22341. if thebits = 0 then
  22342. pTDefRegMap(@Self)^.clr := $00000004
  22343. else
  22344. pTDefRegMap(@Self)^.&set := $00000004;
  22345. end;
  22346. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  22347. begin
  22348. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22349. end;
  22350. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  22351. begin
  22352. pTDefRegMap(@Self)^.&set := $00000010;
  22353. end;
  22354. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  22355. begin
  22356. pTDefRegMap(@Self)^.clr := $00000010;
  22357. end;
  22358. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  22359. begin
  22360. if thebits = 0 then
  22361. pTDefRegMap(@Self)^.clr := $00000010
  22362. else
  22363. pTDefRegMap(@Self)^.&set := $00000010;
  22364. end;
  22365. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  22366. begin
  22367. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22368. end;
  22369. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  22370. begin
  22371. pTDefRegMap(@Self)^.&set := $00000020;
  22372. end;
  22373. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  22374. begin
  22375. pTDefRegMap(@Self)^.clr := $00000020;
  22376. end;
  22377. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  22378. begin
  22379. if thebits = 0 then
  22380. pTDefRegMap(@Self)^.clr := $00000020
  22381. else
  22382. pTDefRegMap(@Self)^.&set := $00000020;
  22383. end;
  22384. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  22385. begin
  22386. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22387. end;
  22388. procedure TDMAC2_DCH2CON.setCHAED; inline;
  22389. begin
  22390. pTDefRegMap(@Self)^.&set := $00000040;
  22391. end;
  22392. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  22393. begin
  22394. pTDefRegMap(@Self)^.clr := $00000040;
  22395. end;
  22396. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  22397. begin
  22398. if thebits = 0 then
  22399. pTDefRegMap(@Self)^.clr := $00000040
  22400. else
  22401. pTDefRegMap(@Self)^.&set := $00000040;
  22402. end;
  22403. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  22404. begin
  22405. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22406. end;
  22407. procedure TDMAC2_DCH2CON.setCHEN; inline;
  22408. begin
  22409. pTDefRegMap(@Self)^.&set := $00000080;
  22410. end;
  22411. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  22412. begin
  22413. pTDefRegMap(@Self)^.clr := $00000080;
  22414. end;
  22415. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  22416. begin
  22417. if thebits = 0 then
  22418. pTDefRegMap(@Self)^.clr := $00000080
  22419. else
  22420. pTDefRegMap(@Self)^.&set := $00000080;
  22421. end;
  22422. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  22423. begin
  22424. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22425. end;
  22426. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  22427. begin
  22428. pTDefRegMap(@Self)^.&set := $00000100;
  22429. end;
  22430. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  22431. begin
  22432. pTDefRegMap(@Self)^.clr := $00000100;
  22433. end;
  22434. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  22435. begin
  22436. if thebits = 0 then
  22437. pTDefRegMap(@Self)^.clr := $00000100
  22438. else
  22439. pTDefRegMap(@Self)^.&set := $00000100;
  22440. end;
  22441. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  22442. begin
  22443. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22444. end;
  22445. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  22446. begin
  22447. pTDefRegMap(@Self)^.val := thebits;
  22448. end;
  22449. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  22450. begin
  22451. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22452. end;
  22453. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  22454. begin
  22455. pTDefRegMap(@Self)^.&set := $00000008;
  22456. end;
  22457. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  22458. begin
  22459. pTDefRegMap(@Self)^.clr := $00000008;
  22460. end;
  22461. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  22462. begin
  22463. if thebits = 0 then
  22464. pTDefRegMap(@Self)^.clr := $00000008
  22465. else
  22466. pTDefRegMap(@Self)^.&set := $00000008;
  22467. end;
  22468. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  22469. begin
  22470. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22471. end;
  22472. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  22473. begin
  22474. pTDefRegMap(@Self)^.&set := $00000010;
  22475. end;
  22476. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  22477. begin
  22478. pTDefRegMap(@Self)^.clr := $00000010;
  22479. end;
  22480. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  22481. begin
  22482. if thebits = 0 then
  22483. pTDefRegMap(@Self)^.clr := $00000010
  22484. else
  22485. pTDefRegMap(@Self)^.&set := $00000010;
  22486. end;
  22487. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  22488. begin
  22489. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22490. end;
  22491. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  22492. begin
  22493. pTDefRegMap(@Self)^.&set := $00000020;
  22494. end;
  22495. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  22496. begin
  22497. pTDefRegMap(@Self)^.clr := $00000020;
  22498. end;
  22499. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  22500. begin
  22501. if thebits = 0 then
  22502. pTDefRegMap(@Self)^.clr := $00000020
  22503. else
  22504. pTDefRegMap(@Self)^.&set := $00000020;
  22505. end;
  22506. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  22507. begin
  22508. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22509. end;
  22510. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  22511. begin
  22512. pTDefRegMap(@Self)^.&set := $00000040;
  22513. end;
  22514. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  22515. begin
  22516. pTDefRegMap(@Self)^.clr := $00000040;
  22517. end;
  22518. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  22519. begin
  22520. if thebits = 0 then
  22521. pTDefRegMap(@Self)^.clr := $00000040
  22522. else
  22523. pTDefRegMap(@Self)^.&set := $00000040;
  22524. end;
  22525. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  22526. begin
  22527. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22528. end;
  22529. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  22530. begin
  22531. pTDefRegMap(@Self)^.&set := $00000080;
  22532. end;
  22533. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  22534. begin
  22535. pTDefRegMap(@Self)^.clr := $00000080;
  22536. end;
  22537. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  22538. begin
  22539. if thebits = 0 then
  22540. pTDefRegMap(@Self)^.clr := $00000080
  22541. else
  22542. pTDefRegMap(@Self)^.&set := $00000080;
  22543. end;
  22544. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  22545. begin
  22546. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22547. end;
  22548. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  22549. begin
  22550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  22551. end;
  22552. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  22553. begin
  22554. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  22555. end;
  22556. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  22557. begin
  22558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  22559. end;
  22560. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  22561. begin
  22562. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  22563. end;
  22564. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  22565. begin
  22566. pTDefRegMap(@Self)^.val := thebits;
  22567. end;
  22568. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  22569. begin
  22570. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22571. end;
  22572. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  22573. begin
  22574. pTDefRegMap(@Self)^.&set := $00000001;
  22575. end;
  22576. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  22577. begin
  22578. pTDefRegMap(@Self)^.clr := $00000001;
  22579. end;
  22580. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  22581. begin
  22582. if thebits = 0 then
  22583. pTDefRegMap(@Self)^.clr := $00000001
  22584. else
  22585. pTDefRegMap(@Self)^.&set := $00000001;
  22586. end;
  22587. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  22588. begin
  22589. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22590. end;
  22591. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  22592. begin
  22593. pTDefRegMap(@Self)^.&set := $00000002;
  22594. end;
  22595. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  22596. begin
  22597. pTDefRegMap(@Self)^.clr := $00000002;
  22598. end;
  22599. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  22600. begin
  22601. if thebits = 0 then
  22602. pTDefRegMap(@Self)^.clr := $00000002
  22603. else
  22604. pTDefRegMap(@Self)^.&set := $00000002;
  22605. end;
  22606. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  22607. begin
  22608. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22609. end;
  22610. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  22611. begin
  22612. pTDefRegMap(@Self)^.&set := $00000004;
  22613. end;
  22614. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  22615. begin
  22616. pTDefRegMap(@Self)^.clr := $00000004;
  22617. end;
  22618. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  22619. begin
  22620. if thebits = 0 then
  22621. pTDefRegMap(@Self)^.clr := $00000004
  22622. else
  22623. pTDefRegMap(@Self)^.&set := $00000004;
  22624. end;
  22625. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  22626. begin
  22627. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22628. end;
  22629. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  22630. begin
  22631. pTDefRegMap(@Self)^.&set := $00000008;
  22632. end;
  22633. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  22634. begin
  22635. pTDefRegMap(@Self)^.clr := $00000008;
  22636. end;
  22637. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  22638. begin
  22639. if thebits = 0 then
  22640. pTDefRegMap(@Self)^.clr := $00000008
  22641. else
  22642. pTDefRegMap(@Self)^.&set := $00000008;
  22643. end;
  22644. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  22645. begin
  22646. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22647. end;
  22648. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  22649. begin
  22650. pTDefRegMap(@Self)^.&set := $00000010;
  22651. end;
  22652. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  22653. begin
  22654. pTDefRegMap(@Self)^.clr := $00000010;
  22655. end;
  22656. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  22657. begin
  22658. if thebits = 0 then
  22659. pTDefRegMap(@Self)^.clr := $00000010
  22660. else
  22661. pTDefRegMap(@Self)^.&set := $00000010;
  22662. end;
  22663. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  22664. begin
  22665. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22666. end;
  22667. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  22668. begin
  22669. pTDefRegMap(@Self)^.&set := $00000020;
  22670. end;
  22671. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  22672. begin
  22673. pTDefRegMap(@Self)^.clr := $00000020;
  22674. end;
  22675. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  22676. begin
  22677. if thebits = 0 then
  22678. pTDefRegMap(@Self)^.clr := $00000020
  22679. else
  22680. pTDefRegMap(@Self)^.&set := $00000020;
  22681. end;
  22682. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  22683. begin
  22684. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22685. end;
  22686. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  22687. begin
  22688. pTDefRegMap(@Self)^.&set := $00000040;
  22689. end;
  22690. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  22691. begin
  22692. pTDefRegMap(@Self)^.clr := $00000040;
  22693. end;
  22694. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  22695. begin
  22696. if thebits = 0 then
  22697. pTDefRegMap(@Self)^.clr := $00000040
  22698. else
  22699. pTDefRegMap(@Self)^.&set := $00000040;
  22700. end;
  22701. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  22702. begin
  22703. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22704. end;
  22705. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  22706. begin
  22707. pTDefRegMap(@Self)^.&set := $00000080;
  22708. end;
  22709. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  22710. begin
  22711. pTDefRegMap(@Self)^.clr := $00000080;
  22712. end;
  22713. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  22714. begin
  22715. if thebits = 0 then
  22716. pTDefRegMap(@Self)^.clr := $00000080
  22717. else
  22718. pTDefRegMap(@Self)^.&set := $00000080;
  22719. end;
  22720. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  22721. begin
  22722. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22723. end;
  22724. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  22725. begin
  22726. pTDefRegMap(@Self)^.&set := $00010000;
  22727. end;
  22728. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  22729. begin
  22730. pTDefRegMap(@Self)^.clr := $00010000;
  22731. end;
  22732. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  22733. begin
  22734. if thebits = 0 then
  22735. pTDefRegMap(@Self)^.clr := $00010000
  22736. else
  22737. pTDefRegMap(@Self)^.&set := $00010000;
  22738. end;
  22739. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  22740. begin
  22741. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22742. end;
  22743. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  22744. begin
  22745. pTDefRegMap(@Self)^.&set := $00020000;
  22746. end;
  22747. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  22748. begin
  22749. pTDefRegMap(@Self)^.clr := $00020000;
  22750. end;
  22751. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  22752. begin
  22753. if thebits = 0 then
  22754. pTDefRegMap(@Self)^.clr := $00020000
  22755. else
  22756. pTDefRegMap(@Self)^.&set := $00020000;
  22757. end;
  22758. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  22759. begin
  22760. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  22761. end;
  22762. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  22763. begin
  22764. pTDefRegMap(@Self)^.&set := $00040000;
  22765. end;
  22766. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  22767. begin
  22768. pTDefRegMap(@Self)^.clr := $00040000;
  22769. end;
  22770. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  22771. begin
  22772. if thebits = 0 then
  22773. pTDefRegMap(@Self)^.clr := $00040000
  22774. else
  22775. pTDefRegMap(@Self)^.&set := $00040000;
  22776. end;
  22777. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  22778. begin
  22779. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  22780. end;
  22781. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  22782. begin
  22783. pTDefRegMap(@Self)^.&set := $00080000;
  22784. end;
  22785. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  22786. begin
  22787. pTDefRegMap(@Self)^.clr := $00080000;
  22788. end;
  22789. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  22790. begin
  22791. if thebits = 0 then
  22792. pTDefRegMap(@Self)^.clr := $00080000
  22793. else
  22794. pTDefRegMap(@Self)^.&set := $00080000;
  22795. end;
  22796. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  22797. begin
  22798. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  22799. end;
  22800. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  22801. begin
  22802. pTDefRegMap(@Self)^.&set := $00100000;
  22803. end;
  22804. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  22805. begin
  22806. pTDefRegMap(@Self)^.clr := $00100000;
  22807. end;
  22808. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  22809. begin
  22810. if thebits = 0 then
  22811. pTDefRegMap(@Self)^.clr := $00100000
  22812. else
  22813. pTDefRegMap(@Self)^.&set := $00100000;
  22814. end;
  22815. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  22816. begin
  22817. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  22818. end;
  22819. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  22820. begin
  22821. pTDefRegMap(@Self)^.&set := $00200000;
  22822. end;
  22823. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  22824. begin
  22825. pTDefRegMap(@Self)^.clr := $00200000;
  22826. end;
  22827. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  22828. begin
  22829. if thebits = 0 then
  22830. pTDefRegMap(@Self)^.clr := $00200000
  22831. else
  22832. pTDefRegMap(@Self)^.&set := $00200000;
  22833. end;
  22834. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  22835. begin
  22836. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  22837. end;
  22838. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  22839. begin
  22840. pTDefRegMap(@Self)^.&set := $00400000;
  22841. end;
  22842. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  22843. begin
  22844. pTDefRegMap(@Self)^.clr := $00400000;
  22845. end;
  22846. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  22847. begin
  22848. if thebits = 0 then
  22849. pTDefRegMap(@Self)^.clr := $00400000
  22850. else
  22851. pTDefRegMap(@Self)^.&set := $00400000;
  22852. end;
  22853. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  22854. begin
  22855. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  22856. end;
  22857. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  22858. begin
  22859. pTDefRegMap(@Self)^.&set := $00800000;
  22860. end;
  22861. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  22862. begin
  22863. pTDefRegMap(@Self)^.clr := $00800000;
  22864. end;
  22865. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  22866. begin
  22867. if thebits = 0 then
  22868. pTDefRegMap(@Self)^.clr := $00800000
  22869. else
  22870. pTDefRegMap(@Self)^.&set := $00800000;
  22871. end;
  22872. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  22873. begin
  22874. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22875. end;
  22876. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  22877. begin
  22878. pTDefRegMap(@Self)^.val := thebits;
  22879. end;
  22880. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  22881. begin
  22882. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22883. end;
  22884. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  22885. begin
  22886. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  22887. end;
  22888. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  22889. begin
  22890. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  22891. end;
  22892. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  22893. begin
  22894. pTDefRegMap(@Self)^.&set := $00000004;
  22895. end;
  22896. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  22897. begin
  22898. pTDefRegMap(@Self)^.clr := $00000004;
  22899. end;
  22900. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  22901. begin
  22902. if thebits = 0 then
  22903. pTDefRegMap(@Self)^.clr := $00000004
  22904. else
  22905. pTDefRegMap(@Self)^.&set := $00000004;
  22906. end;
  22907. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  22908. begin
  22909. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22910. end;
  22911. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  22912. begin
  22913. pTDefRegMap(@Self)^.&set := $00000010;
  22914. end;
  22915. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  22916. begin
  22917. pTDefRegMap(@Self)^.clr := $00000010;
  22918. end;
  22919. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  22920. begin
  22921. if thebits = 0 then
  22922. pTDefRegMap(@Self)^.clr := $00000010
  22923. else
  22924. pTDefRegMap(@Self)^.&set := $00000010;
  22925. end;
  22926. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  22927. begin
  22928. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22929. end;
  22930. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  22931. begin
  22932. pTDefRegMap(@Self)^.&set := $00000020;
  22933. end;
  22934. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  22935. begin
  22936. pTDefRegMap(@Self)^.clr := $00000020;
  22937. end;
  22938. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  22939. begin
  22940. if thebits = 0 then
  22941. pTDefRegMap(@Self)^.clr := $00000020
  22942. else
  22943. pTDefRegMap(@Self)^.&set := $00000020;
  22944. end;
  22945. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  22946. begin
  22947. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22948. end;
  22949. procedure TDMAC3_DCH3CON.setCHAED; inline;
  22950. begin
  22951. pTDefRegMap(@Self)^.&set := $00000040;
  22952. end;
  22953. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  22954. begin
  22955. pTDefRegMap(@Self)^.clr := $00000040;
  22956. end;
  22957. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  22958. begin
  22959. if thebits = 0 then
  22960. pTDefRegMap(@Self)^.clr := $00000040
  22961. else
  22962. pTDefRegMap(@Self)^.&set := $00000040;
  22963. end;
  22964. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  22965. begin
  22966. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22967. end;
  22968. procedure TDMAC3_DCH3CON.setCHEN; inline;
  22969. begin
  22970. pTDefRegMap(@Self)^.&set := $00000080;
  22971. end;
  22972. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  22973. begin
  22974. pTDefRegMap(@Self)^.clr := $00000080;
  22975. end;
  22976. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  22977. begin
  22978. if thebits = 0 then
  22979. pTDefRegMap(@Self)^.clr := $00000080
  22980. else
  22981. pTDefRegMap(@Self)^.&set := $00000080;
  22982. end;
  22983. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  22984. begin
  22985. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22986. end;
  22987. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  22988. begin
  22989. pTDefRegMap(@Self)^.&set := $00000100;
  22990. end;
  22991. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  22992. begin
  22993. pTDefRegMap(@Self)^.clr := $00000100;
  22994. end;
  22995. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  22996. begin
  22997. if thebits = 0 then
  22998. pTDefRegMap(@Self)^.clr := $00000100
  22999. else
  23000. pTDefRegMap(@Self)^.&set := $00000100;
  23001. end;
  23002. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  23003. begin
  23004. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23005. end;
  23006. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  23007. begin
  23008. pTDefRegMap(@Self)^.val := thebits;
  23009. end;
  23010. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  23011. begin
  23012. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23013. end;
  23014. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  23015. begin
  23016. pTDefRegMap(@Self)^.&set := $00000008;
  23017. end;
  23018. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  23019. begin
  23020. pTDefRegMap(@Self)^.clr := $00000008;
  23021. end;
  23022. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  23023. begin
  23024. if thebits = 0 then
  23025. pTDefRegMap(@Self)^.clr := $00000008
  23026. else
  23027. pTDefRegMap(@Self)^.&set := $00000008;
  23028. end;
  23029. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  23030. begin
  23031. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23032. end;
  23033. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  23034. begin
  23035. pTDefRegMap(@Self)^.&set := $00000010;
  23036. end;
  23037. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  23038. begin
  23039. pTDefRegMap(@Self)^.clr := $00000010;
  23040. end;
  23041. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  23042. begin
  23043. if thebits = 0 then
  23044. pTDefRegMap(@Self)^.clr := $00000010
  23045. else
  23046. pTDefRegMap(@Self)^.&set := $00000010;
  23047. end;
  23048. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  23049. begin
  23050. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23051. end;
  23052. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  23053. begin
  23054. pTDefRegMap(@Self)^.&set := $00000020;
  23055. end;
  23056. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  23057. begin
  23058. pTDefRegMap(@Self)^.clr := $00000020;
  23059. end;
  23060. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  23061. begin
  23062. if thebits = 0 then
  23063. pTDefRegMap(@Self)^.clr := $00000020
  23064. else
  23065. pTDefRegMap(@Self)^.&set := $00000020;
  23066. end;
  23067. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  23068. begin
  23069. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23070. end;
  23071. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  23072. begin
  23073. pTDefRegMap(@Self)^.&set := $00000040;
  23074. end;
  23075. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  23076. begin
  23077. pTDefRegMap(@Self)^.clr := $00000040;
  23078. end;
  23079. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  23080. begin
  23081. if thebits = 0 then
  23082. pTDefRegMap(@Self)^.clr := $00000040
  23083. else
  23084. pTDefRegMap(@Self)^.&set := $00000040;
  23085. end;
  23086. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  23087. begin
  23088. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23089. end;
  23090. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  23091. begin
  23092. pTDefRegMap(@Self)^.&set := $00000080;
  23093. end;
  23094. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  23095. begin
  23096. pTDefRegMap(@Self)^.clr := $00000080;
  23097. end;
  23098. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  23099. begin
  23100. if thebits = 0 then
  23101. pTDefRegMap(@Self)^.clr := $00000080
  23102. else
  23103. pTDefRegMap(@Self)^.&set := $00000080;
  23104. end;
  23105. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  23106. begin
  23107. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23108. end;
  23109. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  23110. begin
  23111. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  23112. end;
  23113. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  23114. begin
  23115. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  23116. end;
  23117. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  23118. begin
  23119. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  23120. end;
  23121. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  23122. begin
  23123. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  23124. end;
  23125. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  23126. begin
  23127. pTDefRegMap(@Self)^.val := thebits;
  23128. end;
  23129. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  23130. begin
  23131. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23132. end;
  23133. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  23134. begin
  23135. pTDefRegMap(@Self)^.&set := $00000001;
  23136. end;
  23137. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  23138. begin
  23139. pTDefRegMap(@Self)^.clr := $00000001;
  23140. end;
  23141. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  23142. begin
  23143. if thebits = 0 then
  23144. pTDefRegMap(@Self)^.clr := $00000001
  23145. else
  23146. pTDefRegMap(@Self)^.&set := $00000001;
  23147. end;
  23148. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  23149. begin
  23150. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23151. end;
  23152. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  23153. begin
  23154. pTDefRegMap(@Self)^.&set := $00000002;
  23155. end;
  23156. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  23157. begin
  23158. pTDefRegMap(@Self)^.clr := $00000002;
  23159. end;
  23160. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  23161. begin
  23162. if thebits = 0 then
  23163. pTDefRegMap(@Self)^.clr := $00000002
  23164. else
  23165. pTDefRegMap(@Self)^.&set := $00000002;
  23166. end;
  23167. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  23168. begin
  23169. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23170. end;
  23171. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  23172. begin
  23173. pTDefRegMap(@Self)^.&set := $00000004;
  23174. end;
  23175. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  23176. begin
  23177. pTDefRegMap(@Self)^.clr := $00000004;
  23178. end;
  23179. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  23180. begin
  23181. if thebits = 0 then
  23182. pTDefRegMap(@Self)^.clr := $00000004
  23183. else
  23184. pTDefRegMap(@Self)^.&set := $00000004;
  23185. end;
  23186. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  23187. begin
  23188. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23189. end;
  23190. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  23191. begin
  23192. pTDefRegMap(@Self)^.&set := $00000008;
  23193. end;
  23194. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  23195. begin
  23196. pTDefRegMap(@Self)^.clr := $00000008;
  23197. end;
  23198. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  23199. begin
  23200. if thebits = 0 then
  23201. pTDefRegMap(@Self)^.clr := $00000008
  23202. else
  23203. pTDefRegMap(@Self)^.&set := $00000008;
  23204. end;
  23205. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  23206. begin
  23207. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23208. end;
  23209. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  23210. begin
  23211. pTDefRegMap(@Self)^.&set := $00000010;
  23212. end;
  23213. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  23214. begin
  23215. pTDefRegMap(@Self)^.clr := $00000010;
  23216. end;
  23217. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  23218. begin
  23219. if thebits = 0 then
  23220. pTDefRegMap(@Self)^.clr := $00000010
  23221. else
  23222. pTDefRegMap(@Self)^.&set := $00000010;
  23223. end;
  23224. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  23225. begin
  23226. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23227. end;
  23228. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  23229. begin
  23230. pTDefRegMap(@Self)^.&set := $00000020;
  23231. end;
  23232. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  23233. begin
  23234. pTDefRegMap(@Self)^.clr := $00000020;
  23235. end;
  23236. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  23237. begin
  23238. if thebits = 0 then
  23239. pTDefRegMap(@Self)^.clr := $00000020
  23240. else
  23241. pTDefRegMap(@Self)^.&set := $00000020;
  23242. end;
  23243. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  23244. begin
  23245. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23246. end;
  23247. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  23248. begin
  23249. pTDefRegMap(@Self)^.&set := $00000040;
  23250. end;
  23251. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  23252. begin
  23253. pTDefRegMap(@Self)^.clr := $00000040;
  23254. end;
  23255. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  23256. begin
  23257. if thebits = 0 then
  23258. pTDefRegMap(@Self)^.clr := $00000040
  23259. else
  23260. pTDefRegMap(@Self)^.&set := $00000040;
  23261. end;
  23262. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  23263. begin
  23264. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23265. end;
  23266. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  23267. begin
  23268. pTDefRegMap(@Self)^.&set := $00000080;
  23269. end;
  23270. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  23271. begin
  23272. pTDefRegMap(@Self)^.clr := $00000080;
  23273. end;
  23274. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  23275. begin
  23276. if thebits = 0 then
  23277. pTDefRegMap(@Self)^.clr := $00000080
  23278. else
  23279. pTDefRegMap(@Self)^.&set := $00000080;
  23280. end;
  23281. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  23282. begin
  23283. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23284. end;
  23285. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  23286. begin
  23287. pTDefRegMap(@Self)^.&set := $00010000;
  23288. end;
  23289. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  23290. begin
  23291. pTDefRegMap(@Self)^.clr := $00010000;
  23292. end;
  23293. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  23294. begin
  23295. if thebits = 0 then
  23296. pTDefRegMap(@Self)^.clr := $00010000
  23297. else
  23298. pTDefRegMap(@Self)^.&set := $00010000;
  23299. end;
  23300. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  23301. begin
  23302. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23303. end;
  23304. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  23305. begin
  23306. pTDefRegMap(@Self)^.&set := $00020000;
  23307. end;
  23308. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  23309. begin
  23310. pTDefRegMap(@Self)^.clr := $00020000;
  23311. end;
  23312. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  23313. begin
  23314. if thebits = 0 then
  23315. pTDefRegMap(@Self)^.clr := $00020000
  23316. else
  23317. pTDefRegMap(@Self)^.&set := $00020000;
  23318. end;
  23319. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  23320. begin
  23321. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23322. end;
  23323. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  23324. begin
  23325. pTDefRegMap(@Self)^.&set := $00040000;
  23326. end;
  23327. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  23328. begin
  23329. pTDefRegMap(@Self)^.clr := $00040000;
  23330. end;
  23331. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  23332. begin
  23333. if thebits = 0 then
  23334. pTDefRegMap(@Self)^.clr := $00040000
  23335. else
  23336. pTDefRegMap(@Self)^.&set := $00040000;
  23337. end;
  23338. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  23339. begin
  23340. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  23341. end;
  23342. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  23343. begin
  23344. pTDefRegMap(@Self)^.&set := $00080000;
  23345. end;
  23346. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  23347. begin
  23348. pTDefRegMap(@Self)^.clr := $00080000;
  23349. end;
  23350. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  23351. begin
  23352. if thebits = 0 then
  23353. pTDefRegMap(@Self)^.clr := $00080000
  23354. else
  23355. pTDefRegMap(@Self)^.&set := $00080000;
  23356. end;
  23357. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  23358. begin
  23359. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  23360. end;
  23361. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  23362. begin
  23363. pTDefRegMap(@Self)^.&set := $00100000;
  23364. end;
  23365. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  23366. begin
  23367. pTDefRegMap(@Self)^.clr := $00100000;
  23368. end;
  23369. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  23370. begin
  23371. if thebits = 0 then
  23372. pTDefRegMap(@Self)^.clr := $00100000
  23373. else
  23374. pTDefRegMap(@Self)^.&set := $00100000;
  23375. end;
  23376. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  23377. begin
  23378. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  23379. end;
  23380. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  23381. begin
  23382. pTDefRegMap(@Self)^.&set := $00200000;
  23383. end;
  23384. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  23385. begin
  23386. pTDefRegMap(@Self)^.clr := $00200000;
  23387. end;
  23388. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  23389. begin
  23390. if thebits = 0 then
  23391. pTDefRegMap(@Self)^.clr := $00200000
  23392. else
  23393. pTDefRegMap(@Self)^.&set := $00200000;
  23394. end;
  23395. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  23396. begin
  23397. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  23398. end;
  23399. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  23400. begin
  23401. pTDefRegMap(@Self)^.&set := $00400000;
  23402. end;
  23403. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  23404. begin
  23405. pTDefRegMap(@Self)^.clr := $00400000;
  23406. end;
  23407. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  23408. begin
  23409. if thebits = 0 then
  23410. pTDefRegMap(@Self)^.clr := $00400000
  23411. else
  23412. pTDefRegMap(@Self)^.&set := $00400000;
  23413. end;
  23414. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  23415. begin
  23416. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  23417. end;
  23418. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  23419. begin
  23420. pTDefRegMap(@Self)^.&set := $00800000;
  23421. end;
  23422. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  23423. begin
  23424. pTDefRegMap(@Self)^.clr := $00800000;
  23425. end;
  23426. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  23427. begin
  23428. if thebits = 0 then
  23429. pTDefRegMap(@Self)^.clr := $00800000
  23430. else
  23431. pTDefRegMap(@Self)^.&set := $00800000;
  23432. end;
  23433. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  23434. begin
  23435. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  23436. end;
  23437. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  23438. begin
  23439. pTDefRegMap(@Self)^.val := thebits;
  23440. end;
  23441. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  23442. begin
  23443. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23444. end;
  23445. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  23446. begin
  23447. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  23448. end;
  23449. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  23450. begin
  23451. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  23452. end;
  23453. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  23454. begin
  23455. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  23456. end;
  23457. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  23458. begin
  23459. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  23460. end;
  23461. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  23462. begin
  23463. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  23464. end;
  23465. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  23466. begin
  23467. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  23468. end;
  23469. procedure TPCACHE_CHECON.setCHECOH; inline;
  23470. begin
  23471. pTDefRegMap(@Self)^.&set := $00010000;
  23472. end;
  23473. procedure TPCACHE_CHECON.clearCHECOH; inline;
  23474. begin
  23475. pTDefRegMap(@Self)^.clr := $00010000;
  23476. end;
  23477. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  23478. begin
  23479. if thebits = 0 then
  23480. pTDefRegMap(@Self)^.clr := $00010000
  23481. else
  23482. pTDefRegMap(@Self)^.&set := $00010000;
  23483. end;
  23484. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  23485. begin
  23486. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23487. end;
  23488. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  23489. begin
  23490. pTDefRegMap(@Self)^.val := thebits;
  23491. end;
  23492. function TPCACHE_CHECON.getw : TBits_32; inline;
  23493. begin
  23494. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23495. end;
  23496. procedure TPCACHE_CHETAG.setLTYPE; inline;
  23497. begin
  23498. pTDefRegMap(@Self)^.&set := $00000002;
  23499. end;
  23500. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  23501. begin
  23502. pTDefRegMap(@Self)^.clr := $00000002;
  23503. end;
  23504. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  23505. begin
  23506. if thebits = 0 then
  23507. pTDefRegMap(@Self)^.clr := $00000002
  23508. else
  23509. pTDefRegMap(@Self)^.&set := $00000002;
  23510. end;
  23511. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  23512. begin
  23513. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23514. end;
  23515. procedure TPCACHE_CHETAG.setLLOCK; inline;
  23516. begin
  23517. pTDefRegMap(@Self)^.&set := $00000004;
  23518. end;
  23519. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  23520. begin
  23521. pTDefRegMap(@Self)^.clr := $00000004;
  23522. end;
  23523. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  23524. begin
  23525. if thebits = 0 then
  23526. pTDefRegMap(@Self)^.clr := $00000004
  23527. else
  23528. pTDefRegMap(@Self)^.&set := $00000004;
  23529. end;
  23530. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  23531. begin
  23532. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23533. end;
  23534. procedure TPCACHE_CHETAG.setLVALID; inline;
  23535. begin
  23536. pTDefRegMap(@Self)^.&set := $00000008;
  23537. end;
  23538. procedure TPCACHE_CHETAG.clearLVALID; inline;
  23539. begin
  23540. pTDefRegMap(@Self)^.clr := $00000008;
  23541. end;
  23542. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  23543. begin
  23544. if thebits = 0 then
  23545. pTDefRegMap(@Self)^.clr := $00000008
  23546. else
  23547. pTDefRegMap(@Self)^.&set := $00000008;
  23548. end;
  23549. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  23550. begin
  23551. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23552. end;
  23553. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  23554. begin
  23555. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  23556. end;
  23557. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  23558. begin
  23559. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  23560. end;
  23561. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  23562. begin
  23563. pTDefRegMap(@Self)^.&set := $80000000;
  23564. end;
  23565. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  23566. begin
  23567. pTDefRegMap(@Self)^.clr := $80000000;
  23568. end;
  23569. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  23570. begin
  23571. if thebits = 0 then
  23572. pTDefRegMap(@Self)^.clr := $80000000
  23573. else
  23574. pTDefRegMap(@Self)^.&set := $80000000;
  23575. end;
  23576. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  23577. begin
  23578. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  23579. end;
  23580. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  23581. begin
  23582. pTDefRegMap(@Self)^.val := thebits;
  23583. end;
  23584. function TPCACHE_CHETAG.getw : TBits_32; inline;
  23585. begin
  23586. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23587. end;
  23588. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  23589. begin
  23590. pTDefRegMap(@Self)^.&set := $00000001;
  23591. end;
  23592. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  23593. begin
  23594. pTDefRegMap(@Self)^.clr := $00000001;
  23595. end;
  23596. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  23597. begin
  23598. if thebits = 0 then
  23599. pTDefRegMap(@Self)^.clr := $00000001
  23600. else
  23601. pTDefRegMap(@Self)^.&set := $00000001;
  23602. end;
  23603. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  23604. begin
  23605. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23606. end;
  23607. procedure TUSB_U1IR.setUERRIF; inline;
  23608. begin
  23609. pTDefRegMap(@Self)^.&set := $00000002;
  23610. end;
  23611. procedure TUSB_U1IR.clearUERRIF; inline;
  23612. begin
  23613. pTDefRegMap(@Self)^.clr := $00000002;
  23614. end;
  23615. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  23616. begin
  23617. if thebits = 0 then
  23618. pTDefRegMap(@Self)^.clr := $00000002
  23619. else
  23620. pTDefRegMap(@Self)^.&set := $00000002;
  23621. end;
  23622. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  23623. begin
  23624. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23625. end;
  23626. procedure TUSB_U1IR.setSOFIF; inline;
  23627. begin
  23628. pTDefRegMap(@Self)^.&set := $00000004;
  23629. end;
  23630. procedure TUSB_U1IR.clearSOFIF; inline;
  23631. begin
  23632. pTDefRegMap(@Self)^.clr := $00000004;
  23633. end;
  23634. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  23635. begin
  23636. if thebits = 0 then
  23637. pTDefRegMap(@Self)^.clr := $00000004
  23638. else
  23639. pTDefRegMap(@Self)^.&set := $00000004;
  23640. end;
  23641. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  23642. begin
  23643. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23644. end;
  23645. procedure TUSB_U1IR.setTRNIF; inline;
  23646. begin
  23647. pTDefRegMap(@Self)^.&set := $00000008;
  23648. end;
  23649. procedure TUSB_U1IR.clearTRNIF; inline;
  23650. begin
  23651. pTDefRegMap(@Self)^.clr := $00000008;
  23652. end;
  23653. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  23654. begin
  23655. if thebits = 0 then
  23656. pTDefRegMap(@Self)^.clr := $00000008
  23657. else
  23658. pTDefRegMap(@Self)^.&set := $00000008;
  23659. end;
  23660. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  23661. begin
  23662. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23663. end;
  23664. procedure TUSB_U1IR.setIDLEIF; inline;
  23665. begin
  23666. pTDefRegMap(@Self)^.&set := $00000010;
  23667. end;
  23668. procedure TUSB_U1IR.clearIDLEIF; inline;
  23669. begin
  23670. pTDefRegMap(@Self)^.clr := $00000010;
  23671. end;
  23672. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  23673. begin
  23674. if thebits = 0 then
  23675. pTDefRegMap(@Self)^.clr := $00000010
  23676. else
  23677. pTDefRegMap(@Self)^.&set := $00000010;
  23678. end;
  23679. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  23680. begin
  23681. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23682. end;
  23683. procedure TUSB_U1IR.setRESUMEIF; inline;
  23684. begin
  23685. pTDefRegMap(@Self)^.&set := $00000020;
  23686. end;
  23687. procedure TUSB_U1IR.clearRESUMEIF; inline;
  23688. begin
  23689. pTDefRegMap(@Self)^.clr := $00000020;
  23690. end;
  23691. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  23692. begin
  23693. if thebits = 0 then
  23694. pTDefRegMap(@Self)^.clr := $00000020
  23695. else
  23696. pTDefRegMap(@Self)^.&set := $00000020;
  23697. end;
  23698. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  23699. begin
  23700. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23701. end;
  23702. procedure TUSB_U1IR.setATTACHIF; inline;
  23703. begin
  23704. pTDefRegMap(@Self)^.&set := $00000040;
  23705. end;
  23706. procedure TUSB_U1IR.clearATTACHIF; inline;
  23707. begin
  23708. pTDefRegMap(@Self)^.clr := $00000040;
  23709. end;
  23710. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  23711. begin
  23712. if thebits = 0 then
  23713. pTDefRegMap(@Self)^.clr := $00000040
  23714. else
  23715. pTDefRegMap(@Self)^.&set := $00000040;
  23716. end;
  23717. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  23718. begin
  23719. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23720. end;
  23721. procedure TUSB_U1IR.setSTALLIF; inline;
  23722. begin
  23723. pTDefRegMap(@Self)^.&set := $00000080;
  23724. end;
  23725. procedure TUSB_U1IR.clearSTALLIF; inline;
  23726. begin
  23727. pTDefRegMap(@Self)^.clr := $00000080;
  23728. end;
  23729. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  23730. begin
  23731. if thebits = 0 then
  23732. pTDefRegMap(@Self)^.clr := $00000080
  23733. else
  23734. pTDefRegMap(@Self)^.&set := $00000080;
  23735. end;
  23736. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  23737. begin
  23738. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23739. end;
  23740. procedure TUSB_U1IR.setDETACHIF; inline;
  23741. begin
  23742. pTDefRegMap(@Self)^.&set := $00000001;
  23743. end;
  23744. procedure TUSB_U1IR.clearDETACHIF; inline;
  23745. begin
  23746. pTDefRegMap(@Self)^.clr := $00000001;
  23747. end;
  23748. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  23749. begin
  23750. if thebits = 0 then
  23751. pTDefRegMap(@Self)^.clr := $00000001
  23752. else
  23753. pTDefRegMap(@Self)^.&set := $00000001;
  23754. end;
  23755. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  23756. begin
  23757. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23758. end;
  23759. procedure TUSB_U1IR.setURSTIF; inline;
  23760. begin
  23761. pTDefRegMap(@Self)^.&set := $00000001;
  23762. end;
  23763. procedure TUSB_U1IR.clearURSTIF; inline;
  23764. begin
  23765. pTDefRegMap(@Self)^.clr := $00000001;
  23766. end;
  23767. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  23768. begin
  23769. if thebits = 0 then
  23770. pTDefRegMap(@Self)^.clr := $00000001
  23771. else
  23772. pTDefRegMap(@Self)^.&set := $00000001;
  23773. end;
  23774. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  23775. begin
  23776. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23777. end;
  23778. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  23779. begin
  23780. pTDefRegMap(@Self)^.&set := $00000001;
  23781. end;
  23782. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  23783. begin
  23784. pTDefRegMap(@Self)^.clr := $00000001;
  23785. end;
  23786. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  23787. begin
  23788. if thebits = 0 then
  23789. pTDefRegMap(@Self)^.clr := $00000001
  23790. else
  23791. pTDefRegMap(@Self)^.&set := $00000001;
  23792. end;
  23793. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  23794. begin
  23795. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23796. end;
  23797. procedure TUSB_U1IE.setUERRIE; inline;
  23798. begin
  23799. pTDefRegMap(@Self)^.&set := $00000002;
  23800. end;
  23801. procedure TUSB_U1IE.clearUERRIE; inline;
  23802. begin
  23803. pTDefRegMap(@Self)^.clr := $00000002;
  23804. end;
  23805. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  23806. begin
  23807. if thebits = 0 then
  23808. pTDefRegMap(@Self)^.clr := $00000002
  23809. else
  23810. pTDefRegMap(@Self)^.&set := $00000002;
  23811. end;
  23812. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  23813. begin
  23814. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23815. end;
  23816. procedure TUSB_U1IE.setSOFIE; inline;
  23817. begin
  23818. pTDefRegMap(@Self)^.&set := $00000004;
  23819. end;
  23820. procedure TUSB_U1IE.clearSOFIE; inline;
  23821. begin
  23822. pTDefRegMap(@Self)^.clr := $00000004;
  23823. end;
  23824. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  23825. begin
  23826. if thebits = 0 then
  23827. pTDefRegMap(@Self)^.clr := $00000004
  23828. else
  23829. pTDefRegMap(@Self)^.&set := $00000004;
  23830. end;
  23831. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  23832. begin
  23833. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23834. end;
  23835. procedure TUSB_U1IE.setTRNIE; inline;
  23836. begin
  23837. pTDefRegMap(@Self)^.&set := $00000008;
  23838. end;
  23839. procedure TUSB_U1IE.clearTRNIE; inline;
  23840. begin
  23841. pTDefRegMap(@Self)^.clr := $00000008;
  23842. end;
  23843. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  23844. begin
  23845. if thebits = 0 then
  23846. pTDefRegMap(@Self)^.clr := $00000008
  23847. else
  23848. pTDefRegMap(@Self)^.&set := $00000008;
  23849. end;
  23850. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  23851. begin
  23852. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23853. end;
  23854. procedure TUSB_U1IE.setIDLEIE; inline;
  23855. begin
  23856. pTDefRegMap(@Self)^.&set := $00000010;
  23857. end;
  23858. procedure TUSB_U1IE.clearIDLEIE; inline;
  23859. begin
  23860. pTDefRegMap(@Self)^.clr := $00000010;
  23861. end;
  23862. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  23863. begin
  23864. if thebits = 0 then
  23865. pTDefRegMap(@Self)^.clr := $00000010
  23866. else
  23867. pTDefRegMap(@Self)^.&set := $00000010;
  23868. end;
  23869. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  23870. begin
  23871. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23872. end;
  23873. procedure TUSB_U1IE.setRESUMEIE; inline;
  23874. begin
  23875. pTDefRegMap(@Self)^.&set := $00000020;
  23876. end;
  23877. procedure TUSB_U1IE.clearRESUMEIE; inline;
  23878. begin
  23879. pTDefRegMap(@Self)^.clr := $00000020;
  23880. end;
  23881. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  23882. begin
  23883. if thebits = 0 then
  23884. pTDefRegMap(@Self)^.clr := $00000020
  23885. else
  23886. pTDefRegMap(@Self)^.&set := $00000020;
  23887. end;
  23888. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  23889. begin
  23890. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23891. end;
  23892. procedure TUSB_U1IE.setATTACHIE; inline;
  23893. begin
  23894. pTDefRegMap(@Self)^.&set := $00000040;
  23895. end;
  23896. procedure TUSB_U1IE.clearATTACHIE; inline;
  23897. begin
  23898. pTDefRegMap(@Self)^.clr := $00000040;
  23899. end;
  23900. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  23901. begin
  23902. if thebits = 0 then
  23903. pTDefRegMap(@Self)^.clr := $00000040
  23904. else
  23905. pTDefRegMap(@Self)^.&set := $00000040;
  23906. end;
  23907. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  23908. begin
  23909. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23910. end;
  23911. procedure TUSB_U1IE.setSTALLIE; inline;
  23912. begin
  23913. pTDefRegMap(@Self)^.&set := $00000080;
  23914. end;
  23915. procedure TUSB_U1IE.clearSTALLIE; inline;
  23916. begin
  23917. pTDefRegMap(@Self)^.clr := $00000080;
  23918. end;
  23919. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  23920. begin
  23921. if thebits = 0 then
  23922. pTDefRegMap(@Self)^.clr := $00000080
  23923. else
  23924. pTDefRegMap(@Self)^.&set := $00000080;
  23925. end;
  23926. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  23927. begin
  23928. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23929. end;
  23930. procedure TUSB_U1IE.setDETACHIE; inline;
  23931. begin
  23932. pTDefRegMap(@Self)^.&set := $00000001;
  23933. end;
  23934. procedure TUSB_U1IE.clearDETACHIE; inline;
  23935. begin
  23936. pTDefRegMap(@Self)^.clr := $00000001;
  23937. end;
  23938. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  23939. begin
  23940. if thebits = 0 then
  23941. pTDefRegMap(@Self)^.clr := $00000001
  23942. else
  23943. pTDefRegMap(@Self)^.&set := $00000001;
  23944. end;
  23945. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  23946. begin
  23947. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23948. end;
  23949. procedure TUSB_U1IE.setURSTIE; inline;
  23950. begin
  23951. pTDefRegMap(@Self)^.&set := $00000001;
  23952. end;
  23953. procedure TUSB_U1IE.clearURSTIE; inline;
  23954. begin
  23955. pTDefRegMap(@Self)^.clr := $00000001;
  23956. end;
  23957. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  23958. begin
  23959. if thebits = 0 then
  23960. pTDefRegMap(@Self)^.clr := $00000001
  23961. else
  23962. pTDefRegMap(@Self)^.&set := $00000001;
  23963. end;
  23964. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  23965. begin
  23966. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23967. end;
  23968. procedure TUSB_U1EIR.setPIDEF; inline;
  23969. begin
  23970. pTDefRegMap(@Self)^.&set := $00000001;
  23971. end;
  23972. procedure TUSB_U1EIR.clearPIDEF; inline;
  23973. begin
  23974. pTDefRegMap(@Self)^.clr := $00000001;
  23975. end;
  23976. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  23977. begin
  23978. if thebits = 0 then
  23979. pTDefRegMap(@Self)^.clr := $00000001
  23980. else
  23981. pTDefRegMap(@Self)^.&set := $00000001;
  23982. end;
  23983. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  23984. begin
  23985. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23986. end;
  23987. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  23988. begin
  23989. pTDefRegMap(@Self)^.&set := $00000002;
  23990. end;
  23991. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  23992. begin
  23993. pTDefRegMap(@Self)^.clr := $00000002;
  23994. end;
  23995. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  23996. begin
  23997. if thebits = 0 then
  23998. pTDefRegMap(@Self)^.clr := $00000002
  23999. else
  24000. pTDefRegMap(@Self)^.&set := $00000002;
  24001. end;
  24002. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  24003. begin
  24004. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24005. end;
  24006. procedure TUSB_U1EIR.setCRC16EF; inline;
  24007. begin
  24008. pTDefRegMap(@Self)^.&set := $00000004;
  24009. end;
  24010. procedure TUSB_U1EIR.clearCRC16EF; inline;
  24011. begin
  24012. pTDefRegMap(@Self)^.clr := $00000004;
  24013. end;
  24014. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  24015. begin
  24016. if thebits = 0 then
  24017. pTDefRegMap(@Self)^.clr := $00000004
  24018. else
  24019. pTDefRegMap(@Self)^.&set := $00000004;
  24020. end;
  24021. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  24022. begin
  24023. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24024. end;
  24025. procedure TUSB_U1EIR.setDFN8EF; inline;
  24026. begin
  24027. pTDefRegMap(@Self)^.&set := $00000008;
  24028. end;
  24029. procedure TUSB_U1EIR.clearDFN8EF; inline;
  24030. begin
  24031. pTDefRegMap(@Self)^.clr := $00000008;
  24032. end;
  24033. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  24034. begin
  24035. if thebits = 0 then
  24036. pTDefRegMap(@Self)^.clr := $00000008
  24037. else
  24038. pTDefRegMap(@Self)^.&set := $00000008;
  24039. end;
  24040. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  24041. begin
  24042. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24043. end;
  24044. procedure TUSB_U1EIR.setBTOEF; inline;
  24045. begin
  24046. pTDefRegMap(@Self)^.&set := $00000010;
  24047. end;
  24048. procedure TUSB_U1EIR.clearBTOEF; inline;
  24049. begin
  24050. pTDefRegMap(@Self)^.clr := $00000010;
  24051. end;
  24052. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  24053. begin
  24054. if thebits = 0 then
  24055. pTDefRegMap(@Self)^.clr := $00000010
  24056. else
  24057. pTDefRegMap(@Self)^.&set := $00000010;
  24058. end;
  24059. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  24060. begin
  24061. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24062. end;
  24063. procedure TUSB_U1EIR.setDMAEF; inline;
  24064. begin
  24065. pTDefRegMap(@Self)^.&set := $00000020;
  24066. end;
  24067. procedure TUSB_U1EIR.clearDMAEF; inline;
  24068. begin
  24069. pTDefRegMap(@Self)^.clr := $00000020;
  24070. end;
  24071. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  24072. begin
  24073. if thebits = 0 then
  24074. pTDefRegMap(@Self)^.clr := $00000020
  24075. else
  24076. pTDefRegMap(@Self)^.&set := $00000020;
  24077. end;
  24078. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  24079. begin
  24080. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24081. end;
  24082. procedure TUSB_U1EIR.setBMXEF; inline;
  24083. begin
  24084. pTDefRegMap(@Self)^.&set := $00000040;
  24085. end;
  24086. procedure TUSB_U1EIR.clearBMXEF; inline;
  24087. begin
  24088. pTDefRegMap(@Self)^.clr := $00000040;
  24089. end;
  24090. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  24091. begin
  24092. if thebits = 0 then
  24093. pTDefRegMap(@Self)^.clr := $00000040
  24094. else
  24095. pTDefRegMap(@Self)^.&set := $00000040;
  24096. end;
  24097. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  24098. begin
  24099. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24100. end;
  24101. procedure TUSB_U1EIR.setBTSEF; inline;
  24102. begin
  24103. pTDefRegMap(@Self)^.&set := $00000080;
  24104. end;
  24105. procedure TUSB_U1EIR.clearBTSEF; inline;
  24106. begin
  24107. pTDefRegMap(@Self)^.clr := $00000080;
  24108. end;
  24109. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  24110. begin
  24111. if thebits = 0 then
  24112. pTDefRegMap(@Self)^.clr := $00000080
  24113. else
  24114. pTDefRegMap(@Self)^.&set := $00000080;
  24115. end;
  24116. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  24117. begin
  24118. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24119. end;
  24120. procedure TUSB_U1EIR.setCRC5EF; inline;
  24121. begin
  24122. pTDefRegMap(@Self)^.&set := $00000002;
  24123. end;
  24124. procedure TUSB_U1EIR.clearCRC5EF; inline;
  24125. begin
  24126. pTDefRegMap(@Self)^.clr := $00000002;
  24127. end;
  24128. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  24129. begin
  24130. if thebits = 0 then
  24131. pTDefRegMap(@Self)^.clr := $00000002
  24132. else
  24133. pTDefRegMap(@Self)^.&set := $00000002;
  24134. end;
  24135. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  24136. begin
  24137. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24138. end;
  24139. procedure TUSB_U1EIR.setEOFEF; inline;
  24140. begin
  24141. pTDefRegMap(@Self)^.&set := $00000002;
  24142. end;
  24143. procedure TUSB_U1EIR.clearEOFEF; inline;
  24144. begin
  24145. pTDefRegMap(@Self)^.clr := $00000002;
  24146. end;
  24147. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  24148. begin
  24149. if thebits = 0 then
  24150. pTDefRegMap(@Self)^.clr := $00000002
  24151. else
  24152. pTDefRegMap(@Self)^.&set := $00000002;
  24153. end;
  24154. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  24155. begin
  24156. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24157. end;
  24158. procedure TUSB_U1EIE.setPIDEE; inline;
  24159. begin
  24160. pTDefRegMap(@Self)^.&set := $00000001;
  24161. end;
  24162. procedure TUSB_U1EIE.clearPIDEE; inline;
  24163. begin
  24164. pTDefRegMap(@Self)^.clr := $00000001;
  24165. end;
  24166. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  24167. begin
  24168. if thebits = 0 then
  24169. pTDefRegMap(@Self)^.clr := $00000001
  24170. else
  24171. pTDefRegMap(@Self)^.&set := $00000001;
  24172. end;
  24173. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  24174. begin
  24175. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24176. end;
  24177. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  24178. begin
  24179. pTDefRegMap(@Self)^.&set := $00000002;
  24180. end;
  24181. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  24182. begin
  24183. pTDefRegMap(@Self)^.clr := $00000002;
  24184. end;
  24185. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  24186. begin
  24187. if thebits = 0 then
  24188. pTDefRegMap(@Self)^.clr := $00000002
  24189. else
  24190. pTDefRegMap(@Self)^.&set := $00000002;
  24191. end;
  24192. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  24193. begin
  24194. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24195. end;
  24196. procedure TUSB_U1EIE.setCRC16EE; inline;
  24197. begin
  24198. pTDefRegMap(@Self)^.&set := $00000004;
  24199. end;
  24200. procedure TUSB_U1EIE.clearCRC16EE; inline;
  24201. begin
  24202. pTDefRegMap(@Self)^.clr := $00000004;
  24203. end;
  24204. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  24205. begin
  24206. if thebits = 0 then
  24207. pTDefRegMap(@Self)^.clr := $00000004
  24208. else
  24209. pTDefRegMap(@Self)^.&set := $00000004;
  24210. end;
  24211. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  24212. begin
  24213. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24214. end;
  24215. procedure TUSB_U1EIE.setDFN8EE; inline;
  24216. begin
  24217. pTDefRegMap(@Self)^.&set := $00000008;
  24218. end;
  24219. procedure TUSB_U1EIE.clearDFN8EE; inline;
  24220. begin
  24221. pTDefRegMap(@Self)^.clr := $00000008;
  24222. end;
  24223. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  24224. begin
  24225. if thebits = 0 then
  24226. pTDefRegMap(@Self)^.clr := $00000008
  24227. else
  24228. pTDefRegMap(@Self)^.&set := $00000008;
  24229. end;
  24230. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  24231. begin
  24232. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24233. end;
  24234. procedure TUSB_U1EIE.setBTOEE; inline;
  24235. begin
  24236. pTDefRegMap(@Self)^.&set := $00000010;
  24237. end;
  24238. procedure TUSB_U1EIE.clearBTOEE; inline;
  24239. begin
  24240. pTDefRegMap(@Self)^.clr := $00000010;
  24241. end;
  24242. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  24243. begin
  24244. if thebits = 0 then
  24245. pTDefRegMap(@Self)^.clr := $00000010
  24246. else
  24247. pTDefRegMap(@Self)^.&set := $00000010;
  24248. end;
  24249. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  24250. begin
  24251. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24252. end;
  24253. procedure TUSB_U1EIE.setDMAEE; inline;
  24254. begin
  24255. pTDefRegMap(@Self)^.&set := $00000020;
  24256. end;
  24257. procedure TUSB_U1EIE.clearDMAEE; inline;
  24258. begin
  24259. pTDefRegMap(@Self)^.clr := $00000020;
  24260. end;
  24261. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  24262. begin
  24263. if thebits = 0 then
  24264. pTDefRegMap(@Self)^.clr := $00000020
  24265. else
  24266. pTDefRegMap(@Self)^.&set := $00000020;
  24267. end;
  24268. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  24269. begin
  24270. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24271. end;
  24272. procedure TUSB_U1EIE.setBMXEE; inline;
  24273. begin
  24274. pTDefRegMap(@Self)^.&set := $00000040;
  24275. end;
  24276. procedure TUSB_U1EIE.clearBMXEE; inline;
  24277. begin
  24278. pTDefRegMap(@Self)^.clr := $00000040;
  24279. end;
  24280. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  24281. begin
  24282. if thebits = 0 then
  24283. pTDefRegMap(@Self)^.clr := $00000040
  24284. else
  24285. pTDefRegMap(@Self)^.&set := $00000040;
  24286. end;
  24287. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  24288. begin
  24289. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24290. end;
  24291. procedure TUSB_U1EIE.setBTSEE; inline;
  24292. begin
  24293. pTDefRegMap(@Self)^.&set := $00000080;
  24294. end;
  24295. procedure TUSB_U1EIE.clearBTSEE; inline;
  24296. begin
  24297. pTDefRegMap(@Self)^.clr := $00000080;
  24298. end;
  24299. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  24300. begin
  24301. if thebits = 0 then
  24302. pTDefRegMap(@Self)^.clr := $00000080
  24303. else
  24304. pTDefRegMap(@Self)^.&set := $00000080;
  24305. end;
  24306. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  24307. begin
  24308. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24309. end;
  24310. procedure TUSB_U1EIE.setCRC5EE; inline;
  24311. begin
  24312. pTDefRegMap(@Self)^.&set := $00000002;
  24313. end;
  24314. procedure TUSB_U1EIE.clearCRC5EE; inline;
  24315. begin
  24316. pTDefRegMap(@Self)^.clr := $00000002;
  24317. end;
  24318. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  24319. begin
  24320. if thebits = 0 then
  24321. pTDefRegMap(@Self)^.clr := $00000002
  24322. else
  24323. pTDefRegMap(@Self)^.&set := $00000002;
  24324. end;
  24325. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  24326. begin
  24327. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24328. end;
  24329. procedure TUSB_U1EIE.setEOFEE; inline;
  24330. begin
  24331. pTDefRegMap(@Self)^.&set := $00000002;
  24332. end;
  24333. procedure TUSB_U1EIE.clearEOFEE; inline;
  24334. begin
  24335. pTDefRegMap(@Self)^.clr := $00000002;
  24336. end;
  24337. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  24338. begin
  24339. if thebits = 0 then
  24340. pTDefRegMap(@Self)^.clr := $00000002
  24341. else
  24342. pTDefRegMap(@Self)^.&set := $00000002;
  24343. end;
  24344. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  24345. begin
  24346. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24347. end;
  24348. procedure TUSB_U1STAT.setPPBI; inline;
  24349. begin
  24350. pTDefRegMap(@Self)^.&set := $00000004;
  24351. end;
  24352. procedure TUSB_U1STAT.clearPPBI; inline;
  24353. begin
  24354. pTDefRegMap(@Self)^.clr := $00000004;
  24355. end;
  24356. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  24357. begin
  24358. if thebits = 0 then
  24359. pTDefRegMap(@Self)^.clr := $00000004
  24360. else
  24361. pTDefRegMap(@Self)^.&set := $00000004;
  24362. end;
  24363. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  24364. begin
  24365. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24366. end;
  24367. procedure TUSB_U1STAT.setDIR; inline;
  24368. begin
  24369. pTDefRegMap(@Self)^.&set := $00000008;
  24370. end;
  24371. procedure TUSB_U1STAT.clearDIR; inline;
  24372. begin
  24373. pTDefRegMap(@Self)^.clr := $00000008;
  24374. end;
  24375. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  24376. begin
  24377. if thebits = 0 then
  24378. pTDefRegMap(@Self)^.clr := $00000008
  24379. else
  24380. pTDefRegMap(@Self)^.&set := $00000008;
  24381. end;
  24382. function TUSB_U1STAT.getDIR : TBits_1; inline;
  24383. begin
  24384. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24385. end;
  24386. procedure TUSB_U1STAT.setENDPT0; inline;
  24387. begin
  24388. pTDefRegMap(@Self)^.&set := $00000010;
  24389. end;
  24390. procedure TUSB_U1STAT.clearENDPT0; inline;
  24391. begin
  24392. pTDefRegMap(@Self)^.clr := $00000010;
  24393. end;
  24394. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  24395. begin
  24396. if thebits = 0 then
  24397. pTDefRegMap(@Self)^.clr := $00000010
  24398. else
  24399. pTDefRegMap(@Self)^.&set := $00000010;
  24400. end;
  24401. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  24402. begin
  24403. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24404. end;
  24405. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  24406. begin
  24407. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  24408. end;
  24409. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  24410. begin
  24411. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  24412. end;
  24413. procedure TUSB_U1STAT.setENDPT1; inline;
  24414. begin
  24415. pTDefRegMap(@Self)^.&set := $00000020;
  24416. end;
  24417. procedure TUSB_U1STAT.clearENDPT1; inline;
  24418. begin
  24419. pTDefRegMap(@Self)^.clr := $00000020;
  24420. end;
  24421. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  24422. begin
  24423. if thebits = 0 then
  24424. pTDefRegMap(@Self)^.clr := $00000020
  24425. else
  24426. pTDefRegMap(@Self)^.&set := $00000020;
  24427. end;
  24428. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  24429. begin
  24430. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24431. end;
  24432. procedure TUSB_U1STAT.setENDPT2; inline;
  24433. begin
  24434. pTDefRegMap(@Self)^.&set := $00000040;
  24435. end;
  24436. procedure TUSB_U1STAT.clearENDPT2; inline;
  24437. begin
  24438. pTDefRegMap(@Self)^.clr := $00000040;
  24439. end;
  24440. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  24441. begin
  24442. if thebits = 0 then
  24443. pTDefRegMap(@Self)^.clr := $00000040
  24444. else
  24445. pTDefRegMap(@Self)^.&set := $00000040;
  24446. end;
  24447. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  24448. begin
  24449. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24450. end;
  24451. procedure TUSB_U1STAT.setENDPT3; inline;
  24452. begin
  24453. pTDefRegMap(@Self)^.&set := $00000080;
  24454. end;
  24455. procedure TUSB_U1STAT.clearENDPT3; inline;
  24456. begin
  24457. pTDefRegMap(@Self)^.clr := $00000080;
  24458. end;
  24459. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  24460. begin
  24461. if thebits = 0 then
  24462. pTDefRegMap(@Self)^.clr := $00000080
  24463. else
  24464. pTDefRegMap(@Self)^.&set := $00000080;
  24465. end;
  24466. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  24467. begin
  24468. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24469. end;
  24470. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  24471. begin
  24472. pTDefRegMap(@Self)^.&set := $00000001;
  24473. end;
  24474. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  24475. begin
  24476. pTDefRegMap(@Self)^.clr := $00000001;
  24477. end;
  24478. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  24479. begin
  24480. if thebits = 0 then
  24481. pTDefRegMap(@Self)^.clr := $00000001
  24482. else
  24483. pTDefRegMap(@Self)^.&set := $00000001;
  24484. end;
  24485. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  24486. begin
  24487. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24488. end;
  24489. procedure TUSB_U1CON.setPPBRST; inline;
  24490. begin
  24491. pTDefRegMap(@Self)^.&set := $00000002;
  24492. end;
  24493. procedure TUSB_U1CON.clearPPBRST; inline;
  24494. begin
  24495. pTDefRegMap(@Self)^.clr := $00000002;
  24496. end;
  24497. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  24498. begin
  24499. if thebits = 0 then
  24500. pTDefRegMap(@Self)^.clr := $00000002
  24501. else
  24502. pTDefRegMap(@Self)^.&set := $00000002;
  24503. end;
  24504. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  24505. begin
  24506. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24507. end;
  24508. procedure TUSB_U1CON.setRESUME; inline;
  24509. begin
  24510. pTDefRegMap(@Self)^.&set := $00000004;
  24511. end;
  24512. procedure TUSB_U1CON.clearRESUME; inline;
  24513. begin
  24514. pTDefRegMap(@Self)^.clr := $00000004;
  24515. end;
  24516. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  24517. begin
  24518. if thebits = 0 then
  24519. pTDefRegMap(@Self)^.clr := $00000004
  24520. else
  24521. pTDefRegMap(@Self)^.&set := $00000004;
  24522. end;
  24523. function TUSB_U1CON.getRESUME : TBits_1; inline;
  24524. begin
  24525. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24526. end;
  24527. procedure TUSB_U1CON.setHOSTEN; inline;
  24528. begin
  24529. pTDefRegMap(@Self)^.&set := $00000008;
  24530. end;
  24531. procedure TUSB_U1CON.clearHOSTEN; inline;
  24532. begin
  24533. pTDefRegMap(@Self)^.clr := $00000008;
  24534. end;
  24535. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  24536. begin
  24537. if thebits = 0 then
  24538. pTDefRegMap(@Self)^.clr := $00000008
  24539. else
  24540. pTDefRegMap(@Self)^.&set := $00000008;
  24541. end;
  24542. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  24543. begin
  24544. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24545. end;
  24546. procedure TUSB_U1CON.setUSBRST; inline;
  24547. begin
  24548. pTDefRegMap(@Self)^.&set := $00000010;
  24549. end;
  24550. procedure TUSB_U1CON.clearUSBRST; inline;
  24551. begin
  24552. pTDefRegMap(@Self)^.clr := $00000010;
  24553. end;
  24554. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  24555. begin
  24556. if thebits = 0 then
  24557. pTDefRegMap(@Self)^.clr := $00000010
  24558. else
  24559. pTDefRegMap(@Self)^.&set := $00000010;
  24560. end;
  24561. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  24562. begin
  24563. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24564. end;
  24565. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  24566. begin
  24567. pTDefRegMap(@Self)^.&set := $00000020;
  24568. end;
  24569. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  24570. begin
  24571. pTDefRegMap(@Self)^.clr := $00000020;
  24572. end;
  24573. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  24574. begin
  24575. if thebits = 0 then
  24576. pTDefRegMap(@Self)^.clr := $00000020
  24577. else
  24578. pTDefRegMap(@Self)^.&set := $00000020;
  24579. end;
  24580. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  24581. begin
  24582. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24583. end;
  24584. procedure TUSB_U1CON.setSE0; inline;
  24585. begin
  24586. pTDefRegMap(@Self)^.&set := $00000040;
  24587. end;
  24588. procedure TUSB_U1CON.clearSE0; inline;
  24589. begin
  24590. pTDefRegMap(@Self)^.clr := $00000040;
  24591. end;
  24592. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  24593. begin
  24594. if thebits = 0 then
  24595. pTDefRegMap(@Self)^.clr := $00000040
  24596. else
  24597. pTDefRegMap(@Self)^.&set := $00000040;
  24598. end;
  24599. function TUSB_U1CON.getSE0 : TBits_1; inline;
  24600. begin
  24601. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24602. end;
  24603. procedure TUSB_U1CON.setJSTATE; inline;
  24604. begin
  24605. pTDefRegMap(@Self)^.&set := $00000080;
  24606. end;
  24607. procedure TUSB_U1CON.clearJSTATE; inline;
  24608. begin
  24609. pTDefRegMap(@Self)^.clr := $00000080;
  24610. end;
  24611. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  24612. begin
  24613. if thebits = 0 then
  24614. pTDefRegMap(@Self)^.clr := $00000080
  24615. else
  24616. pTDefRegMap(@Self)^.&set := $00000080;
  24617. end;
  24618. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  24619. begin
  24620. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24621. end;
  24622. procedure TUSB_U1CON.setUSBEN; inline;
  24623. begin
  24624. pTDefRegMap(@Self)^.&set := $00000001;
  24625. end;
  24626. procedure TUSB_U1CON.clearUSBEN; inline;
  24627. begin
  24628. pTDefRegMap(@Self)^.clr := $00000001;
  24629. end;
  24630. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  24631. begin
  24632. if thebits = 0 then
  24633. pTDefRegMap(@Self)^.clr := $00000001
  24634. else
  24635. pTDefRegMap(@Self)^.&set := $00000001;
  24636. end;
  24637. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  24638. begin
  24639. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24640. end;
  24641. procedure TUSB_U1CON.setSOFEN; inline;
  24642. begin
  24643. pTDefRegMap(@Self)^.&set := $00000001;
  24644. end;
  24645. procedure TUSB_U1CON.clearSOFEN; inline;
  24646. begin
  24647. pTDefRegMap(@Self)^.clr := $00000001;
  24648. end;
  24649. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  24650. begin
  24651. if thebits = 0 then
  24652. pTDefRegMap(@Self)^.clr := $00000001
  24653. else
  24654. pTDefRegMap(@Self)^.&set := $00000001;
  24655. end;
  24656. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  24657. begin
  24658. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24659. end;
  24660. procedure TUSB_U1CON.setPKTDIS; inline;
  24661. begin
  24662. pTDefRegMap(@Self)^.&set := $00000020;
  24663. end;
  24664. procedure TUSB_U1CON.clearPKTDIS; inline;
  24665. begin
  24666. pTDefRegMap(@Self)^.clr := $00000020;
  24667. end;
  24668. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  24669. begin
  24670. if thebits = 0 then
  24671. pTDefRegMap(@Self)^.clr := $00000020
  24672. else
  24673. pTDefRegMap(@Self)^.&set := $00000020;
  24674. end;
  24675. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  24676. begin
  24677. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24678. end;
  24679. procedure TUSB_U1CON.setTOKBUSY; inline;
  24680. begin
  24681. pTDefRegMap(@Self)^.&set := $00000020;
  24682. end;
  24683. procedure TUSB_U1CON.clearTOKBUSY; inline;
  24684. begin
  24685. pTDefRegMap(@Self)^.clr := $00000020;
  24686. end;
  24687. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  24688. begin
  24689. if thebits = 0 then
  24690. pTDefRegMap(@Self)^.clr := $00000020
  24691. else
  24692. pTDefRegMap(@Self)^.&set := $00000020;
  24693. end;
  24694. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  24695. begin
  24696. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24697. end;
  24698. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  24699. begin
  24700. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  24701. end;
  24702. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  24703. begin
  24704. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  24705. end;
  24706. procedure TUSB_U1ADDR.setLSPDEN; inline;
  24707. begin
  24708. pTDefRegMap(@Self)^.&set := $00000080;
  24709. end;
  24710. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  24711. begin
  24712. pTDefRegMap(@Self)^.clr := $00000080;
  24713. end;
  24714. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  24715. begin
  24716. if thebits = 0 then
  24717. pTDefRegMap(@Self)^.clr := $00000080
  24718. else
  24719. pTDefRegMap(@Self)^.&set := $00000080;
  24720. end;
  24721. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  24722. begin
  24723. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24724. end;
  24725. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  24726. begin
  24727. pTDefRegMap(@Self)^.&set := $00000001;
  24728. end;
  24729. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  24730. begin
  24731. pTDefRegMap(@Self)^.clr := $00000001;
  24732. end;
  24733. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  24734. begin
  24735. if thebits = 0 then
  24736. pTDefRegMap(@Self)^.clr := $00000001
  24737. else
  24738. pTDefRegMap(@Self)^.&set := $00000001;
  24739. end;
  24740. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  24741. begin
  24742. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24743. end;
  24744. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  24745. begin
  24746. pTDefRegMap(@Self)^.&set := $00000002;
  24747. end;
  24748. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  24749. begin
  24750. pTDefRegMap(@Self)^.clr := $00000002;
  24751. end;
  24752. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  24753. begin
  24754. if thebits = 0 then
  24755. pTDefRegMap(@Self)^.clr := $00000002
  24756. else
  24757. pTDefRegMap(@Self)^.&set := $00000002;
  24758. end;
  24759. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  24760. begin
  24761. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24762. end;
  24763. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  24764. begin
  24765. pTDefRegMap(@Self)^.&set := $00000004;
  24766. end;
  24767. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  24768. begin
  24769. pTDefRegMap(@Self)^.clr := $00000004;
  24770. end;
  24771. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  24772. begin
  24773. if thebits = 0 then
  24774. pTDefRegMap(@Self)^.clr := $00000004
  24775. else
  24776. pTDefRegMap(@Self)^.&set := $00000004;
  24777. end;
  24778. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  24779. begin
  24780. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24781. end;
  24782. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  24783. begin
  24784. pTDefRegMap(@Self)^.&set := $00000008;
  24785. end;
  24786. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  24787. begin
  24788. pTDefRegMap(@Self)^.clr := $00000008;
  24789. end;
  24790. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  24791. begin
  24792. if thebits = 0 then
  24793. pTDefRegMap(@Self)^.clr := $00000008
  24794. else
  24795. pTDefRegMap(@Self)^.&set := $00000008;
  24796. end;
  24797. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  24798. begin
  24799. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24800. end;
  24801. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  24802. begin
  24803. pTDefRegMap(@Self)^.&set := $00000010;
  24804. end;
  24805. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  24806. begin
  24807. pTDefRegMap(@Self)^.clr := $00000010;
  24808. end;
  24809. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  24810. begin
  24811. if thebits = 0 then
  24812. pTDefRegMap(@Self)^.clr := $00000010
  24813. else
  24814. pTDefRegMap(@Self)^.&set := $00000010;
  24815. end;
  24816. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  24817. begin
  24818. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24819. end;
  24820. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  24821. begin
  24822. pTDefRegMap(@Self)^.&set := $00000020;
  24823. end;
  24824. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  24825. begin
  24826. pTDefRegMap(@Self)^.clr := $00000020;
  24827. end;
  24828. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  24829. begin
  24830. if thebits = 0 then
  24831. pTDefRegMap(@Self)^.clr := $00000020
  24832. else
  24833. pTDefRegMap(@Self)^.&set := $00000020;
  24834. end;
  24835. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  24836. begin
  24837. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24838. end;
  24839. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  24840. begin
  24841. pTDefRegMap(@Self)^.&set := $00000040;
  24842. end;
  24843. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  24844. begin
  24845. pTDefRegMap(@Self)^.clr := $00000040;
  24846. end;
  24847. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  24848. begin
  24849. if thebits = 0 then
  24850. pTDefRegMap(@Self)^.clr := $00000040
  24851. else
  24852. pTDefRegMap(@Self)^.&set := $00000040;
  24853. end;
  24854. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  24855. begin
  24856. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24857. end;
  24858. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  24859. begin
  24860. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  24861. end;
  24862. function TUSB_U1FRML.getFRML : TBits_8; inline;
  24863. begin
  24864. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  24865. end;
  24866. procedure TUSB_U1FRML.setFRM0; inline;
  24867. begin
  24868. pTDefRegMap(@Self)^.&set := $00000001;
  24869. end;
  24870. procedure TUSB_U1FRML.clearFRM0; inline;
  24871. begin
  24872. pTDefRegMap(@Self)^.clr := $00000001;
  24873. end;
  24874. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  24875. begin
  24876. if thebits = 0 then
  24877. pTDefRegMap(@Self)^.clr := $00000001
  24878. else
  24879. pTDefRegMap(@Self)^.&set := $00000001;
  24880. end;
  24881. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  24882. begin
  24883. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24884. end;
  24885. procedure TUSB_U1FRML.setFRM1; inline;
  24886. begin
  24887. pTDefRegMap(@Self)^.&set := $00000002;
  24888. end;
  24889. procedure TUSB_U1FRML.clearFRM1; inline;
  24890. begin
  24891. pTDefRegMap(@Self)^.clr := $00000002;
  24892. end;
  24893. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  24894. begin
  24895. if thebits = 0 then
  24896. pTDefRegMap(@Self)^.clr := $00000002
  24897. else
  24898. pTDefRegMap(@Self)^.&set := $00000002;
  24899. end;
  24900. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  24901. begin
  24902. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24903. end;
  24904. procedure TUSB_U1FRML.setFRM2; inline;
  24905. begin
  24906. pTDefRegMap(@Self)^.&set := $00000004;
  24907. end;
  24908. procedure TUSB_U1FRML.clearFRM2; inline;
  24909. begin
  24910. pTDefRegMap(@Self)^.clr := $00000004;
  24911. end;
  24912. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  24913. begin
  24914. if thebits = 0 then
  24915. pTDefRegMap(@Self)^.clr := $00000004
  24916. else
  24917. pTDefRegMap(@Self)^.&set := $00000004;
  24918. end;
  24919. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  24920. begin
  24921. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24922. end;
  24923. procedure TUSB_U1FRML.setFRM3; inline;
  24924. begin
  24925. pTDefRegMap(@Self)^.&set := $00000008;
  24926. end;
  24927. procedure TUSB_U1FRML.clearFRM3; inline;
  24928. begin
  24929. pTDefRegMap(@Self)^.clr := $00000008;
  24930. end;
  24931. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  24932. begin
  24933. if thebits = 0 then
  24934. pTDefRegMap(@Self)^.clr := $00000008
  24935. else
  24936. pTDefRegMap(@Self)^.&set := $00000008;
  24937. end;
  24938. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  24939. begin
  24940. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24941. end;
  24942. procedure TUSB_U1FRML.setFRM4; inline;
  24943. begin
  24944. pTDefRegMap(@Self)^.&set := $00000010;
  24945. end;
  24946. procedure TUSB_U1FRML.clearFRM4; inline;
  24947. begin
  24948. pTDefRegMap(@Self)^.clr := $00000010;
  24949. end;
  24950. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  24951. begin
  24952. if thebits = 0 then
  24953. pTDefRegMap(@Self)^.clr := $00000010
  24954. else
  24955. pTDefRegMap(@Self)^.&set := $00000010;
  24956. end;
  24957. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  24958. begin
  24959. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24960. end;
  24961. procedure TUSB_U1FRML.setFRM5; inline;
  24962. begin
  24963. pTDefRegMap(@Self)^.&set := $00000020;
  24964. end;
  24965. procedure TUSB_U1FRML.clearFRM5; inline;
  24966. begin
  24967. pTDefRegMap(@Self)^.clr := $00000020;
  24968. end;
  24969. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  24970. begin
  24971. if thebits = 0 then
  24972. pTDefRegMap(@Self)^.clr := $00000020
  24973. else
  24974. pTDefRegMap(@Self)^.&set := $00000020;
  24975. end;
  24976. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  24977. begin
  24978. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24979. end;
  24980. procedure TUSB_U1FRML.setFRM6; inline;
  24981. begin
  24982. pTDefRegMap(@Self)^.&set := $00000040;
  24983. end;
  24984. procedure TUSB_U1FRML.clearFRM6; inline;
  24985. begin
  24986. pTDefRegMap(@Self)^.clr := $00000040;
  24987. end;
  24988. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  24989. begin
  24990. if thebits = 0 then
  24991. pTDefRegMap(@Self)^.clr := $00000040
  24992. else
  24993. pTDefRegMap(@Self)^.&set := $00000040;
  24994. end;
  24995. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  24996. begin
  24997. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24998. end;
  24999. procedure TUSB_U1FRML.setFRM7; inline;
  25000. begin
  25001. pTDefRegMap(@Self)^.&set := $00000080;
  25002. end;
  25003. procedure TUSB_U1FRML.clearFRM7; inline;
  25004. begin
  25005. pTDefRegMap(@Self)^.clr := $00000080;
  25006. end;
  25007. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  25008. begin
  25009. if thebits = 0 then
  25010. pTDefRegMap(@Self)^.clr := $00000080
  25011. else
  25012. pTDefRegMap(@Self)^.&set := $00000080;
  25013. end;
  25014. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  25015. begin
  25016. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25017. end;
  25018. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  25019. begin
  25020. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  25021. end;
  25022. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  25023. begin
  25024. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  25025. end;
  25026. procedure TUSB_U1FRMH.setFRM8; inline;
  25027. begin
  25028. pTDefRegMap(@Self)^.&set := $00000001;
  25029. end;
  25030. procedure TUSB_U1FRMH.clearFRM8; inline;
  25031. begin
  25032. pTDefRegMap(@Self)^.clr := $00000001;
  25033. end;
  25034. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  25035. begin
  25036. if thebits = 0 then
  25037. pTDefRegMap(@Self)^.clr := $00000001
  25038. else
  25039. pTDefRegMap(@Self)^.&set := $00000001;
  25040. end;
  25041. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  25042. begin
  25043. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25044. end;
  25045. procedure TUSB_U1FRMH.setFRM9; inline;
  25046. begin
  25047. pTDefRegMap(@Self)^.&set := $00000002;
  25048. end;
  25049. procedure TUSB_U1FRMH.clearFRM9; inline;
  25050. begin
  25051. pTDefRegMap(@Self)^.clr := $00000002;
  25052. end;
  25053. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  25054. begin
  25055. if thebits = 0 then
  25056. pTDefRegMap(@Self)^.clr := $00000002
  25057. else
  25058. pTDefRegMap(@Self)^.&set := $00000002;
  25059. end;
  25060. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  25061. begin
  25062. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25063. end;
  25064. procedure TUSB_U1FRMH.setFRM10; inline;
  25065. begin
  25066. pTDefRegMap(@Self)^.&set := $00000004;
  25067. end;
  25068. procedure TUSB_U1FRMH.clearFRM10; inline;
  25069. begin
  25070. pTDefRegMap(@Self)^.clr := $00000004;
  25071. end;
  25072. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  25073. begin
  25074. if thebits = 0 then
  25075. pTDefRegMap(@Self)^.clr := $00000004
  25076. else
  25077. pTDefRegMap(@Self)^.&set := $00000004;
  25078. end;
  25079. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  25080. begin
  25081. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25082. end;
  25083. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  25084. begin
  25085. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25086. end;
  25087. function TUSB_U1TOK.getEP : TBits_4; inline;
  25088. begin
  25089. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25090. end;
  25091. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  25092. begin
  25093. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  25094. end;
  25095. function TUSB_U1TOK.getPID : TBits_4; inline;
  25096. begin
  25097. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  25098. end;
  25099. procedure TUSB_U1TOK.setEP0; inline;
  25100. begin
  25101. pTDefRegMap(@Self)^.&set := $00000001;
  25102. end;
  25103. procedure TUSB_U1TOK.clearEP0; inline;
  25104. begin
  25105. pTDefRegMap(@Self)^.clr := $00000001;
  25106. end;
  25107. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  25108. begin
  25109. if thebits = 0 then
  25110. pTDefRegMap(@Self)^.clr := $00000001
  25111. else
  25112. pTDefRegMap(@Self)^.&set := $00000001;
  25113. end;
  25114. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  25115. begin
  25116. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25117. end;
  25118. procedure TUSB_U1TOK.setEP1; inline;
  25119. begin
  25120. pTDefRegMap(@Self)^.&set := $00000002;
  25121. end;
  25122. procedure TUSB_U1TOK.clearEP1; inline;
  25123. begin
  25124. pTDefRegMap(@Self)^.clr := $00000002;
  25125. end;
  25126. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  25127. begin
  25128. if thebits = 0 then
  25129. pTDefRegMap(@Self)^.clr := $00000002
  25130. else
  25131. pTDefRegMap(@Self)^.&set := $00000002;
  25132. end;
  25133. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  25134. begin
  25135. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25136. end;
  25137. procedure TUSB_U1TOK.setEP2; inline;
  25138. begin
  25139. pTDefRegMap(@Self)^.&set := $00000004;
  25140. end;
  25141. procedure TUSB_U1TOK.clearEP2; inline;
  25142. begin
  25143. pTDefRegMap(@Self)^.clr := $00000004;
  25144. end;
  25145. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  25146. begin
  25147. if thebits = 0 then
  25148. pTDefRegMap(@Self)^.clr := $00000004
  25149. else
  25150. pTDefRegMap(@Self)^.&set := $00000004;
  25151. end;
  25152. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  25153. begin
  25154. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25155. end;
  25156. procedure TUSB_U1TOK.setEP3; inline;
  25157. begin
  25158. pTDefRegMap(@Self)^.&set := $00000008;
  25159. end;
  25160. procedure TUSB_U1TOK.clearEP3; inline;
  25161. begin
  25162. pTDefRegMap(@Self)^.clr := $00000008;
  25163. end;
  25164. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  25165. begin
  25166. if thebits = 0 then
  25167. pTDefRegMap(@Self)^.clr := $00000008
  25168. else
  25169. pTDefRegMap(@Self)^.&set := $00000008;
  25170. end;
  25171. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  25172. begin
  25173. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25174. end;
  25175. procedure TUSB_U1TOK.setPID0; inline;
  25176. begin
  25177. pTDefRegMap(@Self)^.&set := $00000010;
  25178. end;
  25179. procedure TUSB_U1TOK.clearPID0; inline;
  25180. begin
  25181. pTDefRegMap(@Self)^.clr := $00000010;
  25182. end;
  25183. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  25184. begin
  25185. if thebits = 0 then
  25186. pTDefRegMap(@Self)^.clr := $00000010
  25187. else
  25188. pTDefRegMap(@Self)^.&set := $00000010;
  25189. end;
  25190. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  25191. begin
  25192. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25193. end;
  25194. procedure TUSB_U1TOK.setPID1; inline;
  25195. begin
  25196. pTDefRegMap(@Self)^.&set := $00000020;
  25197. end;
  25198. procedure TUSB_U1TOK.clearPID1; inline;
  25199. begin
  25200. pTDefRegMap(@Self)^.clr := $00000020;
  25201. end;
  25202. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  25203. begin
  25204. if thebits = 0 then
  25205. pTDefRegMap(@Self)^.clr := $00000020
  25206. else
  25207. pTDefRegMap(@Self)^.&set := $00000020;
  25208. end;
  25209. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  25210. begin
  25211. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25212. end;
  25213. procedure TUSB_U1TOK.setPID2; inline;
  25214. begin
  25215. pTDefRegMap(@Self)^.&set := $00000040;
  25216. end;
  25217. procedure TUSB_U1TOK.clearPID2; inline;
  25218. begin
  25219. pTDefRegMap(@Self)^.clr := $00000040;
  25220. end;
  25221. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  25222. begin
  25223. if thebits = 0 then
  25224. pTDefRegMap(@Self)^.clr := $00000040
  25225. else
  25226. pTDefRegMap(@Self)^.&set := $00000040;
  25227. end;
  25228. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  25229. begin
  25230. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25231. end;
  25232. procedure TUSB_U1TOK.setPID3; inline;
  25233. begin
  25234. pTDefRegMap(@Self)^.&set := $00000080;
  25235. end;
  25236. procedure TUSB_U1TOK.clearPID3; inline;
  25237. begin
  25238. pTDefRegMap(@Self)^.clr := $00000080;
  25239. end;
  25240. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  25241. begin
  25242. if thebits = 0 then
  25243. pTDefRegMap(@Self)^.clr := $00000080
  25244. else
  25245. pTDefRegMap(@Self)^.&set := $00000080;
  25246. end;
  25247. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  25248. begin
  25249. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25250. end;
  25251. procedure TPORTA_TRISA.setTRISA0; inline;
  25252. begin
  25253. pTDefRegMap(@Self)^.&set := $00000001;
  25254. end;
  25255. procedure TPORTA_TRISA.clearTRISA0; inline;
  25256. begin
  25257. pTDefRegMap(@Self)^.clr := $00000001;
  25258. end;
  25259. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  25260. begin
  25261. if thebits = 0 then
  25262. pTDefRegMap(@Self)^.clr := $00000001
  25263. else
  25264. pTDefRegMap(@Self)^.&set := $00000001;
  25265. end;
  25266. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  25267. begin
  25268. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25269. end;
  25270. procedure TPORTA_TRISA.setTRISA1; inline;
  25271. begin
  25272. pTDefRegMap(@Self)^.&set := $00000002;
  25273. end;
  25274. procedure TPORTA_TRISA.clearTRISA1; inline;
  25275. begin
  25276. pTDefRegMap(@Self)^.clr := $00000002;
  25277. end;
  25278. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  25279. begin
  25280. if thebits = 0 then
  25281. pTDefRegMap(@Self)^.clr := $00000002
  25282. else
  25283. pTDefRegMap(@Self)^.&set := $00000002;
  25284. end;
  25285. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  25286. begin
  25287. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25288. end;
  25289. procedure TPORTA_TRISA.setTRISA2; inline;
  25290. begin
  25291. pTDefRegMap(@Self)^.&set := $00000004;
  25292. end;
  25293. procedure TPORTA_TRISA.clearTRISA2; inline;
  25294. begin
  25295. pTDefRegMap(@Self)^.clr := $00000004;
  25296. end;
  25297. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  25298. begin
  25299. if thebits = 0 then
  25300. pTDefRegMap(@Self)^.clr := $00000004
  25301. else
  25302. pTDefRegMap(@Self)^.&set := $00000004;
  25303. end;
  25304. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  25305. begin
  25306. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25307. end;
  25308. procedure TPORTA_TRISA.setTRISA3; inline;
  25309. begin
  25310. pTDefRegMap(@Self)^.&set := $00000008;
  25311. end;
  25312. procedure TPORTA_TRISA.clearTRISA3; inline;
  25313. begin
  25314. pTDefRegMap(@Self)^.clr := $00000008;
  25315. end;
  25316. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  25317. begin
  25318. if thebits = 0 then
  25319. pTDefRegMap(@Self)^.clr := $00000008
  25320. else
  25321. pTDefRegMap(@Self)^.&set := $00000008;
  25322. end;
  25323. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  25324. begin
  25325. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25326. end;
  25327. procedure TPORTA_TRISA.setTRISA4; inline;
  25328. begin
  25329. pTDefRegMap(@Self)^.&set := $00000010;
  25330. end;
  25331. procedure TPORTA_TRISA.clearTRISA4; inline;
  25332. begin
  25333. pTDefRegMap(@Self)^.clr := $00000010;
  25334. end;
  25335. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  25336. begin
  25337. if thebits = 0 then
  25338. pTDefRegMap(@Self)^.clr := $00000010
  25339. else
  25340. pTDefRegMap(@Self)^.&set := $00000010;
  25341. end;
  25342. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  25343. begin
  25344. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25345. end;
  25346. procedure TPORTA_TRISA.setTRISA5; inline;
  25347. begin
  25348. pTDefRegMap(@Self)^.&set := $00000020;
  25349. end;
  25350. procedure TPORTA_TRISA.clearTRISA5; inline;
  25351. begin
  25352. pTDefRegMap(@Self)^.clr := $00000020;
  25353. end;
  25354. procedure TPORTA_TRISA.setTRISA5(thebits : TBits_1); inline;
  25355. begin
  25356. if thebits = 0 then
  25357. pTDefRegMap(@Self)^.clr := $00000020
  25358. else
  25359. pTDefRegMap(@Self)^.&set := $00000020;
  25360. end;
  25361. function TPORTA_TRISA.getTRISA5 : TBits_1; inline;
  25362. begin
  25363. getTRISA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25364. end;
  25365. procedure TPORTA_TRISA.setTRISA6; inline;
  25366. begin
  25367. pTDefRegMap(@Self)^.&set := $00000040;
  25368. end;
  25369. procedure TPORTA_TRISA.clearTRISA6; inline;
  25370. begin
  25371. pTDefRegMap(@Self)^.clr := $00000040;
  25372. end;
  25373. procedure TPORTA_TRISA.setTRISA6(thebits : TBits_1); inline;
  25374. begin
  25375. if thebits = 0 then
  25376. pTDefRegMap(@Self)^.clr := $00000040
  25377. else
  25378. pTDefRegMap(@Self)^.&set := $00000040;
  25379. end;
  25380. function TPORTA_TRISA.getTRISA6 : TBits_1; inline;
  25381. begin
  25382. getTRISA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25383. end;
  25384. procedure TPORTA_TRISA.setTRISA7; inline;
  25385. begin
  25386. pTDefRegMap(@Self)^.&set := $00000080;
  25387. end;
  25388. procedure TPORTA_TRISA.clearTRISA7; inline;
  25389. begin
  25390. pTDefRegMap(@Self)^.clr := $00000080;
  25391. end;
  25392. procedure TPORTA_TRISA.setTRISA7(thebits : TBits_1); inline;
  25393. begin
  25394. if thebits = 0 then
  25395. pTDefRegMap(@Self)^.clr := $00000080
  25396. else
  25397. pTDefRegMap(@Self)^.&set := $00000080;
  25398. end;
  25399. function TPORTA_TRISA.getTRISA7 : TBits_1; inline;
  25400. begin
  25401. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25402. end;
  25403. procedure TPORTA_TRISA.setTRISA9; inline;
  25404. begin
  25405. pTDefRegMap(@Self)^.&set := $00000200;
  25406. end;
  25407. procedure TPORTA_TRISA.clearTRISA9; inline;
  25408. begin
  25409. pTDefRegMap(@Self)^.clr := $00000200;
  25410. end;
  25411. procedure TPORTA_TRISA.setTRISA9(thebits : TBits_1); inline;
  25412. begin
  25413. if thebits = 0 then
  25414. pTDefRegMap(@Self)^.clr := $00000200
  25415. else
  25416. pTDefRegMap(@Self)^.&set := $00000200;
  25417. end;
  25418. function TPORTA_TRISA.getTRISA9 : TBits_1; inline;
  25419. begin
  25420. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25421. end;
  25422. procedure TPORTA_TRISA.setTRISA10; inline;
  25423. begin
  25424. pTDefRegMap(@Self)^.&set := $00000400;
  25425. end;
  25426. procedure TPORTA_TRISA.clearTRISA10; inline;
  25427. begin
  25428. pTDefRegMap(@Self)^.clr := $00000400;
  25429. end;
  25430. procedure TPORTA_TRISA.setTRISA10(thebits : TBits_1); inline;
  25431. begin
  25432. if thebits = 0 then
  25433. pTDefRegMap(@Self)^.clr := $00000400
  25434. else
  25435. pTDefRegMap(@Self)^.&set := $00000400;
  25436. end;
  25437. function TPORTA_TRISA.getTRISA10 : TBits_1; inline;
  25438. begin
  25439. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25440. end;
  25441. procedure TPORTA_TRISA.setTRISA14; inline;
  25442. begin
  25443. pTDefRegMap(@Self)^.&set := $00004000;
  25444. end;
  25445. procedure TPORTA_TRISA.clearTRISA14; inline;
  25446. begin
  25447. pTDefRegMap(@Self)^.clr := $00004000;
  25448. end;
  25449. procedure TPORTA_TRISA.setTRISA14(thebits : TBits_1); inline;
  25450. begin
  25451. if thebits = 0 then
  25452. pTDefRegMap(@Self)^.clr := $00004000
  25453. else
  25454. pTDefRegMap(@Self)^.&set := $00004000;
  25455. end;
  25456. function TPORTA_TRISA.getTRISA14 : TBits_1; inline;
  25457. begin
  25458. getTRISA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25459. end;
  25460. procedure TPORTA_TRISA.setTRISA15; inline;
  25461. begin
  25462. pTDefRegMap(@Self)^.&set := $00008000;
  25463. end;
  25464. procedure TPORTA_TRISA.clearTRISA15; inline;
  25465. begin
  25466. pTDefRegMap(@Self)^.clr := $00008000;
  25467. end;
  25468. procedure TPORTA_TRISA.setTRISA15(thebits : TBits_1); inline;
  25469. begin
  25470. if thebits = 0 then
  25471. pTDefRegMap(@Self)^.clr := $00008000
  25472. else
  25473. pTDefRegMap(@Self)^.&set := $00008000;
  25474. end;
  25475. function TPORTA_TRISA.getTRISA15 : TBits_1; inline;
  25476. begin
  25477. getTRISA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25478. end;
  25479. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  25480. begin
  25481. pTDefRegMap(@Self)^.val := thebits;
  25482. end;
  25483. function TPORTA_TRISA.getw : TBits_32; inline;
  25484. begin
  25485. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25486. end;
  25487. procedure TPORTA_PORTA.setRA0; inline;
  25488. begin
  25489. pTDefRegMap(@Self)^.&set := $00000001;
  25490. end;
  25491. procedure TPORTA_PORTA.clearRA0; inline;
  25492. begin
  25493. pTDefRegMap(@Self)^.clr := $00000001;
  25494. end;
  25495. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  25496. begin
  25497. if thebits = 0 then
  25498. pTDefRegMap(@Self)^.clr := $00000001
  25499. else
  25500. pTDefRegMap(@Self)^.&set := $00000001;
  25501. end;
  25502. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  25503. begin
  25504. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25505. end;
  25506. procedure TPORTA_PORTA.setRA1; inline;
  25507. begin
  25508. pTDefRegMap(@Self)^.&set := $00000002;
  25509. end;
  25510. procedure TPORTA_PORTA.clearRA1; inline;
  25511. begin
  25512. pTDefRegMap(@Self)^.clr := $00000002;
  25513. end;
  25514. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  25515. begin
  25516. if thebits = 0 then
  25517. pTDefRegMap(@Self)^.clr := $00000002
  25518. else
  25519. pTDefRegMap(@Self)^.&set := $00000002;
  25520. end;
  25521. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  25522. begin
  25523. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25524. end;
  25525. procedure TPORTA_PORTA.setRA2; inline;
  25526. begin
  25527. pTDefRegMap(@Self)^.&set := $00000004;
  25528. end;
  25529. procedure TPORTA_PORTA.clearRA2; inline;
  25530. begin
  25531. pTDefRegMap(@Self)^.clr := $00000004;
  25532. end;
  25533. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  25534. begin
  25535. if thebits = 0 then
  25536. pTDefRegMap(@Self)^.clr := $00000004
  25537. else
  25538. pTDefRegMap(@Self)^.&set := $00000004;
  25539. end;
  25540. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  25541. begin
  25542. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25543. end;
  25544. procedure TPORTA_PORTA.setRA3; inline;
  25545. begin
  25546. pTDefRegMap(@Self)^.&set := $00000008;
  25547. end;
  25548. procedure TPORTA_PORTA.clearRA3; inline;
  25549. begin
  25550. pTDefRegMap(@Self)^.clr := $00000008;
  25551. end;
  25552. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  25553. begin
  25554. if thebits = 0 then
  25555. pTDefRegMap(@Self)^.clr := $00000008
  25556. else
  25557. pTDefRegMap(@Self)^.&set := $00000008;
  25558. end;
  25559. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  25560. begin
  25561. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25562. end;
  25563. procedure TPORTA_PORTA.setRA4; inline;
  25564. begin
  25565. pTDefRegMap(@Self)^.&set := $00000010;
  25566. end;
  25567. procedure TPORTA_PORTA.clearRA4; inline;
  25568. begin
  25569. pTDefRegMap(@Self)^.clr := $00000010;
  25570. end;
  25571. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  25572. begin
  25573. if thebits = 0 then
  25574. pTDefRegMap(@Self)^.clr := $00000010
  25575. else
  25576. pTDefRegMap(@Self)^.&set := $00000010;
  25577. end;
  25578. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  25579. begin
  25580. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25581. end;
  25582. procedure TPORTA_PORTA.setRA5; inline;
  25583. begin
  25584. pTDefRegMap(@Self)^.&set := $00000020;
  25585. end;
  25586. procedure TPORTA_PORTA.clearRA5; inline;
  25587. begin
  25588. pTDefRegMap(@Self)^.clr := $00000020;
  25589. end;
  25590. procedure TPORTA_PORTA.setRA5(thebits : TBits_1); inline;
  25591. begin
  25592. if thebits = 0 then
  25593. pTDefRegMap(@Self)^.clr := $00000020
  25594. else
  25595. pTDefRegMap(@Self)^.&set := $00000020;
  25596. end;
  25597. function TPORTA_PORTA.getRA5 : TBits_1; inline;
  25598. begin
  25599. getRA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25600. end;
  25601. procedure TPORTA_PORTA.setRA6; inline;
  25602. begin
  25603. pTDefRegMap(@Self)^.&set := $00000040;
  25604. end;
  25605. procedure TPORTA_PORTA.clearRA6; inline;
  25606. begin
  25607. pTDefRegMap(@Self)^.clr := $00000040;
  25608. end;
  25609. procedure TPORTA_PORTA.setRA6(thebits : TBits_1); inline;
  25610. begin
  25611. if thebits = 0 then
  25612. pTDefRegMap(@Self)^.clr := $00000040
  25613. else
  25614. pTDefRegMap(@Self)^.&set := $00000040;
  25615. end;
  25616. function TPORTA_PORTA.getRA6 : TBits_1; inline;
  25617. begin
  25618. getRA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25619. end;
  25620. procedure TPORTA_PORTA.setRA7; inline;
  25621. begin
  25622. pTDefRegMap(@Self)^.&set := $00000080;
  25623. end;
  25624. procedure TPORTA_PORTA.clearRA7; inline;
  25625. begin
  25626. pTDefRegMap(@Self)^.clr := $00000080;
  25627. end;
  25628. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  25629. begin
  25630. if thebits = 0 then
  25631. pTDefRegMap(@Self)^.clr := $00000080
  25632. else
  25633. pTDefRegMap(@Self)^.&set := $00000080;
  25634. end;
  25635. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  25636. begin
  25637. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25638. end;
  25639. procedure TPORTA_PORTA.setRA9; inline;
  25640. begin
  25641. pTDefRegMap(@Self)^.&set := $00000200;
  25642. end;
  25643. procedure TPORTA_PORTA.clearRA9; inline;
  25644. begin
  25645. pTDefRegMap(@Self)^.clr := $00000200;
  25646. end;
  25647. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  25648. begin
  25649. if thebits = 0 then
  25650. pTDefRegMap(@Self)^.clr := $00000200
  25651. else
  25652. pTDefRegMap(@Self)^.&set := $00000200;
  25653. end;
  25654. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  25655. begin
  25656. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25657. end;
  25658. procedure TPORTA_PORTA.setRA10; inline;
  25659. begin
  25660. pTDefRegMap(@Self)^.&set := $00000400;
  25661. end;
  25662. procedure TPORTA_PORTA.clearRA10; inline;
  25663. begin
  25664. pTDefRegMap(@Self)^.clr := $00000400;
  25665. end;
  25666. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  25667. begin
  25668. if thebits = 0 then
  25669. pTDefRegMap(@Self)^.clr := $00000400
  25670. else
  25671. pTDefRegMap(@Self)^.&set := $00000400;
  25672. end;
  25673. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  25674. begin
  25675. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25676. end;
  25677. procedure TPORTA_PORTA.setRA14; inline;
  25678. begin
  25679. pTDefRegMap(@Self)^.&set := $00004000;
  25680. end;
  25681. procedure TPORTA_PORTA.clearRA14; inline;
  25682. begin
  25683. pTDefRegMap(@Self)^.clr := $00004000;
  25684. end;
  25685. procedure TPORTA_PORTA.setRA14(thebits : TBits_1); inline;
  25686. begin
  25687. if thebits = 0 then
  25688. pTDefRegMap(@Self)^.clr := $00004000
  25689. else
  25690. pTDefRegMap(@Self)^.&set := $00004000;
  25691. end;
  25692. function TPORTA_PORTA.getRA14 : TBits_1; inline;
  25693. begin
  25694. getRA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25695. end;
  25696. procedure TPORTA_PORTA.setRA15; inline;
  25697. begin
  25698. pTDefRegMap(@Self)^.&set := $00008000;
  25699. end;
  25700. procedure TPORTA_PORTA.clearRA15; inline;
  25701. begin
  25702. pTDefRegMap(@Self)^.clr := $00008000;
  25703. end;
  25704. procedure TPORTA_PORTA.setRA15(thebits : TBits_1); inline;
  25705. begin
  25706. if thebits = 0 then
  25707. pTDefRegMap(@Self)^.clr := $00008000
  25708. else
  25709. pTDefRegMap(@Self)^.&set := $00008000;
  25710. end;
  25711. function TPORTA_PORTA.getRA15 : TBits_1; inline;
  25712. begin
  25713. getRA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25714. end;
  25715. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  25716. begin
  25717. pTDefRegMap(@Self)^.val := thebits;
  25718. end;
  25719. function TPORTA_PORTA.getw : TBits_32; inline;
  25720. begin
  25721. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25722. end;
  25723. procedure TPORTA_LATA.setLATA0; inline;
  25724. begin
  25725. pTDefRegMap(@Self)^.&set := $00000001;
  25726. end;
  25727. procedure TPORTA_LATA.clearLATA0; inline;
  25728. begin
  25729. pTDefRegMap(@Self)^.clr := $00000001;
  25730. end;
  25731. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  25732. begin
  25733. if thebits = 0 then
  25734. pTDefRegMap(@Self)^.clr := $00000001
  25735. else
  25736. pTDefRegMap(@Self)^.&set := $00000001;
  25737. end;
  25738. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  25739. begin
  25740. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25741. end;
  25742. procedure TPORTA_LATA.setLATA1; inline;
  25743. begin
  25744. pTDefRegMap(@Self)^.&set := $00000002;
  25745. end;
  25746. procedure TPORTA_LATA.clearLATA1; inline;
  25747. begin
  25748. pTDefRegMap(@Self)^.clr := $00000002;
  25749. end;
  25750. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  25751. begin
  25752. if thebits = 0 then
  25753. pTDefRegMap(@Self)^.clr := $00000002
  25754. else
  25755. pTDefRegMap(@Self)^.&set := $00000002;
  25756. end;
  25757. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  25758. begin
  25759. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25760. end;
  25761. procedure TPORTA_LATA.setLATA2; inline;
  25762. begin
  25763. pTDefRegMap(@Self)^.&set := $00000004;
  25764. end;
  25765. procedure TPORTA_LATA.clearLATA2; inline;
  25766. begin
  25767. pTDefRegMap(@Self)^.clr := $00000004;
  25768. end;
  25769. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  25770. begin
  25771. if thebits = 0 then
  25772. pTDefRegMap(@Self)^.clr := $00000004
  25773. else
  25774. pTDefRegMap(@Self)^.&set := $00000004;
  25775. end;
  25776. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  25777. begin
  25778. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25779. end;
  25780. procedure TPORTA_LATA.setLATA3; inline;
  25781. begin
  25782. pTDefRegMap(@Self)^.&set := $00000008;
  25783. end;
  25784. procedure TPORTA_LATA.clearLATA3; inline;
  25785. begin
  25786. pTDefRegMap(@Self)^.clr := $00000008;
  25787. end;
  25788. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  25789. begin
  25790. if thebits = 0 then
  25791. pTDefRegMap(@Self)^.clr := $00000008
  25792. else
  25793. pTDefRegMap(@Self)^.&set := $00000008;
  25794. end;
  25795. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  25796. begin
  25797. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25798. end;
  25799. procedure TPORTA_LATA.setLATA4; inline;
  25800. begin
  25801. pTDefRegMap(@Self)^.&set := $00000010;
  25802. end;
  25803. procedure TPORTA_LATA.clearLATA4; inline;
  25804. begin
  25805. pTDefRegMap(@Self)^.clr := $00000010;
  25806. end;
  25807. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  25808. begin
  25809. if thebits = 0 then
  25810. pTDefRegMap(@Self)^.clr := $00000010
  25811. else
  25812. pTDefRegMap(@Self)^.&set := $00000010;
  25813. end;
  25814. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  25815. begin
  25816. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25817. end;
  25818. procedure TPORTA_LATA.setLATA5; inline;
  25819. begin
  25820. pTDefRegMap(@Self)^.&set := $00000020;
  25821. end;
  25822. procedure TPORTA_LATA.clearLATA5; inline;
  25823. begin
  25824. pTDefRegMap(@Self)^.clr := $00000020;
  25825. end;
  25826. procedure TPORTA_LATA.setLATA5(thebits : TBits_1); inline;
  25827. begin
  25828. if thebits = 0 then
  25829. pTDefRegMap(@Self)^.clr := $00000020
  25830. else
  25831. pTDefRegMap(@Self)^.&set := $00000020;
  25832. end;
  25833. function TPORTA_LATA.getLATA5 : TBits_1; inline;
  25834. begin
  25835. getLATA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25836. end;
  25837. procedure TPORTA_LATA.setLATA6; inline;
  25838. begin
  25839. pTDefRegMap(@Self)^.&set := $00000040;
  25840. end;
  25841. procedure TPORTA_LATA.clearLATA6; inline;
  25842. begin
  25843. pTDefRegMap(@Self)^.clr := $00000040;
  25844. end;
  25845. procedure TPORTA_LATA.setLATA6(thebits : TBits_1); inline;
  25846. begin
  25847. if thebits = 0 then
  25848. pTDefRegMap(@Self)^.clr := $00000040
  25849. else
  25850. pTDefRegMap(@Self)^.&set := $00000040;
  25851. end;
  25852. function TPORTA_LATA.getLATA6 : TBits_1; inline;
  25853. begin
  25854. getLATA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25855. end;
  25856. procedure TPORTA_LATA.setLATA7; inline;
  25857. begin
  25858. pTDefRegMap(@Self)^.&set := $00000080;
  25859. end;
  25860. procedure TPORTA_LATA.clearLATA7; inline;
  25861. begin
  25862. pTDefRegMap(@Self)^.clr := $00000080;
  25863. end;
  25864. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  25865. begin
  25866. if thebits = 0 then
  25867. pTDefRegMap(@Self)^.clr := $00000080
  25868. else
  25869. pTDefRegMap(@Self)^.&set := $00000080;
  25870. end;
  25871. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  25872. begin
  25873. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25874. end;
  25875. procedure TPORTA_LATA.setLATA9; inline;
  25876. begin
  25877. pTDefRegMap(@Self)^.&set := $00000200;
  25878. end;
  25879. procedure TPORTA_LATA.clearLATA9; inline;
  25880. begin
  25881. pTDefRegMap(@Self)^.clr := $00000200;
  25882. end;
  25883. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  25884. begin
  25885. if thebits = 0 then
  25886. pTDefRegMap(@Self)^.clr := $00000200
  25887. else
  25888. pTDefRegMap(@Self)^.&set := $00000200;
  25889. end;
  25890. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  25891. begin
  25892. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25893. end;
  25894. procedure TPORTA_LATA.setLATA10; inline;
  25895. begin
  25896. pTDefRegMap(@Self)^.&set := $00000400;
  25897. end;
  25898. procedure TPORTA_LATA.clearLATA10; inline;
  25899. begin
  25900. pTDefRegMap(@Self)^.clr := $00000400;
  25901. end;
  25902. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  25903. begin
  25904. if thebits = 0 then
  25905. pTDefRegMap(@Self)^.clr := $00000400
  25906. else
  25907. pTDefRegMap(@Self)^.&set := $00000400;
  25908. end;
  25909. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  25910. begin
  25911. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25912. end;
  25913. procedure TPORTA_LATA.setLATA14; inline;
  25914. begin
  25915. pTDefRegMap(@Self)^.&set := $00004000;
  25916. end;
  25917. procedure TPORTA_LATA.clearLATA14; inline;
  25918. begin
  25919. pTDefRegMap(@Self)^.clr := $00004000;
  25920. end;
  25921. procedure TPORTA_LATA.setLATA14(thebits : TBits_1); inline;
  25922. begin
  25923. if thebits = 0 then
  25924. pTDefRegMap(@Self)^.clr := $00004000
  25925. else
  25926. pTDefRegMap(@Self)^.&set := $00004000;
  25927. end;
  25928. function TPORTA_LATA.getLATA14 : TBits_1; inline;
  25929. begin
  25930. getLATA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25931. end;
  25932. procedure TPORTA_LATA.setLATA15; inline;
  25933. begin
  25934. pTDefRegMap(@Self)^.&set := $00008000;
  25935. end;
  25936. procedure TPORTA_LATA.clearLATA15; inline;
  25937. begin
  25938. pTDefRegMap(@Self)^.clr := $00008000;
  25939. end;
  25940. procedure TPORTA_LATA.setLATA15(thebits : TBits_1); inline;
  25941. begin
  25942. if thebits = 0 then
  25943. pTDefRegMap(@Self)^.clr := $00008000
  25944. else
  25945. pTDefRegMap(@Self)^.&set := $00008000;
  25946. end;
  25947. function TPORTA_LATA.getLATA15 : TBits_1; inline;
  25948. begin
  25949. getLATA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25950. end;
  25951. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  25952. begin
  25953. pTDefRegMap(@Self)^.val := thebits;
  25954. end;
  25955. function TPORTA_LATA.getw : TBits_32; inline;
  25956. begin
  25957. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25958. end;
  25959. procedure TPORTA_ODCA.setODCA0; inline;
  25960. begin
  25961. pTDefRegMap(@Self)^.&set := $00000001;
  25962. end;
  25963. procedure TPORTA_ODCA.clearODCA0; inline;
  25964. begin
  25965. pTDefRegMap(@Self)^.clr := $00000001;
  25966. end;
  25967. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  25968. begin
  25969. if thebits = 0 then
  25970. pTDefRegMap(@Self)^.clr := $00000001
  25971. else
  25972. pTDefRegMap(@Self)^.&set := $00000001;
  25973. end;
  25974. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  25975. begin
  25976. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25977. end;
  25978. procedure TPORTA_ODCA.setODCA1; inline;
  25979. begin
  25980. pTDefRegMap(@Self)^.&set := $00000002;
  25981. end;
  25982. procedure TPORTA_ODCA.clearODCA1; inline;
  25983. begin
  25984. pTDefRegMap(@Self)^.clr := $00000002;
  25985. end;
  25986. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  25987. begin
  25988. if thebits = 0 then
  25989. pTDefRegMap(@Self)^.clr := $00000002
  25990. else
  25991. pTDefRegMap(@Self)^.&set := $00000002;
  25992. end;
  25993. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  25994. begin
  25995. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25996. end;
  25997. procedure TPORTA_ODCA.setODCA2; inline;
  25998. begin
  25999. pTDefRegMap(@Self)^.&set := $00000004;
  26000. end;
  26001. procedure TPORTA_ODCA.clearODCA2; inline;
  26002. begin
  26003. pTDefRegMap(@Self)^.clr := $00000004;
  26004. end;
  26005. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  26006. begin
  26007. if thebits = 0 then
  26008. pTDefRegMap(@Self)^.clr := $00000004
  26009. else
  26010. pTDefRegMap(@Self)^.&set := $00000004;
  26011. end;
  26012. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  26013. begin
  26014. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26015. end;
  26016. procedure TPORTA_ODCA.setODCA3; inline;
  26017. begin
  26018. pTDefRegMap(@Self)^.&set := $00000008;
  26019. end;
  26020. procedure TPORTA_ODCA.clearODCA3; inline;
  26021. begin
  26022. pTDefRegMap(@Self)^.clr := $00000008;
  26023. end;
  26024. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  26025. begin
  26026. if thebits = 0 then
  26027. pTDefRegMap(@Self)^.clr := $00000008
  26028. else
  26029. pTDefRegMap(@Self)^.&set := $00000008;
  26030. end;
  26031. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  26032. begin
  26033. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26034. end;
  26035. procedure TPORTA_ODCA.setODCA4; inline;
  26036. begin
  26037. pTDefRegMap(@Self)^.&set := $00000010;
  26038. end;
  26039. procedure TPORTA_ODCA.clearODCA4; inline;
  26040. begin
  26041. pTDefRegMap(@Self)^.clr := $00000010;
  26042. end;
  26043. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  26044. begin
  26045. if thebits = 0 then
  26046. pTDefRegMap(@Self)^.clr := $00000010
  26047. else
  26048. pTDefRegMap(@Self)^.&set := $00000010;
  26049. end;
  26050. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  26051. begin
  26052. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26053. end;
  26054. procedure TPORTA_ODCA.setODCA5; inline;
  26055. begin
  26056. pTDefRegMap(@Self)^.&set := $00000020;
  26057. end;
  26058. procedure TPORTA_ODCA.clearODCA5; inline;
  26059. begin
  26060. pTDefRegMap(@Self)^.clr := $00000020;
  26061. end;
  26062. procedure TPORTA_ODCA.setODCA5(thebits : TBits_1); inline;
  26063. begin
  26064. if thebits = 0 then
  26065. pTDefRegMap(@Self)^.clr := $00000020
  26066. else
  26067. pTDefRegMap(@Self)^.&set := $00000020;
  26068. end;
  26069. function TPORTA_ODCA.getODCA5 : TBits_1; inline;
  26070. begin
  26071. getODCA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26072. end;
  26073. procedure TPORTA_ODCA.setODCA6; inline;
  26074. begin
  26075. pTDefRegMap(@Self)^.&set := $00000040;
  26076. end;
  26077. procedure TPORTA_ODCA.clearODCA6; inline;
  26078. begin
  26079. pTDefRegMap(@Self)^.clr := $00000040;
  26080. end;
  26081. procedure TPORTA_ODCA.setODCA6(thebits : TBits_1); inline;
  26082. begin
  26083. if thebits = 0 then
  26084. pTDefRegMap(@Self)^.clr := $00000040
  26085. else
  26086. pTDefRegMap(@Self)^.&set := $00000040;
  26087. end;
  26088. function TPORTA_ODCA.getODCA6 : TBits_1; inline;
  26089. begin
  26090. getODCA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26091. end;
  26092. procedure TPORTA_ODCA.setODCA7; inline;
  26093. begin
  26094. pTDefRegMap(@Self)^.&set := $00000080;
  26095. end;
  26096. procedure TPORTA_ODCA.clearODCA7; inline;
  26097. begin
  26098. pTDefRegMap(@Self)^.clr := $00000080;
  26099. end;
  26100. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  26101. begin
  26102. if thebits = 0 then
  26103. pTDefRegMap(@Self)^.clr := $00000080
  26104. else
  26105. pTDefRegMap(@Self)^.&set := $00000080;
  26106. end;
  26107. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  26108. begin
  26109. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26110. end;
  26111. procedure TPORTA_ODCA.setODCA9; inline;
  26112. begin
  26113. pTDefRegMap(@Self)^.&set := $00000200;
  26114. end;
  26115. procedure TPORTA_ODCA.clearODCA9; inline;
  26116. begin
  26117. pTDefRegMap(@Self)^.clr := $00000200;
  26118. end;
  26119. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  26120. begin
  26121. if thebits = 0 then
  26122. pTDefRegMap(@Self)^.clr := $00000200
  26123. else
  26124. pTDefRegMap(@Self)^.&set := $00000200;
  26125. end;
  26126. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  26127. begin
  26128. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26129. end;
  26130. procedure TPORTA_ODCA.setODCA10; inline;
  26131. begin
  26132. pTDefRegMap(@Self)^.&set := $00000400;
  26133. end;
  26134. procedure TPORTA_ODCA.clearODCA10; inline;
  26135. begin
  26136. pTDefRegMap(@Self)^.clr := $00000400;
  26137. end;
  26138. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  26139. begin
  26140. if thebits = 0 then
  26141. pTDefRegMap(@Self)^.clr := $00000400
  26142. else
  26143. pTDefRegMap(@Self)^.&set := $00000400;
  26144. end;
  26145. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  26146. begin
  26147. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26148. end;
  26149. procedure TPORTA_ODCA.setODCA14; inline;
  26150. begin
  26151. pTDefRegMap(@Self)^.&set := $00004000;
  26152. end;
  26153. procedure TPORTA_ODCA.clearODCA14; inline;
  26154. begin
  26155. pTDefRegMap(@Self)^.clr := $00004000;
  26156. end;
  26157. procedure TPORTA_ODCA.setODCA14(thebits : TBits_1); inline;
  26158. begin
  26159. if thebits = 0 then
  26160. pTDefRegMap(@Self)^.clr := $00004000
  26161. else
  26162. pTDefRegMap(@Self)^.&set := $00004000;
  26163. end;
  26164. function TPORTA_ODCA.getODCA14 : TBits_1; inline;
  26165. begin
  26166. getODCA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26167. end;
  26168. procedure TPORTA_ODCA.setODCA15; inline;
  26169. begin
  26170. pTDefRegMap(@Self)^.&set := $00008000;
  26171. end;
  26172. procedure TPORTA_ODCA.clearODCA15; inline;
  26173. begin
  26174. pTDefRegMap(@Self)^.clr := $00008000;
  26175. end;
  26176. procedure TPORTA_ODCA.setODCA15(thebits : TBits_1); inline;
  26177. begin
  26178. if thebits = 0 then
  26179. pTDefRegMap(@Self)^.clr := $00008000
  26180. else
  26181. pTDefRegMap(@Self)^.&set := $00008000;
  26182. end;
  26183. function TPORTA_ODCA.getODCA15 : TBits_1; inline;
  26184. begin
  26185. getODCA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26186. end;
  26187. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  26188. begin
  26189. pTDefRegMap(@Self)^.val := thebits;
  26190. end;
  26191. function TPORTA_ODCA.getw : TBits_32; inline;
  26192. begin
  26193. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26194. end;
  26195. procedure TPORTB_TRISB.setTRISB0; inline;
  26196. begin
  26197. pTDefRegMap(@Self)^.&set := $00000001;
  26198. end;
  26199. procedure TPORTB_TRISB.clearTRISB0; inline;
  26200. begin
  26201. pTDefRegMap(@Self)^.clr := $00000001;
  26202. end;
  26203. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  26204. begin
  26205. if thebits = 0 then
  26206. pTDefRegMap(@Self)^.clr := $00000001
  26207. else
  26208. pTDefRegMap(@Self)^.&set := $00000001;
  26209. end;
  26210. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  26211. begin
  26212. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26213. end;
  26214. procedure TPORTB_TRISB.setTRISB1; inline;
  26215. begin
  26216. pTDefRegMap(@Self)^.&set := $00000002;
  26217. end;
  26218. procedure TPORTB_TRISB.clearTRISB1; inline;
  26219. begin
  26220. pTDefRegMap(@Self)^.clr := $00000002;
  26221. end;
  26222. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  26223. begin
  26224. if thebits = 0 then
  26225. pTDefRegMap(@Self)^.clr := $00000002
  26226. else
  26227. pTDefRegMap(@Self)^.&set := $00000002;
  26228. end;
  26229. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  26230. begin
  26231. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26232. end;
  26233. procedure TPORTB_TRISB.setTRISB2; inline;
  26234. begin
  26235. pTDefRegMap(@Self)^.&set := $00000004;
  26236. end;
  26237. procedure TPORTB_TRISB.clearTRISB2; inline;
  26238. begin
  26239. pTDefRegMap(@Self)^.clr := $00000004;
  26240. end;
  26241. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  26242. begin
  26243. if thebits = 0 then
  26244. pTDefRegMap(@Self)^.clr := $00000004
  26245. else
  26246. pTDefRegMap(@Self)^.&set := $00000004;
  26247. end;
  26248. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  26249. begin
  26250. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26251. end;
  26252. procedure TPORTB_TRISB.setTRISB3; inline;
  26253. begin
  26254. pTDefRegMap(@Self)^.&set := $00000008;
  26255. end;
  26256. procedure TPORTB_TRISB.clearTRISB3; inline;
  26257. begin
  26258. pTDefRegMap(@Self)^.clr := $00000008;
  26259. end;
  26260. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  26261. begin
  26262. if thebits = 0 then
  26263. pTDefRegMap(@Self)^.clr := $00000008
  26264. else
  26265. pTDefRegMap(@Self)^.&set := $00000008;
  26266. end;
  26267. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  26268. begin
  26269. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26270. end;
  26271. procedure TPORTB_TRISB.setTRISB4; inline;
  26272. begin
  26273. pTDefRegMap(@Self)^.&set := $00000010;
  26274. end;
  26275. procedure TPORTB_TRISB.clearTRISB4; inline;
  26276. begin
  26277. pTDefRegMap(@Self)^.clr := $00000010;
  26278. end;
  26279. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  26280. begin
  26281. if thebits = 0 then
  26282. pTDefRegMap(@Self)^.clr := $00000010
  26283. else
  26284. pTDefRegMap(@Self)^.&set := $00000010;
  26285. end;
  26286. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  26287. begin
  26288. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26289. end;
  26290. procedure TPORTB_TRISB.setTRISB5; inline;
  26291. begin
  26292. pTDefRegMap(@Self)^.&set := $00000020;
  26293. end;
  26294. procedure TPORTB_TRISB.clearTRISB5; inline;
  26295. begin
  26296. pTDefRegMap(@Self)^.clr := $00000020;
  26297. end;
  26298. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  26299. begin
  26300. if thebits = 0 then
  26301. pTDefRegMap(@Self)^.clr := $00000020
  26302. else
  26303. pTDefRegMap(@Self)^.&set := $00000020;
  26304. end;
  26305. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  26306. begin
  26307. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26308. end;
  26309. procedure TPORTB_TRISB.setTRISB6; inline;
  26310. begin
  26311. pTDefRegMap(@Self)^.&set := $00000040;
  26312. end;
  26313. procedure TPORTB_TRISB.clearTRISB6; inline;
  26314. begin
  26315. pTDefRegMap(@Self)^.clr := $00000040;
  26316. end;
  26317. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  26318. begin
  26319. if thebits = 0 then
  26320. pTDefRegMap(@Self)^.clr := $00000040
  26321. else
  26322. pTDefRegMap(@Self)^.&set := $00000040;
  26323. end;
  26324. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  26325. begin
  26326. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26327. end;
  26328. procedure TPORTB_TRISB.setTRISB7; inline;
  26329. begin
  26330. pTDefRegMap(@Self)^.&set := $00000080;
  26331. end;
  26332. procedure TPORTB_TRISB.clearTRISB7; inline;
  26333. begin
  26334. pTDefRegMap(@Self)^.clr := $00000080;
  26335. end;
  26336. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  26337. begin
  26338. if thebits = 0 then
  26339. pTDefRegMap(@Self)^.clr := $00000080
  26340. else
  26341. pTDefRegMap(@Self)^.&set := $00000080;
  26342. end;
  26343. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  26344. begin
  26345. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26346. end;
  26347. procedure TPORTB_TRISB.setTRISB8; inline;
  26348. begin
  26349. pTDefRegMap(@Self)^.&set := $00000100;
  26350. end;
  26351. procedure TPORTB_TRISB.clearTRISB8; inline;
  26352. begin
  26353. pTDefRegMap(@Self)^.clr := $00000100;
  26354. end;
  26355. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  26356. begin
  26357. if thebits = 0 then
  26358. pTDefRegMap(@Self)^.clr := $00000100
  26359. else
  26360. pTDefRegMap(@Self)^.&set := $00000100;
  26361. end;
  26362. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  26363. begin
  26364. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26365. end;
  26366. procedure TPORTB_TRISB.setTRISB9; inline;
  26367. begin
  26368. pTDefRegMap(@Self)^.&set := $00000200;
  26369. end;
  26370. procedure TPORTB_TRISB.clearTRISB9; inline;
  26371. begin
  26372. pTDefRegMap(@Self)^.clr := $00000200;
  26373. end;
  26374. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  26375. begin
  26376. if thebits = 0 then
  26377. pTDefRegMap(@Self)^.clr := $00000200
  26378. else
  26379. pTDefRegMap(@Self)^.&set := $00000200;
  26380. end;
  26381. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  26382. begin
  26383. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26384. end;
  26385. procedure TPORTB_TRISB.setTRISB10; inline;
  26386. begin
  26387. pTDefRegMap(@Self)^.&set := $00000400;
  26388. end;
  26389. procedure TPORTB_TRISB.clearTRISB10; inline;
  26390. begin
  26391. pTDefRegMap(@Self)^.clr := $00000400;
  26392. end;
  26393. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  26394. begin
  26395. if thebits = 0 then
  26396. pTDefRegMap(@Self)^.clr := $00000400
  26397. else
  26398. pTDefRegMap(@Self)^.&set := $00000400;
  26399. end;
  26400. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  26401. begin
  26402. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26403. end;
  26404. procedure TPORTB_TRISB.setTRISB11; inline;
  26405. begin
  26406. pTDefRegMap(@Self)^.&set := $00000800;
  26407. end;
  26408. procedure TPORTB_TRISB.clearTRISB11; inline;
  26409. begin
  26410. pTDefRegMap(@Self)^.clr := $00000800;
  26411. end;
  26412. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  26413. begin
  26414. if thebits = 0 then
  26415. pTDefRegMap(@Self)^.clr := $00000800
  26416. else
  26417. pTDefRegMap(@Self)^.&set := $00000800;
  26418. end;
  26419. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  26420. begin
  26421. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26422. end;
  26423. procedure TPORTB_TRISB.setTRISB12; inline;
  26424. begin
  26425. pTDefRegMap(@Self)^.&set := $00001000;
  26426. end;
  26427. procedure TPORTB_TRISB.clearTRISB12; inline;
  26428. begin
  26429. pTDefRegMap(@Self)^.clr := $00001000;
  26430. end;
  26431. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  26432. begin
  26433. if thebits = 0 then
  26434. pTDefRegMap(@Self)^.clr := $00001000
  26435. else
  26436. pTDefRegMap(@Self)^.&set := $00001000;
  26437. end;
  26438. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  26439. begin
  26440. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26441. end;
  26442. procedure TPORTB_TRISB.setTRISB13; inline;
  26443. begin
  26444. pTDefRegMap(@Self)^.&set := $00002000;
  26445. end;
  26446. procedure TPORTB_TRISB.clearTRISB13; inline;
  26447. begin
  26448. pTDefRegMap(@Self)^.clr := $00002000;
  26449. end;
  26450. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  26451. begin
  26452. if thebits = 0 then
  26453. pTDefRegMap(@Self)^.clr := $00002000
  26454. else
  26455. pTDefRegMap(@Self)^.&set := $00002000;
  26456. end;
  26457. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  26458. begin
  26459. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26460. end;
  26461. procedure TPORTB_TRISB.setTRISB14; inline;
  26462. begin
  26463. pTDefRegMap(@Self)^.&set := $00004000;
  26464. end;
  26465. procedure TPORTB_TRISB.clearTRISB14; inline;
  26466. begin
  26467. pTDefRegMap(@Self)^.clr := $00004000;
  26468. end;
  26469. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  26470. begin
  26471. if thebits = 0 then
  26472. pTDefRegMap(@Self)^.clr := $00004000
  26473. else
  26474. pTDefRegMap(@Self)^.&set := $00004000;
  26475. end;
  26476. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  26477. begin
  26478. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26479. end;
  26480. procedure TPORTB_TRISB.setTRISB15; inline;
  26481. begin
  26482. pTDefRegMap(@Self)^.&set := $00008000;
  26483. end;
  26484. procedure TPORTB_TRISB.clearTRISB15; inline;
  26485. begin
  26486. pTDefRegMap(@Self)^.clr := $00008000;
  26487. end;
  26488. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  26489. begin
  26490. if thebits = 0 then
  26491. pTDefRegMap(@Self)^.clr := $00008000
  26492. else
  26493. pTDefRegMap(@Self)^.&set := $00008000;
  26494. end;
  26495. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  26496. begin
  26497. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26498. end;
  26499. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  26500. begin
  26501. pTDefRegMap(@Self)^.val := thebits;
  26502. end;
  26503. function TPORTB_TRISB.getw : TBits_32; inline;
  26504. begin
  26505. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26506. end;
  26507. procedure TPORTB_PORTB.setRB0; inline;
  26508. begin
  26509. pTDefRegMap(@Self)^.&set := $00000001;
  26510. end;
  26511. procedure TPORTB_PORTB.clearRB0; inline;
  26512. begin
  26513. pTDefRegMap(@Self)^.clr := $00000001;
  26514. end;
  26515. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  26516. begin
  26517. if thebits = 0 then
  26518. pTDefRegMap(@Self)^.clr := $00000001
  26519. else
  26520. pTDefRegMap(@Self)^.&set := $00000001;
  26521. end;
  26522. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  26523. begin
  26524. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26525. end;
  26526. procedure TPORTB_PORTB.setRB1; inline;
  26527. begin
  26528. pTDefRegMap(@Self)^.&set := $00000002;
  26529. end;
  26530. procedure TPORTB_PORTB.clearRB1; inline;
  26531. begin
  26532. pTDefRegMap(@Self)^.clr := $00000002;
  26533. end;
  26534. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  26535. begin
  26536. if thebits = 0 then
  26537. pTDefRegMap(@Self)^.clr := $00000002
  26538. else
  26539. pTDefRegMap(@Self)^.&set := $00000002;
  26540. end;
  26541. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  26542. begin
  26543. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26544. end;
  26545. procedure TPORTB_PORTB.setRB2; inline;
  26546. begin
  26547. pTDefRegMap(@Self)^.&set := $00000004;
  26548. end;
  26549. procedure TPORTB_PORTB.clearRB2; inline;
  26550. begin
  26551. pTDefRegMap(@Self)^.clr := $00000004;
  26552. end;
  26553. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  26554. begin
  26555. if thebits = 0 then
  26556. pTDefRegMap(@Self)^.clr := $00000004
  26557. else
  26558. pTDefRegMap(@Self)^.&set := $00000004;
  26559. end;
  26560. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  26561. begin
  26562. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26563. end;
  26564. procedure TPORTB_PORTB.setRB3; inline;
  26565. begin
  26566. pTDefRegMap(@Self)^.&set := $00000008;
  26567. end;
  26568. procedure TPORTB_PORTB.clearRB3; inline;
  26569. begin
  26570. pTDefRegMap(@Self)^.clr := $00000008;
  26571. end;
  26572. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  26573. begin
  26574. if thebits = 0 then
  26575. pTDefRegMap(@Self)^.clr := $00000008
  26576. else
  26577. pTDefRegMap(@Self)^.&set := $00000008;
  26578. end;
  26579. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  26580. begin
  26581. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26582. end;
  26583. procedure TPORTB_PORTB.setRB4; inline;
  26584. begin
  26585. pTDefRegMap(@Self)^.&set := $00000010;
  26586. end;
  26587. procedure TPORTB_PORTB.clearRB4; inline;
  26588. begin
  26589. pTDefRegMap(@Self)^.clr := $00000010;
  26590. end;
  26591. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  26592. begin
  26593. if thebits = 0 then
  26594. pTDefRegMap(@Self)^.clr := $00000010
  26595. else
  26596. pTDefRegMap(@Self)^.&set := $00000010;
  26597. end;
  26598. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  26599. begin
  26600. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26601. end;
  26602. procedure TPORTB_PORTB.setRB5; inline;
  26603. begin
  26604. pTDefRegMap(@Self)^.&set := $00000020;
  26605. end;
  26606. procedure TPORTB_PORTB.clearRB5; inline;
  26607. begin
  26608. pTDefRegMap(@Self)^.clr := $00000020;
  26609. end;
  26610. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  26611. begin
  26612. if thebits = 0 then
  26613. pTDefRegMap(@Self)^.clr := $00000020
  26614. else
  26615. pTDefRegMap(@Self)^.&set := $00000020;
  26616. end;
  26617. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  26618. begin
  26619. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26620. end;
  26621. procedure TPORTB_PORTB.setRB6; inline;
  26622. begin
  26623. pTDefRegMap(@Self)^.&set := $00000040;
  26624. end;
  26625. procedure TPORTB_PORTB.clearRB6; inline;
  26626. begin
  26627. pTDefRegMap(@Self)^.clr := $00000040;
  26628. end;
  26629. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  26630. begin
  26631. if thebits = 0 then
  26632. pTDefRegMap(@Self)^.clr := $00000040
  26633. else
  26634. pTDefRegMap(@Self)^.&set := $00000040;
  26635. end;
  26636. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  26637. begin
  26638. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26639. end;
  26640. procedure TPORTB_PORTB.setRB7; inline;
  26641. begin
  26642. pTDefRegMap(@Self)^.&set := $00000080;
  26643. end;
  26644. procedure TPORTB_PORTB.clearRB7; inline;
  26645. begin
  26646. pTDefRegMap(@Self)^.clr := $00000080;
  26647. end;
  26648. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  26649. begin
  26650. if thebits = 0 then
  26651. pTDefRegMap(@Self)^.clr := $00000080
  26652. else
  26653. pTDefRegMap(@Self)^.&set := $00000080;
  26654. end;
  26655. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  26656. begin
  26657. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26658. end;
  26659. procedure TPORTB_PORTB.setRB8; inline;
  26660. begin
  26661. pTDefRegMap(@Self)^.&set := $00000100;
  26662. end;
  26663. procedure TPORTB_PORTB.clearRB8; inline;
  26664. begin
  26665. pTDefRegMap(@Self)^.clr := $00000100;
  26666. end;
  26667. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  26668. begin
  26669. if thebits = 0 then
  26670. pTDefRegMap(@Self)^.clr := $00000100
  26671. else
  26672. pTDefRegMap(@Self)^.&set := $00000100;
  26673. end;
  26674. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  26675. begin
  26676. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26677. end;
  26678. procedure TPORTB_PORTB.setRB9; inline;
  26679. begin
  26680. pTDefRegMap(@Self)^.&set := $00000200;
  26681. end;
  26682. procedure TPORTB_PORTB.clearRB9; inline;
  26683. begin
  26684. pTDefRegMap(@Self)^.clr := $00000200;
  26685. end;
  26686. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  26687. begin
  26688. if thebits = 0 then
  26689. pTDefRegMap(@Self)^.clr := $00000200
  26690. else
  26691. pTDefRegMap(@Self)^.&set := $00000200;
  26692. end;
  26693. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  26694. begin
  26695. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26696. end;
  26697. procedure TPORTB_PORTB.setRB10; inline;
  26698. begin
  26699. pTDefRegMap(@Self)^.&set := $00000400;
  26700. end;
  26701. procedure TPORTB_PORTB.clearRB10; inline;
  26702. begin
  26703. pTDefRegMap(@Self)^.clr := $00000400;
  26704. end;
  26705. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  26706. begin
  26707. if thebits = 0 then
  26708. pTDefRegMap(@Self)^.clr := $00000400
  26709. else
  26710. pTDefRegMap(@Self)^.&set := $00000400;
  26711. end;
  26712. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  26713. begin
  26714. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26715. end;
  26716. procedure TPORTB_PORTB.setRB11; inline;
  26717. begin
  26718. pTDefRegMap(@Self)^.&set := $00000800;
  26719. end;
  26720. procedure TPORTB_PORTB.clearRB11; inline;
  26721. begin
  26722. pTDefRegMap(@Self)^.clr := $00000800;
  26723. end;
  26724. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  26725. begin
  26726. if thebits = 0 then
  26727. pTDefRegMap(@Self)^.clr := $00000800
  26728. else
  26729. pTDefRegMap(@Self)^.&set := $00000800;
  26730. end;
  26731. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  26732. begin
  26733. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26734. end;
  26735. procedure TPORTB_PORTB.setRB12; inline;
  26736. begin
  26737. pTDefRegMap(@Self)^.&set := $00001000;
  26738. end;
  26739. procedure TPORTB_PORTB.clearRB12; inline;
  26740. begin
  26741. pTDefRegMap(@Self)^.clr := $00001000;
  26742. end;
  26743. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  26744. begin
  26745. if thebits = 0 then
  26746. pTDefRegMap(@Self)^.clr := $00001000
  26747. else
  26748. pTDefRegMap(@Self)^.&set := $00001000;
  26749. end;
  26750. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  26751. begin
  26752. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26753. end;
  26754. procedure TPORTB_PORTB.setRB13; inline;
  26755. begin
  26756. pTDefRegMap(@Self)^.&set := $00002000;
  26757. end;
  26758. procedure TPORTB_PORTB.clearRB13; inline;
  26759. begin
  26760. pTDefRegMap(@Self)^.clr := $00002000;
  26761. end;
  26762. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  26763. begin
  26764. if thebits = 0 then
  26765. pTDefRegMap(@Self)^.clr := $00002000
  26766. else
  26767. pTDefRegMap(@Self)^.&set := $00002000;
  26768. end;
  26769. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  26770. begin
  26771. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26772. end;
  26773. procedure TPORTB_PORTB.setRB14; inline;
  26774. begin
  26775. pTDefRegMap(@Self)^.&set := $00004000;
  26776. end;
  26777. procedure TPORTB_PORTB.clearRB14; inline;
  26778. begin
  26779. pTDefRegMap(@Self)^.clr := $00004000;
  26780. end;
  26781. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  26782. begin
  26783. if thebits = 0 then
  26784. pTDefRegMap(@Self)^.clr := $00004000
  26785. else
  26786. pTDefRegMap(@Self)^.&set := $00004000;
  26787. end;
  26788. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  26789. begin
  26790. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26791. end;
  26792. procedure TPORTB_PORTB.setRB15; inline;
  26793. begin
  26794. pTDefRegMap(@Self)^.&set := $00008000;
  26795. end;
  26796. procedure TPORTB_PORTB.clearRB15; inline;
  26797. begin
  26798. pTDefRegMap(@Self)^.clr := $00008000;
  26799. end;
  26800. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  26801. begin
  26802. if thebits = 0 then
  26803. pTDefRegMap(@Self)^.clr := $00008000
  26804. else
  26805. pTDefRegMap(@Self)^.&set := $00008000;
  26806. end;
  26807. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  26808. begin
  26809. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26810. end;
  26811. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  26812. begin
  26813. pTDefRegMap(@Self)^.val := thebits;
  26814. end;
  26815. function TPORTB_PORTB.getw : TBits_32; inline;
  26816. begin
  26817. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26818. end;
  26819. procedure TPORTB_LATB.setLATB0; inline;
  26820. begin
  26821. pTDefRegMap(@Self)^.&set := $00000001;
  26822. end;
  26823. procedure TPORTB_LATB.clearLATB0; inline;
  26824. begin
  26825. pTDefRegMap(@Self)^.clr := $00000001;
  26826. end;
  26827. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  26828. begin
  26829. if thebits = 0 then
  26830. pTDefRegMap(@Self)^.clr := $00000001
  26831. else
  26832. pTDefRegMap(@Self)^.&set := $00000001;
  26833. end;
  26834. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  26835. begin
  26836. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26837. end;
  26838. procedure TPORTB_LATB.setLATB1; inline;
  26839. begin
  26840. pTDefRegMap(@Self)^.&set := $00000002;
  26841. end;
  26842. procedure TPORTB_LATB.clearLATB1; inline;
  26843. begin
  26844. pTDefRegMap(@Self)^.clr := $00000002;
  26845. end;
  26846. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  26847. begin
  26848. if thebits = 0 then
  26849. pTDefRegMap(@Self)^.clr := $00000002
  26850. else
  26851. pTDefRegMap(@Self)^.&set := $00000002;
  26852. end;
  26853. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  26854. begin
  26855. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26856. end;
  26857. procedure TPORTB_LATB.setLATB2; inline;
  26858. begin
  26859. pTDefRegMap(@Self)^.&set := $00000004;
  26860. end;
  26861. procedure TPORTB_LATB.clearLATB2; inline;
  26862. begin
  26863. pTDefRegMap(@Self)^.clr := $00000004;
  26864. end;
  26865. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  26866. begin
  26867. if thebits = 0 then
  26868. pTDefRegMap(@Self)^.clr := $00000004
  26869. else
  26870. pTDefRegMap(@Self)^.&set := $00000004;
  26871. end;
  26872. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  26873. begin
  26874. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26875. end;
  26876. procedure TPORTB_LATB.setLATB3; inline;
  26877. begin
  26878. pTDefRegMap(@Self)^.&set := $00000008;
  26879. end;
  26880. procedure TPORTB_LATB.clearLATB3; inline;
  26881. begin
  26882. pTDefRegMap(@Self)^.clr := $00000008;
  26883. end;
  26884. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  26885. begin
  26886. if thebits = 0 then
  26887. pTDefRegMap(@Self)^.clr := $00000008
  26888. else
  26889. pTDefRegMap(@Self)^.&set := $00000008;
  26890. end;
  26891. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  26892. begin
  26893. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26894. end;
  26895. procedure TPORTB_LATB.setLATB4; inline;
  26896. begin
  26897. pTDefRegMap(@Self)^.&set := $00000010;
  26898. end;
  26899. procedure TPORTB_LATB.clearLATB4; inline;
  26900. begin
  26901. pTDefRegMap(@Self)^.clr := $00000010;
  26902. end;
  26903. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  26904. begin
  26905. if thebits = 0 then
  26906. pTDefRegMap(@Self)^.clr := $00000010
  26907. else
  26908. pTDefRegMap(@Self)^.&set := $00000010;
  26909. end;
  26910. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  26911. begin
  26912. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26913. end;
  26914. procedure TPORTB_LATB.setLATB5; inline;
  26915. begin
  26916. pTDefRegMap(@Self)^.&set := $00000020;
  26917. end;
  26918. procedure TPORTB_LATB.clearLATB5; inline;
  26919. begin
  26920. pTDefRegMap(@Self)^.clr := $00000020;
  26921. end;
  26922. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  26923. begin
  26924. if thebits = 0 then
  26925. pTDefRegMap(@Self)^.clr := $00000020
  26926. else
  26927. pTDefRegMap(@Self)^.&set := $00000020;
  26928. end;
  26929. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  26930. begin
  26931. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26932. end;
  26933. procedure TPORTB_LATB.setLATB6; inline;
  26934. begin
  26935. pTDefRegMap(@Self)^.&set := $00000040;
  26936. end;
  26937. procedure TPORTB_LATB.clearLATB6; inline;
  26938. begin
  26939. pTDefRegMap(@Self)^.clr := $00000040;
  26940. end;
  26941. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  26942. begin
  26943. if thebits = 0 then
  26944. pTDefRegMap(@Self)^.clr := $00000040
  26945. else
  26946. pTDefRegMap(@Self)^.&set := $00000040;
  26947. end;
  26948. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  26949. begin
  26950. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26951. end;
  26952. procedure TPORTB_LATB.setLATB7; inline;
  26953. begin
  26954. pTDefRegMap(@Self)^.&set := $00000080;
  26955. end;
  26956. procedure TPORTB_LATB.clearLATB7; inline;
  26957. begin
  26958. pTDefRegMap(@Self)^.clr := $00000080;
  26959. end;
  26960. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  26961. begin
  26962. if thebits = 0 then
  26963. pTDefRegMap(@Self)^.clr := $00000080
  26964. else
  26965. pTDefRegMap(@Self)^.&set := $00000080;
  26966. end;
  26967. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  26968. begin
  26969. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26970. end;
  26971. procedure TPORTB_LATB.setLATB8; inline;
  26972. begin
  26973. pTDefRegMap(@Self)^.&set := $00000100;
  26974. end;
  26975. procedure TPORTB_LATB.clearLATB8; inline;
  26976. begin
  26977. pTDefRegMap(@Self)^.clr := $00000100;
  26978. end;
  26979. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  26980. begin
  26981. if thebits = 0 then
  26982. pTDefRegMap(@Self)^.clr := $00000100
  26983. else
  26984. pTDefRegMap(@Self)^.&set := $00000100;
  26985. end;
  26986. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  26987. begin
  26988. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26989. end;
  26990. procedure TPORTB_LATB.setLATB9; inline;
  26991. begin
  26992. pTDefRegMap(@Self)^.&set := $00000200;
  26993. end;
  26994. procedure TPORTB_LATB.clearLATB9; inline;
  26995. begin
  26996. pTDefRegMap(@Self)^.clr := $00000200;
  26997. end;
  26998. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  26999. begin
  27000. if thebits = 0 then
  27001. pTDefRegMap(@Self)^.clr := $00000200
  27002. else
  27003. pTDefRegMap(@Self)^.&set := $00000200;
  27004. end;
  27005. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  27006. begin
  27007. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27008. end;
  27009. procedure TPORTB_LATB.setLATB10; inline;
  27010. begin
  27011. pTDefRegMap(@Self)^.&set := $00000400;
  27012. end;
  27013. procedure TPORTB_LATB.clearLATB10; inline;
  27014. begin
  27015. pTDefRegMap(@Self)^.clr := $00000400;
  27016. end;
  27017. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  27018. begin
  27019. if thebits = 0 then
  27020. pTDefRegMap(@Self)^.clr := $00000400
  27021. else
  27022. pTDefRegMap(@Self)^.&set := $00000400;
  27023. end;
  27024. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  27025. begin
  27026. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27027. end;
  27028. procedure TPORTB_LATB.setLATB11; inline;
  27029. begin
  27030. pTDefRegMap(@Self)^.&set := $00000800;
  27031. end;
  27032. procedure TPORTB_LATB.clearLATB11; inline;
  27033. begin
  27034. pTDefRegMap(@Self)^.clr := $00000800;
  27035. end;
  27036. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  27037. begin
  27038. if thebits = 0 then
  27039. pTDefRegMap(@Self)^.clr := $00000800
  27040. else
  27041. pTDefRegMap(@Self)^.&set := $00000800;
  27042. end;
  27043. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  27044. begin
  27045. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27046. end;
  27047. procedure TPORTB_LATB.setLATB12; inline;
  27048. begin
  27049. pTDefRegMap(@Self)^.&set := $00001000;
  27050. end;
  27051. procedure TPORTB_LATB.clearLATB12; inline;
  27052. begin
  27053. pTDefRegMap(@Self)^.clr := $00001000;
  27054. end;
  27055. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  27056. begin
  27057. if thebits = 0 then
  27058. pTDefRegMap(@Self)^.clr := $00001000
  27059. else
  27060. pTDefRegMap(@Self)^.&set := $00001000;
  27061. end;
  27062. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  27063. begin
  27064. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27065. end;
  27066. procedure TPORTB_LATB.setLATB13; inline;
  27067. begin
  27068. pTDefRegMap(@Self)^.&set := $00002000;
  27069. end;
  27070. procedure TPORTB_LATB.clearLATB13; inline;
  27071. begin
  27072. pTDefRegMap(@Self)^.clr := $00002000;
  27073. end;
  27074. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  27075. begin
  27076. if thebits = 0 then
  27077. pTDefRegMap(@Self)^.clr := $00002000
  27078. else
  27079. pTDefRegMap(@Self)^.&set := $00002000;
  27080. end;
  27081. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  27082. begin
  27083. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27084. end;
  27085. procedure TPORTB_LATB.setLATB14; inline;
  27086. begin
  27087. pTDefRegMap(@Self)^.&set := $00004000;
  27088. end;
  27089. procedure TPORTB_LATB.clearLATB14; inline;
  27090. begin
  27091. pTDefRegMap(@Self)^.clr := $00004000;
  27092. end;
  27093. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  27094. begin
  27095. if thebits = 0 then
  27096. pTDefRegMap(@Self)^.clr := $00004000
  27097. else
  27098. pTDefRegMap(@Self)^.&set := $00004000;
  27099. end;
  27100. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  27101. begin
  27102. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27103. end;
  27104. procedure TPORTB_LATB.setLATB15; inline;
  27105. begin
  27106. pTDefRegMap(@Self)^.&set := $00008000;
  27107. end;
  27108. procedure TPORTB_LATB.clearLATB15; inline;
  27109. begin
  27110. pTDefRegMap(@Self)^.clr := $00008000;
  27111. end;
  27112. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  27113. begin
  27114. if thebits = 0 then
  27115. pTDefRegMap(@Self)^.clr := $00008000
  27116. else
  27117. pTDefRegMap(@Self)^.&set := $00008000;
  27118. end;
  27119. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  27120. begin
  27121. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27122. end;
  27123. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  27124. begin
  27125. pTDefRegMap(@Self)^.val := thebits;
  27126. end;
  27127. function TPORTB_LATB.getw : TBits_32; inline;
  27128. begin
  27129. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27130. end;
  27131. procedure TPORTB_ODCB.setODCB0; inline;
  27132. begin
  27133. pTDefRegMap(@Self)^.&set := $00000001;
  27134. end;
  27135. procedure TPORTB_ODCB.clearODCB0; inline;
  27136. begin
  27137. pTDefRegMap(@Self)^.clr := $00000001;
  27138. end;
  27139. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  27140. begin
  27141. if thebits = 0 then
  27142. pTDefRegMap(@Self)^.clr := $00000001
  27143. else
  27144. pTDefRegMap(@Self)^.&set := $00000001;
  27145. end;
  27146. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  27147. begin
  27148. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27149. end;
  27150. procedure TPORTB_ODCB.setODCB1; inline;
  27151. begin
  27152. pTDefRegMap(@Self)^.&set := $00000002;
  27153. end;
  27154. procedure TPORTB_ODCB.clearODCB1; inline;
  27155. begin
  27156. pTDefRegMap(@Self)^.clr := $00000002;
  27157. end;
  27158. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  27159. begin
  27160. if thebits = 0 then
  27161. pTDefRegMap(@Self)^.clr := $00000002
  27162. else
  27163. pTDefRegMap(@Self)^.&set := $00000002;
  27164. end;
  27165. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  27166. begin
  27167. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27168. end;
  27169. procedure TPORTB_ODCB.setODCB2; inline;
  27170. begin
  27171. pTDefRegMap(@Self)^.&set := $00000004;
  27172. end;
  27173. procedure TPORTB_ODCB.clearODCB2; inline;
  27174. begin
  27175. pTDefRegMap(@Self)^.clr := $00000004;
  27176. end;
  27177. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  27178. begin
  27179. if thebits = 0 then
  27180. pTDefRegMap(@Self)^.clr := $00000004
  27181. else
  27182. pTDefRegMap(@Self)^.&set := $00000004;
  27183. end;
  27184. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  27185. begin
  27186. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27187. end;
  27188. procedure TPORTB_ODCB.setODCB3; inline;
  27189. begin
  27190. pTDefRegMap(@Self)^.&set := $00000008;
  27191. end;
  27192. procedure TPORTB_ODCB.clearODCB3; inline;
  27193. begin
  27194. pTDefRegMap(@Self)^.clr := $00000008;
  27195. end;
  27196. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  27197. begin
  27198. if thebits = 0 then
  27199. pTDefRegMap(@Self)^.clr := $00000008
  27200. else
  27201. pTDefRegMap(@Self)^.&set := $00000008;
  27202. end;
  27203. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  27204. begin
  27205. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27206. end;
  27207. procedure TPORTB_ODCB.setODCB4; inline;
  27208. begin
  27209. pTDefRegMap(@Self)^.&set := $00000010;
  27210. end;
  27211. procedure TPORTB_ODCB.clearODCB4; inline;
  27212. begin
  27213. pTDefRegMap(@Self)^.clr := $00000010;
  27214. end;
  27215. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  27216. begin
  27217. if thebits = 0 then
  27218. pTDefRegMap(@Self)^.clr := $00000010
  27219. else
  27220. pTDefRegMap(@Self)^.&set := $00000010;
  27221. end;
  27222. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  27223. begin
  27224. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27225. end;
  27226. procedure TPORTB_ODCB.setODCB5; inline;
  27227. begin
  27228. pTDefRegMap(@Self)^.&set := $00000020;
  27229. end;
  27230. procedure TPORTB_ODCB.clearODCB5; inline;
  27231. begin
  27232. pTDefRegMap(@Self)^.clr := $00000020;
  27233. end;
  27234. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  27235. begin
  27236. if thebits = 0 then
  27237. pTDefRegMap(@Self)^.clr := $00000020
  27238. else
  27239. pTDefRegMap(@Self)^.&set := $00000020;
  27240. end;
  27241. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  27242. begin
  27243. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27244. end;
  27245. procedure TPORTB_ODCB.setODCB6; inline;
  27246. begin
  27247. pTDefRegMap(@Self)^.&set := $00000040;
  27248. end;
  27249. procedure TPORTB_ODCB.clearODCB6; inline;
  27250. begin
  27251. pTDefRegMap(@Self)^.clr := $00000040;
  27252. end;
  27253. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  27254. begin
  27255. if thebits = 0 then
  27256. pTDefRegMap(@Self)^.clr := $00000040
  27257. else
  27258. pTDefRegMap(@Self)^.&set := $00000040;
  27259. end;
  27260. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  27261. begin
  27262. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27263. end;
  27264. procedure TPORTB_ODCB.setODCB7; inline;
  27265. begin
  27266. pTDefRegMap(@Self)^.&set := $00000080;
  27267. end;
  27268. procedure TPORTB_ODCB.clearODCB7; inline;
  27269. begin
  27270. pTDefRegMap(@Self)^.clr := $00000080;
  27271. end;
  27272. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  27273. begin
  27274. if thebits = 0 then
  27275. pTDefRegMap(@Self)^.clr := $00000080
  27276. else
  27277. pTDefRegMap(@Self)^.&set := $00000080;
  27278. end;
  27279. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  27280. begin
  27281. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27282. end;
  27283. procedure TPORTB_ODCB.setODCB8; inline;
  27284. begin
  27285. pTDefRegMap(@Self)^.&set := $00000100;
  27286. end;
  27287. procedure TPORTB_ODCB.clearODCB8; inline;
  27288. begin
  27289. pTDefRegMap(@Self)^.clr := $00000100;
  27290. end;
  27291. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  27292. begin
  27293. if thebits = 0 then
  27294. pTDefRegMap(@Self)^.clr := $00000100
  27295. else
  27296. pTDefRegMap(@Self)^.&set := $00000100;
  27297. end;
  27298. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  27299. begin
  27300. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27301. end;
  27302. procedure TPORTB_ODCB.setODCB9; inline;
  27303. begin
  27304. pTDefRegMap(@Self)^.&set := $00000200;
  27305. end;
  27306. procedure TPORTB_ODCB.clearODCB9; inline;
  27307. begin
  27308. pTDefRegMap(@Self)^.clr := $00000200;
  27309. end;
  27310. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  27311. begin
  27312. if thebits = 0 then
  27313. pTDefRegMap(@Self)^.clr := $00000200
  27314. else
  27315. pTDefRegMap(@Self)^.&set := $00000200;
  27316. end;
  27317. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  27318. begin
  27319. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27320. end;
  27321. procedure TPORTB_ODCB.setODCB10; inline;
  27322. begin
  27323. pTDefRegMap(@Self)^.&set := $00000400;
  27324. end;
  27325. procedure TPORTB_ODCB.clearODCB10; inline;
  27326. begin
  27327. pTDefRegMap(@Self)^.clr := $00000400;
  27328. end;
  27329. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  27330. begin
  27331. if thebits = 0 then
  27332. pTDefRegMap(@Self)^.clr := $00000400
  27333. else
  27334. pTDefRegMap(@Self)^.&set := $00000400;
  27335. end;
  27336. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  27337. begin
  27338. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27339. end;
  27340. procedure TPORTB_ODCB.setODCB11; inline;
  27341. begin
  27342. pTDefRegMap(@Self)^.&set := $00000800;
  27343. end;
  27344. procedure TPORTB_ODCB.clearODCB11; inline;
  27345. begin
  27346. pTDefRegMap(@Self)^.clr := $00000800;
  27347. end;
  27348. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  27349. begin
  27350. if thebits = 0 then
  27351. pTDefRegMap(@Self)^.clr := $00000800
  27352. else
  27353. pTDefRegMap(@Self)^.&set := $00000800;
  27354. end;
  27355. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  27356. begin
  27357. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27358. end;
  27359. procedure TPORTB_ODCB.setODCB12; inline;
  27360. begin
  27361. pTDefRegMap(@Self)^.&set := $00001000;
  27362. end;
  27363. procedure TPORTB_ODCB.clearODCB12; inline;
  27364. begin
  27365. pTDefRegMap(@Self)^.clr := $00001000;
  27366. end;
  27367. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  27368. begin
  27369. if thebits = 0 then
  27370. pTDefRegMap(@Self)^.clr := $00001000
  27371. else
  27372. pTDefRegMap(@Self)^.&set := $00001000;
  27373. end;
  27374. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  27375. begin
  27376. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27377. end;
  27378. procedure TPORTB_ODCB.setODCB13; inline;
  27379. begin
  27380. pTDefRegMap(@Self)^.&set := $00002000;
  27381. end;
  27382. procedure TPORTB_ODCB.clearODCB13; inline;
  27383. begin
  27384. pTDefRegMap(@Self)^.clr := $00002000;
  27385. end;
  27386. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  27387. begin
  27388. if thebits = 0 then
  27389. pTDefRegMap(@Self)^.clr := $00002000
  27390. else
  27391. pTDefRegMap(@Self)^.&set := $00002000;
  27392. end;
  27393. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  27394. begin
  27395. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27396. end;
  27397. procedure TPORTB_ODCB.setODCB14; inline;
  27398. begin
  27399. pTDefRegMap(@Self)^.&set := $00004000;
  27400. end;
  27401. procedure TPORTB_ODCB.clearODCB14; inline;
  27402. begin
  27403. pTDefRegMap(@Self)^.clr := $00004000;
  27404. end;
  27405. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  27406. begin
  27407. if thebits = 0 then
  27408. pTDefRegMap(@Self)^.clr := $00004000
  27409. else
  27410. pTDefRegMap(@Self)^.&set := $00004000;
  27411. end;
  27412. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  27413. begin
  27414. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27415. end;
  27416. procedure TPORTB_ODCB.setODCB15; inline;
  27417. begin
  27418. pTDefRegMap(@Self)^.&set := $00008000;
  27419. end;
  27420. procedure TPORTB_ODCB.clearODCB15; inline;
  27421. begin
  27422. pTDefRegMap(@Self)^.clr := $00008000;
  27423. end;
  27424. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  27425. begin
  27426. if thebits = 0 then
  27427. pTDefRegMap(@Self)^.clr := $00008000
  27428. else
  27429. pTDefRegMap(@Self)^.&set := $00008000;
  27430. end;
  27431. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  27432. begin
  27433. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27434. end;
  27435. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  27436. begin
  27437. pTDefRegMap(@Self)^.val := thebits;
  27438. end;
  27439. function TPORTB_ODCB.getw : TBits_32; inline;
  27440. begin
  27441. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27442. end;
  27443. procedure TPORTC_TRISC.setTRISC1; inline;
  27444. begin
  27445. pTDefRegMap(@Self)^.&set := $00000002;
  27446. end;
  27447. procedure TPORTC_TRISC.clearTRISC1; inline;
  27448. begin
  27449. pTDefRegMap(@Self)^.clr := $00000002;
  27450. end;
  27451. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  27452. begin
  27453. if thebits = 0 then
  27454. pTDefRegMap(@Self)^.clr := $00000002
  27455. else
  27456. pTDefRegMap(@Self)^.&set := $00000002;
  27457. end;
  27458. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  27459. begin
  27460. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27461. end;
  27462. procedure TPORTC_TRISC.setTRISC2; inline;
  27463. begin
  27464. pTDefRegMap(@Self)^.&set := $00000004;
  27465. end;
  27466. procedure TPORTC_TRISC.clearTRISC2; inline;
  27467. begin
  27468. pTDefRegMap(@Self)^.clr := $00000004;
  27469. end;
  27470. procedure TPORTC_TRISC.setTRISC2(thebits : TBits_1); inline;
  27471. begin
  27472. if thebits = 0 then
  27473. pTDefRegMap(@Self)^.clr := $00000004
  27474. else
  27475. pTDefRegMap(@Self)^.&set := $00000004;
  27476. end;
  27477. function TPORTC_TRISC.getTRISC2 : TBits_1; inline;
  27478. begin
  27479. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27480. end;
  27481. procedure TPORTC_TRISC.setTRISC3; inline;
  27482. begin
  27483. pTDefRegMap(@Self)^.&set := $00000008;
  27484. end;
  27485. procedure TPORTC_TRISC.clearTRISC3; inline;
  27486. begin
  27487. pTDefRegMap(@Self)^.clr := $00000008;
  27488. end;
  27489. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  27490. begin
  27491. if thebits = 0 then
  27492. pTDefRegMap(@Self)^.clr := $00000008
  27493. else
  27494. pTDefRegMap(@Self)^.&set := $00000008;
  27495. end;
  27496. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  27497. begin
  27498. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27499. end;
  27500. procedure TPORTC_TRISC.setTRISC4; inline;
  27501. begin
  27502. pTDefRegMap(@Self)^.&set := $00000010;
  27503. end;
  27504. procedure TPORTC_TRISC.clearTRISC4; inline;
  27505. begin
  27506. pTDefRegMap(@Self)^.clr := $00000010;
  27507. end;
  27508. procedure TPORTC_TRISC.setTRISC4(thebits : TBits_1); inline;
  27509. begin
  27510. if thebits = 0 then
  27511. pTDefRegMap(@Self)^.clr := $00000010
  27512. else
  27513. pTDefRegMap(@Self)^.&set := $00000010;
  27514. end;
  27515. function TPORTC_TRISC.getTRISC4 : TBits_1; inline;
  27516. begin
  27517. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27518. end;
  27519. procedure TPORTC_TRISC.setTRISC12; inline;
  27520. begin
  27521. pTDefRegMap(@Self)^.&set := $00001000;
  27522. end;
  27523. procedure TPORTC_TRISC.clearTRISC12; inline;
  27524. begin
  27525. pTDefRegMap(@Self)^.clr := $00001000;
  27526. end;
  27527. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  27528. begin
  27529. if thebits = 0 then
  27530. pTDefRegMap(@Self)^.clr := $00001000
  27531. else
  27532. pTDefRegMap(@Self)^.&set := $00001000;
  27533. end;
  27534. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  27535. begin
  27536. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27537. end;
  27538. procedure TPORTC_TRISC.setTRISC13; inline;
  27539. begin
  27540. pTDefRegMap(@Self)^.&set := $00002000;
  27541. end;
  27542. procedure TPORTC_TRISC.clearTRISC13; inline;
  27543. begin
  27544. pTDefRegMap(@Self)^.clr := $00002000;
  27545. end;
  27546. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  27547. begin
  27548. if thebits = 0 then
  27549. pTDefRegMap(@Self)^.clr := $00002000
  27550. else
  27551. pTDefRegMap(@Self)^.&set := $00002000;
  27552. end;
  27553. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  27554. begin
  27555. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27556. end;
  27557. procedure TPORTC_TRISC.setTRISC14; inline;
  27558. begin
  27559. pTDefRegMap(@Self)^.&set := $00004000;
  27560. end;
  27561. procedure TPORTC_TRISC.clearTRISC14; inline;
  27562. begin
  27563. pTDefRegMap(@Self)^.clr := $00004000;
  27564. end;
  27565. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  27566. begin
  27567. if thebits = 0 then
  27568. pTDefRegMap(@Self)^.clr := $00004000
  27569. else
  27570. pTDefRegMap(@Self)^.&set := $00004000;
  27571. end;
  27572. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  27573. begin
  27574. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27575. end;
  27576. procedure TPORTC_TRISC.setTRISC15; inline;
  27577. begin
  27578. pTDefRegMap(@Self)^.&set := $00008000;
  27579. end;
  27580. procedure TPORTC_TRISC.clearTRISC15; inline;
  27581. begin
  27582. pTDefRegMap(@Self)^.clr := $00008000;
  27583. end;
  27584. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  27585. begin
  27586. if thebits = 0 then
  27587. pTDefRegMap(@Self)^.clr := $00008000
  27588. else
  27589. pTDefRegMap(@Self)^.&set := $00008000;
  27590. end;
  27591. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  27592. begin
  27593. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27594. end;
  27595. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  27596. begin
  27597. pTDefRegMap(@Self)^.val := thebits;
  27598. end;
  27599. function TPORTC_TRISC.getw : TBits_32; inline;
  27600. begin
  27601. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27602. end;
  27603. procedure TPORTC_PORTC.setRC1; inline;
  27604. begin
  27605. pTDefRegMap(@Self)^.&set := $00000002;
  27606. end;
  27607. procedure TPORTC_PORTC.clearRC1; inline;
  27608. begin
  27609. pTDefRegMap(@Self)^.clr := $00000002;
  27610. end;
  27611. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  27612. begin
  27613. if thebits = 0 then
  27614. pTDefRegMap(@Self)^.clr := $00000002
  27615. else
  27616. pTDefRegMap(@Self)^.&set := $00000002;
  27617. end;
  27618. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  27619. begin
  27620. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27621. end;
  27622. procedure TPORTC_PORTC.setRC2; inline;
  27623. begin
  27624. pTDefRegMap(@Self)^.&set := $00000004;
  27625. end;
  27626. procedure TPORTC_PORTC.clearRC2; inline;
  27627. begin
  27628. pTDefRegMap(@Self)^.clr := $00000004;
  27629. end;
  27630. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  27631. begin
  27632. if thebits = 0 then
  27633. pTDefRegMap(@Self)^.clr := $00000004
  27634. else
  27635. pTDefRegMap(@Self)^.&set := $00000004;
  27636. end;
  27637. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  27638. begin
  27639. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27640. end;
  27641. procedure TPORTC_PORTC.setRC3; inline;
  27642. begin
  27643. pTDefRegMap(@Self)^.&set := $00000008;
  27644. end;
  27645. procedure TPORTC_PORTC.clearRC3; inline;
  27646. begin
  27647. pTDefRegMap(@Self)^.clr := $00000008;
  27648. end;
  27649. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  27650. begin
  27651. if thebits = 0 then
  27652. pTDefRegMap(@Self)^.clr := $00000008
  27653. else
  27654. pTDefRegMap(@Self)^.&set := $00000008;
  27655. end;
  27656. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  27657. begin
  27658. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27659. end;
  27660. procedure TPORTC_PORTC.setRC4; inline;
  27661. begin
  27662. pTDefRegMap(@Self)^.&set := $00000010;
  27663. end;
  27664. procedure TPORTC_PORTC.clearRC4; inline;
  27665. begin
  27666. pTDefRegMap(@Self)^.clr := $00000010;
  27667. end;
  27668. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  27669. begin
  27670. if thebits = 0 then
  27671. pTDefRegMap(@Self)^.clr := $00000010
  27672. else
  27673. pTDefRegMap(@Self)^.&set := $00000010;
  27674. end;
  27675. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  27676. begin
  27677. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27678. end;
  27679. procedure TPORTC_PORTC.setRC12; inline;
  27680. begin
  27681. pTDefRegMap(@Self)^.&set := $00001000;
  27682. end;
  27683. procedure TPORTC_PORTC.clearRC12; inline;
  27684. begin
  27685. pTDefRegMap(@Self)^.clr := $00001000;
  27686. end;
  27687. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  27688. begin
  27689. if thebits = 0 then
  27690. pTDefRegMap(@Self)^.clr := $00001000
  27691. else
  27692. pTDefRegMap(@Self)^.&set := $00001000;
  27693. end;
  27694. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  27695. begin
  27696. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27697. end;
  27698. procedure TPORTC_PORTC.setRC13; inline;
  27699. begin
  27700. pTDefRegMap(@Self)^.&set := $00002000;
  27701. end;
  27702. procedure TPORTC_PORTC.clearRC13; inline;
  27703. begin
  27704. pTDefRegMap(@Self)^.clr := $00002000;
  27705. end;
  27706. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  27707. begin
  27708. if thebits = 0 then
  27709. pTDefRegMap(@Self)^.clr := $00002000
  27710. else
  27711. pTDefRegMap(@Self)^.&set := $00002000;
  27712. end;
  27713. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  27714. begin
  27715. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27716. end;
  27717. procedure TPORTC_PORTC.setRC14; inline;
  27718. begin
  27719. pTDefRegMap(@Self)^.&set := $00004000;
  27720. end;
  27721. procedure TPORTC_PORTC.clearRC14; inline;
  27722. begin
  27723. pTDefRegMap(@Self)^.clr := $00004000;
  27724. end;
  27725. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  27726. begin
  27727. if thebits = 0 then
  27728. pTDefRegMap(@Self)^.clr := $00004000
  27729. else
  27730. pTDefRegMap(@Self)^.&set := $00004000;
  27731. end;
  27732. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  27733. begin
  27734. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27735. end;
  27736. procedure TPORTC_PORTC.setRC15; inline;
  27737. begin
  27738. pTDefRegMap(@Self)^.&set := $00008000;
  27739. end;
  27740. procedure TPORTC_PORTC.clearRC15; inline;
  27741. begin
  27742. pTDefRegMap(@Self)^.clr := $00008000;
  27743. end;
  27744. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  27745. begin
  27746. if thebits = 0 then
  27747. pTDefRegMap(@Self)^.clr := $00008000
  27748. else
  27749. pTDefRegMap(@Self)^.&set := $00008000;
  27750. end;
  27751. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  27752. begin
  27753. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27754. end;
  27755. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  27756. begin
  27757. pTDefRegMap(@Self)^.val := thebits;
  27758. end;
  27759. function TPORTC_PORTC.getw : TBits_32; inline;
  27760. begin
  27761. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27762. end;
  27763. procedure TPORTC_LATC.setLATC1; inline;
  27764. begin
  27765. pTDefRegMap(@Self)^.&set := $00000002;
  27766. end;
  27767. procedure TPORTC_LATC.clearLATC1; inline;
  27768. begin
  27769. pTDefRegMap(@Self)^.clr := $00000002;
  27770. end;
  27771. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  27772. begin
  27773. if thebits = 0 then
  27774. pTDefRegMap(@Self)^.clr := $00000002
  27775. else
  27776. pTDefRegMap(@Self)^.&set := $00000002;
  27777. end;
  27778. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  27779. begin
  27780. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27781. end;
  27782. procedure TPORTC_LATC.setLATC2; inline;
  27783. begin
  27784. pTDefRegMap(@Self)^.&set := $00000004;
  27785. end;
  27786. procedure TPORTC_LATC.clearLATC2; inline;
  27787. begin
  27788. pTDefRegMap(@Self)^.clr := $00000004;
  27789. end;
  27790. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  27791. begin
  27792. if thebits = 0 then
  27793. pTDefRegMap(@Self)^.clr := $00000004
  27794. else
  27795. pTDefRegMap(@Self)^.&set := $00000004;
  27796. end;
  27797. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  27798. begin
  27799. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27800. end;
  27801. procedure TPORTC_LATC.setLATC3; inline;
  27802. begin
  27803. pTDefRegMap(@Self)^.&set := $00000008;
  27804. end;
  27805. procedure TPORTC_LATC.clearLATC3; inline;
  27806. begin
  27807. pTDefRegMap(@Self)^.clr := $00000008;
  27808. end;
  27809. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  27810. begin
  27811. if thebits = 0 then
  27812. pTDefRegMap(@Self)^.clr := $00000008
  27813. else
  27814. pTDefRegMap(@Self)^.&set := $00000008;
  27815. end;
  27816. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  27817. begin
  27818. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27819. end;
  27820. procedure TPORTC_LATC.setLATC4; inline;
  27821. begin
  27822. pTDefRegMap(@Self)^.&set := $00000010;
  27823. end;
  27824. procedure TPORTC_LATC.clearLATC4; inline;
  27825. begin
  27826. pTDefRegMap(@Self)^.clr := $00000010;
  27827. end;
  27828. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  27829. begin
  27830. if thebits = 0 then
  27831. pTDefRegMap(@Self)^.clr := $00000010
  27832. else
  27833. pTDefRegMap(@Self)^.&set := $00000010;
  27834. end;
  27835. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  27836. begin
  27837. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27838. end;
  27839. procedure TPORTC_LATC.setLATC12; inline;
  27840. begin
  27841. pTDefRegMap(@Self)^.&set := $00001000;
  27842. end;
  27843. procedure TPORTC_LATC.clearLATC12; inline;
  27844. begin
  27845. pTDefRegMap(@Self)^.clr := $00001000;
  27846. end;
  27847. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  27848. begin
  27849. if thebits = 0 then
  27850. pTDefRegMap(@Self)^.clr := $00001000
  27851. else
  27852. pTDefRegMap(@Self)^.&set := $00001000;
  27853. end;
  27854. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  27855. begin
  27856. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27857. end;
  27858. procedure TPORTC_LATC.setLATC13; inline;
  27859. begin
  27860. pTDefRegMap(@Self)^.&set := $00002000;
  27861. end;
  27862. procedure TPORTC_LATC.clearLATC13; inline;
  27863. begin
  27864. pTDefRegMap(@Self)^.clr := $00002000;
  27865. end;
  27866. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  27867. begin
  27868. if thebits = 0 then
  27869. pTDefRegMap(@Self)^.clr := $00002000
  27870. else
  27871. pTDefRegMap(@Self)^.&set := $00002000;
  27872. end;
  27873. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  27874. begin
  27875. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27876. end;
  27877. procedure TPORTC_LATC.setLATC14; inline;
  27878. begin
  27879. pTDefRegMap(@Self)^.&set := $00004000;
  27880. end;
  27881. procedure TPORTC_LATC.clearLATC14; inline;
  27882. begin
  27883. pTDefRegMap(@Self)^.clr := $00004000;
  27884. end;
  27885. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  27886. begin
  27887. if thebits = 0 then
  27888. pTDefRegMap(@Self)^.clr := $00004000
  27889. else
  27890. pTDefRegMap(@Self)^.&set := $00004000;
  27891. end;
  27892. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  27893. begin
  27894. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27895. end;
  27896. procedure TPORTC_LATC.setLATC15; inline;
  27897. begin
  27898. pTDefRegMap(@Self)^.&set := $00008000;
  27899. end;
  27900. procedure TPORTC_LATC.clearLATC15; inline;
  27901. begin
  27902. pTDefRegMap(@Self)^.clr := $00008000;
  27903. end;
  27904. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  27905. begin
  27906. if thebits = 0 then
  27907. pTDefRegMap(@Self)^.clr := $00008000
  27908. else
  27909. pTDefRegMap(@Self)^.&set := $00008000;
  27910. end;
  27911. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  27912. begin
  27913. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27914. end;
  27915. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  27916. begin
  27917. pTDefRegMap(@Self)^.val := thebits;
  27918. end;
  27919. function TPORTC_LATC.getw : TBits_32; inline;
  27920. begin
  27921. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27922. end;
  27923. procedure TPORTC_ODCC.setODCC1; inline;
  27924. begin
  27925. pTDefRegMap(@Self)^.&set := $00000002;
  27926. end;
  27927. procedure TPORTC_ODCC.clearODCC1; inline;
  27928. begin
  27929. pTDefRegMap(@Self)^.clr := $00000002;
  27930. end;
  27931. procedure TPORTC_ODCC.setODCC1(thebits : TBits_1); inline;
  27932. begin
  27933. if thebits = 0 then
  27934. pTDefRegMap(@Self)^.clr := $00000002
  27935. else
  27936. pTDefRegMap(@Self)^.&set := $00000002;
  27937. end;
  27938. function TPORTC_ODCC.getODCC1 : TBits_1; inline;
  27939. begin
  27940. getODCC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27941. end;
  27942. procedure TPORTC_ODCC.setODCC2; inline;
  27943. begin
  27944. pTDefRegMap(@Self)^.&set := $00000004;
  27945. end;
  27946. procedure TPORTC_ODCC.clearODCC2; inline;
  27947. begin
  27948. pTDefRegMap(@Self)^.clr := $00000004;
  27949. end;
  27950. procedure TPORTC_ODCC.setODCC2(thebits : TBits_1); inline;
  27951. begin
  27952. if thebits = 0 then
  27953. pTDefRegMap(@Self)^.clr := $00000004
  27954. else
  27955. pTDefRegMap(@Self)^.&set := $00000004;
  27956. end;
  27957. function TPORTC_ODCC.getODCC2 : TBits_1; inline;
  27958. begin
  27959. getODCC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27960. end;
  27961. procedure TPORTC_ODCC.setODCC3; inline;
  27962. begin
  27963. pTDefRegMap(@Self)^.&set := $00000008;
  27964. end;
  27965. procedure TPORTC_ODCC.clearODCC3; inline;
  27966. begin
  27967. pTDefRegMap(@Self)^.clr := $00000008;
  27968. end;
  27969. procedure TPORTC_ODCC.setODCC3(thebits : TBits_1); inline;
  27970. begin
  27971. if thebits = 0 then
  27972. pTDefRegMap(@Self)^.clr := $00000008
  27973. else
  27974. pTDefRegMap(@Self)^.&set := $00000008;
  27975. end;
  27976. function TPORTC_ODCC.getODCC3 : TBits_1; inline;
  27977. begin
  27978. getODCC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27979. end;
  27980. procedure TPORTC_ODCC.setODCC4; inline;
  27981. begin
  27982. pTDefRegMap(@Self)^.&set := $00000010;
  27983. end;
  27984. procedure TPORTC_ODCC.clearODCC4; inline;
  27985. begin
  27986. pTDefRegMap(@Self)^.clr := $00000010;
  27987. end;
  27988. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  27989. begin
  27990. if thebits = 0 then
  27991. pTDefRegMap(@Self)^.clr := $00000010
  27992. else
  27993. pTDefRegMap(@Self)^.&set := $00000010;
  27994. end;
  27995. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  27996. begin
  27997. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27998. end;
  27999. procedure TPORTC_ODCC.setODCC12; inline;
  28000. begin
  28001. pTDefRegMap(@Self)^.&set := $00001000;
  28002. end;
  28003. procedure TPORTC_ODCC.clearODCC12; inline;
  28004. begin
  28005. pTDefRegMap(@Self)^.clr := $00001000;
  28006. end;
  28007. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  28008. begin
  28009. if thebits = 0 then
  28010. pTDefRegMap(@Self)^.clr := $00001000
  28011. else
  28012. pTDefRegMap(@Self)^.&set := $00001000;
  28013. end;
  28014. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  28015. begin
  28016. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28017. end;
  28018. procedure TPORTC_ODCC.setODCC13; inline;
  28019. begin
  28020. pTDefRegMap(@Self)^.&set := $00002000;
  28021. end;
  28022. procedure TPORTC_ODCC.clearODCC13; inline;
  28023. begin
  28024. pTDefRegMap(@Self)^.clr := $00002000;
  28025. end;
  28026. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  28027. begin
  28028. if thebits = 0 then
  28029. pTDefRegMap(@Self)^.clr := $00002000
  28030. else
  28031. pTDefRegMap(@Self)^.&set := $00002000;
  28032. end;
  28033. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  28034. begin
  28035. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28036. end;
  28037. procedure TPORTC_ODCC.setODCC14; inline;
  28038. begin
  28039. pTDefRegMap(@Self)^.&set := $00004000;
  28040. end;
  28041. procedure TPORTC_ODCC.clearODCC14; inline;
  28042. begin
  28043. pTDefRegMap(@Self)^.clr := $00004000;
  28044. end;
  28045. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  28046. begin
  28047. if thebits = 0 then
  28048. pTDefRegMap(@Self)^.clr := $00004000
  28049. else
  28050. pTDefRegMap(@Self)^.&set := $00004000;
  28051. end;
  28052. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  28053. begin
  28054. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28055. end;
  28056. procedure TPORTC_ODCC.setODCC15; inline;
  28057. begin
  28058. pTDefRegMap(@Self)^.&set := $00008000;
  28059. end;
  28060. procedure TPORTC_ODCC.clearODCC15; inline;
  28061. begin
  28062. pTDefRegMap(@Self)^.clr := $00008000;
  28063. end;
  28064. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  28065. begin
  28066. if thebits = 0 then
  28067. pTDefRegMap(@Self)^.clr := $00008000
  28068. else
  28069. pTDefRegMap(@Self)^.&set := $00008000;
  28070. end;
  28071. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  28072. begin
  28073. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28074. end;
  28075. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  28076. begin
  28077. pTDefRegMap(@Self)^.val := thebits;
  28078. end;
  28079. function TPORTC_ODCC.getw : TBits_32; inline;
  28080. begin
  28081. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28082. end;
  28083. procedure TPORTD_TRISD.setTRISD0; inline;
  28084. begin
  28085. pTDefRegMap(@Self)^.&set := $00000001;
  28086. end;
  28087. procedure TPORTD_TRISD.clearTRISD0; inline;
  28088. begin
  28089. pTDefRegMap(@Self)^.clr := $00000001;
  28090. end;
  28091. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  28092. begin
  28093. if thebits = 0 then
  28094. pTDefRegMap(@Self)^.clr := $00000001
  28095. else
  28096. pTDefRegMap(@Self)^.&set := $00000001;
  28097. end;
  28098. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  28099. begin
  28100. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28101. end;
  28102. procedure TPORTD_TRISD.setTRISD1; inline;
  28103. begin
  28104. pTDefRegMap(@Self)^.&set := $00000002;
  28105. end;
  28106. procedure TPORTD_TRISD.clearTRISD1; inline;
  28107. begin
  28108. pTDefRegMap(@Self)^.clr := $00000002;
  28109. end;
  28110. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  28111. begin
  28112. if thebits = 0 then
  28113. pTDefRegMap(@Self)^.clr := $00000002
  28114. else
  28115. pTDefRegMap(@Self)^.&set := $00000002;
  28116. end;
  28117. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  28118. begin
  28119. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28120. end;
  28121. procedure TPORTD_TRISD.setTRISD2; inline;
  28122. begin
  28123. pTDefRegMap(@Self)^.&set := $00000004;
  28124. end;
  28125. procedure TPORTD_TRISD.clearTRISD2; inline;
  28126. begin
  28127. pTDefRegMap(@Self)^.clr := $00000004;
  28128. end;
  28129. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  28130. begin
  28131. if thebits = 0 then
  28132. pTDefRegMap(@Self)^.clr := $00000004
  28133. else
  28134. pTDefRegMap(@Self)^.&set := $00000004;
  28135. end;
  28136. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  28137. begin
  28138. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28139. end;
  28140. procedure TPORTD_TRISD.setTRISD3; inline;
  28141. begin
  28142. pTDefRegMap(@Self)^.&set := $00000008;
  28143. end;
  28144. procedure TPORTD_TRISD.clearTRISD3; inline;
  28145. begin
  28146. pTDefRegMap(@Self)^.clr := $00000008;
  28147. end;
  28148. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  28149. begin
  28150. if thebits = 0 then
  28151. pTDefRegMap(@Self)^.clr := $00000008
  28152. else
  28153. pTDefRegMap(@Self)^.&set := $00000008;
  28154. end;
  28155. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  28156. begin
  28157. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28158. end;
  28159. procedure TPORTD_TRISD.setTRISD4; inline;
  28160. begin
  28161. pTDefRegMap(@Self)^.&set := $00000010;
  28162. end;
  28163. procedure TPORTD_TRISD.clearTRISD4; inline;
  28164. begin
  28165. pTDefRegMap(@Self)^.clr := $00000010;
  28166. end;
  28167. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  28168. begin
  28169. if thebits = 0 then
  28170. pTDefRegMap(@Self)^.clr := $00000010
  28171. else
  28172. pTDefRegMap(@Self)^.&set := $00000010;
  28173. end;
  28174. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  28175. begin
  28176. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28177. end;
  28178. procedure TPORTD_TRISD.setTRISD5; inline;
  28179. begin
  28180. pTDefRegMap(@Self)^.&set := $00000020;
  28181. end;
  28182. procedure TPORTD_TRISD.clearTRISD5; inline;
  28183. begin
  28184. pTDefRegMap(@Self)^.clr := $00000020;
  28185. end;
  28186. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  28187. begin
  28188. if thebits = 0 then
  28189. pTDefRegMap(@Self)^.clr := $00000020
  28190. else
  28191. pTDefRegMap(@Self)^.&set := $00000020;
  28192. end;
  28193. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  28194. begin
  28195. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28196. end;
  28197. procedure TPORTD_TRISD.setTRISD6; inline;
  28198. begin
  28199. pTDefRegMap(@Self)^.&set := $00000040;
  28200. end;
  28201. procedure TPORTD_TRISD.clearTRISD6; inline;
  28202. begin
  28203. pTDefRegMap(@Self)^.clr := $00000040;
  28204. end;
  28205. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  28206. begin
  28207. if thebits = 0 then
  28208. pTDefRegMap(@Self)^.clr := $00000040
  28209. else
  28210. pTDefRegMap(@Self)^.&set := $00000040;
  28211. end;
  28212. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  28213. begin
  28214. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28215. end;
  28216. procedure TPORTD_TRISD.setTRISD7; inline;
  28217. begin
  28218. pTDefRegMap(@Self)^.&set := $00000080;
  28219. end;
  28220. procedure TPORTD_TRISD.clearTRISD7; inline;
  28221. begin
  28222. pTDefRegMap(@Self)^.clr := $00000080;
  28223. end;
  28224. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  28225. begin
  28226. if thebits = 0 then
  28227. pTDefRegMap(@Self)^.clr := $00000080
  28228. else
  28229. pTDefRegMap(@Self)^.&set := $00000080;
  28230. end;
  28231. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  28232. begin
  28233. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28234. end;
  28235. procedure TPORTD_TRISD.setTRISD8; inline;
  28236. begin
  28237. pTDefRegMap(@Self)^.&set := $00000100;
  28238. end;
  28239. procedure TPORTD_TRISD.clearTRISD8; inline;
  28240. begin
  28241. pTDefRegMap(@Self)^.clr := $00000100;
  28242. end;
  28243. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  28244. begin
  28245. if thebits = 0 then
  28246. pTDefRegMap(@Self)^.clr := $00000100
  28247. else
  28248. pTDefRegMap(@Self)^.&set := $00000100;
  28249. end;
  28250. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  28251. begin
  28252. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28253. end;
  28254. procedure TPORTD_TRISD.setTRISD9; inline;
  28255. begin
  28256. pTDefRegMap(@Self)^.&set := $00000200;
  28257. end;
  28258. procedure TPORTD_TRISD.clearTRISD9; inline;
  28259. begin
  28260. pTDefRegMap(@Self)^.clr := $00000200;
  28261. end;
  28262. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  28263. begin
  28264. if thebits = 0 then
  28265. pTDefRegMap(@Self)^.clr := $00000200
  28266. else
  28267. pTDefRegMap(@Self)^.&set := $00000200;
  28268. end;
  28269. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  28270. begin
  28271. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28272. end;
  28273. procedure TPORTD_TRISD.setTRISD10; inline;
  28274. begin
  28275. pTDefRegMap(@Self)^.&set := $00000400;
  28276. end;
  28277. procedure TPORTD_TRISD.clearTRISD10; inline;
  28278. begin
  28279. pTDefRegMap(@Self)^.clr := $00000400;
  28280. end;
  28281. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  28282. begin
  28283. if thebits = 0 then
  28284. pTDefRegMap(@Self)^.clr := $00000400
  28285. else
  28286. pTDefRegMap(@Self)^.&set := $00000400;
  28287. end;
  28288. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  28289. begin
  28290. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28291. end;
  28292. procedure TPORTD_TRISD.setTRISD11; inline;
  28293. begin
  28294. pTDefRegMap(@Self)^.&set := $00000800;
  28295. end;
  28296. procedure TPORTD_TRISD.clearTRISD11; inline;
  28297. begin
  28298. pTDefRegMap(@Self)^.clr := $00000800;
  28299. end;
  28300. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  28301. begin
  28302. if thebits = 0 then
  28303. pTDefRegMap(@Self)^.clr := $00000800
  28304. else
  28305. pTDefRegMap(@Self)^.&set := $00000800;
  28306. end;
  28307. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  28308. begin
  28309. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28310. end;
  28311. procedure TPORTD_TRISD.setTRISD12; inline;
  28312. begin
  28313. pTDefRegMap(@Self)^.&set := $00001000;
  28314. end;
  28315. procedure TPORTD_TRISD.clearTRISD12; inline;
  28316. begin
  28317. pTDefRegMap(@Self)^.clr := $00001000;
  28318. end;
  28319. procedure TPORTD_TRISD.setTRISD12(thebits : TBits_1); inline;
  28320. begin
  28321. if thebits = 0 then
  28322. pTDefRegMap(@Self)^.clr := $00001000
  28323. else
  28324. pTDefRegMap(@Self)^.&set := $00001000;
  28325. end;
  28326. function TPORTD_TRISD.getTRISD12 : TBits_1; inline;
  28327. begin
  28328. getTRISD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28329. end;
  28330. procedure TPORTD_TRISD.setTRISD13; inline;
  28331. begin
  28332. pTDefRegMap(@Self)^.&set := $00002000;
  28333. end;
  28334. procedure TPORTD_TRISD.clearTRISD13; inline;
  28335. begin
  28336. pTDefRegMap(@Self)^.clr := $00002000;
  28337. end;
  28338. procedure TPORTD_TRISD.setTRISD13(thebits : TBits_1); inline;
  28339. begin
  28340. if thebits = 0 then
  28341. pTDefRegMap(@Self)^.clr := $00002000
  28342. else
  28343. pTDefRegMap(@Self)^.&set := $00002000;
  28344. end;
  28345. function TPORTD_TRISD.getTRISD13 : TBits_1; inline;
  28346. begin
  28347. getTRISD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28348. end;
  28349. procedure TPORTD_TRISD.setTRISD14; inline;
  28350. begin
  28351. pTDefRegMap(@Self)^.&set := $00004000;
  28352. end;
  28353. procedure TPORTD_TRISD.clearTRISD14; inline;
  28354. begin
  28355. pTDefRegMap(@Self)^.clr := $00004000;
  28356. end;
  28357. procedure TPORTD_TRISD.setTRISD14(thebits : TBits_1); inline;
  28358. begin
  28359. if thebits = 0 then
  28360. pTDefRegMap(@Self)^.clr := $00004000
  28361. else
  28362. pTDefRegMap(@Self)^.&set := $00004000;
  28363. end;
  28364. function TPORTD_TRISD.getTRISD14 : TBits_1; inline;
  28365. begin
  28366. getTRISD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28367. end;
  28368. procedure TPORTD_TRISD.setTRISD15; inline;
  28369. begin
  28370. pTDefRegMap(@Self)^.&set := $00008000;
  28371. end;
  28372. procedure TPORTD_TRISD.clearTRISD15; inline;
  28373. begin
  28374. pTDefRegMap(@Self)^.clr := $00008000;
  28375. end;
  28376. procedure TPORTD_TRISD.setTRISD15(thebits : TBits_1); inline;
  28377. begin
  28378. if thebits = 0 then
  28379. pTDefRegMap(@Self)^.clr := $00008000
  28380. else
  28381. pTDefRegMap(@Self)^.&set := $00008000;
  28382. end;
  28383. function TPORTD_TRISD.getTRISD15 : TBits_1; inline;
  28384. begin
  28385. getTRISD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28386. end;
  28387. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  28388. begin
  28389. pTDefRegMap(@Self)^.val := thebits;
  28390. end;
  28391. function TPORTD_TRISD.getw : TBits_32; inline;
  28392. begin
  28393. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28394. end;
  28395. procedure TPORTD_PORTD.setRD0; inline;
  28396. begin
  28397. pTDefRegMap(@Self)^.&set := $00000001;
  28398. end;
  28399. procedure TPORTD_PORTD.clearRD0; inline;
  28400. begin
  28401. pTDefRegMap(@Self)^.clr := $00000001;
  28402. end;
  28403. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  28404. begin
  28405. if thebits = 0 then
  28406. pTDefRegMap(@Self)^.clr := $00000001
  28407. else
  28408. pTDefRegMap(@Self)^.&set := $00000001;
  28409. end;
  28410. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  28411. begin
  28412. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28413. end;
  28414. procedure TPORTD_PORTD.setRD1; inline;
  28415. begin
  28416. pTDefRegMap(@Self)^.&set := $00000002;
  28417. end;
  28418. procedure TPORTD_PORTD.clearRD1; inline;
  28419. begin
  28420. pTDefRegMap(@Self)^.clr := $00000002;
  28421. end;
  28422. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  28423. begin
  28424. if thebits = 0 then
  28425. pTDefRegMap(@Self)^.clr := $00000002
  28426. else
  28427. pTDefRegMap(@Self)^.&set := $00000002;
  28428. end;
  28429. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  28430. begin
  28431. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28432. end;
  28433. procedure TPORTD_PORTD.setRD2; inline;
  28434. begin
  28435. pTDefRegMap(@Self)^.&set := $00000004;
  28436. end;
  28437. procedure TPORTD_PORTD.clearRD2; inline;
  28438. begin
  28439. pTDefRegMap(@Self)^.clr := $00000004;
  28440. end;
  28441. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  28442. begin
  28443. if thebits = 0 then
  28444. pTDefRegMap(@Self)^.clr := $00000004
  28445. else
  28446. pTDefRegMap(@Self)^.&set := $00000004;
  28447. end;
  28448. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  28449. begin
  28450. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28451. end;
  28452. procedure TPORTD_PORTD.setRD3; inline;
  28453. begin
  28454. pTDefRegMap(@Self)^.&set := $00000008;
  28455. end;
  28456. procedure TPORTD_PORTD.clearRD3; inline;
  28457. begin
  28458. pTDefRegMap(@Self)^.clr := $00000008;
  28459. end;
  28460. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  28461. begin
  28462. if thebits = 0 then
  28463. pTDefRegMap(@Self)^.clr := $00000008
  28464. else
  28465. pTDefRegMap(@Self)^.&set := $00000008;
  28466. end;
  28467. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  28468. begin
  28469. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28470. end;
  28471. procedure TPORTD_PORTD.setRD4; inline;
  28472. begin
  28473. pTDefRegMap(@Self)^.&set := $00000010;
  28474. end;
  28475. procedure TPORTD_PORTD.clearRD4; inline;
  28476. begin
  28477. pTDefRegMap(@Self)^.clr := $00000010;
  28478. end;
  28479. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  28480. begin
  28481. if thebits = 0 then
  28482. pTDefRegMap(@Self)^.clr := $00000010
  28483. else
  28484. pTDefRegMap(@Self)^.&set := $00000010;
  28485. end;
  28486. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  28487. begin
  28488. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28489. end;
  28490. procedure TPORTD_PORTD.setRD5; inline;
  28491. begin
  28492. pTDefRegMap(@Self)^.&set := $00000020;
  28493. end;
  28494. procedure TPORTD_PORTD.clearRD5; inline;
  28495. begin
  28496. pTDefRegMap(@Self)^.clr := $00000020;
  28497. end;
  28498. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  28499. begin
  28500. if thebits = 0 then
  28501. pTDefRegMap(@Self)^.clr := $00000020
  28502. else
  28503. pTDefRegMap(@Self)^.&set := $00000020;
  28504. end;
  28505. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  28506. begin
  28507. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28508. end;
  28509. procedure TPORTD_PORTD.setRD6; inline;
  28510. begin
  28511. pTDefRegMap(@Self)^.&set := $00000040;
  28512. end;
  28513. procedure TPORTD_PORTD.clearRD6; inline;
  28514. begin
  28515. pTDefRegMap(@Self)^.clr := $00000040;
  28516. end;
  28517. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  28518. begin
  28519. if thebits = 0 then
  28520. pTDefRegMap(@Self)^.clr := $00000040
  28521. else
  28522. pTDefRegMap(@Self)^.&set := $00000040;
  28523. end;
  28524. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  28525. begin
  28526. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28527. end;
  28528. procedure TPORTD_PORTD.setRD7; inline;
  28529. begin
  28530. pTDefRegMap(@Self)^.&set := $00000080;
  28531. end;
  28532. procedure TPORTD_PORTD.clearRD7; inline;
  28533. begin
  28534. pTDefRegMap(@Self)^.clr := $00000080;
  28535. end;
  28536. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  28537. begin
  28538. if thebits = 0 then
  28539. pTDefRegMap(@Self)^.clr := $00000080
  28540. else
  28541. pTDefRegMap(@Self)^.&set := $00000080;
  28542. end;
  28543. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  28544. begin
  28545. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28546. end;
  28547. procedure TPORTD_PORTD.setRD8; inline;
  28548. begin
  28549. pTDefRegMap(@Self)^.&set := $00000100;
  28550. end;
  28551. procedure TPORTD_PORTD.clearRD8; inline;
  28552. begin
  28553. pTDefRegMap(@Self)^.clr := $00000100;
  28554. end;
  28555. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  28556. begin
  28557. if thebits = 0 then
  28558. pTDefRegMap(@Self)^.clr := $00000100
  28559. else
  28560. pTDefRegMap(@Self)^.&set := $00000100;
  28561. end;
  28562. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  28563. begin
  28564. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28565. end;
  28566. procedure TPORTD_PORTD.setRD9; inline;
  28567. begin
  28568. pTDefRegMap(@Self)^.&set := $00000200;
  28569. end;
  28570. procedure TPORTD_PORTD.clearRD9; inline;
  28571. begin
  28572. pTDefRegMap(@Self)^.clr := $00000200;
  28573. end;
  28574. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  28575. begin
  28576. if thebits = 0 then
  28577. pTDefRegMap(@Self)^.clr := $00000200
  28578. else
  28579. pTDefRegMap(@Self)^.&set := $00000200;
  28580. end;
  28581. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  28582. begin
  28583. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28584. end;
  28585. procedure TPORTD_PORTD.setRD10; inline;
  28586. begin
  28587. pTDefRegMap(@Self)^.&set := $00000400;
  28588. end;
  28589. procedure TPORTD_PORTD.clearRD10; inline;
  28590. begin
  28591. pTDefRegMap(@Self)^.clr := $00000400;
  28592. end;
  28593. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  28594. begin
  28595. if thebits = 0 then
  28596. pTDefRegMap(@Self)^.clr := $00000400
  28597. else
  28598. pTDefRegMap(@Self)^.&set := $00000400;
  28599. end;
  28600. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  28601. begin
  28602. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28603. end;
  28604. procedure TPORTD_PORTD.setRD11; inline;
  28605. begin
  28606. pTDefRegMap(@Self)^.&set := $00000800;
  28607. end;
  28608. procedure TPORTD_PORTD.clearRD11; inline;
  28609. begin
  28610. pTDefRegMap(@Self)^.clr := $00000800;
  28611. end;
  28612. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  28613. begin
  28614. if thebits = 0 then
  28615. pTDefRegMap(@Self)^.clr := $00000800
  28616. else
  28617. pTDefRegMap(@Self)^.&set := $00000800;
  28618. end;
  28619. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  28620. begin
  28621. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28622. end;
  28623. procedure TPORTD_PORTD.setRD12; inline;
  28624. begin
  28625. pTDefRegMap(@Self)^.&set := $00001000;
  28626. end;
  28627. procedure TPORTD_PORTD.clearRD12; inline;
  28628. begin
  28629. pTDefRegMap(@Self)^.clr := $00001000;
  28630. end;
  28631. procedure TPORTD_PORTD.setRD12(thebits : TBits_1); inline;
  28632. begin
  28633. if thebits = 0 then
  28634. pTDefRegMap(@Self)^.clr := $00001000
  28635. else
  28636. pTDefRegMap(@Self)^.&set := $00001000;
  28637. end;
  28638. function TPORTD_PORTD.getRD12 : TBits_1; inline;
  28639. begin
  28640. getRD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28641. end;
  28642. procedure TPORTD_PORTD.setRD13; inline;
  28643. begin
  28644. pTDefRegMap(@Self)^.&set := $00002000;
  28645. end;
  28646. procedure TPORTD_PORTD.clearRD13; inline;
  28647. begin
  28648. pTDefRegMap(@Self)^.clr := $00002000;
  28649. end;
  28650. procedure TPORTD_PORTD.setRD13(thebits : TBits_1); inline;
  28651. begin
  28652. if thebits = 0 then
  28653. pTDefRegMap(@Self)^.clr := $00002000
  28654. else
  28655. pTDefRegMap(@Self)^.&set := $00002000;
  28656. end;
  28657. function TPORTD_PORTD.getRD13 : TBits_1; inline;
  28658. begin
  28659. getRD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28660. end;
  28661. procedure TPORTD_PORTD.setRD14; inline;
  28662. begin
  28663. pTDefRegMap(@Self)^.&set := $00004000;
  28664. end;
  28665. procedure TPORTD_PORTD.clearRD14; inline;
  28666. begin
  28667. pTDefRegMap(@Self)^.clr := $00004000;
  28668. end;
  28669. procedure TPORTD_PORTD.setRD14(thebits : TBits_1); inline;
  28670. begin
  28671. if thebits = 0 then
  28672. pTDefRegMap(@Self)^.clr := $00004000
  28673. else
  28674. pTDefRegMap(@Self)^.&set := $00004000;
  28675. end;
  28676. function TPORTD_PORTD.getRD14 : TBits_1; inline;
  28677. begin
  28678. getRD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28679. end;
  28680. procedure TPORTD_PORTD.setRD15; inline;
  28681. begin
  28682. pTDefRegMap(@Self)^.&set := $00008000;
  28683. end;
  28684. procedure TPORTD_PORTD.clearRD15; inline;
  28685. begin
  28686. pTDefRegMap(@Self)^.clr := $00008000;
  28687. end;
  28688. procedure TPORTD_PORTD.setRD15(thebits : TBits_1); inline;
  28689. begin
  28690. if thebits = 0 then
  28691. pTDefRegMap(@Self)^.clr := $00008000
  28692. else
  28693. pTDefRegMap(@Self)^.&set := $00008000;
  28694. end;
  28695. function TPORTD_PORTD.getRD15 : TBits_1; inline;
  28696. begin
  28697. getRD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28698. end;
  28699. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  28700. begin
  28701. pTDefRegMap(@Self)^.val := thebits;
  28702. end;
  28703. function TPORTD_PORTD.getw : TBits_32; inline;
  28704. begin
  28705. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28706. end;
  28707. procedure TPORTD_LATD.setLATD0; inline;
  28708. begin
  28709. pTDefRegMap(@Self)^.&set := $00000001;
  28710. end;
  28711. procedure TPORTD_LATD.clearLATD0; inline;
  28712. begin
  28713. pTDefRegMap(@Self)^.clr := $00000001;
  28714. end;
  28715. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  28716. begin
  28717. if thebits = 0 then
  28718. pTDefRegMap(@Self)^.clr := $00000001
  28719. else
  28720. pTDefRegMap(@Self)^.&set := $00000001;
  28721. end;
  28722. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  28723. begin
  28724. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28725. end;
  28726. procedure TPORTD_LATD.setLATD1; inline;
  28727. begin
  28728. pTDefRegMap(@Self)^.&set := $00000002;
  28729. end;
  28730. procedure TPORTD_LATD.clearLATD1; inline;
  28731. begin
  28732. pTDefRegMap(@Self)^.clr := $00000002;
  28733. end;
  28734. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  28735. begin
  28736. if thebits = 0 then
  28737. pTDefRegMap(@Self)^.clr := $00000002
  28738. else
  28739. pTDefRegMap(@Self)^.&set := $00000002;
  28740. end;
  28741. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  28742. begin
  28743. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28744. end;
  28745. procedure TPORTD_LATD.setLATD2; inline;
  28746. begin
  28747. pTDefRegMap(@Self)^.&set := $00000004;
  28748. end;
  28749. procedure TPORTD_LATD.clearLATD2; inline;
  28750. begin
  28751. pTDefRegMap(@Self)^.clr := $00000004;
  28752. end;
  28753. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  28754. begin
  28755. if thebits = 0 then
  28756. pTDefRegMap(@Self)^.clr := $00000004
  28757. else
  28758. pTDefRegMap(@Self)^.&set := $00000004;
  28759. end;
  28760. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  28761. begin
  28762. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28763. end;
  28764. procedure TPORTD_LATD.setLATD3; inline;
  28765. begin
  28766. pTDefRegMap(@Self)^.&set := $00000008;
  28767. end;
  28768. procedure TPORTD_LATD.clearLATD3; inline;
  28769. begin
  28770. pTDefRegMap(@Self)^.clr := $00000008;
  28771. end;
  28772. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  28773. begin
  28774. if thebits = 0 then
  28775. pTDefRegMap(@Self)^.clr := $00000008
  28776. else
  28777. pTDefRegMap(@Self)^.&set := $00000008;
  28778. end;
  28779. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  28780. begin
  28781. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28782. end;
  28783. procedure TPORTD_LATD.setLATD4; inline;
  28784. begin
  28785. pTDefRegMap(@Self)^.&set := $00000010;
  28786. end;
  28787. procedure TPORTD_LATD.clearLATD4; inline;
  28788. begin
  28789. pTDefRegMap(@Self)^.clr := $00000010;
  28790. end;
  28791. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  28792. begin
  28793. if thebits = 0 then
  28794. pTDefRegMap(@Self)^.clr := $00000010
  28795. else
  28796. pTDefRegMap(@Self)^.&set := $00000010;
  28797. end;
  28798. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  28799. begin
  28800. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28801. end;
  28802. procedure TPORTD_LATD.setLATD5; inline;
  28803. begin
  28804. pTDefRegMap(@Self)^.&set := $00000020;
  28805. end;
  28806. procedure TPORTD_LATD.clearLATD5; inline;
  28807. begin
  28808. pTDefRegMap(@Self)^.clr := $00000020;
  28809. end;
  28810. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  28811. begin
  28812. if thebits = 0 then
  28813. pTDefRegMap(@Self)^.clr := $00000020
  28814. else
  28815. pTDefRegMap(@Self)^.&set := $00000020;
  28816. end;
  28817. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  28818. begin
  28819. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28820. end;
  28821. procedure TPORTD_LATD.setLATD6; inline;
  28822. begin
  28823. pTDefRegMap(@Self)^.&set := $00000040;
  28824. end;
  28825. procedure TPORTD_LATD.clearLATD6; inline;
  28826. begin
  28827. pTDefRegMap(@Self)^.clr := $00000040;
  28828. end;
  28829. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  28830. begin
  28831. if thebits = 0 then
  28832. pTDefRegMap(@Self)^.clr := $00000040
  28833. else
  28834. pTDefRegMap(@Self)^.&set := $00000040;
  28835. end;
  28836. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  28837. begin
  28838. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28839. end;
  28840. procedure TPORTD_LATD.setLATD7; inline;
  28841. begin
  28842. pTDefRegMap(@Self)^.&set := $00000080;
  28843. end;
  28844. procedure TPORTD_LATD.clearLATD7; inline;
  28845. begin
  28846. pTDefRegMap(@Self)^.clr := $00000080;
  28847. end;
  28848. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  28849. begin
  28850. if thebits = 0 then
  28851. pTDefRegMap(@Self)^.clr := $00000080
  28852. else
  28853. pTDefRegMap(@Self)^.&set := $00000080;
  28854. end;
  28855. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  28856. begin
  28857. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28858. end;
  28859. procedure TPORTD_LATD.setLATD8; inline;
  28860. begin
  28861. pTDefRegMap(@Self)^.&set := $00000100;
  28862. end;
  28863. procedure TPORTD_LATD.clearLATD8; inline;
  28864. begin
  28865. pTDefRegMap(@Self)^.clr := $00000100;
  28866. end;
  28867. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  28868. begin
  28869. if thebits = 0 then
  28870. pTDefRegMap(@Self)^.clr := $00000100
  28871. else
  28872. pTDefRegMap(@Self)^.&set := $00000100;
  28873. end;
  28874. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  28875. begin
  28876. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28877. end;
  28878. procedure TPORTD_LATD.setLATD9; inline;
  28879. begin
  28880. pTDefRegMap(@Self)^.&set := $00000200;
  28881. end;
  28882. procedure TPORTD_LATD.clearLATD9; inline;
  28883. begin
  28884. pTDefRegMap(@Self)^.clr := $00000200;
  28885. end;
  28886. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  28887. begin
  28888. if thebits = 0 then
  28889. pTDefRegMap(@Self)^.clr := $00000200
  28890. else
  28891. pTDefRegMap(@Self)^.&set := $00000200;
  28892. end;
  28893. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  28894. begin
  28895. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28896. end;
  28897. procedure TPORTD_LATD.setLATD10; inline;
  28898. begin
  28899. pTDefRegMap(@Self)^.&set := $00000400;
  28900. end;
  28901. procedure TPORTD_LATD.clearLATD10; inline;
  28902. begin
  28903. pTDefRegMap(@Self)^.clr := $00000400;
  28904. end;
  28905. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  28906. begin
  28907. if thebits = 0 then
  28908. pTDefRegMap(@Self)^.clr := $00000400
  28909. else
  28910. pTDefRegMap(@Self)^.&set := $00000400;
  28911. end;
  28912. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  28913. begin
  28914. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28915. end;
  28916. procedure TPORTD_LATD.setLATD11; inline;
  28917. begin
  28918. pTDefRegMap(@Self)^.&set := $00000800;
  28919. end;
  28920. procedure TPORTD_LATD.clearLATD11; inline;
  28921. begin
  28922. pTDefRegMap(@Self)^.clr := $00000800;
  28923. end;
  28924. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  28925. begin
  28926. if thebits = 0 then
  28927. pTDefRegMap(@Self)^.clr := $00000800
  28928. else
  28929. pTDefRegMap(@Self)^.&set := $00000800;
  28930. end;
  28931. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  28932. begin
  28933. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28934. end;
  28935. procedure TPORTD_LATD.setLATD12; inline;
  28936. begin
  28937. pTDefRegMap(@Self)^.&set := $00001000;
  28938. end;
  28939. procedure TPORTD_LATD.clearLATD12; inline;
  28940. begin
  28941. pTDefRegMap(@Self)^.clr := $00001000;
  28942. end;
  28943. procedure TPORTD_LATD.setLATD12(thebits : TBits_1); inline;
  28944. begin
  28945. if thebits = 0 then
  28946. pTDefRegMap(@Self)^.clr := $00001000
  28947. else
  28948. pTDefRegMap(@Self)^.&set := $00001000;
  28949. end;
  28950. function TPORTD_LATD.getLATD12 : TBits_1; inline;
  28951. begin
  28952. getLATD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28953. end;
  28954. procedure TPORTD_LATD.setLATD13; inline;
  28955. begin
  28956. pTDefRegMap(@Self)^.&set := $00002000;
  28957. end;
  28958. procedure TPORTD_LATD.clearLATD13; inline;
  28959. begin
  28960. pTDefRegMap(@Self)^.clr := $00002000;
  28961. end;
  28962. procedure TPORTD_LATD.setLATD13(thebits : TBits_1); inline;
  28963. begin
  28964. if thebits = 0 then
  28965. pTDefRegMap(@Self)^.clr := $00002000
  28966. else
  28967. pTDefRegMap(@Self)^.&set := $00002000;
  28968. end;
  28969. function TPORTD_LATD.getLATD13 : TBits_1; inline;
  28970. begin
  28971. getLATD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28972. end;
  28973. procedure TPORTD_LATD.setLATD14; inline;
  28974. begin
  28975. pTDefRegMap(@Self)^.&set := $00004000;
  28976. end;
  28977. procedure TPORTD_LATD.clearLATD14; inline;
  28978. begin
  28979. pTDefRegMap(@Self)^.clr := $00004000;
  28980. end;
  28981. procedure TPORTD_LATD.setLATD14(thebits : TBits_1); inline;
  28982. begin
  28983. if thebits = 0 then
  28984. pTDefRegMap(@Self)^.clr := $00004000
  28985. else
  28986. pTDefRegMap(@Self)^.&set := $00004000;
  28987. end;
  28988. function TPORTD_LATD.getLATD14 : TBits_1; inline;
  28989. begin
  28990. getLATD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28991. end;
  28992. procedure TPORTD_LATD.setLATD15; inline;
  28993. begin
  28994. pTDefRegMap(@Self)^.&set := $00008000;
  28995. end;
  28996. procedure TPORTD_LATD.clearLATD15; inline;
  28997. begin
  28998. pTDefRegMap(@Self)^.clr := $00008000;
  28999. end;
  29000. procedure TPORTD_LATD.setLATD15(thebits : TBits_1); inline;
  29001. begin
  29002. if thebits = 0 then
  29003. pTDefRegMap(@Self)^.clr := $00008000
  29004. else
  29005. pTDefRegMap(@Self)^.&set := $00008000;
  29006. end;
  29007. function TPORTD_LATD.getLATD15 : TBits_1; inline;
  29008. begin
  29009. getLATD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29010. end;
  29011. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  29012. begin
  29013. pTDefRegMap(@Self)^.val := thebits;
  29014. end;
  29015. function TPORTD_LATD.getw : TBits_32; inline;
  29016. begin
  29017. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29018. end;
  29019. procedure TPORTD_ODCD.setODCD0; inline;
  29020. begin
  29021. pTDefRegMap(@Self)^.&set := $00000001;
  29022. end;
  29023. procedure TPORTD_ODCD.clearODCD0; inline;
  29024. begin
  29025. pTDefRegMap(@Self)^.clr := $00000001;
  29026. end;
  29027. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  29028. begin
  29029. if thebits = 0 then
  29030. pTDefRegMap(@Self)^.clr := $00000001
  29031. else
  29032. pTDefRegMap(@Self)^.&set := $00000001;
  29033. end;
  29034. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  29035. begin
  29036. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29037. end;
  29038. procedure TPORTD_ODCD.setODCD1; inline;
  29039. begin
  29040. pTDefRegMap(@Self)^.&set := $00000002;
  29041. end;
  29042. procedure TPORTD_ODCD.clearODCD1; inline;
  29043. begin
  29044. pTDefRegMap(@Self)^.clr := $00000002;
  29045. end;
  29046. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  29047. begin
  29048. if thebits = 0 then
  29049. pTDefRegMap(@Self)^.clr := $00000002
  29050. else
  29051. pTDefRegMap(@Self)^.&set := $00000002;
  29052. end;
  29053. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  29054. begin
  29055. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29056. end;
  29057. procedure TPORTD_ODCD.setODCD2; inline;
  29058. begin
  29059. pTDefRegMap(@Self)^.&set := $00000004;
  29060. end;
  29061. procedure TPORTD_ODCD.clearODCD2; inline;
  29062. begin
  29063. pTDefRegMap(@Self)^.clr := $00000004;
  29064. end;
  29065. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  29066. begin
  29067. if thebits = 0 then
  29068. pTDefRegMap(@Self)^.clr := $00000004
  29069. else
  29070. pTDefRegMap(@Self)^.&set := $00000004;
  29071. end;
  29072. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  29073. begin
  29074. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29075. end;
  29076. procedure TPORTD_ODCD.setODCD3; inline;
  29077. begin
  29078. pTDefRegMap(@Self)^.&set := $00000008;
  29079. end;
  29080. procedure TPORTD_ODCD.clearODCD3; inline;
  29081. begin
  29082. pTDefRegMap(@Self)^.clr := $00000008;
  29083. end;
  29084. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  29085. begin
  29086. if thebits = 0 then
  29087. pTDefRegMap(@Self)^.clr := $00000008
  29088. else
  29089. pTDefRegMap(@Self)^.&set := $00000008;
  29090. end;
  29091. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  29092. begin
  29093. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29094. end;
  29095. procedure TPORTD_ODCD.setODCD4; inline;
  29096. begin
  29097. pTDefRegMap(@Self)^.&set := $00000010;
  29098. end;
  29099. procedure TPORTD_ODCD.clearODCD4; inline;
  29100. begin
  29101. pTDefRegMap(@Self)^.clr := $00000010;
  29102. end;
  29103. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  29104. begin
  29105. if thebits = 0 then
  29106. pTDefRegMap(@Self)^.clr := $00000010
  29107. else
  29108. pTDefRegMap(@Self)^.&set := $00000010;
  29109. end;
  29110. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  29111. begin
  29112. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29113. end;
  29114. procedure TPORTD_ODCD.setODCD5; inline;
  29115. begin
  29116. pTDefRegMap(@Self)^.&set := $00000020;
  29117. end;
  29118. procedure TPORTD_ODCD.clearODCD5; inline;
  29119. begin
  29120. pTDefRegMap(@Self)^.clr := $00000020;
  29121. end;
  29122. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  29123. begin
  29124. if thebits = 0 then
  29125. pTDefRegMap(@Self)^.clr := $00000020
  29126. else
  29127. pTDefRegMap(@Self)^.&set := $00000020;
  29128. end;
  29129. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  29130. begin
  29131. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29132. end;
  29133. procedure TPORTD_ODCD.setODCD6; inline;
  29134. begin
  29135. pTDefRegMap(@Self)^.&set := $00000040;
  29136. end;
  29137. procedure TPORTD_ODCD.clearODCD6; inline;
  29138. begin
  29139. pTDefRegMap(@Self)^.clr := $00000040;
  29140. end;
  29141. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  29142. begin
  29143. if thebits = 0 then
  29144. pTDefRegMap(@Self)^.clr := $00000040
  29145. else
  29146. pTDefRegMap(@Self)^.&set := $00000040;
  29147. end;
  29148. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  29149. begin
  29150. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29151. end;
  29152. procedure TPORTD_ODCD.setODCD7; inline;
  29153. begin
  29154. pTDefRegMap(@Self)^.&set := $00000080;
  29155. end;
  29156. procedure TPORTD_ODCD.clearODCD7; inline;
  29157. begin
  29158. pTDefRegMap(@Self)^.clr := $00000080;
  29159. end;
  29160. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  29161. begin
  29162. if thebits = 0 then
  29163. pTDefRegMap(@Self)^.clr := $00000080
  29164. else
  29165. pTDefRegMap(@Self)^.&set := $00000080;
  29166. end;
  29167. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  29168. begin
  29169. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29170. end;
  29171. procedure TPORTD_ODCD.setODCD8; inline;
  29172. begin
  29173. pTDefRegMap(@Self)^.&set := $00000100;
  29174. end;
  29175. procedure TPORTD_ODCD.clearODCD8; inline;
  29176. begin
  29177. pTDefRegMap(@Self)^.clr := $00000100;
  29178. end;
  29179. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  29180. begin
  29181. if thebits = 0 then
  29182. pTDefRegMap(@Self)^.clr := $00000100
  29183. else
  29184. pTDefRegMap(@Self)^.&set := $00000100;
  29185. end;
  29186. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  29187. begin
  29188. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29189. end;
  29190. procedure TPORTD_ODCD.setODCD9; inline;
  29191. begin
  29192. pTDefRegMap(@Self)^.&set := $00000200;
  29193. end;
  29194. procedure TPORTD_ODCD.clearODCD9; inline;
  29195. begin
  29196. pTDefRegMap(@Self)^.clr := $00000200;
  29197. end;
  29198. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  29199. begin
  29200. if thebits = 0 then
  29201. pTDefRegMap(@Self)^.clr := $00000200
  29202. else
  29203. pTDefRegMap(@Self)^.&set := $00000200;
  29204. end;
  29205. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  29206. begin
  29207. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29208. end;
  29209. procedure TPORTD_ODCD.setODCD10; inline;
  29210. begin
  29211. pTDefRegMap(@Self)^.&set := $00000400;
  29212. end;
  29213. procedure TPORTD_ODCD.clearODCD10; inline;
  29214. begin
  29215. pTDefRegMap(@Self)^.clr := $00000400;
  29216. end;
  29217. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  29218. begin
  29219. if thebits = 0 then
  29220. pTDefRegMap(@Self)^.clr := $00000400
  29221. else
  29222. pTDefRegMap(@Self)^.&set := $00000400;
  29223. end;
  29224. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  29225. begin
  29226. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29227. end;
  29228. procedure TPORTD_ODCD.setODCD11; inline;
  29229. begin
  29230. pTDefRegMap(@Self)^.&set := $00000800;
  29231. end;
  29232. procedure TPORTD_ODCD.clearODCD11; inline;
  29233. begin
  29234. pTDefRegMap(@Self)^.clr := $00000800;
  29235. end;
  29236. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  29237. begin
  29238. if thebits = 0 then
  29239. pTDefRegMap(@Self)^.clr := $00000800
  29240. else
  29241. pTDefRegMap(@Self)^.&set := $00000800;
  29242. end;
  29243. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  29244. begin
  29245. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29246. end;
  29247. procedure TPORTD_ODCD.setODCD12; inline;
  29248. begin
  29249. pTDefRegMap(@Self)^.&set := $00001000;
  29250. end;
  29251. procedure TPORTD_ODCD.clearODCD12; inline;
  29252. begin
  29253. pTDefRegMap(@Self)^.clr := $00001000;
  29254. end;
  29255. procedure TPORTD_ODCD.setODCD12(thebits : TBits_1); inline;
  29256. begin
  29257. if thebits = 0 then
  29258. pTDefRegMap(@Self)^.clr := $00001000
  29259. else
  29260. pTDefRegMap(@Self)^.&set := $00001000;
  29261. end;
  29262. function TPORTD_ODCD.getODCD12 : TBits_1; inline;
  29263. begin
  29264. getODCD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29265. end;
  29266. procedure TPORTD_ODCD.setODCD13; inline;
  29267. begin
  29268. pTDefRegMap(@Self)^.&set := $00002000;
  29269. end;
  29270. procedure TPORTD_ODCD.clearODCD13; inline;
  29271. begin
  29272. pTDefRegMap(@Self)^.clr := $00002000;
  29273. end;
  29274. procedure TPORTD_ODCD.setODCD13(thebits : TBits_1); inline;
  29275. begin
  29276. if thebits = 0 then
  29277. pTDefRegMap(@Self)^.clr := $00002000
  29278. else
  29279. pTDefRegMap(@Self)^.&set := $00002000;
  29280. end;
  29281. function TPORTD_ODCD.getODCD13 : TBits_1; inline;
  29282. begin
  29283. getODCD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29284. end;
  29285. procedure TPORTD_ODCD.setODCD14; inline;
  29286. begin
  29287. pTDefRegMap(@Self)^.&set := $00004000;
  29288. end;
  29289. procedure TPORTD_ODCD.clearODCD14; inline;
  29290. begin
  29291. pTDefRegMap(@Self)^.clr := $00004000;
  29292. end;
  29293. procedure TPORTD_ODCD.setODCD14(thebits : TBits_1); inline;
  29294. begin
  29295. if thebits = 0 then
  29296. pTDefRegMap(@Self)^.clr := $00004000
  29297. else
  29298. pTDefRegMap(@Self)^.&set := $00004000;
  29299. end;
  29300. function TPORTD_ODCD.getODCD14 : TBits_1; inline;
  29301. begin
  29302. getODCD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29303. end;
  29304. procedure TPORTD_ODCD.setODCD15; inline;
  29305. begin
  29306. pTDefRegMap(@Self)^.&set := $00008000;
  29307. end;
  29308. procedure TPORTD_ODCD.clearODCD15; inline;
  29309. begin
  29310. pTDefRegMap(@Self)^.clr := $00008000;
  29311. end;
  29312. procedure TPORTD_ODCD.setODCD15(thebits : TBits_1); inline;
  29313. begin
  29314. if thebits = 0 then
  29315. pTDefRegMap(@Self)^.clr := $00008000
  29316. else
  29317. pTDefRegMap(@Self)^.&set := $00008000;
  29318. end;
  29319. function TPORTD_ODCD.getODCD15 : TBits_1; inline;
  29320. begin
  29321. getODCD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29322. end;
  29323. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  29324. begin
  29325. pTDefRegMap(@Self)^.val := thebits;
  29326. end;
  29327. function TPORTD_ODCD.getw : TBits_32; inline;
  29328. begin
  29329. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29330. end;
  29331. procedure TPORTE_TRISE.setTRISE0; inline;
  29332. begin
  29333. pTDefRegMap(@Self)^.&set := $00000001;
  29334. end;
  29335. procedure TPORTE_TRISE.clearTRISE0; inline;
  29336. begin
  29337. pTDefRegMap(@Self)^.clr := $00000001;
  29338. end;
  29339. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  29340. begin
  29341. if thebits = 0 then
  29342. pTDefRegMap(@Self)^.clr := $00000001
  29343. else
  29344. pTDefRegMap(@Self)^.&set := $00000001;
  29345. end;
  29346. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  29347. begin
  29348. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29349. end;
  29350. procedure TPORTE_TRISE.setTRISE1; inline;
  29351. begin
  29352. pTDefRegMap(@Self)^.&set := $00000002;
  29353. end;
  29354. procedure TPORTE_TRISE.clearTRISE1; inline;
  29355. begin
  29356. pTDefRegMap(@Self)^.clr := $00000002;
  29357. end;
  29358. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  29359. begin
  29360. if thebits = 0 then
  29361. pTDefRegMap(@Self)^.clr := $00000002
  29362. else
  29363. pTDefRegMap(@Self)^.&set := $00000002;
  29364. end;
  29365. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  29366. begin
  29367. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29368. end;
  29369. procedure TPORTE_TRISE.setTRISE2; inline;
  29370. begin
  29371. pTDefRegMap(@Self)^.&set := $00000004;
  29372. end;
  29373. procedure TPORTE_TRISE.clearTRISE2; inline;
  29374. begin
  29375. pTDefRegMap(@Self)^.clr := $00000004;
  29376. end;
  29377. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  29378. begin
  29379. if thebits = 0 then
  29380. pTDefRegMap(@Self)^.clr := $00000004
  29381. else
  29382. pTDefRegMap(@Self)^.&set := $00000004;
  29383. end;
  29384. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  29385. begin
  29386. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29387. end;
  29388. procedure TPORTE_TRISE.setTRISE3; inline;
  29389. begin
  29390. pTDefRegMap(@Self)^.&set := $00000008;
  29391. end;
  29392. procedure TPORTE_TRISE.clearTRISE3; inline;
  29393. begin
  29394. pTDefRegMap(@Self)^.clr := $00000008;
  29395. end;
  29396. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  29397. begin
  29398. if thebits = 0 then
  29399. pTDefRegMap(@Self)^.clr := $00000008
  29400. else
  29401. pTDefRegMap(@Self)^.&set := $00000008;
  29402. end;
  29403. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  29404. begin
  29405. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29406. end;
  29407. procedure TPORTE_TRISE.setTRISE4; inline;
  29408. begin
  29409. pTDefRegMap(@Self)^.&set := $00000010;
  29410. end;
  29411. procedure TPORTE_TRISE.clearTRISE4; inline;
  29412. begin
  29413. pTDefRegMap(@Self)^.clr := $00000010;
  29414. end;
  29415. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  29416. begin
  29417. if thebits = 0 then
  29418. pTDefRegMap(@Self)^.clr := $00000010
  29419. else
  29420. pTDefRegMap(@Self)^.&set := $00000010;
  29421. end;
  29422. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  29423. begin
  29424. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29425. end;
  29426. procedure TPORTE_TRISE.setTRISE5; inline;
  29427. begin
  29428. pTDefRegMap(@Self)^.&set := $00000020;
  29429. end;
  29430. procedure TPORTE_TRISE.clearTRISE5; inline;
  29431. begin
  29432. pTDefRegMap(@Self)^.clr := $00000020;
  29433. end;
  29434. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  29435. begin
  29436. if thebits = 0 then
  29437. pTDefRegMap(@Self)^.clr := $00000020
  29438. else
  29439. pTDefRegMap(@Self)^.&set := $00000020;
  29440. end;
  29441. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  29442. begin
  29443. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29444. end;
  29445. procedure TPORTE_TRISE.setTRISE6; inline;
  29446. begin
  29447. pTDefRegMap(@Self)^.&set := $00000040;
  29448. end;
  29449. procedure TPORTE_TRISE.clearTRISE6; inline;
  29450. begin
  29451. pTDefRegMap(@Self)^.clr := $00000040;
  29452. end;
  29453. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  29454. begin
  29455. if thebits = 0 then
  29456. pTDefRegMap(@Self)^.clr := $00000040
  29457. else
  29458. pTDefRegMap(@Self)^.&set := $00000040;
  29459. end;
  29460. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  29461. begin
  29462. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29463. end;
  29464. procedure TPORTE_TRISE.setTRISE7; inline;
  29465. begin
  29466. pTDefRegMap(@Self)^.&set := $00000080;
  29467. end;
  29468. procedure TPORTE_TRISE.clearTRISE7; inline;
  29469. begin
  29470. pTDefRegMap(@Self)^.clr := $00000080;
  29471. end;
  29472. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  29473. begin
  29474. if thebits = 0 then
  29475. pTDefRegMap(@Self)^.clr := $00000080
  29476. else
  29477. pTDefRegMap(@Self)^.&set := $00000080;
  29478. end;
  29479. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  29480. begin
  29481. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29482. end;
  29483. procedure TPORTE_TRISE.setTRISE8; inline;
  29484. begin
  29485. pTDefRegMap(@Self)^.&set := $00000100;
  29486. end;
  29487. procedure TPORTE_TRISE.clearTRISE8; inline;
  29488. begin
  29489. pTDefRegMap(@Self)^.clr := $00000100;
  29490. end;
  29491. procedure TPORTE_TRISE.setTRISE8(thebits : TBits_1); inline;
  29492. begin
  29493. if thebits = 0 then
  29494. pTDefRegMap(@Self)^.clr := $00000100
  29495. else
  29496. pTDefRegMap(@Self)^.&set := $00000100;
  29497. end;
  29498. function TPORTE_TRISE.getTRISE8 : TBits_1; inline;
  29499. begin
  29500. getTRISE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29501. end;
  29502. procedure TPORTE_TRISE.setTRISE9; inline;
  29503. begin
  29504. pTDefRegMap(@Self)^.&set := $00000200;
  29505. end;
  29506. procedure TPORTE_TRISE.clearTRISE9; inline;
  29507. begin
  29508. pTDefRegMap(@Self)^.clr := $00000200;
  29509. end;
  29510. procedure TPORTE_TRISE.setTRISE9(thebits : TBits_1); inline;
  29511. begin
  29512. if thebits = 0 then
  29513. pTDefRegMap(@Self)^.clr := $00000200
  29514. else
  29515. pTDefRegMap(@Self)^.&set := $00000200;
  29516. end;
  29517. function TPORTE_TRISE.getTRISE9 : TBits_1; inline;
  29518. begin
  29519. getTRISE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29520. end;
  29521. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  29522. begin
  29523. pTDefRegMap(@Self)^.val := thebits;
  29524. end;
  29525. function TPORTE_TRISE.getw : TBits_32; inline;
  29526. begin
  29527. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29528. end;
  29529. procedure TPORTE_PORTE.setRE0; inline;
  29530. begin
  29531. pTDefRegMap(@Self)^.&set := $00000001;
  29532. end;
  29533. procedure TPORTE_PORTE.clearRE0; inline;
  29534. begin
  29535. pTDefRegMap(@Self)^.clr := $00000001;
  29536. end;
  29537. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  29538. begin
  29539. if thebits = 0 then
  29540. pTDefRegMap(@Self)^.clr := $00000001
  29541. else
  29542. pTDefRegMap(@Self)^.&set := $00000001;
  29543. end;
  29544. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  29545. begin
  29546. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29547. end;
  29548. procedure TPORTE_PORTE.setRE1; inline;
  29549. begin
  29550. pTDefRegMap(@Self)^.&set := $00000002;
  29551. end;
  29552. procedure TPORTE_PORTE.clearRE1; inline;
  29553. begin
  29554. pTDefRegMap(@Self)^.clr := $00000002;
  29555. end;
  29556. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  29557. begin
  29558. if thebits = 0 then
  29559. pTDefRegMap(@Self)^.clr := $00000002
  29560. else
  29561. pTDefRegMap(@Self)^.&set := $00000002;
  29562. end;
  29563. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  29564. begin
  29565. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29566. end;
  29567. procedure TPORTE_PORTE.setRE2; inline;
  29568. begin
  29569. pTDefRegMap(@Self)^.&set := $00000004;
  29570. end;
  29571. procedure TPORTE_PORTE.clearRE2; inline;
  29572. begin
  29573. pTDefRegMap(@Self)^.clr := $00000004;
  29574. end;
  29575. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  29576. begin
  29577. if thebits = 0 then
  29578. pTDefRegMap(@Self)^.clr := $00000004
  29579. else
  29580. pTDefRegMap(@Self)^.&set := $00000004;
  29581. end;
  29582. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  29583. begin
  29584. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29585. end;
  29586. procedure TPORTE_PORTE.setRE3; inline;
  29587. begin
  29588. pTDefRegMap(@Self)^.&set := $00000008;
  29589. end;
  29590. procedure TPORTE_PORTE.clearRE3; inline;
  29591. begin
  29592. pTDefRegMap(@Self)^.clr := $00000008;
  29593. end;
  29594. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  29595. begin
  29596. if thebits = 0 then
  29597. pTDefRegMap(@Self)^.clr := $00000008
  29598. else
  29599. pTDefRegMap(@Self)^.&set := $00000008;
  29600. end;
  29601. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  29602. begin
  29603. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29604. end;
  29605. procedure TPORTE_PORTE.setRE4; inline;
  29606. begin
  29607. pTDefRegMap(@Self)^.&set := $00000010;
  29608. end;
  29609. procedure TPORTE_PORTE.clearRE4; inline;
  29610. begin
  29611. pTDefRegMap(@Self)^.clr := $00000010;
  29612. end;
  29613. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  29614. begin
  29615. if thebits = 0 then
  29616. pTDefRegMap(@Self)^.clr := $00000010
  29617. else
  29618. pTDefRegMap(@Self)^.&set := $00000010;
  29619. end;
  29620. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  29621. begin
  29622. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29623. end;
  29624. procedure TPORTE_PORTE.setRE5; inline;
  29625. begin
  29626. pTDefRegMap(@Self)^.&set := $00000020;
  29627. end;
  29628. procedure TPORTE_PORTE.clearRE5; inline;
  29629. begin
  29630. pTDefRegMap(@Self)^.clr := $00000020;
  29631. end;
  29632. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  29633. begin
  29634. if thebits = 0 then
  29635. pTDefRegMap(@Self)^.clr := $00000020
  29636. else
  29637. pTDefRegMap(@Self)^.&set := $00000020;
  29638. end;
  29639. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  29640. begin
  29641. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29642. end;
  29643. procedure TPORTE_PORTE.setRE6; inline;
  29644. begin
  29645. pTDefRegMap(@Self)^.&set := $00000040;
  29646. end;
  29647. procedure TPORTE_PORTE.clearRE6; inline;
  29648. begin
  29649. pTDefRegMap(@Self)^.clr := $00000040;
  29650. end;
  29651. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  29652. begin
  29653. if thebits = 0 then
  29654. pTDefRegMap(@Self)^.clr := $00000040
  29655. else
  29656. pTDefRegMap(@Self)^.&set := $00000040;
  29657. end;
  29658. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  29659. begin
  29660. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29661. end;
  29662. procedure TPORTE_PORTE.setRE7; inline;
  29663. begin
  29664. pTDefRegMap(@Self)^.&set := $00000080;
  29665. end;
  29666. procedure TPORTE_PORTE.clearRE7; inline;
  29667. begin
  29668. pTDefRegMap(@Self)^.clr := $00000080;
  29669. end;
  29670. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  29671. begin
  29672. if thebits = 0 then
  29673. pTDefRegMap(@Self)^.clr := $00000080
  29674. else
  29675. pTDefRegMap(@Self)^.&set := $00000080;
  29676. end;
  29677. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  29678. begin
  29679. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29680. end;
  29681. procedure TPORTE_PORTE.setRE8; inline;
  29682. begin
  29683. pTDefRegMap(@Self)^.&set := $00000100;
  29684. end;
  29685. procedure TPORTE_PORTE.clearRE8; inline;
  29686. begin
  29687. pTDefRegMap(@Self)^.clr := $00000100;
  29688. end;
  29689. procedure TPORTE_PORTE.setRE8(thebits : TBits_1); inline;
  29690. begin
  29691. if thebits = 0 then
  29692. pTDefRegMap(@Self)^.clr := $00000100
  29693. else
  29694. pTDefRegMap(@Self)^.&set := $00000100;
  29695. end;
  29696. function TPORTE_PORTE.getRE8 : TBits_1; inline;
  29697. begin
  29698. getRE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29699. end;
  29700. procedure TPORTE_PORTE.setRE9; inline;
  29701. begin
  29702. pTDefRegMap(@Self)^.&set := $00000200;
  29703. end;
  29704. procedure TPORTE_PORTE.clearRE9; inline;
  29705. begin
  29706. pTDefRegMap(@Self)^.clr := $00000200;
  29707. end;
  29708. procedure TPORTE_PORTE.setRE9(thebits : TBits_1); inline;
  29709. begin
  29710. if thebits = 0 then
  29711. pTDefRegMap(@Self)^.clr := $00000200
  29712. else
  29713. pTDefRegMap(@Self)^.&set := $00000200;
  29714. end;
  29715. function TPORTE_PORTE.getRE9 : TBits_1; inline;
  29716. begin
  29717. getRE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29718. end;
  29719. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  29720. begin
  29721. pTDefRegMap(@Self)^.val := thebits;
  29722. end;
  29723. function TPORTE_PORTE.getw : TBits_32; inline;
  29724. begin
  29725. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29726. end;
  29727. procedure TPORTE_LATE.setLATE0; inline;
  29728. begin
  29729. pTDefRegMap(@Self)^.&set := $00000001;
  29730. end;
  29731. procedure TPORTE_LATE.clearLATE0; inline;
  29732. begin
  29733. pTDefRegMap(@Self)^.clr := $00000001;
  29734. end;
  29735. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  29736. begin
  29737. if thebits = 0 then
  29738. pTDefRegMap(@Self)^.clr := $00000001
  29739. else
  29740. pTDefRegMap(@Self)^.&set := $00000001;
  29741. end;
  29742. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  29743. begin
  29744. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29745. end;
  29746. procedure TPORTE_LATE.setLATE1; inline;
  29747. begin
  29748. pTDefRegMap(@Self)^.&set := $00000002;
  29749. end;
  29750. procedure TPORTE_LATE.clearLATE1; inline;
  29751. begin
  29752. pTDefRegMap(@Self)^.clr := $00000002;
  29753. end;
  29754. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  29755. begin
  29756. if thebits = 0 then
  29757. pTDefRegMap(@Self)^.clr := $00000002
  29758. else
  29759. pTDefRegMap(@Self)^.&set := $00000002;
  29760. end;
  29761. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  29762. begin
  29763. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29764. end;
  29765. procedure TPORTE_LATE.setLATE2; inline;
  29766. begin
  29767. pTDefRegMap(@Self)^.&set := $00000004;
  29768. end;
  29769. procedure TPORTE_LATE.clearLATE2; inline;
  29770. begin
  29771. pTDefRegMap(@Self)^.clr := $00000004;
  29772. end;
  29773. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  29774. begin
  29775. if thebits = 0 then
  29776. pTDefRegMap(@Self)^.clr := $00000004
  29777. else
  29778. pTDefRegMap(@Self)^.&set := $00000004;
  29779. end;
  29780. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  29781. begin
  29782. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29783. end;
  29784. procedure TPORTE_LATE.setLATE3; inline;
  29785. begin
  29786. pTDefRegMap(@Self)^.&set := $00000008;
  29787. end;
  29788. procedure TPORTE_LATE.clearLATE3; inline;
  29789. begin
  29790. pTDefRegMap(@Self)^.clr := $00000008;
  29791. end;
  29792. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  29793. begin
  29794. if thebits = 0 then
  29795. pTDefRegMap(@Self)^.clr := $00000008
  29796. else
  29797. pTDefRegMap(@Self)^.&set := $00000008;
  29798. end;
  29799. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  29800. begin
  29801. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29802. end;
  29803. procedure TPORTE_LATE.setLATE4; inline;
  29804. begin
  29805. pTDefRegMap(@Self)^.&set := $00000010;
  29806. end;
  29807. procedure TPORTE_LATE.clearLATE4; inline;
  29808. begin
  29809. pTDefRegMap(@Self)^.clr := $00000010;
  29810. end;
  29811. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  29812. begin
  29813. if thebits = 0 then
  29814. pTDefRegMap(@Self)^.clr := $00000010
  29815. else
  29816. pTDefRegMap(@Self)^.&set := $00000010;
  29817. end;
  29818. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  29819. begin
  29820. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29821. end;
  29822. procedure TPORTE_LATE.setLATE5; inline;
  29823. begin
  29824. pTDefRegMap(@Self)^.&set := $00000020;
  29825. end;
  29826. procedure TPORTE_LATE.clearLATE5; inline;
  29827. begin
  29828. pTDefRegMap(@Self)^.clr := $00000020;
  29829. end;
  29830. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  29831. begin
  29832. if thebits = 0 then
  29833. pTDefRegMap(@Self)^.clr := $00000020
  29834. else
  29835. pTDefRegMap(@Self)^.&set := $00000020;
  29836. end;
  29837. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  29838. begin
  29839. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29840. end;
  29841. procedure TPORTE_LATE.setLATE6; inline;
  29842. begin
  29843. pTDefRegMap(@Self)^.&set := $00000040;
  29844. end;
  29845. procedure TPORTE_LATE.clearLATE6; inline;
  29846. begin
  29847. pTDefRegMap(@Self)^.clr := $00000040;
  29848. end;
  29849. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  29850. begin
  29851. if thebits = 0 then
  29852. pTDefRegMap(@Self)^.clr := $00000040
  29853. else
  29854. pTDefRegMap(@Self)^.&set := $00000040;
  29855. end;
  29856. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  29857. begin
  29858. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29859. end;
  29860. procedure TPORTE_LATE.setLATE7; inline;
  29861. begin
  29862. pTDefRegMap(@Self)^.&set := $00000080;
  29863. end;
  29864. procedure TPORTE_LATE.clearLATE7; inline;
  29865. begin
  29866. pTDefRegMap(@Self)^.clr := $00000080;
  29867. end;
  29868. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  29869. begin
  29870. if thebits = 0 then
  29871. pTDefRegMap(@Self)^.clr := $00000080
  29872. else
  29873. pTDefRegMap(@Self)^.&set := $00000080;
  29874. end;
  29875. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  29876. begin
  29877. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29878. end;
  29879. procedure TPORTE_LATE.setLATE8; inline;
  29880. begin
  29881. pTDefRegMap(@Self)^.&set := $00000100;
  29882. end;
  29883. procedure TPORTE_LATE.clearLATE8; inline;
  29884. begin
  29885. pTDefRegMap(@Self)^.clr := $00000100;
  29886. end;
  29887. procedure TPORTE_LATE.setLATE8(thebits : TBits_1); inline;
  29888. begin
  29889. if thebits = 0 then
  29890. pTDefRegMap(@Self)^.clr := $00000100
  29891. else
  29892. pTDefRegMap(@Self)^.&set := $00000100;
  29893. end;
  29894. function TPORTE_LATE.getLATE8 : TBits_1; inline;
  29895. begin
  29896. getLATE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29897. end;
  29898. procedure TPORTE_LATE.setLATE9; inline;
  29899. begin
  29900. pTDefRegMap(@Self)^.&set := $00000200;
  29901. end;
  29902. procedure TPORTE_LATE.clearLATE9; inline;
  29903. begin
  29904. pTDefRegMap(@Self)^.clr := $00000200;
  29905. end;
  29906. procedure TPORTE_LATE.setLATE9(thebits : TBits_1); inline;
  29907. begin
  29908. if thebits = 0 then
  29909. pTDefRegMap(@Self)^.clr := $00000200
  29910. else
  29911. pTDefRegMap(@Self)^.&set := $00000200;
  29912. end;
  29913. function TPORTE_LATE.getLATE9 : TBits_1; inline;
  29914. begin
  29915. getLATE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29916. end;
  29917. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  29918. begin
  29919. pTDefRegMap(@Self)^.val := thebits;
  29920. end;
  29921. function TPORTE_LATE.getw : TBits_32; inline;
  29922. begin
  29923. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29924. end;
  29925. procedure TPORTE_ODCE.setODCE0; inline;
  29926. begin
  29927. pTDefRegMap(@Self)^.&set := $00000001;
  29928. end;
  29929. procedure TPORTE_ODCE.clearODCE0; inline;
  29930. begin
  29931. pTDefRegMap(@Self)^.clr := $00000001;
  29932. end;
  29933. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  29934. begin
  29935. if thebits = 0 then
  29936. pTDefRegMap(@Self)^.clr := $00000001
  29937. else
  29938. pTDefRegMap(@Self)^.&set := $00000001;
  29939. end;
  29940. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  29941. begin
  29942. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29943. end;
  29944. procedure TPORTE_ODCE.setODCE1; inline;
  29945. begin
  29946. pTDefRegMap(@Self)^.&set := $00000002;
  29947. end;
  29948. procedure TPORTE_ODCE.clearODCE1; inline;
  29949. begin
  29950. pTDefRegMap(@Self)^.clr := $00000002;
  29951. end;
  29952. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  29953. begin
  29954. if thebits = 0 then
  29955. pTDefRegMap(@Self)^.clr := $00000002
  29956. else
  29957. pTDefRegMap(@Self)^.&set := $00000002;
  29958. end;
  29959. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  29960. begin
  29961. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29962. end;
  29963. procedure TPORTE_ODCE.setODCE2; inline;
  29964. begin
  29965. pTDefRegMap(@Self)^.&set := $00000004;
  29966. end;
  29967. procedure TPORTE_ODCE.clearODCE2; inline;
  29968. begin
  29969. pTDefRegMap(@Self)^.clr := $00000004;
  29970. end;
  29971. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  29972. begin
  29973. if thebits = 0 then
  29974. pTDefRegMap(@Self)^.clr := $00000004
  29975. else
  29976. pTDefRegMap(@Self)^.&set := $00000004;
  29977. end;
  29978. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  29979. begin
  29980. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29981. end;
  29982. procedure TPORTE_ODCE.setODCE3; inline;
  29983. begin
  29984. pTDefRegMap(@Self)^.&set := $00000008;
  29985. end;
  29986. procedure TPORTE_ODCE.clearODCE3; inline;
  29987. begin
  29988. pTDefRegMap(@Self)^.clr := $00000008;
  29989. end;
  29990. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  29991. begin
  29992. if thebits = 0 then
  29993. pTDefRegMap(@Self)^.clr := $00000008
  29994. else
  29995. pTDefRegMap(@Self)^.&set := $00000008;
  29996. end;
  29997. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  29998. begin
  29999. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30000. end;
  30001. procedure TPORTE_ODCE.setODCE4; inline;
  30002. begin
  30003. pTDefRegMap(@Self)^.&set := $00000010;
  30004. end;
  30005. procedure TPORTE_ODCE.clearODCE4; inline;
  30006. begin
  30007. pTDefRegMap(@Self)^.clr := $00000010;
  30008. end;
  30009. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  30010. begin
  30011. if thebits = 0 then
  30012. pTDefRegMap(@Self)^.clr := $00000010
  30013. else
  30014. pTDefRegMap(@Self)^.&set := $00000010;
  30015. end;
  30016. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  30017. begin
  30018. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30019. end;
  30020. procedure TPORTE_ODCE.setODCE5; inline;
  30021. begin
  30022. pTDefRegMap(@Self)^.&set := $00000020;
  30023. end;
  30024. procedure TPORTE_ODCE.clearODCE5; inline;
  30025. begin
  30026. pTDefRegMap(@Self)^.clr := $00000020;
  30027. end;
  30028. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  30029. begin
  30030. if thebits = 0 then
  30031. pTDefRegMap(@Self)^.clr := $00000020
  30032. else
  30033. pTDefRegMap(@Self)^.&set := $00000020;
  30034. end;
  30035. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  30036. begin
  30037. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30038. end;
  30039. procedure TPORTE_ODCE.setODCE6; inline;
  30040. begin
  30041. pTDefRegMap(@Self)^.&set := $00000040;
  30042. end;
  30043. procedure TPORTE_ODCE.clearODCE6; inline;
  30044. begin
  30045. pTDefRegMap(@Self)^.clr := $00000040;
  30046. end;
  30047. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  30048. begin
  30049. if thebits = 0 then
  30050. pTDefRegMap(@Self)^.clr := $00000040
  30051. else
  30052. pTDefRegMap(@Self)^.&set := $00000040;
  30053. end;
  30054. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  30055. begin
  30056. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30057. end;
  30058. procedure TPORTE_ODCE.setODCE7; inline;
  30059. begin
  30060. pTDefRegMap(@Self)^.&set := $00000080;
  30061. end;
  30062. procedure TPORTE_ODCE.clearODCE7; inline;
  30063. begin
  30064. pTDefRegMap(@Self)^.clr := $00000080;
  30065. end;
  30066. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  30067. begin
  30068. if thebits = 0 then
  30069. pTDefRegMap(@Self)^.clr := $00000080
  30070. else
  30071. pTDefRegMap(@Self)^.&set := $00000080;
  30072. end;
  30073. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  30074. begin
  30075. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30076. end;
  30077. procedure TPORTE_ODCE.setODCE8; inline;
  30078. begin
  30079. pTDefRegMap(@Self)^.&set := $00000100;
  30080. end;
  30081. procedure TPORTE_ODCE.clearODCE8; inline;
  30082. begin
  30083. pTDefRegMap(@Self)^.clr := $00000100;
  30084. end;
  30085. procedure TPORTE_ODCE.setODCE8(thebits : TBits_1); inline;
  30086. begin
  30087. if thebits = 0 then
  30088. pTDefRegMap(@Self)^.clr := $00000100
  30089. else
  30090. pTDefRegMap(@Self)^.&set := $00000100;
  30091. end;
  30092. function TPORTE_ODCE.getODCE8 : TBits_1; inline;
  30093. begin
  30094. getODCE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30095. end;
  30096. procedure TPORTE_ODCE.setODCE9; inline;
  30097. begin
  30098. pTDefRegMap(@Self)^.&set := $00000200;
  30099. end;
  30100. procedure TPORTE_ODCE.clearODCE9; inline;
  30101. begin
  30102. pTDefRegMap(@Self)^.clr := $00000200;
  30103. end;
  30104. procedure TPORTE_ODCE.setODCE9(thebits : TBits_1); inline;
  30105. begin
  30106. if thebits = 0 then
  30107. pTDefRegMap(@Self)^.clr := $00000200
  30108. else
  30109. pTDefRegMap(@Self)^.&set := $00000200;
  30110. end;
  30111. function TPORTE_ODCE.getODCE9 : TBits_1; inline;
  30112. begin
  30113. getODCE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30114. end;
  30115. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  30116. begin
  30117. pTDefRegMap(@Self)^.val := thebits;
  30118. end;
  30119. function TPORTE_ODCE.getw : TBits_32; inline;
  30120. begin
  30121. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30122. end;
  30123. procedure TPORTF_TRISF.setTRISF0; inline;
  30124. begin
  30125. pTDefRegMap(@Self)^.&set := $00000001;
  30126. end;
  30127. procedure TPORTF_TRISF.clearTRISF0; inline;
  30128. begin
  30129. pTDefRegMap(@Self)^.clr := $00000001;
  30130. end;
  30131. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  30132. begin
  30133. if thebits = 0 then
  30134. pTDefRegMap(@Self)^.clr := $00000001
  30135. else
  30136. pTDefRegMap(@Self)^.&set := $00000001;
  30137. end;
  30138. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  30139. begin
  30140. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30141. end;
  30142. procedure TPORTF_TRISF.setTRISF1; inline;
  30143. begin
  30144. pTDefRegMap(@Self)^.&set := $00000002;
  30145. end;
  30146. procedure TPORTF_TRISF.clearTRISF1; inline;
  30147. begin
  30148. pTDefRegMap(@Self)^.clr := $00000002;
  30149. end;
  30150. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  30151. begin
  30152. if thebits = 0 then
  30153. pTDefRegMap(@Self)^.clr := $00000002
  30154. else
  30155. pTDefRegMap(@Self)^.&set := $00000002;
  30156. end;
  30157. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  30158. begin
  30159. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30160. end;
  30161. procedure TPORTF_TRISF.setTRISF2; inline;
  30162. begin
  30163. pTDefRegMap(@Self)^.&set := $00000004;
  30164. end;
  30165. procedure TPORTF_TRISF.clearTRISF2; inline;
  30166. begin
  30167. pTDefRegMap(@Self)^.clr := $00000004;
  30168. end;
  30169. procedure TPORTF_TRISF.setTRISF2(thebits : TBits_1); inline;
  30170. begin
  30171. if thebits = 0 then
  30172. pTDefRegMap(@Self)^.clr := $00000004
  30173. else
  30174. pTDefRegMap(@Self)^.&set := $00000004;
  30175. end;
  30176. function TPORTF_TRISF.getTRISF2 : TBits_1; inline;
  30177. begin
  30178. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30179. end;
  30180. procedure TPORTF_TRISF.setTRISF3; inline;
  30181. begin
  30182. pTDefRegMap(@Self)^.&set := $00000008;
  30183. end;
  30184. procedure TPORTF_TRISF.clearTRISF3; inline;
  30185. begin
  30186. pTDefRegMap(@Self)^.clr := $00000008;
  30187. end;
  30188. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  30189. begin
  30190. if thebits = 0 then
  30191. pTDefRegMap(@Self)^.clr := $00000008
  30192. else
  30193. pTDefRegMap(@Self)^.&set := $00000008;
  30194. end;
  30195. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  30196. begin
  30197. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30198. end;
  30199. procedure TPORTF_TRISF.setTRISF4; inline;
  30200. begin
  30201. pTDefRegMap(@Self)^.&set := $00000010;
  30202. end;
  30203. procedure TPORTF_TRISF.clearTRISF4; inline;
  30204. begin
  30205. pTDefRegMap(@Self)^.clr := $00000010;
  30206. end;
  30207. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  30208. begin
  30209. if thebits = 0 then
  30210. pTDefRegMap(@Self)^.clr := $00000010
  30211. else
  30212. pTDefRegMap(@Self)^.&set := $00000010;
  30213. end;
  30214. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  30215. begin
  30216. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30217. end;
  30218. procedure TPORTF_TRISF.setTRISF5; inline;
  30219. begin
  30220. pTDefRegMap(@Self)^.&set := $00000020;
  30221. end;
  30222. procedure TPORTF_TRISF.clearTRISF5; inline;
  30223. begin
  30224. pTDefRegMap(@Self)^.clr := $00000020;
  30225. end;
  30226. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  30227. begin
  30228. if thebits = 0 then
  30229. pTDefRegMap(@Self)^.clr := $00000020
  30230. else
  30231. pTDefRegMap(@Self)^.&set := $00000020;
  30232. end;
  30233. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  30234. begin
  30235. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30236. end;
  30237. procedure TPORTF_TRISF.setTRISF8; inline;
  30238. begin
  30239. pTDefRegMap(@Self)^.&set := $00000100;
  30240. end;
  30241. procedure TPORTF_TRISF.clearTRISF8; inline;
  30242. begin
  30243. pTDefRegMap(@Self)^.clr := $00000100;
  30244. end;
  30245. procedure TPORTF_TRISF.setTRISF8(thebits : TBits_1); inline;
  30246. begin
  30247. if thebits = 0 then
  30248. pTDefRegMap(@Self)^.clr := $00000100
  30249. else
  30250. pTDefRegMap(@Self)^.&set := $00000100;
  30251. end;
  30252. function TPORTF_TRISF.getTRISF8 : TBits_1; inline;
  30253. begin
  30254. getTRISF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30255. end;
  30256. procedure TPORTF_TRISF.setTRISF12; inline;
  30257. begin
  30258. pTDefRegMap(@Self)^.&set := $00001000;
  30259. end;
  30260. procedure TPORTF_TRISF.clearTRISF12; inline;
  30261. begin
  30262. pTDefRegMap(@Self)^.clr := $00001000;
  30263. end;
  30264. procedure TPORTF_TRISF.setTRISF12(thebits : TBits_1); inline;
  30265. begin
  30266. if thebits = 0 then
  30267. pTDefRegMap(@Self)^.clr := $00001000
  30268. else
  30269. pTDefRegMap(@Self)^.&set := $00001000;
  30270. end;
  30271. function TPORTF_TRISF.getTRISF12 : TBits_1; inline;
  30272. begin
  30273. getTRISF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30274. end;
  30275. procedure TPORTF_TRISF.setTRISF13; inline;
  30276. begin
  30277. pTDefRegMap(@Self)^.&set := $00002000;
  30278. end;
  30279. procedure TPORTF_TRISF.clearTRISF13; inline;
  30280. begin
  30281. pTDefRegMap(@Self)^.clr := $00002000;
  30282. end;
  30283. procedure TPORTF_TRISF.setTRISF13(thebits : TBits_1); inline;
  30284. begin
  30285. if thebits = 0 then
  30286. pTDefRegMap(@Self)^.clr := $00002000
  30287. else
  30288. pTDefRegMap(@Self)^.&set := $00002000;
  30289. end;
  30290. function TPORTF_TRISF.getTRISF13 : TBits_1; inline;
  30291. begin
  30292. getTRISF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30293. end;
  30294. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  30295. begin
  30296. pTDefRegMap(@Self)^.val := thebits;
  30297. end;
  30298. function TPORTF_TRISF.getw : TBits_32; inline;
  30299. begin
  30300. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30301. end;
  30302. procedure TPORTF_PORTF.setRF0; inline;
  30303. begin
  30304. pTDefRegMap(@Self)^.&set := $00000001;
  30305. end;
  30306. procedure TPORTF_PORTF.clearRF0; inline;
  30307. begin
  30308. pTDefRegMap(@Self)^.clr := $00000001;
  30309. end;
  30310. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  30311. begin
  30312. if thebits = 0 then
  30313. pTDefRegMap(@Self)^.clr := $00000001
  30314. else
  30315. pTDefRegMap(@Self)^.&set := $00000001;
  30316. end;
  30317. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  30318. begin
  30319. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30320. end;
  30321. procedure TPORTF_PORTF.setRF1; inline;
  30322. begin
  30323. pTDefRegMap(@Self)^.&set := $00000002;
  30324. end;
  30325. procedure TPORTF_PORTF.clearRF1; inline;
  30326. begin
  30327. pTDefRegMap(@Self)^.clr := $00000002;
  30328. end;
  30329. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  30330. begin
  30331. if thebits = 0 then
  30332. pTDefRegMap(@Self)^.clr := $00000002
  30333. else
  30334. pTDefRegMap(@Self)^.&set := $00000002;
  30335. end;
  30336. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  30337. begin
  30338. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30339. end;
  30340. procedure TPORTF_PORTF.setRF2; inline;
  30341. begin
  30342. pTDefRegMap(@Self)^.&set := $00000004;
  30343. end;
  30344. procedure TPORTF_PORTF.clearRF2; inline;
  30345. begin
  30346. pTDefRegMap(@Self)^.clr := $00000004;
  30347. end;
  30348. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  30349. begin
  30350. if thebits = 0 then
  30351. pTDefRegMap(@Self)^.clr := $00000004
  30352. else
  30353. pTDefRegMap(@Self)^.&set := $00000004;
  30354. end;
  30355. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  30356. begin
  30357. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30358. end;
  30359. procedure TPORTF_PORTF.setRF3; inline;
  30360. begin
  30361. pTDefRegMap(@Self)^.&set := $00000008;
  30362. end;
  30363. procedure TPORTF_PORTF.clearRF3; inline;
  30364. begin
  30365. pTDefRegMap(@Self)^.clr := $00000008;
  30366. end;
  30367. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  30368. begin
  30369. if thebits = 0 then
  30370. pTDefRegMap(@Self)^.clr := $00000008
  30371. else
  30372. pTDefRegMap(@Self)^.&set := $00000008;
  30373. end;
  30374. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  30375. begin
  30376. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30377. end;
  30378. procedure TPORTF_PORTF.setRF4; inline;
  30379. begin
  30380. pTDefRegMap(@Self)^.&set := $00000010;
  30381. end;
  30382. procedure TPORTF_PORTF.clearRF4; inline;
  30383. begin
  30384. pTDefRegMap(@Self)^.clr := $00000010;
  30385. end;
  30386. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  30387. begin
  30388. if thebits = 0 then
  30389. pTDefRegMap(@Self)^.clr := $00000010
  30390. else
  30391. pTDefRegMap(@Self)^.&set := $00000010;
  30392. end;
  30393. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  30394. begin
  30395. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30396. end;
  30397. procedure TPORTF_PORTF.setRF5; inline;
  30398. begin
  30399. pTDefRegMap(@Self)^.&set := $00000020;
  30400. end;
  30401. procedure TPORTF_PORTF.clearRF5; inline;
  30402. begin
  30403. pTDefRegMap(@Self)^.clr := $00000020;
  30404. end;
  30405. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  30406. begin
  30407. if thebits = 0 then
  30408. pTDefRegMap(@Self)^.clr := $00000020
  30409. else
  30410. pTDefRegMap(@Self)^.&set := $00000020;
  30411. end;
  30412. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  30413. begin
  30414. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30415. end;
  30416. procedure TPORTF_PORTF.setRF8; inline;
  30417. begin
  30418. pTDefRegMap(@Self)^.&set := $00000100;
  30419. end;
  30420. procedure TPORTF_PORTF.clearRF8; inline;
  30421. begin
  30422. pTDefRegMap(@Self)^.clr := $00000100;
  30423. end;
  30424. procedure TPORTF_PORTF.setRF8(thebits : TBits_1); inline;
  30425. begin
  30426. if thebits = 0 then
  30427. pTDefRegMap(@Self)^.clr := $00000100
  30428. else
  30429. pTDefRegMap(@Self)^.&set := $00000100;
  30430. end;
  30431. function TPORTF_PORTF.getRF8 : TBits_1; inline;
  30432. begin
  30433. getRF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30434. end;
  30435. procedure TPORTF_PORTF.setRF12; inline;
  30436. begin
  30437. pTDefRegMap(@Self)^.&set := $00001000;
  30438. end;
  30439. procedure TPORTF_PORTF.clearRF12; inline;
  30440. begin
  30441. pTDefRegMap(@Self)^.clr := $00001000;
  30442. end;
  30443. procedure TPORTF_PORTF.setRF12(thebits : TBits_1); inline;
  30444. begin
  30445. if thebits = 0 then
  30446. pTDefRegMap(@Self)^.clr := $00001000
  30447. else
  30448. pTDefRegMap(@Self)^.&set := $00001000;
  30449. end;
  30450. function TPORTF_PORTF.getRF12 : TBits_1; inline;
  30451. begin
  30452. getRF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30453. end;
  30454. procedure TPORTF_PORTF.setRF13; inline;
  30455. begin
  30456. pTDefRegMap(@Self)^.&set := $00002000;
  30457. end;
  30458. procedure TPORTF_PORTF.clearRF13; inline;
  30459. begin
  30460. pTDefRegMap(@Self)^.clr := $00002000;
  30461. end;
  30462. procedure TPORTF_PORTF.setRF13(thebits : TBits_1); inline;
  30463. begin
  30464. if thebits = 0 then
  30465. pTDefRegMap(@Self)^.clr := $00002000
  30466. else
  30467. pTDefRegMap(@Self)^.&set := $00002000;
  30468. end;
  30469. function TPORTF_PORTF.getRF13 : TBits_1; inline;
  30470. begin
  30471. getRF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30472. end;
  30473. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  30474. begin
  30475. pTDefRegMap(@Self)^.val := thebits;
  30476. end;
  30477. function TPORTF_PORTF.getw : TBits_32; inline;
  30478. begin
  30479. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30480. end;
  30481. procedure TPORTF_LATF.setLATF0; inline;
  30482. begin
  30483. pTDefRegMap(@Self)^.&set := $00000001;
  30484. end;
  30485. procedure TPORTF_LATF.clearLATF0; inline;
  30486. begin
  30487. pTDefRegMap(@Self)^.clr := $00000001;
  30488. end;
  30489. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  30490. begin
  30491. if thebits = 0 then
  30492. pTDefRegMap(@Self)^.clr := $00000001
  30493. else
  30494. pTDefRegMap(@Self)^.&set := $00000001;
  30495. end;
  30496. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  30497. begin
  30498. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30499. end;
  30500. procedure TPORTF_LATF.setLATF1; inline;
  30501. begin
  30502. pTDefRegMap(@Self)^.&set := $00000002;
  30503. end;
  30504. procedure TPORTF_LATF.clearLATF1; inline;
  30505. begin
  30506. pTDefRegMap(@Self)^.clr := $00000002;
  30507. end;
  30508. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  30509. begin
  30510. if thebits = 0 then
  30511. pTDefRegMap(@Self)^.clr := $00000002
  30512. else
  30513. pTDefRegMap(@Self)^.&set := $00000002;
  30514. end;
  30515. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  30516. begin
  30517. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30518. end;
  30519. procedure TPORTF_LATF.setLATF2; inline;
  30520. begin
  30521. pTDefRegMap(@Self)^.&set := $00000004;
  30522. end;
  30523. procedure TPORTF_LATF.clearLATF2; inline;
  30524. begin
  30525. pTDefRegMap(@Self)^.clr := $00000004;
  30526. end;
  30527. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  30528. begin
  30529. if thebits = 0 then
  30530. pTDefRegMap(@Self)^.clr := $00000004
  30531. else
  30532. pTDefRegMap(@Self)^.&set := $00000004;
  30533. end;
  30534. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  30535. begin
  30536. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30537. end;
  30538. procedure TPORTF_LATF.setLATF3; inline;
  30539. begin
  30540. pTDefRegMap(@Self)^.&set := $00000008;
  30541. end;
  30542. procedure TPORTF_LATF.clearLATF3; inline;
  30543. begin
  30544. pTDefRegMap(@Self)^.clr := $00000008;
  30545. end;
  30546. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  30547. begin
  30548. if thebits = 0 then
  30549. pTDefRegMap(@Self)^.clr := $00000008
  30550. else
  30551. pTDefRegMap(@Self)^.&set := $00000008;
  30552. end;
  30553. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  30554. begin
  30555. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30556. end;
  30557. procedure TPORTF_LATF.setLATF4; inline;
  30558. begin
  30559. pTDefRegMap(@Self)^.&set := $00000010;
  30560. end;
  30561. procedure TPORTF_LATF.clearLATF4; inline;
  30562. begin
  30563. pTDefRegMap(@Self)^.clr := $00000010;
  30564. end;
  30565. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  30566. begin
  30567. if thebits = 0 then
  30568. pTDefRegMap(@Self)^.clr := $00000010
  30569. else
  30570. pTDefRegMap(@Self)^.&set := $00000010;
  30571. end;
  30572. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  30573. begin
  30574. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30575. end;
  30576. procedure TPORTF_LATF.setLATF5; inline;
  30577. begin
  30578. pTDefRegMap(@Self)^.&set := $00000020;
  30579. end;
  30580. procedure TPORTF_LATF.clearLATF5; inline;
  30581. begin
  30582. pTDefRegMap(@Self)^.clr := $00000020;
  30583. end;
  30584. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  30585. begin
  30586. if thebits = 0 then
  30587. pTDefRegMap(@Self)^.clr := $00000020
  30588. else
  30589. pTDefRegMap(@Self)^.&set := $00000020;
  30590. end;
  30591. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  30592. begin
  30593. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30594. end;
  30595. procedure TPORTF_LATF.setLATF8; inline;
  30596. begin
  30597. pTDefRegMap(@Self)^.&set := $00000100;
  30598. end;
  30599. procedure TPORTF_LATF.clearLATF8; inline;
  30600. begin
  30601. pTDefRegMap(@Self)^.clr := $00000100;
  30602. end;
  30603. procedure TPORTF_LATF.setLATF8(thebits : TBits_1); inline;
  30604. begin
  30605. if thebits = 0 then
  30606. pTDefRegMap(@Self)^.clr := $00000100
  30607. else
  30608. pTDefRegMap(@Self)^.&set := $00000100;
  30609. end;
  30610. function TPORTF_LATF.getLATF8 : TBits_1; inline;
  30611. begin
  30612. getLATF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30613. end;
  30614. procedure TPORTF_LATF.setLATF12; inline;
  30615. begin
  30616. pTDefRegMap(@Self)^.&set := $00001000;
  30617. end;
  30618. procedure TPORTF_LATF.clearLATF12; inline;
  30619. begin
  30620. pTDefRegMap(@Self)^.clr := $00001000;
  30621. end;
  30622. procedure TPORTF_LATF.setLATF12(thebits : TBits_1); inline;
  30623. begin
  30624. if thebits = 0 then
  30625. pTDefRegMap(@Self)^.clr := $00001000
  30626. else
  30627. pTDefRegMap(@Self)^.&set := $00001000;
  30628. end;
  30629. function TPORTF_LATF.getLATF12 : TBits_1; inline;
  30630. begin
  30631. getLATF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30632. end;
  30633. procedure TPORTF_LATF.setLATF13; inline;
  30634. begin
  30635. pTDefRegMap(@Self)^.&set := $00002000;
  30636. end;
  30637. procedure TPORTF_LATF.clearLATF13; inline;
  30638. begin
  30639. pTDefRegMap(@Self)^.clr := $00002000;
  30640. end;
  30641. procedure TPORTF_LATF.setLATF13(thebits : TBits_1); inline;
  30642. begin
  30643. if thebits = 0 then
  30644. pTDefRegMap(@Self)^.clr := $00002000
  30645. else
  30646. pTDefRegMap(@Self)^.&set := $00002000;
  30647. end;
  30648. function TPORTF_LATF.getLATF13 : TBits_1; inline;
  30649. begin
  30650. getLATF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30651. end;
  30652. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  30653. begin
  30654. pTDefRegMap(@Self)^.val := thebits;
  30655. end;
  30656. function TPORTF_LATF.getw : TBits_32; inline;
  30657. begin
  30658. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30659. end;
  30660. procedure TPORTF_ODCF.setODCF0; inline;
  30661. begin
  30662. pTDefRegMap(@Self)^.&set := $00000001;
  30663. end;
  30664. procedure TPORTF_ODCF.clearODCF0; inline;
  30665. begin
  30666. pTDefRegMap(@Self)^.clr := $00000001;
  30667. end;
  30668. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  30669. begin
  30670. if thebits = 0 then
  30671. pTDefRegMap(@Self)^.clr := $00000001
  30672. else
  30673. pTDefRegMap(@Self)^.&set := $00000001;
  30674. end;
  30675. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  30676. begin
  30677. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30678. end;
  30679. procedure TPORTF_ODCF.setODCF1; inline;
  30680. begin
  30681. pTDefRegMap(@Self)^.&set := $00000002;
  30682. end;
  30683. procedure TPORTF_ODCF.clearODCF1; inline;
  30684. begin
  30685. pTDefRegMap(@Self)^.clr := $00000002;
  30686. end;
  30687. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  30688. begin
  30689. if thebits = 0 then
  30690. pTDefRegMap(@Self)^.clr := $00000002
  30691. else
  30692. pTDefRegMap(@Self)^.&set := $00000002;
  30693. end;
  30694. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  30695. begin
  30696. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30697. end;
  30698. procedure TPORTF_ODCF.setODCF2; inline;
  30699. begin
  30700. pTDefRegMap(@Self)^.&set := $00000004;
  30701. end;
  30702. procedure TPORTF_ODCF.clearODCF2; inline;
  30703. begin
  30704. pTDefRegMap(@Self)^.clr := $00000004;
  30705. end;
  30706. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  30707. begin
  30708. if thebits = 0 then
  30709. pTDefRegMap(@Self)^.clr := $00000004
  30710. else
  30711. pTDefRegMap(@Self)^.&set := $00000004;
  30712. end;
  30713. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  30714. begin
  30715. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30716. end;
  30717. procedure TPORTF_ODCF.setODCF3; inline;
  30718. begin
  30719. pTDefRegMap(@Self)^.&set := $00000008;
  30720. end;
  30721. procedure TPORTF_ODCF.clearODCF3; inline;
  30722. begin
  30723. pTDefRegMap(@Self)^.clr := $00000008;
  30724. end;
  30725. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  30726. begin
  30727. if thebits = 0 then
  30728. pTDefRegMap(@Self)^.clr := $00000008
  30729. else
  30730. pTDefRegMap(@Self)^.&set := $00000008;
  30731. end;
  30732. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  30733. begin
  30734. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30735. end;
  30736. procedure TPORTF_ODCF.setODCF4; inline;
  30737. begin
  30738. pTDefRegMap(@Self)^.&set := $00000010;
  30739. end;
  30740. procedure TPORTF_ODCF.clearODCF4; inline;
  30741. begin
  30742. pTDefRegMap(@Self)^.clr := $00000010;
  30743. end;
  30744. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  30745. begin
  30746. if thebits = 0 then
  30747. pTDefRegMap(@Self)^.clr := $00000010
  30748. else
  30749. pTDefRegMap(@Self)^.&set := $00000010;
  30750. end;
  30751. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  30752. begin
  30753. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30754. end;
  30755. procedure TPORTF_ODCF.setODCF5; inline;
  30756. begin
  30757. pTDefRegMap(@Self)^.&set := $00000020;
  30758. end;
  30759. procedure TPORTF_ODCF.clearODCF5; inline;
  30760. begin
  30761. pTDefRegMap(@Self)^.clr := $00000020;
  30762. end;
  30763. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  30764. begin
  30765. if thebits = 0 then
  30766. pTDefRegMap(@Self)^.clr := $00000020
  30767. else
  30768. pTDefRegMap(@Self)^.&set := $00000020;
  30769. end;
  30770. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  30771. begin
  30772. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30773. end;
  30774. procedure TPORTF_ODCF.setODCF8; inline;
  30775. begin
  30776. pTDefRegMap(@Self)^.&set := $00000100;
  30777. end;
  30778. procedure TPORTF_ODCF.clearODCF8; inline;
  30779. begin
  30780. pTDefRegMap(@Self)^.clr := $00000100;
  30781. end;
  30782. procedure TPORTF_ODCF.setODCF8(thebits : TBits_1); inline;
  30783. begin
  30784. if thebits = 0 then
  30785. pTDefRegMap(@Self)^.clr := $00000100
  30786. else
  30787. pTDefRegMap(@Self)^.&set := $00000100;
  30788. end;
  30789. function TPORTF_ODCF.getODCF8 : TBits_1; inline;
  30790. begin
  30791. getODCF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30792. end;
  30793. procedure TPORTF_ODCF.setODCF12; inline;
  30794. begin
  30795. pTDefRegMap(@Self)^.&set := $00001000;
  30796. end;
  30797. procedure TPORTF_ODCF.clearODCF12; inline;
  30798. begin
  30799. pTDefRegMap(@Self)^.clr := $00001000;
  30800. end;
  30801. procedure TPORTF_ODCF.setODCF12(thebits : TBits_1); inline;
  30802. begin
  30803. if thebits = 0 then
  30804. pTDefRegMap(@Self)^.clr := $00001000
  30805. else
  30806. pTDefRegMap(@Self)^.&set := $00001000;
  30807. end;
  30808. function TPORTF_ODCF.getODCF12 : TBits_1; inline;
  30809. begin
  30810. getODCF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30811. end;
  30812. procedure TPORTF_ODCF.setODCF13; inline;
  30813. begin
  30814. pTDefRegMap(@Self)^.&set := $00002000;
  30815. end;
  30816. procedure TPORTF_ODCF.clearODCF13; inline;
  30817. begin
  30818. pTDefRegMap(@Self)^.clr := $00002000;
  30819. end;
  30820. procedure TPORTF_ODCF.setODCF13(thebits : TBits_1); inline;
  30821. begin
  30822. if thebits = 0 then
  30823. pTDefRegMap(@Self)^.clr := $00002000
  30824. else
  30825. pTDefRegMap(@Self)^.&set := $00002000;
  30826. end;
  30827. function TPORTF_ODCF.getODCF13 : TBits_1; inline;
  30828. begin
  30829. getODCF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30830. end;
  30831. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  30832. begin
  30833. pTDefRegMap(@Self)^.val := thebits;
  30834. end;
  30835. function TPORTF_ODCF.getw : TBits_32; inline;
  30836. begin
  30837. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30838. end;
  30839. procedure TPORTG_TRISG.setTRISG0; inline;
  30840. begin
  30841. pTDefRegMap(@Self)^.&set := $00000001;
  30842. end;
  30843. procedure TPORTG_TRISG.clearTRISG0; inline;
  30844. begin
  30845. pTDefRegMap(@Self)^.clr := $00000001;
  30846. end;
  30847. procedure TPORTG_TRISG.setTRISG0(thebits : TBits_1); inline;
  30848. begin
  30849. if thebits = 0 then
  30850. pTDefRegMap(@Self)^.clr := $00000001
  30851. else
  30852. pTDefRegMap(@Self)^.&set := $00000001;
  30853. end;
  30854. function TPORTG_TRISG.getTRISG0 : TBits_1; inline;
  30855. begin
  30856. getTRISG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30857. end;
  30858. procedure TPORTG_TRISG.setTRISG1; inline;
  30859. begin
  30860. pTDefRegMap(@Self)^.&set := $00000002;
  30861. end;
  30862. procedure TPORTG_TRISG.clearTRISG1; inline;
  30863. begin
  30864. pTDefRegMap(@Self)^.clr := $00000002;
  30865. end;
  30866. procedure TPORTG_TRISG.setTRISG1(thebits : TBits_1); inline;
  30867. begin
  30868. if thebits = 0 then
  30869. pTDefRegMap(@Self)^.clr := $00000002
  30870. else
  30871. pTDefRegMap(@Self)^.&set := $00000002;
  30872. end;
  30873. function TPORTG_TRISG.getTRISG1 : TBits_1; inline;
  30874. begin
  30875. getTRISG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30876. end;
  30877. procedure TPORTG_TRISG.setTRISG2; inline;
  30878. begin
  30879. pTDefRegMap(@Self)^.&set := $00000004;
  30880. end;
  30881. procedure TPORTG_TRISG.clearTRISG2; inline;
  30882. begin
  30883. pTDefRegMap(@Self)^.clr := $00000004;
  30884. end;
  30885. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  30886. begin
  30887. if thebits = 0 then
  30888. pTDefRegMap(@Self)^.clr := $00000004
  30889. else
  30890. pTDefRegMap(@Self)^.&set := $00000004;
  30891. end;
  30892. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  30893. begin
  30894. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30895. end;
  30896. procedure TPORTG_TRISG.setTRISG3; inline;
  30897. begin
  30898. pTDefRegMap(@Self)^.&set := $00000008;
  30899. end;
  30900. procedure TPORTG_TRISG.clearTRISG3; inline;
  30901. begin
  30902. pTDefRegMap(@Self)^.clr := $00000008;
  30903. end;
  30904. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  30905. begin
  30906. if thebits = 0 then
  30907. pTDefRegMap(@Self)^.clr := $00000008
  30908. else
  30909. pTDefRegMap(@Self)^.&set := $00000008;
  30910. end;
  30911. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  30912. begin
  30913. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30914. end;
  30915. procedure TPORTG_TRISG.setTRISG6; inline;
  30916. begin
  30917. pTDefRegMap(@Self)^.&set := $00000040;
  30918. end;
  30919. procedure TPORTG_TRISG.clearTRISG6; inline;
  30920. begin
  30921. pTDefRegMap(@Self)^.clr := $00000040;
  30922. end;
  30923. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  30924. begin
  30925. if thebits = 0 then
  30926. pTDefRegMap(@Self)^.clr := $00000040
  30927. else
  30928. pTDefRegMap(@Self)^.&set := $00000040;
  30929. end;
  30930. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  30931. begin
  30932. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30933. end;
  30934. procedure TPORTG_TRISG.setTRISG7; inline;
  30935. begin
  30936. pTDefRegMap(@Self)^.&set := $00000080;
  30937. end;
  30938. procedure TPORTG_TRISG.clearTRISG7; inline;
  30939. begin
  30940. pTDefRegMap(@Self)^.clr := $00000080;
  30941. end;
  30942. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  30943. begin
  30944. if thebits = 0 then
  30945. pTDefRegMap(@Self)^.clr := $00000080
  30946. else
  30947. pTDefRegMap(@Self)^.&set := $00000080;
  30948. end;
  30949. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  30950. begin
  30951. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30952. end;
  30953. procedure TPORTG_TRISG.setTRISG8; inline;
  30954. begin
  30955. pTDefRegMap(@Self)^.&set := $00000100;
  30956. end;
  30957. procedure TPORTG_TRISG.clearTRISG8; inline;
  30958. begin
  30959. pTDefRegMap(@Self)^.clr := $00000100;
  30960. end;
  30961. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  30962. begin
  30963. if thebits = 0 then
  30964. pTDefRegMap(@Self)^.clr := $00000100
  30965. else
  30966. pTDefRegMap(@Self)^.&set := $00000100;
  30967. end;
  30968. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  30969. begin
  30970. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30971. end;
  30972. procedure TPORTG_TRISG.setTRISG9; inline;
  30973. begin
  30974. pTDefRegMap(@Self)^.&set := $00000200;
  30975. end;
  30976. procedure TPORTG_TRISG.clearTRISG9; inline;
  30977. begin
  30978. pTDefRegMap(@Self)^.clr := $00000200;
  30979. end;
  30980. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  30981. begin
  30982. if thebits = 0 then
  30983. pTDefRegMap(@Self)^.clr := $00000200
  30984. else
  30985. pTDefRegMap(@Self)^.&set := $00000200;
  30986. end;
  30987. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  30988. begin
  30989. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30990. end;
  30991. procedure TPORTG_TRISG.setTRISG12; inline;
  30992. begin
  30993. pTDefRegMap(@Self)^.&set := $00001000;
  30994. end;
  30995. procedure TPORTG_TRISG.clearTRISG12; inline;
  30996. begin
  30997. pTDefRegMap(@Self)^.clr := $00001000;
  30998. end;
  30999. procedure TPORTG_TRISG.setTRISG12(thebits : TBits_1); inline;
  31000. begin
  31001. if thebits = 0 then
  31002. pTDefRegMap(@Self)^.clr := $00001000
  31003. else
  31004. pTDefRegMap(@Self)^.&set := $00001000;
  31005. end;
  31006. function TPORTG_TRISG.getTRISG12 : TBits_1; inline;
  31007. begin
  31008. getTRISG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31009. end;
  31010. procedure TPORTG_TRISG.setTRISG13; inline;
  31011. begin
  31012. pTDefRegMap(@Self)^.&set := $00002000;
  31013. end;
  31014. procedure TPORTG_TRISG.clearTRISG13; inline;
  31015. begin
  31016. pTDefRegMap(@Self)^.clr := $00002000;
  31017. end;
  31018. procedure TPORTG_TRISG.setTRISG13(thebits : TBits_1); inline;
  31019. begin
  31020. if thebits = 0 then
  31021. pTDefRegMap(@Self)^.clr := $00002000
  31022. else
  31023. pTDefRegMap(@Self)^.&set := $00002000;
  31024. end;
  31025. function TPORTG_TRISG.getTRISG13 : TBits_1; inline;
  31026. begin
  31027. getTRISG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31028. end;
  31029. procedure TPORTG_TRISG.setTRISG14; inline;
  31030. begin
  31031. pTDefRegMap(@Self)^.&set := $00004000;
  31032. end;
  31033. procedure TPORTG_TRISG.clearTRISG14; inline;
  31034. begin
  31035. pTDefRegMap(@Self)^.clr := $00004000;
  31036. end;
  31037. procedure TPORTG_TRISG.setTRISG14(thebits : TBits_1); inline;
  31038. begin
  31039. if thebits = 0 then
  31040. pTDefRegMap(@Self)^.clr := $00004000
  31041. else
  31042. pTDefRegMap(@Self)^.&set := $00004000;
  31043. end;
  31044. function TPORTG_TRISG.getTRISG14 : TBits_1; inline;
  31045. begin
  31046. getTRISG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31047. end;
  31048. procedure TPORTG_TRISG.setTRISG15; inline;
  31049. begin
  31050. pTDefRegMap(@Self)^.&set := $00008000;
  31051. end;
  31052. procedure TPORTG_TRISG.clearTRISG15; inline;
  31053. begin
  31054. pTDefRegMap(@Self)^.clr := $00008000;
  31055. end;
  31056. procedure TPORTG_TRISG.setTRISG15(thebits : TBits_1); inline;
  31057. begin
  31058. if thebits = 0 then
  31059. pTDefRegMap(@Self)^.clr := $00008000
  31060. else
  31061. pTDefRegMap(@Self)^.&set := $00008000;
  31062. end;
  31063. function TPORTG_TRISG.getTRISG15 : TBits_1; inline;
  31064. begin
  31065. getTRISG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31066. end;
  31067. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  31068. begin
  31069. pTDefRegMap(@Self)^.val := thebits;
  31070. end;
  31071. function TPORTG_TRISG.getw : TBits_32; inline;
  31072. begin
  31073. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31074. end;
  31075. procedure TPORTG_PORTG.setRG0; inline;
  31076. begin
  31077. pTDefRegMap(@Self)^.&set := $00000001;
  31078. end;
  31079. procedure TPORTG_PORTG.clearRG0; inline;
  31080. begin
  31081. pTDefRegMap(@Self)^.clr := $00000001;
  31082. end;
  31083. procedure TPORTG_PORTG.setRG0(thebits : TBits_1); inline;
  31084. begin
  31085. if thebits = 0 then
  31086. pTDefRegMap(@Self)^.clr := $00000001
  31087. else
  31088. pTDefRegMap(@Self)^.&set := $00000001;
  31089. end;
  31090. function TPORTG_PORTG.getRG0 : TBits_1; inline;
  31091. begin
  31092. getRG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31093. end;
  31094. procedure TPORTG_PORTG.setRG1; inline;
  31095. begin
  31096. pTDefRegMap(@Self)^.&set := $00000002;
  31097. end;
  31098. procedure TPORTG_PORTG.clearRG1; inline;
  31099. begin
  31100. pTDefRegMap(@Self)^.clr := $00000002;
  31101. end;
  31102. procedure TPORTG_PORTG.setRG1(thebits : TBits_1); inline;
  31103. begin
  31104. if thebits = 0 then
  31105. pTDefRegMap(@Self)^.clr := $00000002
  31106. else
  31107. pTDefRegMap(@Self)^.&set := $00000002;
  31108. end;
  31109. function TPORTG_PORTG.getRG1 : TBits_1; inline;
  31110. begin
  31111. getRG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31112. end;
  31113. procedure TPORTG_PORTG.setRG2; inline;
  31114. begin
  31115. pTDefRegMap(@Self)^.&set := $00000004;
  31116. end;
  31117. procedure TPORTG_PORTG.clearRG2; inline;
  31118. begin
  31119. pTDefRegMap(@Self)^.clr := $00000004;
  31120. end;
  31121. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  31122. begin
  31123. if thebits = 0 then
  31124. pTDefRegMap(@Self)^.clr := $00000004
  31125. else
  31126. pTDefRegMap(@Self)^.&set := $00000004;
  31127. end;
  31128. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  31129. begin
  31130. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31131. end;
  31132. procedure TPORTG_PORTG.setRG3; inline;
  31133. begin
  31134. pTDefRegMap(@Self)^.&set := $00000008;
  31135. end;
  31136. procedure TPORTG_PORTG.clearRG3; inline;
  31137. begin
  31138. pTDefRegMap(@Self)^.clr := $00000008;
  31139. end;
  31140. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  31141. begin
  31142. if thebits = 0 then
  31143. pTDefRegMap(@Self)^.clr := $00000008
  31144. else
  31145. pTDefRegMap(@Self)^.&set := $00000008;
  31146. end;
  31147. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  31148. begin
  31149. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31150. end;
  31151. procedure TPORTG_PORTG.setRG6; inline;
  31152. begin
  31153. pTDefRegMap(@Self)^.&set := $00000040;
  31154. end;
  31155. procedure TPORTG_PORTG.clearRG6; inline;
  31156. begin
  31157. pTDefRegMap(@Self)^.clr := $00000040;
  31158. end;
  31159. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  31160. begin
  31161. if thebits = 0 then
  31162. pTDefRegMap(@Self)^.clr := $00000040
  31163. else
  31164. pTDefRegMap(@Self)^.&set := $00000040;
  31165. end;
  31166. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  31167. begin
  31168. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31169. end;
  31170. procedure TPORTG_PORTG.setRG7; inline;
  31171. begin
  31172. pTDefRegMap(@Self)^.&set := $00000080;
  31173. end;
  31174. procedure TPORTG_PORTG.clearRG7; inline;
  31175. begin
  31176. pTDefRegMap(@Self)^.clr := $00000080;
  31177. end;
  31178. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  31179. begin
  31180. if thebits = 0 then
  31181. pTDefRegMap(@Self)^.clr := $00000080
  31182. else
  31183. pTDefRegMap(@Self)^.&set := $00000080;
  31184. end;
  31185. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  31186. begin
  31187. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31188. end;
  31189. procedure TPORTG_PORTG.setRG8; inline;
  31190. begin
  31191. pTDefRegMap(@Self)^.&set := $00000100;
  31192. end;
  31193. procedure TPORTG_PORTG.clearRG8; inline;
  31194. begin
  31195. pTDefRegMap(@Self)^.clr := $00000100;
  31196. end;
  31197. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  31198. begin
  31199. if thebits = 0 then
  31200. pTDefRegMap(@Self)^.clr := $00000100
  31201. else
  31202. pTDefRegMap(@Self)^.&set := $00000100;
  31203. end;
  31204. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  31205. begin
  31206. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31207. end;
  31208. procedure TPORTG_PORTG.setRG9; inline;
  31209. begin
  31210. pTDefRegMap(@Self)^.&set := $00000200;
  31211. end;
  31212. procedure TPORTG_PORTG.clearRG9; inline;
  31213. begin
  31214. pTDefRegMap(@Self)^.clr := $00000200;
  31215. end;
  31216. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  31217. begin
  31218. if thebits = 0 then
  31219. pTDefRegMap(@Self)^.clr := $00000200
  31220. else
  31221. pTDefRegMap(@Self)^.&set := $00000200;
  31222. end;
  31223. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  31224. begin
  31225. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31226. end;
  31227. procedure TPORTG_PORTG.setRG12; inline;
  31228. begin
  31229. pTDefRegMap(@Self)^.&set := $00001000;
  31230. end;
  31231. procedure TPORTG_PORTG.clearRG12; inline;
  31232. begin
  31233. pTDefRegMap(@Self)^.clr := $00001000;
  31234. end;
  31235. procedure TPORTG_PORTG.setRG12(thebits : TBits_1); inline;
  31236. begin
  31237. if thebits = 0 then
  31238. pTDefRegMap(@Self)^.clr := $00001000
  31239. else
  31240. pTDefRegMap(@Self)^.&set := $00001000;
  31241. end;
  31242. function TPORTG_PORTG.getRG12 : TBits_1; inline;
  31243. begin
  31244. getRG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31245. end;
  31246. procedure TPORTG_PORTG.setRG13; inline;
  31247. begin
  31248. pTDefRegMap(@Self)^.&set := $00002000;
  31249. end;
  31250. procedure TPORTG_PORTG.clearRG13; inline;
  31251. begin
  31252. pTDefRegMap(@Self)^.clr := $00002000;
  31253. end;
  31254. procedure TPORTG_PORTG.setRG13(thebits : TBits_1); inline;
  31255. begin
  31256. if thebits = 0 then
  31257. pTDefRegMap(@Self)^.clr := $00002000
  31258. else
  31259. pTDefRegMap(@Self)^.&set := $00002000;
  31260. end;
  31261. function TPORTG_PORTG.getRG13 : TBits_1; inline;
  31262. begin
  31263. getRG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31264. end;
  31265. procedure TPORTG_PORTG.setRG14; inline;
  31266. begin
  31267. pTDefRegMap(@Self)^.&set := $00004000;
  31268. end;
  31269. procedure TPORTG_PORTG.clearRG14; inline;
  31270. begin
  31271. pTDefRegMap(@Self)^.clr := $00004000;
  31272. end;
  31273. procedure TPORTG_PORTG.setRG14(thebits : TBits_1); inline;
  31274. begin
  31275. if thebits = 0 then
  31276. pTDefRegMap(@Self)^.clr := $00004000
  31277. else
  31278. pTDefRegMap(@Self)^.&set := $00004000;
  31279. end;
  31280. function TPORTG_PORTG.getRG14 : TBits_1; inline;
  31281. begin
  31282. getRG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31283. end;
  31284. procedure TPORTG_PORTG.setRG15; inline;
  31285. begin
  31286. pTDefRegMap(@Self)^.&set := $00008000;
  31287. end;
  31288. procedure TPORTG_PORTG.clearRG15; inline;
  31289. begin
  31290. pTDefRegMap(@Self)^.clr := $00008000;
  31291. end;
  31292. procedure TPORTG_PORTG.setRG15(thebits : TBits_1); inline;
  31293. begin
  31294. if thebits = 0 then
  31295. pTDefRegMap(@Self)^.clr := $00008000
  31296. else
  31297. pTDefRegMap(@Self)^.&set := $00008000;
  31298. end;
  31299. function TPORTG_PORTG.getRG15 : TBits_1; inline;
  31300. begin
  31301. getRG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31302. end;
  31303. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  31304. begin
  31305. pTDefRegMap(@Self)^.val := thebits;
  31306. end;
  31307. function TPORTG_PORTG.getw : TBits_32; inline;
  31308. begin
  31309. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31310. end;
  31311. procedure TPORTG_LATG.setLATG0; inline;
  31312. begin
  31313. pTDefRegMap(@Self)^.&set := $00000001;
  31314. end;
  31315. procedure TPORTG_LATG.clearLATG0; inline;
  31316. begin
  31317. pTDefRegMap(@Self)^.clr := $00000001;
  31318. end;
  31319. procedure TPORTG_LATG.setLATG0(thebits : TBits_1); inline;
  31320. begin
  31321. if thebits = 0 then
  31322. pTDefRegMap(@Self)^.clr := $00000001
  31323. else
  31324. pTDefRegMap(@Self)^.&set := $00000001;
  31325. end;
  31326. function TPORTG_LATG.getLATG0 : TBits_1; inline;
  31327. begin
  31328. getLATG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31329. end;
  31330. procedure TPORTG_LATG.setLATG1; inline;
  31331. begin
  31332. pTDefRegMap(@Self)^.&set := $00000002;
  31333. end;
  31334. procedure TPORTG_LATG.clearLATG1; inline;
  31335. begin
  31336. pTDefRegMap(@Self)^.clr := $00000002;
  31337. end;
  31338. procedure TPORTG_LATG.setLATG1(thebits : TBits_1); inline;
  31339. begin
  31340. if thebits = 0 then
  31341. pTDefRegMap(@Self)^.clr := $00000002
  31342. else
  31343. pTDefRegMap(@Self)^.&set := $00000002;
  31344. end;
  31345. function TPORTG_LATG.getLATG1 : TBits_1; inline;
  31346. begin
  31347. getLATG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31348. end;
  31349. procedure TPORTG_LATG.setLATG2; inline;
  31350. begin
  31351. pTDefRegMap(@Self)^.&set := $00000004;
  31352. end;
  31353. procedure TPORTG_LATG.clearLATG2; inline;
  31354. begin
  31355. pTDefRegMap(@Self)^.clr := $00000004;
  31356. end;
  31357. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  31358. begin
  31359. if thebits = 0 then
  31360. pTDefRegMap(@Self)^.clr := $00000004
  31361. else
  31362. pTDefRegMap(@Self)^.&set := $00000004;
  31363. end;
  31364. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  31365. begin
  31366. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31367. end;
  31368. procedure TPORTG_LATG.setLATG3; inline;
  31369. begin
  31370. pTDefRegMap(@Self)^.&set := $00000008;
  31371. end;
  31372. procedure TPORTG_LATG.clearLATG3; inline;
  31373. begin
  31374. pTDefRegMap(@Self)^.clr := $00000008;
  31375. end;
  31376. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  31377. begin
  31378. if thebits = 0 then
  31379. pTDefRegMap(@Self)^.clr := $00000008
  31380. else
  31381. pTDefRegMap(@Self)^.&set := $00000008;
  31382. end;
  31383. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  31384. begin
  31385. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31386. end;
  31387. procedure TPORTG_LATG.setLATG6; inline;
  31388. begin
  31389. pTDefRegMap(@Self)^.&set := $00000040;
  31390. end;
  31391. procedure TPORTG_LATG.clearLATG6; inline;
  31392. begin
  31393. pTDefRegMap(@Self)^.clr := $00000040;
  31394. end;
  31395. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  31396. begin
  31397. if thebits = 0 then
  31398. pTDefRegMap(@Self)^.clr := $00000040
  31399. else
  31400. pTDefRegMap(@Self)^.&set := $00000040;
  31401. end;
  31402. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  31403. begin
  31404. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31405. end;
  31406. procedure TPORTG_LATG.setLATG7; inline;
  31407. begin
  31408. pTDefRegMap(@Self)^.&set := $00000080;
  31409. end;
  31410. procedure TPORTG_LATG.clearLATG7; inline;
  31411. begin
  31412. pTDefRegMap(@Self)^.clr := $00000080;
  31413. end;
  31414. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  31415. begin
  31416. if thebits = 0 then
  31417. pTDefRegMap(@Self)^.clr := $00000080
  31418. else
  31419. pTDefRegMap(@Self)^.&set := $00000080;
  31420. end;
  31421. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  31422. begin
  31423. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31424. end;
  31425. procedure TPORTG_LATG.setLATG8; inline;
  31426. begin
  31427. pTDefRegMap(@Self)^.&set := $00000100;
  31428. end;
  31429. procedure TPORTG_LATG.clearLATG8; inline;
  31430. begin
  31431. pTDefRegMap(@Self)^.clr := $00000100;
  31432. end;
  31433. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  31434. begin
  31435. if thebits = 0 then
  31436. pTDefRegMap(@Self)^.clr := $00000100
  31437. else
  31438. pTDefRegMap(@Self)^.&set := $00000100;
  31439. end;
  31440. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  31441. begin
  31442. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31443. end;
  31444. procedure TPORTG_LATG.setLATG9; inline;
  31445. begin
  31446. pTDefRegMap(@Self)^.&set := $00000200;
  31447. end;
  31448. procedure TPORTG_LATG.clearLATG9; inline;
  31449. begin
  31450. pTDefRegMap(@Self)^.clr := $00000200;
  31451. end;
  31452. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  31453. begin
  31454. if thebits = 0 then
  31455. pTDefRegMap(@Self)^.clr := $00000200
  31456. else
  31457. pTDefRegMap(@Self)^.&set := $00000200;
  31458. end;
  31459. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  31460. begin
  31461. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31462. end;
  31463. procedure TPORTG_LATG.setLATG12; inline;
  31464. begin
  31465. pTDefRegMap(@Self)^.&set := $00001000;
  31466. end;
  31467. procedure TPORTG_LATG.clearLATG12; inline;
  31468. begin
  31469. pTDefRegMap(@Self)^.clr := $00001000;
  31470. end;
  31471. procedure TPORTG_LATG.setLATG12(thebits : TBits_1); inline;
  31472. begin
  31473. if thebits = 0 then
  31474. pTDefRegMap(@Self)^.clr := $00001000
  31475. else
  31476. pTDefRegMap(@Self)^.&set := $00001000;
  31477. end;
  31478. function TPORTG_LATG.getLATG12 : TBits_1; inline;
  31479. begin
  31480. getLATG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31481. end;
  31482. procedure TPORTG_LATG.setLATG13; inline;
  31483. begin
  31484. pTDefRegMap(@Self)^.&set := $00002000;
  31485. end;
  31486. procedure TPORTG_LATG.clearLATG13; inline;
  31487. begin
  31488. pTDefRegMap(@Self)^.clr := $00002000;
  31489. end;
  31490. procedure TPORTG_LATG.setLATG13(thebits : TBits_1); inline;
  31491. begin
  31492. if thebits = 0 then
  31493. pTDefRegMap(@Self)^.clr := $00002000
  31494. else
  31495. pTDefRegMap(@Self)^.&set := $00002000;
  31496. end;
  31497. function TPORTG_LATG.getLATG13 : TBits_1; inline;
  31498. begin
  31499. getLATG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31500. end;
  31501. procedure TPORTG_LATG.setLATG14; inline;
  31502. begin
  31503. pTDefRegMap(@Self)^.&set := $00004000;
  31504. end;
  31505. procedure TPORTG_LATG.clearLATG14; inline;
  31506. begin
  31507. pTDefRegMap(@Self)^.clr := $00004000;
  31508. end;
  31509. procedure TPORTG_LATG.setLATG14(thebits : TBits_1); inline;
  31510. begin
  31511. if thebits = 0 then
  31512. pTDefRegMap(@Self)^.clr := $00004000
  31513. else
  31514. pTDefRegMap(@Self)^.&set := $00004000;
  31515. end;
  31516. function TPORTG_LATG.getLATG14 : TBits_1; inline;
  31517. begin
  31518. getLATG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31519. end;
  31520. procedure TPORTG_LATG.setLATG15; inline;
  31521. begin
  31522. pTDefRegMap(@Self)^.&set := $00008000;
  31523. end;
  31524. procedure TPORTG_LATG.clearLATG15; inline;
  31525. begin
  31526. pTDefRegMap(@Self)^.clr := $00008000;
  31527. end;
  31528. procedure TPORTG_LATG.setLATG15(thebits : TBits_1); inline;
  31529. begin
  31530. if thebits = 0 then
  31531. pTDefRegMap(@Self)^.clr := $00008000
  31532. else
  31533. pTDefRegMap(@Self)^.&set := $00008000;
  31534. end;
  31535. function TPORTG_LATG.getLATG15 : TBits_1; inline;
  31536. begin
  31537. getLATG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31538. end;
  31539. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  31540. begin
  31541. pTDefRegMap(@Self)^.val := thebits;
  31542. end;
  31543. function TPORTG_LATG.getw : TBits_32; inline;
  31544. begin
  31545. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31546. end;
  31547. procedure TPORTG_ODCG.setODCG0; inline;
  31548. begin
  31549. pTDefRegMap(@Self)^.&set := $00000001;
  31550. end;
  31551. procedure TPORTG_ODCG.clearODCG0; inline;
  31552. begin
  31553. pTDefRegMap(@Self)^.clr := $00000001;
  31554. end;
  31555. procedure TPORTG_ODCG.setODCG0(thebits : TBits_1); inline;
  31556. begin
  31557. if thebits = 0 then
  31558. pTDefRegMap(@Self)^.clr := $00000001
  31559. else
  31560. pTDefRegMap(@Self)^.&set := $00000001;
  31561. end;
  31562. function TPORTG_ODCG.getODCG0 : TBits_1; inline;
  31563. begin
  31564. getODCG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31565. end;
  31566. procedure TPORTG_ODCG.setODCG1; inline;
  31567. begin
  31568. pTDefRegMap(@Self)^.&set := $00000002;
  31569. end;
  31570. procedure TPORTG_ODCG.clearODCG1; inline;
  31571. begin
  31572. pTDefRegMap(@Self)^.clr := $00000002;
  31573. end;
  31574. procedure TPORTG_ODCG.setODCG1(thebits : TBits_1); inline;
  31575. begin
  31576. if thebits = 0 then
  31577. pTDefRegMap(@Self)^.clr := $00000002
  31578. else
  31579. pTDefRegMap(@Self)^.&set := $00000002;
  31580. end;
  31581. function TPORTG_ODCG.getODCG1 : TBits_1; inline;
  31582. begin
  31583. getODCG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31584. end;
  31585. procedure TPORTG_ODCG.setODCG2; inline;
  31586. begin
  31587. pTDefRegMap(@Self)^.&set := $00000004;
  31588. end;
  31589. procedure TPORTG_ODCG.clearODCG2; inline;
  31590. begin
  31591. pTDefRegMap(@Self)^.clr := $00000004;
  31592. end;
  31593. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  31594. begin
  31595. if thebits = 0 then
  31596. pTDefRegMap(@Self)^.clr := $00000004
  31597. else
  31598. pTDefRegMap(@Self)^.&set := $00000004;
  31599. end;
  31600. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  31601. begin
  31602. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31603. end;
  31604. procedure TPORTG_ODCG.setODCG3; inline;
  31605. begin
  31606. pTDefRegMap(@Self)^.&set := $00000008;
  31607. end;
  31608. procedure TPORTG_ODCG.clearODCG3; inline;
  31609. begin
  31610. pTDefRegMap(@Self)^.clr := $00000008;
  31611. end;
  31612. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  31613. begin
  31614. if thebits = 0 then
  31615. pTDefRegMap(@Self)^.clr := $00000008
  31616. else
  31617. pTDefRegMap(@Self)^.&set := $00000008;
  31618. end;
  31619. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  31620. begin
  31621. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31622. end;
  31623. procedure TPORTG_ODCG.setODCG6; inline;
  31624. begin
  31625. pTDefRegMap(@Self)^.&set := $00000040;
  31626. end;
  31627. procedure TPORTG_ODCG.clearODCG6; inline;
  31628. begin
  31629. pTDefRegMap(@Self)^.clr := $00000040;
  31630. end;
  31631. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  31632. begin
  31633. if thebits = 0 then
  31634. pTDefRegMap(@Self)^.clr := $00000040
  31635. else
  31636. pTDefRegMap(@Self)^.&set := $00000040;
  31637. end;
  31638. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  31639. begin
  31640. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31641. end;
  31642. procedure TPORTG_ODCG.setODCG7; inline;
  31643. begin
  31644. pTDefRegMap(@Self)^.&set := $00000080;
  31645. end;
  31646. procedure TPORTG_ODCG.clearODCG7; inline;
  31647. begin
  31648. pTDefRegMap(@Self)^.clr := $00000080;
  31649. end;
  31650. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  31651. begin
  31652. if thebits = 0 then
  31653. pTDefRegMap(@Self)^.clr := $00000080
  31654. else
  31655. pTDefRegMap(@Self)^.&set := $00000080;
  31656. end;
  31657. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  31658. begin
  31659. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31660. end;
  31661. procedure TPORTG_ODCG.setODCG8; inline;
  31662. begin
  31663. pTDefRegMap(@Self)^.&set := $00000100;
  31664. end;
  31665. procedure TPORTG_ODCG.clearODCG8; inline;
  31666. begin
  31667. pTDefRegMap(@Self)^.clr := $00000100;
  31668. end;
  31669. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  31670. begin
  31671. if thebits = 0 then
  31672. pTDefRegMap(@Self)^.clr := $00000100
  31673. else
  31674. pTDefRegMap(@Self)^.&set := $00000100;
  31675. end;
  31676. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  31677. begin
  31678. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31679. end;
  31680. procedure TPORTG_ODCG.setODCG9; inline;
  31681. begin
  31682. pTDefRegMap(@Self)^.&set := $00000200;
  31683. end;
  31684. procedure TPORTG_ODCG.clearODCG9; inline;
  31685. begin
  31686. pTDefRegMap(@Self)^.clr := $00000200;
  31687. end;
  31688. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  31689. begin
  31690. if thebits = 0 then
  31691. pTDefRegMap(@Self)^.clr := $00000200
  31692. else
  31693. pTDefRegMap(@Self)^.&set := $00000200;
  31694. end;
  31695. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  31696. begin
  31697. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31698. end;
  31699. procedure TPORTG_ODCG.setODCG12; inline;
  31700. begin
  31701. pTDefRegMap(@Self)^.&set := $00001000;
  31702. end;
  31703. procedure TPORTG_ODCG.clearODCG12; inline;
  31704. begin
  31705. pTDefRegMap(@Self)^.clr := $00001000;
  31706. end;
  31707. procedure TPORTG_ODCG.setODCG12(thebits : TBits_1); inline;
  31708. begin
  31709. if thebits = 0 then
  31710. pTDefRegMap(@Self)^.clr := $00001000
  31711. else
  31712. pTDefRegMap(@Self)^.&set := $00001000;
  31713. end;
  31714. function TPORTG_ODCG.getODCG12 : TBits_1; inline;
  31715. begin
  31716. getODCG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31717. end;
  31718. procedure TPORTG_ODCG.setODCG13; inline;
  31719. begin
  31720. pTDefRegMap(@Self)^.&set := $00002000;
  31721. end;
  31722. procedure TPORTG_ODCG.clearODCG13; inline;
  31723. begin
  31724. pTDefRegMap(@Self)^.clr := $00002000;
  31725. end;
  31726. procedure TPORTG_ODCG.setODCG13(thebits : TBits_1); inline;
  31727. begin
  31728. if thebits = 0 then
  31729. pTDefRegMap(@Self)^.clr := $00002000
  31730. else
  31731. pTDefRegMap(@Self)^.&set := $00002000;
  31732. end;
  31733. function TPORTG_ODCG.getODCG13 : TBits_1; inline;
  31734. begin
  31735. getODCG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31736. end;
  31737. procedure TPORTG_ODCG.setODCG14; inline;
  31738. begin
  31739. pTDefRegMap(@Self)^.&set := $00004000;
  31740. end;
  31741. procedure TPORTG_ODCG.clearODCG14; inline;
  31742. begin
  31743. pTDefRegMap(@Self)^.clr := $00004000;
  31744. end;
  31745. procedure TPORTG_ODCG.setODCG14(thebits : TBits_1); inline;
  31746. begin
  31747. if thebits = 0 then
  31748. pTDefRegMap(@Self)^.clr := $00004000
  31749. else
  31750. pTDefRegMap(@Self)^.&set := $00004000;
  31751. end;
  31752. function TPORTG_ODCG.getODCG14 : TBits_1; inline;
  31753. begin
  31754. getODCG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31755. end;
  31756. procedure TPORTG_ODCG.setODCG15; inline;
  31757. begin
  31758. pTDefRegMap(@Self)^.&set := $00008000;
  31759. end;
  31760. procedure TPORTG_ODCG.clearODCG15; inline;
  31761. begin
  31762. pTDefRegMap(@Self)^.clr := $00008000;
  31763. end;
  31764. procedure TPORTG_ODCG.setODCG15(thebits : TBits_1); inline;
  31765. begin
  31766. if thebits = 0 then
  31767. pTDefRegMap(@Self)^.clr := $00008000
  31768. else
  31769. pTDefRegMap(@Self)^.&set := $00008000;
  31770. end;
  31771. function TPORTG_ODCG.getODCG15 : TBits_1; inline;
  31772. begin
  31773. getODCG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31774. end;
  31775. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  31776. begin
  31777. pTDefRegMap(@Self)^.val := thebits;
  31778. end;
  31779. function TPORTG_ODCG.getw : TBits_32; inline;
  31780. begin
  31781. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31782. end;
  31783. procedure TPORTG_CNCON.setSIDL; inline;
  31784. begin
  31785. pTDefRegMap(@Self)^.&set := $00002000;
  31786. end;
  31787. procedure TPORTG_CNCON.clearSIDL; inline;
  31788. begin
  31789. pTDefRegMap(@Self)^.clr := $00002000;
  31790. end;
  31791. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  31792. begin
  31793. if thebits = 0 then
  31794. pTDefRegMap(@Self)^.clr := $00002000
  31795. else
  31796. pTDefRegMap(@Self)^.&set := $00002000;
  31797. end;
  31798. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  31799. begin
  31800. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31801. end;
  31802. procedure TPORTG_CNCON.setON; inline;
  31803. begin
  31804. pTDefRegMap(@Self)^.&set := $00008000;
  31805. end;
  31806. procedure TPORTG_CNCON.clearON; inline;
  31807. begin
  31808. pTDefRegMap(@Self)^.clr := $00008000;
  31809. end;
  31810. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  31811. begin
  31812. if thebits = 0 then
  31813. pTDefRegMap(@Self)^.clr := $00008000
  31814. else
  31815. pTDefRegMap(@Self)^.&set := $00008000;
  31816. end;
  31817. function TPORTG_CNCON.getON : TBits_1; inline;
  31818. begin
  31819. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31820. end;
  31821. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  31822. begin
  31823. pTDefRegMap(@Self)^.val := thebits;
  31824. end;
  31825. function TPORTG_CNCON.getw : TBits_32; inline;
  31826. begin
  31827. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31828. end;
  31829. procedure TPORTG_CNEN.setCNEN0; inline;
  31830. begin
  31831. pTDefRegMap(@Self)^.&set := $00000001;
  31832. end;
  31833. procedure TPORTG_CNEN.clearCNEN0; inline;
  31834. begin
  31835. pTDefRegMap(@Self)^.clr := $00000001;
  31836. end;
  31837. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  31838. begin
  31839. if thebits = 0 then
  31840. pTDefRegMap(@Self)^.clr := $00000001
  31841. else
  31842. pTDefRegMap(@Self)^.&set := $00000001;
  31843. end;
  31844. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  31845. begin
  31846. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31847. end;
  31848. procedure TPORTG_CNEN.setCNEN1; inline;
  31849. begin
  31850. pTDefRegMap(@Self)^.&set := $00000002;
  31851. end;
  31852. procedure TPORTG_CNEN.clearCNEN1; inline;
  31853. begin
  31854. pTDefRegMap(@Self)^.clr := $00000002;
  31855. end;
  31856. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  31857. begin
  31858. if thebits = 0 then
  31859. pTDefRegMap(@Self)^.clr := $00000002
  31860. else
  31861. pTDefRegMap(@Self)^.&set := $00000002;
  31862. end;
  31863. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  31864. begin
  31865. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31866. end;
  31867. procedure TPORTG_CNEN.setCNEN2; inline;
  31868. begin
  31869. pTDefRegMap(@Self)^.&set := $00000004;
  31870. end;
  31871. procedure TPORTG_CNEN.clearCNEN2; inline;
  31872. begin
  31873. pTDefRegMap(@Self)^.clr := $00000004;
  31874. end;
  31875. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  31876. begin
  31877. if thebits = 0 then
  31878. pTDefRegMap(@Self)^.clr := $00000004
  31879. else
  31880. pTDefRegMap(@Self)^.&set := $00000004;
  31881. end;
  31882. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  31883. begin
  31884. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31885. end;
  31886. procedure TPORTG_CNEN.setCNEN3; inline;
  31887. begin
  31888. pTDefRegMap(@Self)^.&set := $00000008;
  31889. end;
  31890. procedure TPORTG_CNEN.clearCNEN3; inline;
  31891. begin
  31892. pTDefRegMap(@Self)^.clr := $00000008;
  31893. end;
  31894. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  31895. begin
  31896. if thebits = 0 then
  31897. pTDefRegMap(@Self)^.clr := $00000008
  31898. else
  31899. pTDefRegMap(@Self)^.&set := $00000008;
  31900. end;
  31901. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  31902. begin
  31903. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31904. end;
  31905. procedure TPORTG_CNEN.setCNEN4; inline;
  31906. begin
  31907. pTDefRegMap(@Self)^.&set := $00000010;
  31908. end;
  31909. procedure TPORTG_CNEN.clearCNEN4; inline;
  31910. begin
  31911. pTDefRegMap(@Self)^.clr := $00000010;
  31912. end;
  31913. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  31914. begin
  31915. if thebits = 0 then
  31916. pTDefRegMap(@Self)^.clr := $00000010
  31917. else
  31918. pTDefRegMap(@Self)^.&set := $00000010;
  31919. end;
  31920. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  31921. begin
  31922. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31923. end;
  31924. procedure TPORTG_CNEN.setCNEN5; inline;
  31925. begin
  31926. pTDefRegMap(@Self)^.&set := $00000020;
  31927. end;
  31928. procedure TPORTG_CNEN.clearCNEN5; inline;
  31929. begin
  31930. pTDefRegMap(@Self)^.clr := $00000020;
  31931. end;
  31932. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  31933. begin
  31934. if thebits = 0 then
  31935. pTDefRegMap(@Self)^.clr := $00000020
  31936. else
  31937. pTDefRegMap(@Self)^.&set := $00000020;
  31938. end;
  31939. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  31940. begin
  31941. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31942. end;
  31943. procedure TPORTG_CNEN.setCNEN6; inline;
  31944. begin
  31945. pTDefRegMap(@Self)^.&set := $00000040;
  31946. end;
  31947. procedure TPORTG_CNEN.clearCNEN6; inline;
  31948. begin
  31949. pTDefRegMap(@Self)^.clr := $00000040;
  31950. end;
  31951. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  31952. begin
  31953. if thebits = 0 then
  31954. pTDefRegMap(@Self)^.clr := $00000040
  31955. else
  31956. pTDefRegMap(@Self)^.&set := $00000040;
  31957. end;
  31958. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  31959. begin
  31960. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31961. end;
  31962. procedure TPORTG_CNEN.setCNEN7; inline;
  31963. begin
  31964. pTDefRegMap(@Self)^.&set := $00000080;
  31965. end;
  31966. procedure TPORTG_CNEN.clearCNEN7; inline;
  31967. begin
  31968. pTDefRegMap(@Self)^.clr := $00000080;
  31969. end;
  31970. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  31971. begin
  31972. if thebits = 0 then
  31973. pTDefRegMap(@Self)^.clr := $00000080
  31974. else
  31975. pTDefRegMap(@Self)^.&set := $00000080;
  31976. end;
  31977. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  31978. begin
  31979. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31980. end;
  31981. procedure TPORTG_CNEN.setCNEN8; inline;
  31982. begin
  31983. pTDefRegMap(@Self)^.&set := $00000100;
  31984. end;
  31985. procedure TPORTG_CNEN.clearCNEN8; inline;
  31986. begin
  31987. pTDefRegMap(@Self)^.clr := $00000100;
  31988. end;
  31989. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  31990. begin
  31991. if thebits = 0 then
  31992. pTDefRegMap(@Self)^.clr := $00000100
  31993. else
  31994. pTDefRegMap(@Self)^.&set := $00000100;
  31995. end;
  31996. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  31997. begin
  31998. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31999. end;
  32000. procedure TPORTG_CNEN.setCNEN9; inline;
  32001. begin
  32002. pTDefRegMap(@Self)^.&set := $00000200;
  32003. end;
  32004. procedure TPORTG_CNEN.clearCNEN9; inline;
  32005. begin
  32006. pTDefRegMap(@Self)^.clr := $00000200;
  32007. end;
  32008. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  32009. begin
  32010. if thebits = 0 then
  32011. pTDefRegMap(@Self)^.clr := $00000200
  32012. else
  32013. pTDefRegMap(@Self)^.&set := $00000200;
  32014. end;
  32015. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  32016. begin
  32017. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32018. end;
  32019. procedure TPORTG_CNEN.setCNEN10; inline;
  32020. begin
  32021. pTDefRegMap(@Self)^.&set := $00000400;
  32022. end;
  32023. procedure TPORTG_CNEN.clearCNEN10; inline;
  32024. begin
  32025. pTDefRegMap(@Self)^.clr := $00000400;
  32026. end;
  32027. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  32028. begin
  32029. if thebits = 0 then
  32030. pTDefRegMap(@Self)^.clr := $00000400
  32031. else
  32032. pTDefRegMap(@Self)^.&set := $00000400;
  32033. end;
  32034. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  32035. begin
  32036. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32037. end;
  32038. procedure TPORTG_CNEN.setCNEN11; inline;
  32039. begin
  32040. pTDefRegMap(@Self)^.&set := $00000800;
  32041. end;
  32042. procedure TPORTG_CNEN.clearCNEN11; inline;
  32043. begin
  32044. pTDefRegMap(@Self)^.clr := $00000800;
  32045. end;
  32046. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  32047. begin
  32048. if thebits = 0 then
  32049. pTDefRegMap(@Self)^.clr := $00000800
  32050. else
  32051. pTDefRegMap(@Self)^.&set := $00000800;
  32052. end;
  32053. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  32054. begin
  32055. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32056. end;
  32057. procedure TPORTG_CNEN.setCNEN12; inline;
  32058. begin
  32059. pTDefRegMap(@Self)^.&set := $00001000;
  32060. end;
  32061. procedure TPORTG_CNEN.clearCNEN12; inline;
  32062. begin
  32063. pTDefRegMap(@Self)^.clr := $00001000;
  32064. end;
  32065. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  32066. begin
  32067. if thebits = 0 then
  32068. pTDefRegMap(@Self)^.clr := $00001000
  32069. else
  32070. pTDefRegMap(@Self)^.&set := $00001000;
  32071. end;
  32072. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  32073. begin
  32074. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32075. end;
  32076. procedure TPORTG_CNEN.setCNEN13; inline;
  32077. begin
  32078. pTDefRegMap(@Self)^.&set := $00002000;
  32079. end;
  32080. procedure TPORTG_CNEN.clearCNEN13; inline;
  32081. begin
  32082. pTDefRegMap(@Self)^.clr := $00002000;
  32083. end;
  32084. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  32085. begin
  32086. if thebits = 0 then
  32087. pTDefRegMap(@Self)^.clr := $00002000
  32088. else
  32089. pTDefRegMap(@Self)^.&set := $00002000;
  32090. end;
  32091. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  32092. begin
  32093. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32094. end;
  32095. procedure TPORTG_CNEN.setCNEN14; inline;
  32096. begin
  32097. pTDefRegMap(@Self)^.&set := $00004000;
  32098. end;
  32099. procedure TPORTG_CNEN.clearCNEN14; inline;
  32100. begin
  32101. pTDefRegMap(@Self)^.clr := $00004000;
  32102. end;
  32103. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  32104. begin
  32105. if thebits = 0 then
  32106. pTDefRegMap(@Self)^.clr := $00004000
  32107. else
  32108. pTDefRegMap(@Self)^.&set := $00004000;
  32109. end;
  32110. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  32111. begin
  32112. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32113. end;
  32114. procedure TPORTG_CNEN.setCNEN15; inline;
  32115. begin
  32116. pTDefRegMap(@Self)^.&set := $00008000;
  32117. end;
  32118. procedure TPORTG_CNEN.clearCNEN15; inline;
  32119. begin
  32120. pTDefRegMap(@Self)^.clr := $00008000;
  32121. end;
  32122. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  32123. begin
  32124. if thebits = 0 then
  32125. pTDefRegMap(@Self)^.clr := $00008000
  32126. else
  32127. pTDefRegMap(@Self)^.&set := $00008000;
  32128. end;
  32129. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  32130. begin
  32131. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32132. end;
  32133. procedure TPORTG_CNEN.setCNEN16; inline;
  32134. begin
  32135. pTDefRegMap(@Self)^.&set := $00010000;
  32136. end;
  32137. procedure TPORTG_CNEN.clearCNEN16; inline;
  32138. begin
  32139. pTDefRegMap(@Self)^.clr := $00010000;
  32140. end;
  32141. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  32142. begin
  32143. if thebits = 0 then
  32144. pTDefRegMap(@Self)^.clr := $00010000
  32145. else
  32146. pTDefRegMap(@Self)^.&set := $00010000;
  32147. end;
  32148. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  32149. begin
  32150. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32151. end;
  32152. procedure TPORTG_CNEN.setCNEN17; inline;
  32153. begin
  32154. pTDefRegMap(@Self)^.&set := $00020000;
  32155. end;
  32156. procedure TPORTG_CNEN.clearCNEN17; inline;
  32157. begin
  32158. pTDefRegMap(@Self)^.clr := $00020000;
  32159. end;
  32160. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  32161. begin
  32162. if thebits = 0 then
  32163. pTDefRegMap(@Self)^.clr := $00020000
  32164. else
  32165. pTDefRegMap(@Self)^.&set := $00020000;
  32166. end;
  32167. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  32168. begin
  32169. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32170. end;
  32171. procedure TPORTG_CNEN.setCNEN18; inline;
  32172. begin
  32173. pTDefRegMap(@Self)^.&set := $00040000;
  32174. end;
  32175. procedure TPORTG_CNEN.clearCNEN18; inline;
  32176. begin
  32177. pTDefRegMap(@Self)^.clr := $00040000;
  32178. end;
  32179. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  32180. begin
  32181. if thebits = 0 then
  32182. pTDefRegMap(@Self)^.clr := $00040000
  32183. else
  32184. pTDefRegMap(@Self)^.&set := $00040000;
  32185. end;
  32186. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  32187. begin
  32188. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32189. end;
  32190. procedure TPORTG_CNEN.setCNEN19; inline;
  32191. begin
  32192. pTDefRegMap(@Self)^.&set := $00080000;
  32193. end;
  32194. procedure TPORTG_CNEN.clearCNEN19; inline;
  32195. begin
  32196. pTDefRegMap(@Self)^.clr := $00080000;
  32197. end;
  32198. procedure TPORTG_CNEN.setCNEN19(thebits : TBits_1); inline;
  32199. begin
  32200. if thebits = 0 then
  32201. pTDefRegMap(@Self)^.clr := $00080000
  32202. else
  32203. pTDefRegMap(@Self)^.&set := $00080000;
  32204. end;
  32205. function TPORTG_CNEN.getCNEN19 : TBits_1; inline;
  32206. begin
  32207. getCNEN19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32208. end;
  32209. procedure TPORTG_CNEN.setCNEN20; inline;
  32210. begin
  32211. pTDefRegMap(@Self)^.&set := $00100000;
  32212. end;
  32213. procedure TPORTG_CNEN.clearCNEN20; inline;
  32214. begin
  32215. pTDefRegMap(@Self)^.clr := $00100000;
  32216. end;
  32217. procedure TPORTG_CNEN.setCNEN20(thebits : TBits_1); inline;
  32218. begin
  32219. if thebits = 0 then
  32220. pTDefRegMap(@Self)^.clr := $00100000
  32221. else
  32222. pTDefRegMap(@Self)^.&set := $00100000;
  32223. end;
  32224. function TPORTG_CNEN.getCNEN20 : TBits_1; inline;
  32225. begin
  32226. getCNEN20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32227. end;
  32228. procedure TPORTG_CNEN.setCNEN21; inline;
  32229. begin
  32230. pTDefRegMap(@Self)^.&set := $00200000;
  32231. end;
  32232. procedure TPORTG_CNEN.clearCNEN21; inline;
  32233. begin
  32234. pTDefRegMap(@Self)^.clr := $00200000;
  32235. end;
  32236. procedure TPORTG_CNEN.setCNEN21(thebits : TBits_1); inline;
  32237. begin
  32238. if thebits = 0 then
  32239. pTDefRegMap(@Self)^.clr := $00200000
  32240. else
  32241. pTDefRegMap(@Self)^.&set := $00200000;
  32242. end;
  32243. function TPORTG_CNEN.getCNEN21 : TBits_1; inline;
  32244. begin
  32245. getCNEN21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32246. end;
  32247. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  32248. begin
  32249. pTDefRegMap(@Self)^.val := thebits;
  32250. end;
  32251. function TPORTG_CNEN.getw : TBits_32; inline;
  32252. begin
  32253. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32254. end;
  32255. procedure TPORTG_CNPUE.setCNPUE0; inline;
  32256. begin
  32257. pTDefRegMap(@Self)^.&set := $00000001;
  32258. end;
  32259. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  32260. begin
  32261. pTDefRegMap(@Self)^.clr := $00000001;
  32262. end;
  32263. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  32264. begin
  32265. if thebits = 0 then
  32266. pTDefRegMap(@Self)^.clr := $00000001
  32267. else
  32268. pTDefRegMap(@Self)^.&set := $00000001;
  32269. end;
  32270. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  32271. begin
  32272. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32273. end;
  32274. procedure TPORTG_CNPUE.setCNPUE1; inline;
  32275. begin
  32276. pTDefRegMap(@Self)^.&set := $00000002;
  32277. end;
  32278. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  32279. begin
  32280. pTDefRegMap(@Self)^.clr := $00000002;
  32281. end;
  32282. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  32283. begin
  32284. if thebits = 0 then
  32285. pTDefRegMap(@Self)^.clr := $00000002
  32286. else
  32287. pTDefRegMap(@Self)^.&set := $00000002;
  32288. end;
  32289. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  32290. begin
  32291. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32292. end;
  32293. procedure TPORTG_CNPUE.setCNPUE2; inline;
  32294. begin
  32295. pTDefRegMap(@Self)^.&set := $00000004;
  32296. end;
  32297. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  32298. begin
  32299. pTDefRegMap(@Self)^.clr := $00000004;
  32300. end;
  32301. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  32302. begin
  32303. if thebits = 0 then
  32304. pTDefRegMap(@Self)^.clr := $00000004
  32305. else
  32306. pTDefRegMap(@Self)^.&set := $00000004;
  32307. end;
  32308. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  32309. begin
  32310. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32311. end;
  32312. procedure TPORTG_CNPUE.setCNPUE3; inline;
  32313. begin
  32314. pTDefRegMap(@Self)^.&set := $00000008;
  32315. end;
  32316. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  32317. begin
  32318. pTDefRegMap(@Self)^.clr := $00000008;
  32319. end;
  32320. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  32321. begin
  32322. if thebits = 0 then
  32323. pTDefRegMap(@Self)^.clr := $00000008
  32324. else
  32325. pTDefRegMap(@Self)^.&set := $00000008;
  32326. end;
  32327. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  32328. begin
  32329. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32330. end;
  32331. procedure TPORTG_CNPUE.setCNPUE4; inline;
  32332. begin
  32333. pTDefRegMap(@Self)^.&set := $00000010;
  32334. end;
  32335. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  32336. begin
  32337. pTDefRegMap(@Self)^.clr := $00000010;
  32338. end;
  32339. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  32340. begin
  32341. if thebits = 0 then
  32342. pTDefRegMap(@Self)^.clr := $00000010
  32343. else
  32344. pTDefRegMap(@Self)^.&set := $00000010;
  32345. end;
  32346. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  32347. begin
  32348. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32349. end;
  32350. procedure TPORTG_CNPUE.setCNPUE5; inline;
  32351. begin
  32352. pTDefRegMap(@Self)^.&set := $00000020;
  32353. end;
  32354. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  32355. begin
  32356. pTDefRegMap(@Self)^.clr := $00000020;
  32357. end;
  32358. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  32359. begin
  32360. if thebits = 0 then
  32361. pTDefRegMap(@Self)^.clr := $00000020
  32362. else
  32363. pTDefRegMap(@Self)^.&set := $00000020;
  32364. end;
  32365. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  32366. begin
  32367. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32368. end;
  32369. procedure TPORTG_CNPUE.setCNPUE6; inline;
  32370. begin
  32371. pTDefRegMap(@Self)^.&set := $00000040;
  32372. end;
  32373. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  32374. begin
  32375. pTDefRegMap(@Self)^.clr := $00000040;
  32376. end;
  32377. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  32378. begin
  32379. if thebits = 0 then
  32380. pTDefRegMap(@Self)^.clr := $00000040
  32381. else
  32382. pTDefRegMap(@Self)^.&set := $00000040;
  32383. end;
  32384. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  32385. begin
  32386. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32387. end;
  32388. procedure TPORTG_CNPUE.setCNPUE7; inline;
  32389. begin
  32390. pTDefRegMap(@Self)^.&set := $00000080;
  32391. end;
  32392. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  32393. begin
  32394. pTDefRegMap(@Self)^.clr := $00000080;
  32395. end;
  32396. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  32397. begin
  32398. if thebits = 0 then
  32399. pTDefRegMap(@Self)^.clr := $00000080
  32400. else
  32401. pTDefRegMap(@Self)^.&set := $00000080;
  32402. end;
  32403. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  32404. begin
  32405. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32406. end;
  32407. procedure TPORTG_CNPUE.setCNPUE8; inline;
  32408. begin
  32409. pTDefRegMap(@Self)^.&set := $00000100;
  32410. end;
  32411. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  32412. begin
  32413. pTDefRegMap(@Self)^.clr := $00000100;
  32414. end;
  32415. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  32416. begin
  32417. if thebits = 0 then
  32418. pTDefRegMap(@Self)^.clr := $00000100
  32419. else
  32420. pTDefRegMap(@Self)^.&set := $00000100;
  32421. end;
  32422. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  32423. begin
  32424. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32425. end;
  32426. procedure TPORTG_CNPUE.setCNPUE9; inline;
  32427. begin
  32428. pTDefRegMap(@Self)^.&set := $00000200;
  32429. end;
  32430. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  32431. begin
  32432. pTDefRegMap(@Self)^.clr := $00000200;
  32433. end;
  32434. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  32435. begin
  32436. if thebits = 0 then
  32437. pTDefRegMap(@Self)^.clr := $00000200
  32438. else
  32439. pTDefRegMap(@Self)^.&set := $00000200;
  32440. end;
  32441. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  32442. begin
  32443. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32444. end;
  32445. procedure TPORTG_CNPUE.setCNPUE10; inline;
  32446. begin
  32447. pTDefRegMap(@Self)^.&set := $00000400;
  32448. end;
  32449. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  32450. begin
  32451. pTDefRegMap(@Self)^.clr := $00000400;
  32452. end;
  32453. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  32454. begin
  32455. if thebits = 0 then
  32456. pTDefRegMap(@Self)^.clr := $00000400
  32457. else
  32458. pTDefRegMap(@Self)^.&set := $00000400;
  32459. end;
  32460. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  32461. begin
  32462. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32463. end;
  32464. procedure TPORTG_CNPUE.setCNPUE11; inline;
  32465. begin
  32466. pTDefRegMap(@Self)^.&set := $00000800;
  32467. end;
  32468. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  32469. begin
  32470. pTDefRegMap(@Self)^.clr := $00000800;
  32471. end;
  32472. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  32473. begin
  32474. if thebits = 0 then
  32475. pTDefRegMap(@Self)^.clr := $00000800
  32476. else
  32477. pTDefRegMap(@Self)^.&set := $00000800;
  32478. end;
  32479. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  32480. begin
  32481. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32482. end;
  32483. procedure TPORTG_CNPUE.setCNPUE12; inline;
  32484. begin
  32485. pTDefRegMap(@Self)^.&set := $00001000;
  32486. end;
  32487. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  32488. begin
  32489. pTDefRegMap(@Self)^.clr := $00001000;
  32490. end;
  32491. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  32492. begin
  32493. if thebits = 0 then
  32494. pTDefRegMap(@Self)^.clr := $00001000
  32495. else
  32496. pTDefRegMap(@Self)^.&set := $00001000;
  32497. end;
  32498. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  32499. begin
  32500. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32501. end;
  32502. procedure TPORTG_CNPUE.setCNPUE13; inline;
  32503. begin
  32504. pTDefRegMap(@Self)^.&set := $00002000;
  32505. end;
  32506. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  32507. begin
  32508. pTDefRegMap(@Self)^.clr := $00002000;
  32509. end;
  32510. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  32511. begin
  32512. if thebits = 0 then
  32513. pTDefRegMap(@Self)^.clr := $00002000
  32514. else
  32515. pTDefRegMap(@Self)^.&set := $00002000;
  32516. end;
  32517. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  32518. begin
  32519. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32520. end;
  32521. procedure TPORTG_CNPUE.setCNPUE14; inline;
  32522. begin
  32523. pTDefRegMap(@Self)^.&set := $00004000;
  32524. end;
  32525. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  32526. begin
  32527. pTDefRegMap(@Self)^.clr := $00004000;
  32528. end;
  32529. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  32530. begin
  32531. if thebits = 0 then
  32532. pTDefRegMap(@Self)^.clr := $00004000
  32533. else
  32534. pTDefRegMap(@Self)^.&set := $00004000;
  32535. end;
  32536. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  32537. begin
  32538. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32539. end;
  32540. procedure TPORTG_CNPUE.setCNPUE15; inline;
  32541. begin
  32542. pTDefRegMap(@Self)^.&set := $00008000;
  32543. end;
  32544. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  32545. begin
  32546. pTDefRegMap(@Self)^.clr := $00008000;
  32547. end;
  32548. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  32549. begin
  32550. if thebits = 0 then
  32551. pTDefRegMap(@Self)^.clr := $00008000
  32552. else
  32553. pTDefRegMap(@Self)^.&set := $00008000;
  32554. end;
  32555. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  32556. begin
  32557. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32558. end;
  32559. procedure TPORTG_CNPUE.setCNPUE16; inline;
  32560. begin
  32561. pTDefRegMap(@Self)^.&set := $00010000;
  32562. end;
  32563. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  32564. begin
  32565. pTDefRegMap(@Self)^.clr := $00010000;
  32566. end;
  32567. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  32568. begin
  32569. if thebits = 0 then
  32570. pTDefRegMap(@Self)^.clr := $00010000
  32571. else
  32572. pTDefRegMap(@Self)^.&set := $00010000;
  32573. end;
  32574. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  32575. begin
  32576. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32577. end;
  32578. procedure TPORTG_CNPUE.setCNPUE17; inline;
  32579. begin
  32580. pTDefRegMap(@Self)^.&set := $00020000;
  32581. end;
  32582. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  32583. begin
  32584. pTDefRegMap(@Self)^.clr := $00020000;
  32585. end;
  32586. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  32587. begin
  32588. if thebits = 0 then
  32589. pTDefRegMap(@Self)^.clr := $00020000
  32590. else
  32591. pTDefRegMap(@Self)^.&set := $00020000;
  32592. end;
  32593. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  32594. begin
  32595. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32596. end;
  32597. procedure TPORTG_CNPUE.setCNPUE18; inline;
  32598. begin
  32599. pTDefRegMap(@Self)^.&set := $00040000;
  32600. end;
  32601. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  32602. begin
  32603. pTDefRegMap(@Self)^.clr := $00040000;
  32604. end;
  32605. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  32606. begin
  32607. if thebits = 0 then
  32608. pTDefRegMap(@Self)^.clr := $00040000
  32609. else
  32610. pTDefRegMap(@Self)^.&set := $00040000;
  32611. end;
  32612. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  32613. begin
  32614. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32615. end;
  32616. procedure TPORTG_CNPUE.setCNPUE19; inline;
  32617. begin
  32618. pTDefRegMap(@Self)^.&set := $00080000;
  32619. end;
  32620. procedure TPORTG_CNPUE.clearCNPUE19; inline;
  32621. begin
  32622. pTDefRegMap(@Self)^.clr := $00080000;
  32623. end;
  32624. procedure TPORTG_CNPUE.setCNPUE19(thebits : TBits_1); inline;
  32625. begin
  32626. if thebits = 0 then
  32627. pTDefRegMap(@Self)^.clr := $00080000
  32628. else
  32629. pTDefRegMap(@Self)^.&set := $00080000;
  32630. end;
  32631. function TPORTG_CNPUE.getCNPUE19 : TBits_1; inline;
  32632. begin
  32633. getCNPUE19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32634. end;
  32635. procedure TPORTG_CNPUE.setCNPUE20; inline;
  32636. begin
  32637. pTDefRegMap(@Self)^.&set := $00100000;
  32638. end;
  32639. procedure TPORTG_CNPUE.clearCNPUE20; inline;
  32640. begin
  32641. pTDefRegMap(@Self)^.clr := $00100000;
  32642. end;
  32643. procedure TPORTG_CNPUE.setCNPUE20(thebits : TBits_1); inline;
  32644. begin
  32645. if thebits = 0 then
  32646. pTDefRegMap(@Self)^.clr := $00100000
  32647. else
  32648. pTDefRegMap(@Self)^.&set := $00100000;
  32649. end;
  32650. function TPORTG_CNPUE.getCNPUE20 : TBits_1; inline;
  32651. begin
  32652. getCNPUE20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32653. end;
  32654. procedure TPORTG_CNPUE.setCNPUE21; inline;
  32655. begin
  32656. pTDefRegMap(@Self)^.&set := $00200000;
  32657. end;
  32658. procedure TPORTG_CNPUE.clearCNPUE21; inline;
  32659. begin
  32660. pTDefRegMap(@Self)^.clr := $00200000;
  32661. end;
  32662. procedure TPORTG_CNPUE.setCNPUE21(thebits : TBits_1); inline;
  32663. begin
  32664. if thebits = 0 then
  32665. pTDefRegMap(@Self)^.clr := $00200000
  32666. else
  32667. pTDefRegMap(@Self)^.&set := $00200000;
  32668. end;
  32669. function TPORTG_CNPUE.getCNPUE21 : TBits_1; inline;
  32670. begin
  32671. getCNPUE21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32672. end;
  32673. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  32674. begin
  32675. pTDefRegMap(@Self)^.val := thebits;
  32676. end;
  32677. function TPORTG_CNPUE.getw : TBits_32; inline;
  32678. begin
  32679. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32680. end;
  32681. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  32682. begin
  32683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  32684. end;
  32685. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  32686. begin
  32687. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  32688. end;
  32689. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  32690. begin
  32691. pTDefRegMap(@Self)^.val := thebits;
  32692. end;
  32693. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  32694. begin
  32695. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32696. end;
  32697. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  32698. begin
  32699. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  32700. end;
  32701. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  32702. begin
  32703. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  32704. end;
  32705. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  32706. begin
  32707. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  32708. end;
  32709. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  32710. begin
  32711. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  32712. end;
  32713. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  32714. begin
  32715. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  32716. end;
  32717. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  32718. begin
  32719. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  32720. end;
  32721. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  32722. begin
  32723. pTDefRegMap(@Self)^.&set := $00008000;
  32724. end;
  32725. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  32726. begin
  32727. pTDefRegMap(@Self)^.clr := $00008000;
  32728. end;
  32729. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  32730. begin
  32731. if thebits = 0 then
  32732. pTDefRegMap(@Self)^.clr := $00008000
  32733. else
  32734. pTDefRegMap(@Self)^.&set := $00008000;
  32735. end;
  32736. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  32737. begin
  32738. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32739. end;
  32740. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  32741. begin
  32742. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  32743. end;
  32744. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  32745. begin
  32746. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  32747. end;
  32748. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  32749. begin
  32750. pTDefRegMap(@Self)^.val := thebits;
  32751. end;
  32752. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  32753. begin
  32754. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32755. end;
  32756. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  32757. begin
  32758. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  32759. end;
  32760. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  32761. begin
  32762. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  32763. end;
  32764. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  32765. begin
  32766. pTDefRegMap(@Self)^.&set := $00000020;
  32767. end;
  32768. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  32769. begin
  32770. pTDefRegMap(@Self)^.clr := $00000020;
  32771. end;
  32772. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  32773. begin
  32774. if thebits = 0 then
  32775. pTDefRegMap(@Self)^.clr := $00000020
  32776. else
  32777. pTDefRegMap(@Self)^.&set := $00000020;
  32778. end;
  32779. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  32780. begin
  32781. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32782. end;
  32783. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  32784. begin
  32785. pTDefRegMap(@Self)^.&set := $00000080;
  32786. end;
  32787. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  32788. begin
  32789. pTDefRegMap(@Self)^.clr := $00000080;
  32790. end;
  32791. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  32792. begin
  32793. if thebits = 0 then
  32794. pTDefRegMap(@Self)^.clr := $00000080
  32795. else
  32796. pTDefRegMap(@Self)^.&set := $00000080;
  32797. end;
  32798. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  32799. begin
  32800. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32801. end;
  32802. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  32803. begin
  32804. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  32805. end;
  32806. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  32807. begin
  32808. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  32809. end;
  32810. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  32811. begin
  32812. pTDefRegMap(@Self)^.&set := $00000400;
  32813. end;
  32814. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  32815. begin
  32816. pTDefRegMap(@Self)^.clr := $00000400;
  32817. end;
  32818. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  32819. begin
  32820. if thebits = 0 then
  32821. pTDefRegMap(@Self)^.clr := $00000400
  32822. else
  32823. pTDefRegMap(@Self)^.&set := $00000400;
  32824. end;
  32825. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  32826. begin
  32827. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32828. end;
  32829. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  32830. begin
  32831. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  32832. end;
  32833. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  32834. begin
  32835. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  32836. end;
  32837. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  32838. begin
  32839. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32840. end;
  32841. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  32842. begin
  32843. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32844. end;
  32845. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  32846. begin
  32847. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  32848. end;
  32849. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  32850. begin
  32851. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  32852. end;
  32853. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  32854. begin
  32855. pTDefRegMap(@Self)^.&set := $00800000;
  32856. end;
  32857. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  32858. begin
  32859. pTDefRegMap(@Self)^.clr := $00800000;
  32860. end;
  32861. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  32862. begin
  32863. if thebits = 0 then
  32864. pTDefRegMap(@Self)^.clr := $00800000
  32865. else
  32866. pTDefRegMap(@Self)^.&set := $00800000;
  32867. end;
  32868. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  32869. begin
  32870. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32871. end;
  32872. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  32873. begin
  32874. pTDefRegMap(@Self)^.val := thebits;
  32875. end;
  32876. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  32877. begin
  32878. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32879. end;
  32880. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  32881. begin
  32882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  32883. end;
  32884. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  32885. begin
  32886. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  32887. end;
  32888. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  32889. begin
  32890. pTDefRegMap(@Self)^.&set := $00000008;
  32891. end;
  32892. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  32893. begin
  32894. pTDefRegMap(@Self)^.clr := $00000008;
  32895. end;
  32896. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  32897. begin
  32898. if thebits = 0 then
  32899. pTDefRegMap(@Self)^.clr := $00000008
  32900. else
  32901. pTDefRegMap(@Self)^.&set := $00000008;
  32902. end;
  32903. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  32904. begin
  32905. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32906. end;
  32907. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  32908. begin
  32909. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  32910. end;
  32911. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  32912. begin
  32913. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  32914. end;
  32915. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  32916. begin
  32917. pTDefRegMap(@Self)^.&set := $01000000;
  32918. end;
  32919. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  32920. begin
  32921. pTDefRegMap(@Self)^.clr := $01000000;
  32922. end;
  32923. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  32924. begin
  32925. if thebits = 0 then
  32926. pTDefRegMap(@Self)^.clr := $01000000
  32927. else
  32928. pTDefRegMap(@Self)^.&set := $01000000;
  32929. end;
  32930. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  32931. begin
  32932. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32933. end;
  32934. procedure TDEVCFG_DEVCFG0.setCP; inline;
  32935. begin
  32936. pTDefRegMap(@Self)^.&set := $10000000;
  32937. end;
  32938. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  32939. begin
  32940. pTDefRegMap(@Self)^.clr := $10000000;
  32941. end;
  32942. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  32943. begin
  32944. if thebits = 0 then
  32945. pTDefRegMap(@Self)^.clr := $10000000
  32946. else
  32947. pTDefRegMap(@Self)^.&set := $10000000;
  32948. end;
  32949. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  32950. begin
  32951. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  32952. end;
  32953. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  32954. begin
  32955. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  32956. end;
  32957. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  32958. begin
  32959. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  32960. end;
  32961. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  32962. begin
  32963. pTDefRegMap(@Self)^.val := thebits;
  32964. end;
  32965. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  32966. begin
  32967. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32968. end;
  32969. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  32970. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  32971. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  32972. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  32973. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  32974. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  32975. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  32976. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  32977. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  32978. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  32979. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  32980. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  32981. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  32982. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  32983. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  32984. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  32985. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  32986. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  32987. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  32988. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  32989. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  32990. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  32991. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  32992. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  32993. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  32994. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  32995. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  32996. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  32997. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  32998. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  32999. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  33000. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  33001. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  33002. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  33003. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  33004. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  33005. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  33006. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  33007. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  33008. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  33009. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  33010. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  33011. procedure Vectors; assembler; nostackframe;
  33012. label interrupt_vectors;
  33013. asm
  33014. .section ".init.interrupt_vectors,\"ax\",@progbits"
  33015. interrupt_vectors:
  33016. j _CORE_TIMER_VECTOR_interrupt
  33017. nop
  33018. nop
  33019. nop
  33020. nop
  33021. nop
  33022. nop
  33023. nop
  33024. j _CORE_SOFTWARE_0_VECTOR_interrupt
  33025. nop
  33026. nop
  33027. nop
  33028. nop
  33029. nop
  33030. nop
  33031. nop
  33032. j _CORE_SOFTWARE_1_VECTOR_interrupt
  33033. nop
  33034. nop
  33035. nop
  33036. nop
  33037. nop
  33038. nop
  33039. nop
  33040. j _EXTERNAL_0_VECTOR_interrupt
  33041. nop
  33042. nop
  33043. nop
  33044. nop
  33045. nop
  33046. nop
  33047. nop
  33048. j _TIMER_1_VECTOR_interrupt
  33049. nop
  33050. nop
  33051. nop
  33052. nop
  33053. nop
  33054. nop
  33055. nop
  33056. j _INPUT_CAPTURE_1_VECTOR_interrupt
  33057. nop
  33058. nop
  33059. nop
  33060. nop
  33061. nop
  33062. nop
  33063. nop
  33064. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  33065. nop
  33066. nop
  33067. nop
  33068. nop
  33069. nop
  33070. nop
  33071. nop
  33072. j _EXTERNAL_1_VECTOR_interrupt
  33073. nop
  33074. nop
  33075. nop
  33076. nop
  33077. nop
  33078. nop
  33079. nop
  33080. j _TIMER_2_VECTOR_interrupt
  33081. nop
  33082. nop
  33083. nop
  33084. nop
  33085. nop
  33086. nop
  33087. nop
  33088. j _INPUT_CAPTURE_2_VECTOR_interrupt
  33089. nop
  33090. nop
  33091. nop
  33092. nop
  33093. nop
  33094. nop
  33095. nop
  33096. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  33097. nop
  33098. nop
  33099. nop
  33100. nop
  33101. nop
  33102. nop
  33103. nop
  33104. j _EXTERNAL_2_VECTOR_interrupt
  33105. nop
  33106. nop
  33107. nop
  33108. nop
  33109. nop
  33110. nop
  33111. nop
  33112. j _TIMER_3_VECTOR_interrupt
  33113. nop
  33114. nop
  33115. nop
  33116. nop
  33117. nop
  33118. nop
  33119. nop
  33120. j _INPUT_CAPTURE_3_VECTOR_interrupt
  33121. nop
  33122. nop
  33123. nop
  33124. nop
  33125. nop
  33126. nop
  33127. nop
  33128. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  33129. nop
  33130. nop
  33131. nop
  33132. nop
  33133. nop
  33134. nop
  33135. nop
  33136. j _EXTERNAL_3_VECTOR_interrupt
  33137. nop
  33138. nop
  33139. nop
  33140. nop
  33141. nop
  33142. nop
  33143. nop
  33144. j _TIMER_4_VECTOR_interrupt
  33145. nop
  33146. nop
  33147. nop
  33148. nop
  33149. nop
  33150. nop
  33151. nop
  33152. j _INPUT_CAPTURE_4_VECTOR_interrupt
  33153. nop
  33154. nop
  33155. nop
  33156. nop
  33157. nop
  33158. nop
  33159. nop
  33160. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  33161. nop
  33162. nop
  33163. nop
  33164. nop
  33165. nop
  33166. nop
  33167. nop
  33168. j _EXTERNAL_4_VECTOR_interrupt
  33169. nop
  33170. nop
  33171. nop
  33172. nop
  33173. nop
  33174. nop
  33175. nop
  33176. j _TIMER_5_VECTOR_interrupt
  33177. nop
  33178. nop
  33179. nop
  33180. nop
  33181. nop
  33182. nop
  33183. nop
  33184. j _INPUT_CAPTURE_5_VECTOR_interrupt
  33185. nop
  33186. nop
  33187. nop
  33188. nop
  33189. nop
  33190. nop
  33191. nop
  33192. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  33193. nop
  33194. nop
  33195. nop
  33196. nop
  33197. nop
  33198. nop
  33199. nop
  33200. j _SPI_1_VECTOR_interrupt
  33201. nop
  33202. nop
  33203. nop
  33204. nop
  33205. nop
  33206. nop
  33207. nop
  33208. j _UART_1_VECTOR_interrupt
  33209. nop
  33210. nop
  33211. nop
  33212. nop
  33213. nop
  33214. nop
  33215. nop
  33216. j _I2C_1_VECTOR_interrupt
  33217. nop
  33218. nop
  33219. nop
  33220. nop
  33221. nop
  33222. nop
  33223. nop
  33224. j _CHANGE_NOTICE_VECTOR_interrupt
  33225. nop
  33226. nop
  33227. nop
  33228. nop
  33229. nop
  33230. nop
  33231. nop
  33232. j _ADC_VECTOR_interrupt
  33233. nop
  33234. nop
  33235. nop
  33236. nop
  33237. nop
  33238. nop
  33239. nop
  33240. j _PMP_VECTOR_interrupt
  33241. nop
  33242. nop
  33243. nop
  33244. nop
  33245. nop
  33246. nop
  33247. nop
  33248. j _COMPARATOR_1_VECTOR_interrupt
  33249. nop
  33250. nop
  33251. nop
  33252. nop
  33253. nop
  33254. nop
  33255. nop
  33256. j _COMPARATOR_2_VECTOR_interrupt
  33257. nop
  33258. nop
  33259. nop
  33260. nop
  33261. nop
  33262. nop
  33263. nop
  33264. j _SPI_2_VECTOR_interrupt
  33265. nop
  33266. nop
  33267. nop
  33268. nop
  33269. nop
  33270. nop
  33271. nop
  33272. j _UART_2_VECTOR_interrupt
  33273. nop
  33274. nop
  33275. nop
  33276. nop
  33277. nop
  33278. nop
  33279. nop
  33280. j _I2C_2_VECTOR_interrupt
  33281. nop
  33282. nop
  33283. nop
  33284. nop
  33285. nop
  33286. nop
  33287. nop
  33288. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  33289. nop
  33290. nop
  33291. nop
  33292. nop
  33293. nop
  33294. nop
  33295. nop
  33296. j _RTCC_VECTOR_interrupt
  33297. nop
  33298. nop
  33299. nop
  33300. nop
  33301. nop
  33302. nop
  33303. nop
  33304. j _DMA_0_VECTOR_interrupt
  33305. nop
  33306. nop
  33307. nop
  33308. nop
  33309. nop
  33310. nop
  33311. nop
  33312. j _DMA_1_VECTOR_interrupt
  33313. nop
  33314. nop
  33315. nop
  33316. nop
  33317. nop
  33318. nop
  33319. nop
  33320. j _DMA_2_VECTOR_interrupt
  33321. nop
  33322. nop
  33323. nop
  33324. nop
  33325. nop
  33326. nop
  33327. nop
  33328. j _DMA_3_VECTOR_interrupt
  33329. nop
  33330. nop
  33331. nop
  33332. nop
  33333. nop
  33334. nop
  33335. nop
  33336. nop
  33337. nop
  33338. nop
  33339. nop
  33340. nop
  33341. nop
  33342. nop
  33343. nop
  33344. nop
  33345. nop
  33346. nop
  33347. nop
  33348. nop
  33349. nop
  33350. nop
  33351. nop
  33352. nop
  33353. nop
  33354. nop
  33355. nop
  33356. nop
  33357. nop
  33358. nop
  33359. nop
  33360. nop
  33361. nop
  33362. nop
  33363. nop
  33364. nop
  33365. nop
  33366. nop
  33367. nop
  33368. j _FCE_VECTOR_interrupt
  33369. nop
  33370. nop
  33371. nop
  33372. nop
  33373. nop
  33374. nop
  33375. nop
  33376. j _USB_1_VECTOR_interrupt
  33377. nop
  33378. nop
  33379. nop
  33380. nop
  33381. nop
  33382. nop
  33383. nop
  33384. .weak _CORE_TIMER_VECTOR_interrupt
  33385. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  33386. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  33387. .weak _EXTERNAL_0_VECTOR_interrupt
  33388. .weak _TIMER_1_VECTOR_interrupt
  33389. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  33390. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  33391. .weak _EXTERNAL_1_VECTOR_interrupt
  33392. .weak _TIMER_2_VECTOR_interrupt
  33393. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  33394. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  33395. .weak _EXTERNAL_2_VECTOR_interrupt
  33396. .weak _TIMER_3_VECTOR_interrupt
  33397. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  33398. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  33399. .weak _EXTERNAL_3_VECTOR_interrupt
  33400. .weak _TIMER_4_VECTOR_interrupt
  33401. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  33402. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  33403. .weak _EXTERNAL_4_VECTOR_interrupt
  33404. .weak _TIMER_5_VECTOR_interrupt
  33405. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  33406. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  33407. .weak _SPI_1_VECTOR_interrupt
  33408. .weak _UART_1_VECTOR_interrupt
  33409. .weak _I2C_1_VECTOR_interrupt
  33410. .weak _CHANGE_NOTICE_VECTOR_interrupt
  33411. .weak _ADC_VECTOR_interrupt
  33412. .weak _PMP_VECTOR_interrupt
  33413. .weak _COMPARATOR_1_VECTOR_interrupt
  33414. .weak _COMPARATOR_2_VECTOR_interrupt
  33415. .weak _SPI_2_VECTOR_interrupt
  33416. .weak _UART_2_VECTOR_interrupt
  33417. .weak _I2C_2_VECTOR_interrupt
  33418. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  33419. .weak _RTCC_VECTOR_interrupt
  33420. .weak _DMA_0_VECTOR_interrupt
  33421. .weak _DMA_1_VECTOR_interrupt
  33422. .weak _DMA_2_VECTOR_interrupt
  33423. .weak _DMA_3_VECTOR_interrupt
  33424. .weak _FCE_VECTOR_interrupt
  33425. .weak _USB_1_VECTOR_interrupt
  33426. .text
  33427. end;
  33428. end.