pic32mx350f128h.pp 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322
  1. unit pic32mx350f128h;
  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 getWDTWINEN : TBits_1; inline;
  55. function getw : TBits_32; inline;
  56. procedure setON(thebits : TBits_1); inline;
  57. procedure setSWDTPS(thebits : TBits_5); inline;
  58. procedure setSWDTPS0(thebits : TBits_1); inline;
  59. procedure setSWDTPS1(thebits : TBits_1); inline;
  60. procedure setSWDTPS2(thebits : TBits_1); inline;
  61. procedure setSWDTPS3(thebits : TBits_1); inline;
  62. procedure setSWDTPS4(thebits : TBits_1); inline;
  63. procedure setWDTCLR(thebits : TBits_1); inline;
  64. procedure setWDTPS(thebits : TBits_5); inline;
  65. procedure setWDTPSTA(thebits : TBits_5); inline;
  66. procedure setWDTWINEN(thebits : TBits_1); inline;
  67. procedure setw(thebits : TBits_32); inline;
  68. public
  69. procedure clearON; inline;
  70. procedure clearSWDTPS0; inline;
  71. procedure clearSWDTPS1; inline;
  72. procedure clearSWDTPS2; inline;
  73. procedure clearSWDTPS3; inline;
  74. procedure clearSWDTPS4; inline;
  75. procedure clearWDTCLR; inline;
  76. procedure clearWDTWINEN; inline;
  77. procedure setON; inline;
  78. procedure setSWDTPS0; inline;
  79. procedure setSWDTPS1; inline;
  80. procedure setSWDTPS2; inline;
  81. procedure setSWDTPS3; inline;
  82. procedure setSWDTPS4; inline;
  83. procedure setWDTCLR; inline;
  84. procedure setWDTWINEN; inline;
  85. property ON : TBits_1 read getON write setON;
  86. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  87. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  88. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  89. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  90. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  91. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  92. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  93. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  94. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  95. property WDTWINEN : TBits_1 read getWDTWINEN write setWDTWINEN;
  96. property w : TBits_32 read getw write setw;
  97. end;
  98. type
  99. TWDTRegisters = record
  100. WDTCONbits : TWDT_WDTCON;
  101. WDTCON : longWord;
  102. WDTCONCLR : longWord;
  103. WDTCONSET : longWord;
  104. WDTCONINV : longWord;
  105. end;
  106. TRTCC_RTCCON = record
  107. private
  108. function getCAL : TBits_10; inline;
  109. function getHALFSEC : TBits_1; inline;
  110. function getON : TBits_1; inline;
  111. function getRTCCLKON : TBits_1; inline;
  112. function getRTCOE : TBits_1; inline;
  113. function getRTCSYNC : TBits_1; inline;
  114. function getRTCWREN : TBits_1; inline;
  115. function getRTSECSEL : TBits_1; inline;
  116. function getSIDL : TBits_1; inline;
  117. function getw : TBits_32; inline;
  118. procedure setCAL(thebits : TBits_10); inline;
  119. procedure setHALFSEC(thebits : TBits_1); inline;
  120. procedure setON(thebits : TBits_1); inline;
  121. procedure setRTCCLKON(thebits : TBits_1); inline;
  122. procedure setRTCOE(thebits : TBits_1); inline;
  123. procedure setRTCSYNC(thebits : TBits_1); inline;
  124. procedure setRTCWREN(thebits : TBits_1); inline;
  125. procedure setRTSECSEL(thebits : TBits_1); inline;
  126. procedure setSIDL(thebits : TBits_1); inline;
  127. procedure setw(thebits : TBits_32); inline;
  128. public
  129. procedure clearHALFSEC; inline;
  130. procedure clearON; inline;
  131. procedure clearRTCCLKON; inline;
  132. procedure clearRTCOE; inline;
  133. procedure clearRTCSYNC; inline;
  134. procedure clearRTCWREN; inline;
  135. procedure clearRTSECSEL; inline;
  136. procedure clearSIDL; inline;
  137. procedure setHALFSEC; inline;
  138. procedure setON; inline;
  139. procedure setRTCCLKON; inline;
  140. procedure setRTCOE; inline;
  141. procedure setRTCSYNC; inline;
  142. procedure setRTCWREN; inline;
  143. procedure setRTSECSEL; inline;
  144. procedure setSIDL; inline;
  145. property CAL : TBits_10 read getCAL write setCAL;
  146. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  147. property ON : TBits_1 read getON write setON;
  148. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  149. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  150. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  151. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  152. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  153. property SIDL : TBits_1 read getSIDL write setSIDL;
  154. property w : TBits_32 read getw write setw;
  155. end;
  156. TRTCC_RTCALRM = record
  157. private
  158. function getALRMEN : TBits_1; inline;
  159. function getALRMSYNC : TBits_1; inline;
  160. function getAMASK : TBits_4; inline;
  161. function getARPT : TBits_8; inline;
  162. function getCHIME : TBits_1; inline;
  163. function getPIV : TBits_1; inline;
  164. function getw : TBits_32; inline;
  165. procedure setALRMEN(thebits : TBits_1); inline;
  166. procedure setALRMSYNC(thebits : TBits_1); inline;
  167. procedure setAMASK(thebits : TBits_4); inline;
  168. procedure setARPT(thebits : TBits_8); inline;
  169. procedure setCHIME(thebits : TBits_1); inline;
  170. procedure setPIV(thebits : TBits_1); inline;
  171. procedure setw(thebits : TBits_32); inline;
  172. public
  173. procedure clearALRMEN; inline;
  174. procedure clearALRMSYNC; inline;
  175. procedure clearCHIME; inline;
  176. procedure clearPIV; inline;
  177. procedure setALRMEN; inline;
  178. procedure setALRMSYNC; inline;
  179. procedure setCHIME; inline;
  180. procedure setPIV; inline;
  181. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  182. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  183. property AMASK : TBits_4 read getAMASK write setAMASK;
  184. property ARPT : TBits_8 read getARPT write setARPT;
  185. property CHIME : TBits_1 read getCHIME write setCHIME;
  186. property PIV : TBits_1 read getPIV write setPIV;
  187. property w : TBits_32 read getw write setw;
  188. end;
  189. TRTCC_RTCTIME = record
  190. private
  191. function getHR01 : TBits_4; inline;
  192. function getHR10 : TBits_4; inline;
  193. function getMIN01 : TBits_4; inline;
  194. function getMIN10 : TBits_4; inline;
  195. function getSEC01 : TBits_4; inline;
  196. function getSEC10 : TBits_4; inline;
  197. function getw : TBits_32; inline;
  198. procedure setHR01(thebits : TBits_4); inline;
  199. procedure setHR10(thebits : TBits_4); inline;
  200. procedure setMIN01(thebits : TBits_4); inline;
  201. procedure setMIN10(thebits : TBits_4); inline;
  202. procedure setSEC01(thebits : TBits_4); inline;
  203. procedure setSEC10(thebits : TBits_4); inline;
  204. procedure setw(thebits : TBits_32); inline;
  205. public
  206. property HR01 : TBits_4 read getHR01 write setHR01;
  207. property HR10 : TBits_4 read getHR10 write setHR10;
  208. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  209. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  210. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  211. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  212. property w : TBits_32 read getw write setw;
  213. end;
  214. TRTCC_RTCDATE = record
  215. private
  216. function getDAY01 : TBits_4; inline;
  217. function getDAY10 : TBits_4; inline;
  218. function getMONTH01 : TBits_4; inline;
  219. function getMONTH10 : TBits_4; inline;
  220. function getWDAY01 : TBits_4; inline;
  221. function getYEAR01 : TBits_4; inline;
  222. function getYEAR10 : TBits_4; inline;
  223. function getw : TBits_32; inline;
  224. procedure setDAY01(thebits : TBits_4); inline;
  225. procedure setDAY10(thebits : TBits_4); inline;
  226. procedure setMONTH01(thebits : TBits_4); inline;
  227. procedure setMONTH10(thebits : TBits_4); inline;
  228. procedure setWDAY01(thebits : TBits_4); inline;
  229. procedure setYEAR01(thebits : TBits_4); inline;
  230. procedure setYEAR10(thebits : TBits_4); inline;
  231. procedure setw(thebits : TBits_32); inline;
  232. public
  233. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  234. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  235. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  236. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  237. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  238. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  239. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  240. property w : TBits_32 read getw write setw;
  241. end;
  242. TRTCC_ALRMTIME = record
  243. private
  244. function getHR01 : TBits_4; inline;
  245. function getHR10 : TBits_4; inline;
  246. function getMIN01 : TBits_4; inline;
  247. function getMIN10 : TBits_4; inline;
  248. function getSEC01 : TBits_4; inline;
  249. function getSEC10 : TBits_4; inline;
  250. function getw : TBits_32; inline;
  251. procedure setHR01(thebits : TBits_4); inline;
  252. procedure setHR10(thebits : TBits_4); inline;
  253. procedure setMIN01(thebits : TBits_4); inline;
  254. procedure setMIN10(thebits : TBits_4); inline;
  255. procedure setSEC01(thebits : TBits_4); inline;
  256. procedure setSEC10(thebits : TBits_4); inline;
  257. procedure setw(thebits : TBits_32); inline;
  258. public
  259. property HR01 : TBits_4 read getHR01 write setHR01;
  260. property HR10 : TBits_4 read getHR10 write setHR10;
  261. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  262. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  263. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  264. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  265. property w : TBits_32 read getw write setw;
  266. end;
  267. TRTCC_ALRMDATE = record
  268. private
  269. function getDAY01 : TBits_4; inline;
  270. function getDAY10 : TBits_4; inline;
  271. function getMONTH01 : TBits_4; inline;
  272. function getMONTH10 : TBits_4; inline;
  273. function getWDAY01 : TBits_4; inline;
  274. function getw : TBits_32; inline;
  275. procedure setDAY01(thebits : TBits_4); inline;
  276. procedure setDAY10(thebits : TBits_4); inline;
  277. procedure setMONTH01(thebits : TBits_4); inline;
  278. procedure setMONTH10(thebits : TBits_4); inline;
  279. procedure setWDAY01(thebits : TBits_4); inline;
  280. procedure setw(thebits : TBits_32); inline;
  281. public
  282. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  283. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  284. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  285. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  286. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  287. property w : TBits_32 read getw write setw;
  288. end;
  289. type
  290. TRTCCRegisters = record
  291. RTCCONbits : TRTCC_RTCCON;
  292. RTCCON : longWord;
  293. RTCCONCLR : longWord;
  294. RTCCONSET : longWord;
  295. RTCCONINV : longWord;
  296. RTCALRMbits : TRTCC_RTCALRM;
  297. RTCALRM : longWord;
  298. RTCALRMCLR : longWord;
  299. RTCALRMSET : longWord;
  300. RTCALRMINV : longWord;
  301. RTCTIMEbits : TRTCC_RTCTIME;
  302. RTCTIME : longWord;
  303. RTCTIMECLR : longWord;
  304. RTCTIMESET : longWord;
  305. RTCTIMEINV : longWord;
  306. RTCDATEbits : TRTCC_RTCDATE;
  307. RTCDATE : longWord;
  308. RTCDATECLR : longWord;
  309. RTCDATESET : longWord;
  310. RTCDATEINV : longWord;
  311. ALRMTIMEbits : TRTCC_ALRMTIME;
  312. ALRMTIME : longWord;
  313. ALRMTIMECLR : longWord;
  314. ALRMTIMESET : longWord;
  315. ALRMTIMEINV : longWord;
  316. ALRMDATEbits : TRTCC_ALRMDATE;
  317. ALRMDATE : longWord;
  318. ALRMDATECLR : longWord;
  319. ALRMDATESET : longWord;
  320. ALRMDATEINV : longWord;
  321. end;
  322. TTMR1_T1CON = record
  323. private
  324. function getON : TBits_1; inline;
  325. function getSIDL : TBits_1; inline;
  326. function getTCKPS : TBits_2; inline;
  327. function getTCKPS0 : TBits_1; inline;
  328. function getTCKPS1 : TBits_1; inline;
  329. function getTCS : TBits_1; inline;
  330. function getTGATE : TBits_1; inline;
  331. function getTON : TBits_1; inline;
  332. function getTSIDL : TBits_1; inline;
  333. function getTSYNC : TBits_1; inline;
  334. function getTWDIS : TBits_1; inline;
  335. function getTWIP : TBits_1; inline;
  336. function getw : TBits_32; inline;
  337. procedure setON(thebits : TBits_1); inline;
  338. procedure setSIDL(thebits : TBits_1); inline;
  339. procedure setTCKPS(thebits : TBits_2); inline;
  340. procedure setTCKPS0(thebits : TBits_1); inline;
  341. procedure setTCKPS1(thebits : TBits_1); inline;
  342. procedure setTCS(thebits : TBits_1); inline;
  343. procedure setTGATE(thebits : TBits_1); inline;
  344. procedure setTON(thebits : TBits_1); inline;
  345. procedure setTSIDL(thebits : TBits_1); inline;
  346. procedure setTSYNC(thebits : TBits_1); inline;
  347. procedure setTWDIS(thebits : TBits_1); inline;
  348. procedure setTWIP(thebits : TBits_1); inline;
  349. procedure setw(thebits : TBits_32); inline;
  350. public
  351. procedure clearON; inline;
  352. procedure clearSIDL; inline;
  353. procedure clearTCKPS0; inline;
  354. procedure clearTCKPS1; inline;
  355. procedure clearTCS; inline;
  356. procedure clearTGATE; inline;
  357. procedure clearTON; inline;
  358. procedure clearTSIDL; inline;
  359. procedure clearTSYNC; inline;
  360. procedure clearTWDIS; inline;
  361. procedure clearTWIP; inline;
  362. procedure setON; inline;
  363. procedure setSIDL; inline;
  364. procedure setTCKPS0; inline;
  365. procedure setTCKPS1; inline;
  366. procedure setTCS; inline;
  367. procedure setTGATE; inline;
  368. procedure setTON; inline;
  369. procedure setTSIDL; inline;
  370. procedure setTSYNC; inline;
  371. procedure setTWDIS; inline;
  372. procedure setTWIP; inline;
  373. property ON : TBits_1 read getON write setON;
  374. property SIDL : TBits_1 read getSIDL write setSIDL;
  375. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  376. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  377. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  378. property TCS : TBits_1 read getTCS write setTCS;
  379. property TGATE : TBits_1 read getTGATE write setTGATE;
  380. property TON : TBits_1 read getTON write setTON;
  381. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  382. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  383. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  384. property TWIP : TBits_1 read getTWIP write setTWIP;
  385. property w : TBits_32 read getw write setw;
  386. end;
  387. type
  388. TTMR1Registers = record
  389. T1CONbits : TTMR1_T1CON;
  390. T1CON : longWord;
  391. T1CONCLR : longWord;
  392. T1CONSET : longWord;
  393. T1CONINV : longWord;
  394. TMR1 : longWord;
  395. TMR1CLR : longWord;
  396. TMR1SET : longWord;
  397. TMR1INV : longWord;
  398. PR1 : longWord;
  399. PR1CLR : longWord;
  400. PR1SET : longWord;
  401. PR1INV : longWord;
  402. end;
  403. TTMR2_T2CON = record
  404. private
  405. function getON : TBits_1; inline;
  406. function getSIDL : TBits_1; inline;
  407. function getT32 : TBits_1; inline;
  408. function getTCKPS : TBits_3; inline;
  409. function getTCKPS0 : TBits_1; inline;
  410. function getTCKPS1 : TBits_1; inline;
  411. function getTCKPS2 : TBits_1; inline;
  412. function getTCS : TBits_1; inline;
  413. function getTGATE : TBits_1; inline;
  414. function getTON : TBits_1; inline;
  415. function getTSIDL : TBits_1; inline;
  416. function getw : TBits_32; inline;
  417. procedure setON(thebits : TBits_1); inline;
  418. procedure setSIDL(thebits : TBits_1); inline;
  419. procedure setT32(thebits : TBits_1); inline;
  420. procedure setTCKPS(thebits : TBits_3); inline;
  421. procedure setTCKPS0(thebits : TBits_1); inline;
  422. procedure setTCKPS1(thebits : TBits_1); inline;
  423. procedure setTCKPS2(thebits : TBits_1); inline;
  424. procedure setTCS(thebits : TBits_1); inline;
  425. procedure setTGATE(thebits : TBits_1); inline;
  426. procedure setTON(thebits : TBits_1); inline;
  427. procedure setTSIDL(thebits : TBits_1); inline;
  428. procedure setw(thebits : TBits_32); inline;
  429. public
  430. procedure clearON; inline;
  431. procedure clearSIDL; inline;
  432. procedure clearT32; inline;
  433. procedure clearTCKPS0; inline;
  434. procedure clearTCKPS1; inline;
  435. procedure clearTCKPS2; inline;
  436. procedure clearTCS; inline;
  437. procedure clearTGATE; inline;
  438. procedure clearTON; inline;
  439. procedure clearTSIDL; inline;
  440. procedure setON; inline;
  441. procedure setSIDL; inline;
  442. procedure setT32; inline;
  443. procedure setTCKPS0; inline;
  444. procedure setTCKPS1; inline;
  445. procedure setTCKPS2; inline;
  446. procedure setTCS; inline;
  447. procedure setTGATE; inline;
  448. procedure setTON; inline;
  449. procedure setTSIDL; inline;
  450. property ON : TBits_1 read getON write setON;
  451. property SIDL : TBits_1 read getSIDL write setSIDL;
  452. property T32 : TBits_1 read getT32 write setT32;
  453. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  454. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  455. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  456. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  457. property TCS : TBits_1 read getTCS write setTCS;
  458. property TGATE : TBits_1 read getTGATE write setTGATE;
  459. property TON : TBits_1 read getTON write setTON;
  460. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  461. property w : TBits_32 read getw write setw;
  462. end;
  463. type
  464. TTMR2Registers = record
  465. T2CONbits : TTMR2_T2CON;
  466. T2CON : longWord;
  467. T2CONCLR : longWord;
  468. T2CONSET : longWord;
  469. T2CONINV : longWord;
  470. TMR2 : longWord;
  471. TMR2CLR : longWord;
  472. TMR2SET : longWord;
  473. TMR2INV : longWord;
  474. PR2 : longWord;
  475. PR2CLR : longWord;
  476. PR2SET : longWord;
  477. PR2INV : longWord;
  478. end;
  479. TTMR3_T3CON = record
  480. private
  481. function getON : TBits_1; inline;
  482. function getSIDL : TBits_1; inline;
  483. function getT32 : TBits_1; inline;
  484. function getTCKPS : TBits_3; inline;
  485. function getTCKPS0 : TBits_1; inline;
  486. function getTCKPS1 : TBits_1; inline;
  487. function getTCKPS2 : TBits_1; inline;
  488. function getTCS : TBits_1; inline;
  489. function getTGATE : TBits_1; inline;
  490. function getTON : TBits_1; inline;
  491. function getTSIDL : TBits_1; inline;
  492. function getw : TBits_32; inline;
  493. procedure setON(thebits : TBits_1); inline;
  494. procedure setSIDL(thebits : TBits_1); inline;
  495. procedure setT32(thebits : TBits_1); inline;
  496. procedure setTCKPS(thebits : TBits_3); inline;
  497. procedure setTCKPS0(thebits : TBits_1); inline;
  498. procedure setTCKPS1(thebits : TBits_1); inline;
  499. procedure setTCKPS2(thebits : TBits_1); inline;
  500. procedure setTCS(thebits : TBits_1); inline;
  501. procedure setTGATE(thebits : TBits_1); inline;
  502. procedure setTON(thebits : TBits_1); inline;
  503. procedure setTSIDL(thebits : TBits_1); inline;
  504. procedure setw(thebits : TBits_32); inline;
  505. public
  506. procedure clearON; inline;
  507. procedure clearSIDL; inline;
  508. procedure clearT32; inline;
  509. procedure clearTCKPS0; inline;
  510. procedure clearTCKPS1; inline;
  511. procedure clearTCKPS2; inline;
  512. procedure clearTCS; inline;
  513. procedure clearTGATE; inline;
  514. procedure clearTON; inline;
  515. procedure clearTSIDL; inline;
  516. procedure setON; inline;
  517. procedure setSIDL; inline;
  518. procedure setT32; inline;
  519. procedure setTCKPS0; inline;
  520. procedure setTCKPS1; inline;
  521. procedure setTCKPS2; inline;
  522. procedure setTCS; inline;
  523. procedure setTGATE; inline;
  524. procedure setTON; inline;
  525. procedure setTSIDL; inline;
  526. property ON : TBits_1 read getON write setON;
  527. property SIDL : TBits_1 read getSIDL write setSIDL;
  528. property T32 : TBits_1 read getT32 write setT32;
  529. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  530. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  531. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  532. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  533. property TCS : TBits_1 read getTCS write setTCS;
  534. property TGATE : TBits_1 read getTGATE write setTGATE;
  535. property TON : TBits_1 read getTON write setTON;
  536. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  537. property w : TBits_32 read getw write setw;
  538. end;
  539. type
  540. TTMR3Registers = record
  541. T3CONbits : TTMR3_T3CON;
  542. T3CON : longWord;
  543. T3CONCLR : longWord;
  544. T3CONSET : longWord;
  545. T3CONINV : longWord;
  546. TMR3 : longWord;
  547. TMR3CLR : longWord;
  548. TMR3SET : longWord;
  549. TMR3INV : longWord;
  550. PR3 : longWord;
  551. PR3CLR : longWord;
  552. PR3SET : longWord;
  553. PR3INV : longWord;
  554. end;
  555. TTMR4_T4CON = record
  556. private
  557. function getON : TBits_1; inline;
  558. function getSIDL : TBits_1; inline;
  559. function getT32 : TBits_1; inline;
  560. function getTCKPS : TBits_3; inline;
  561. function getTCKPS0 : TBits_1; inline;
  562. function getTCKPS1 : TBits_1; inline;
  563. function getTCKPS2 : TBits_1; inline;
  564. function getTCS : TBits_1; inline;
  565. function getTGATE : TBits_1; inline;
  566. function getTON : TBits_1; inline;
  567. function getTSIDL : TBits_1; inline;
  568. function getw : TBits_32; inline;
  569. procedure setON(thebits : TBits_1); inline;
  570. procedure setSIDL(thebits : TBits_1); inline;
  571. procedure setT32(thebits : TBits_1); inline;
  572. procedure setTCKPS(thebits : TBits_3); inline;
  573. procedure setTCKPS0(thebits : TBits_1); inline;
  574. procedure setTCKPS1(thebits : TBits_1); inline;
  575. procedure setTCKPS2(thebits : TBits_1); inline;
  576. procedure setTCS(thebits : TBits_1); inline;
  577. procedure setTGATE(thebits : TBits_1); inline;
  578. procedure setTON(thebits : TBits_1); inline;
  579. procedure setTSIDL(thebits : TBits_1); inline;
  580. procedure setw(thebits : TBits_32); inline;
  581. public
  582. procedure clearON; inline;
  583. procedure clearSIDL; inline;
  584. procedure clearT32; inline;
  585. procedure clearTCKPS0; inline;
  586. procedure clearTCKPS1; inline;
  587. procedure clearTCKPS2; inline;
  588. procedure clearTCS; inline;
  589. procedure clearTGATE; inline;
  590. procedure clearTON; inline;
  591. procedure clearTSIDL; inline;
  592. procedure setON; inline;
  593. procedure setSIDL; inline;
  594. procedure setT32; inline;
  595. procedure setTCKPS0; inline;
  596. procedure setTCKPS1; inline;
  597. procedure setTCKPS2; inline;
  598. procedure setTCS; inline;
  599. procedure setTGATE; inline;
  600. procedure setTON; inline;
  601. procedure setTSIDL; inline;
  602. property ON : TBits_1 read getON write setON;
  603. property SIDL : TBits_1 read getSIDL write setSIDL;
  604. property T32 : TBits_1 read getT32 write setT32;
  605. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  606. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  607. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  608. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  609. property TCS : TBits_1 read getTCS write setTCS;
  610. property TGATE : TBits_1 read getTGATE write setTGATE;
  611. property TON : TBits_1 read getTON write setTON;
  612. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  613. property w : TBits_32 read getw write setw;
  614. end;
  615. type
  616. TTMR4Registers = record
  617. T4CONbits : TTMR4_T4CON;
  618. T4CON : longWord;
  619. T4CONCLR : longWord;
  620. T4CONSET : longWord;
  621. T4CONINV : longWord;
  622. TMR4 : longWord;
  623. TMR4CLR : longWord;
  624. TMR4SET : longWord;
  625. TMR4INV : longWord;
  626. PR4 : longWord;
  627. PR4CLR : longWord;
  628. PR4SET : longWord;
  629. PR4INV : longWord;
  630. end;
  631. TTMR5_T5CON = record
  632. private
  633. function getON : TBits_1; inline;
  634. function getSIDL : TBits_1; inline;
  635. function getT32 : TBits_1; inline;
  636. function getTCKPS : TBits_3; inline;
  637. function getTCKPS0 : TBits_1; inline;
  638. function getTCKPS1 : TBits_1; inline;
  639. function getTCKPS2 : TBits_1; inline;
  640. function getTCS : TBits_1; inline;
  641. function getTGATE : TBits_1; inline;
  642. function getTON : TBits_1; inline;
  643. function getTSIDL : TBits_1; inline;
  644. function getw : TBits_32; inline;
  645. procedure setON(thebits : TBits_1); inline;
  646. procedure setSIDL(thebits : TBits_1); inline;
  647. procedure setT32(thebits : TBits_1); inline;
  648. procedure setTCKPS(thebits : TBits_3); inline;
  649. procedure setTCKPS0(thebits : TBits_1); inline;
  650. procedure setTCKPS1(thebits : TBits_1); inline;
  651. procedure setTCKPS2(thebits : TBits_1); inline;
  652. procedure setTCS(thebits : TBits_1); inline;
  653. procedure setTGATE(thebits : TBits_1); inline;
  654. procedure setTON(thebits : TBits_1); inline;
  655. procedure setTSIDL(thebits : TBits_1); inline;
  656. procedure setw(thebits : TBits_32); inline;
  657. public
  658. procedure clearON; inline;
  659. procedure clearSIDL; inline;
  660. procedure clearT32; inline;
  661. procedure clearTCKPS0; inline;
  662. procedure clearTCKPS1; inline;
  663. procedure clearTCKPS2; inline;
  664. procedure clearTCS; inline;
  665. procedure clearTGATE; inline;
  666. procedure clearTON; inline;
  667. procedure clearTSIDL; inline;
  668. procedure setON; inline;
  669. procedure setSIDL; inline;
  670. procedure setT32; inline;
  671. procedure setTCKPS0; inline;
  672. procedure setTCKPS1; inline;
  673. procedure setTCKPS2; inline;
  674. procedure setTCS; inline;
  675. procedure setTGATE; inline;
  676. procedure setTON; inline;
  677. procedure setTSIDL; inline;
  678. property ON : TBits_1 read getON write setON;
  679. property SIDL : TBits_1 read getSIDL write setSIDL;
  680. property T32 : TBits_1 read getT32 write setT32;
  681. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  682. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  683. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  684. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  685. property TCS : TBits_1 read getTCS write setTCS;
  686. property TGATE : TBits_1 read getTGATE write setTGATE;
  687. property TON : TBits_1 read getTON write setTON;
  688. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  689. property w : TBits_32 read getw write setw;
  690. end;
  691. type
  692. TTMR5Registers = record
  693. T5CONbits : TTMR5_T5CON;
  694. T5CON : longWord;
  695. T5CONCLR : longWord;
  696. T5CONSET : longWord;
  697. T5CONINV : longWord;
  698. TMR5 : longWord;
  699. TMR5CLR : longWord;
  700. TMR5SET : longWord;
  701. TMR5INV : longWord;
  702. PR5 : longWord;
  703. PR5CLR : longWord;
  704. PR5SET : longWord;
  705. PR5INV : longWord;
  706. end;
  707. TICAP1_IC1CON = record
  708. private
  709. function getC32 : TBits_1; inline;
  710. function getFEDGE : TBits_1; inline;
  711. function getICBNE : TBits_1; inline;
  712. function getICI : TBits_2; inline;
  713. function getICI0 : TBits_1; inline;
  714. function getICI1 : TBits_1; inline;
  715. function getICM : TBits_3; inline;
  716. function getICM0 : TBits_1; inline;
  717. function getICM1 : TBits_1; inline;
  718. function getICM2 : TBits_1; inline;
  719. function getICOV : TBits_1; inline;
  720. function getICSIDL : TBits_1; inline;
  721. function getICTMR : TBits_1; inline;
  722. function getON : TBits_1; inline;
  723. function getSIDL : TBits_1; inline;
  724. function getw : TBits_32; inline;
  725. procedure setC32(thebits : TBits_1); inline;
  726. procedure setFEDGE(thebits : TBits_1); inline;
  727. procedure setICBNE(thebits : TBits_1); inline;
  728. procedure setICI(thebits : TBits_2); inline;
  729. procedure setICI0(thebits : TBits_1); inline;
  730. procedure setICI1(thebits : TBits_1); inline;
  731. procedure setICM(thebits : TBits_3); inline;
  732. procedure setICM0(thebits : TBits_1); inline;
  733. procedure setICM1(thebits : TBits_1); inline;
  734. procedure setICM2(thebits : TBits_1); inline;
  735. procedure setICOV(thebits : TBits_1); inline;
  736. procedure setICSIDL(thebits : TBits_1); inline;
  737. procedure setICTMR(thebits : TBits_1); inline;
  738. procedure setON(thebits : TBits_1); inline;
  739. procedure setSIDL(thebits : TBits_1); inline;
  740. procedure setw(thebits : TBits_32); inline;
  741. public
  742. procedure clearC32; inline;
  743. procedure clearFEDGE; inline;
  744. procedure clearICBNE; inline;
  745. procedure clearICI0; inline;
  746. procedure clearICI1; inline;
  747. procedure clearICM0; inline;
  748. procedure clearICM1; inline;
  749. procedure clearICM2; inline;
  750. procedure clearICOV; inline;
  751. procedure clearICSIDL; inline;
  752. procedure clearICTMR; inline;
  753. procedure clearON; inline;
  754. procedure clearSIDL; inline;
  755. procedure setC32; inline;
  756. procedure setFEDGE; inline;
  757. procedure setICBNE; inline;
  758. procedure setICI0; inline;
  759. procedure setICI1; inline;
  760. procedure setICM0; inline;
  761. procedure setICM1; inline;
  762. procedure setICM2; inline;
  763. procedure setICOV; inline;
  764. procedure setICSIDL; inline;
  765. procedure setICTMR; inline;
  766. procedure setON; inline;
  767. procedure setSIDL; inline;
  768. property C32 : TBits_1 read getC32 write setC32;
  769. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  770. property ICBNE : TBits_1 read getICBNE write setICBNE;
  771. property ICI : TBits_2 read getICI write setICI;
  772. property ICI0 : TBits_1 read getICI0 write setICI0;
  773. property ICI1 : TBits_1 read getICI1 write setICI1;
  774. property ICM : TBits_3 read getICM write setICM;
  775. property ICM0 : TBits_1 read getICM0 write setICM0;
  776. property ICM1 : TBits_1 read getICM1 write setICM1;
  777. property ICM2 : TBits_1 read getICM2 write setICM2;
  778. property ICOV : TBits_1 read getICOV write setICOV;
  779. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  780. property ICTMR : TBits_1 read getICTMR write setICTMR;
  781. property ON : TBits_1 read getON write setON;
  782. property SIDL : TBits_1 read getSIDL write setSIDL;
  783. property w : TBits_32 read getw write setw;
  784. end;
  785. type
  786. TICAP1Registers = record
  787. IC1CONbits : TICAP1_IC1CON;
  788. IC1CON : longWord;
  789. IC1CONCLR : longWord;
  790. IC1CONSET : longWord;
  791. IC1CONINV : longWord;
  792. IC1BUF : longWord;
  793. end;
  794. TICAP2_IC2CON = record
  795. private
  796. function getC32 : TBits_1; inline;
  797. function getFEDGE : TBits_1; inline;
  798. function getICBNE : TBits_1; inline;
  799. function getICI : TBits_2; inline;
  800. function getICI0 : TBits_1; inline;
  801. function getICI1 : TBits_1; inline;
  802. function getICM : TBits_3; inline;
  803. function getICM0 : TBits_1; inline;
  804. function getICM1 : TBits_1; inline;
  805. function getICM2 : TBits_1; inline;
  806. function getICOV : TBits_1; inline;
  807. function getICSIDL : TBits_1; inline;
  808. function getICTMR : TBits_1; inline;
  809. function getON : TBits_1; inline;
  810. function getSIDL : TBits_1; inline;
  811. function getw : TBits_32; inline;
  812. procedure setC32(thebits : TBits_1); inline;
  813. procedure setFEDGE(thebits : TBits_1); inline;
  814. procedure setICBNE(thebits : TBits_1); inline;
  815. procedure setICI(thebits : TBits_2); inline;
  816. procedure setICI0(thebits : TBits_1); inline;
  817. procedure setICI1(thebits : TBits_1); inline;
  818. procedure setICM(thebits : TBits_3); inline;
  819. procedure setICM0(thebits : TBits_1); inline;
  820. procedure setICM1(thebits : TBits_1); inline;
  821. procedure setICM2(thebits : TBits_1); inline;
  822. procedure setICOV(thebits : TBits_1); inline;
  823. procedure setICSIDL(thebits : TBits_1); inline;
  824. procedure setICTMR(thebits : TBits_1); inline;
  825. procedure setON(thebits : TBits_1); inline;
  826. procedure setSIDL(thebits : TBits_1); inline;
  827. procedure setw(thebits : TBits_32); inline;
  828. public
  829. procedure clearC32; inline;
  830. procedure clearFEDGE; inline;
  831. procedure clearICBNE; inline;
  832. procedure clearICI0; inline;
  833. procedure clearICI1; inline;
  834. procedure clearICM0; inline;
  835. procedure clearICM1; inline;
  836. procedure clearICM2; inline;
  837. procedure clearICOV; inline;
  838. procedure clearICSIDL; inline;
  839. procedure clearICTMR; inline;
  840. procedure clearON; inline;
  841. procedure clearSIDL; inline;
  842. procedure setC32; inline;
  843. procedure setFEDGE; inline;
  844. procedure setICBNE; inline;
  845. procedure setICI0; inline;
  846. procedure setICI1; inline;
  847. procedure setICM0; inline;
  848. procedure setICM1; inline;
  849. procedure setICM2; inline;
  850. procedure setICOV; inline;
  851. procedure setICSIDL; inline;
  852. procedure setICTMR; inline;
  853. procedure setON; inline;
  854. procedure setSIDL; inline;
  855. property C32 : TBits_1 read getC32 write setC32;
  856. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  857. property ICBNE : TBits_1 read getICBNE write setICBNE;
  858. property ICI : TBits_2 read getICI write setICI;
  859. property ICI0 : TBits_1 read getICI0 write setICI0;
  860. property ICI1 : TBits_1 read getICI1 write setICI1;
  861. property ICM : TBits_3 read getICM write setICM;
  862. property ICM0 : TBits_1 read getICM0 write setICM0;
  863. property ICM1 : TBits_1 read getICM1 write setICM1;
  864. property ICM2 : TBits_1 read getICM2 write setICM2;
  865. property ICOV : TBits_1 read getICOV write setICOV;
  866. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  867. property ICTMR : TBits_1 read getICTMR write setICTMR;
  868. property ON : TBits_1 read getON write setON;
  869. property SIDL : TBits_1 read getSIDL write setSIDL;
  870. property w : TBits_32 read getw write setw;
  871. end;
  872. type
  873. TICAP2Registers = record
  874. IC2CONbits : TICAP2_IC2CON;
  875. IC2CON : longWord;
  876. IC2CONCLR : longWord;
  877. IC2CONSET : longWord;
  878. IC2CONINV : longWord;
  879. IC2BUF : longWord;
  880. end;
  881. TICAP3_IC3CON = record
  882. private
  883. function getC32 : TBits_1; inline;
  884. function getFEDGE : TBits_1; inline;
  885. function getICBNE : TBits_1; inline;
  886. function getICI : TBits_2; inline;
  887. function getICI0 : TBits_1; inline;
  888. function getICI1 : TBits_1; inline;
  889. function getICM : TBits_3; inline;
  890. function getICM0 : TBits_1; inline;
  891. function getICM1 : TBits_1; inline;
  892. function getICM2 : TBits_1; inline;
  893. function getICOV : TBits_1; inline;
  894. function getICSIDL : TBits_1; inline;
  895. function getICTMR : TBits_1; inline;
  896. function getON : TBits_1; inline;
  897. function getSIDL : TBits_1; inline;
  898. function getw : TBits_32; inline;
  899. procedure setC32(thebits : TBits_1); inline;
  900. procedure setFEDGE(thebits : TBits_1); inline;
  901. procedure setICBNE(thebits : TBits_1); inline;
  902. procedure setICI(thebits : TBits_2); inline;
  903. procedure setICI0(thebits : TBits_1); inline;
  904. procedure setICI1(thebits : TBits_1); inline;
  905. procedure setICM(thebits : TBits_3); inline;
  906. procedure setICM0(thebits : TBits_1); inline;
  907. procedure setICM1(thebits : TBits_1); inline;
  908. procedure setICM2(thebits : TBits_1); inline;
  909. procedure setICOV(thebits : TBits_1); inline;
  910. procedure setICSIDL(thebits : TBits_1); inline;
  911. procedure setICTMR(thebits : TBits_1); inline;
  912. procedure setON(thebits : TBits_1); inline;
  913. procedure setSIDL(thebits : TBits_1); inline;
  914. procedure setw(thebits : TBits_32); inline;
  915. public
  916. procedure clearC32; inline;
  917. procedure clearFEDGE; inline;
  918. procedure clearICBNE; inline;
  919. procedure clearICI0; inline;
  920. procedure clearICI1; inline;
  921. procedure clearICM0; inline;
  922. procedure clearICM1; inline;
  923. procedure clearICM2; inline;
  924. procedure clearICOV; inline;
  925. procedure clearICSIDL; inline;
  926. procedure clearICTMR; inline;
  927. procedure clearON; inline;
  928. procedure clearSIDL; inline;
  929. procedure setC32; inline;
  930. procedure setFEDGE; inline;
  931. procedure setICBNE; inline;
  932. procedure setICI0; inline;
  933. procedure setICI1; inline;
  934. procedure setICM0; inline;
  935. procedure setICM1; inline;
  936. procedure setICM2; inline;
  937. procedure setICOV; inline;
  938. procedure setICSIDL; inline;
  939. procedure setICTMR; inline;
  940. procedure setON; inline;
  941. procedure setSIDL; inline;
  942. property C32 : TBits_1 read getC32 write setC32;
  943. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  944. property ICBNE : TBits_1 read getICBNE write setICBNE;
  945. property ICI : TBits_2 read getICI write setICI;
  946. property ICI0 : TBits_1 read getICI0 write setICI0;
  947. property ICI1 : TBits_1 read getICI1 write setICI1;
  948. property ICM : TBits_3 read getICM write setICM;
  949. property ICM0 : TBits_1 read getICM0 write setICM0;
  950. property ICM1 : TBits_1 read getICM1 write setICM1;
  951. property ICM2 : TBits_1 read getICM2 write setICM2;
  952. property ICOV : TBits_1 read getICOV write setICOV;
  953. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  954. property ICTMR : TBits_1 read getICTMR write setICTMR;
  955. property ON : TBits_1 read getON write setON;
  956. property SIDL : TBits_1 read getSIDL write setSIDL;
  957. property w : TBits_32 read getw write setw;
  958. end;
  959. type
  960. TICAP3Registers = record
  961. IC3CONbits : TICAP3_IC3CON;
  962. IC3CON : longWord;
  963. IC3CONCLR : longWord;
  964. IC3CONSET : longWord;
  965. IC3CONINV : longWord;
  966. IC3BUF : longWord;
  967. end;
  968. TICAP4_IC4CON = record
  969. private
  970. function getC32 : TBits_1; inline;
  971. function getFEDGE : TBits_1; inline;
  972. function getICBNE : TBits_1; inline;
  973. function getICI : TBits_2; inline;
  974. function getICI0 : TBits_1; inline;
  975. function getICI1 : TBits_1; inline;
  976. function getICM : TBits_3; inline;
  977. function getICM0 : TBits_1; inline;
  978. function getICM1 : TBits_1; inline;
  979. function getICM2 : TBits_1; inline;
  980. function getICOV : TBits_1; inline;
  981. function getICSIDL : TBits_1; inline;
  982. function getICTMR : TBits_1; inline;
  983. function getON : TBits_1; inline;
  984. function getSIDL : TBits_1; inline;
  985. function getw : TBits_32; inline;
  986. procedure setC32(thebits : TBits_1); inline;
  987. procedure setFEDGE(thebits : TBits_1); inline;
  988. procedure setICBNE(thebits : TBits_1); inline;
  989. procedure setICI(thebits : TBits_2); inline;
  990. procedure setICI0(thebits : TBits_1); inline;
  991. procedure setICI1(thebits : TBits_1); inline;
  992. procedure setICM(thebits : TBits_3); inline;
  993. procedure setICM0(thebits : TBits_1); inline;
  994. procedure setICM1(thebits : TBits_1); inline;
  995. procedure setICM2(thebits : TBits_1); inline;
  996. procedure setICOV(thebits : TBits_1); inline;
  997. procedure setICSIDL(thebits : TBits_1); inline;
  998. procedure setICTMR(thebits : TBits_1); inline;
  999. procedure setON(thebits : TBits_1); inline;
  1000. procedure setSIDL(thebits : TBits_1); inline;
  1001. procedure setw(thebits : TBits_32); inline;
  1002. public
  1003. procedure clearC32; inline;
  1004. procedure clearFEDGE; inline;
  1005. procedure clearICBNE; inline;
  1006. procedure clearICI0; inline;
  1007. procedure clearICI1; inline;
  1008. procedure clearICM0; inline;
  1009. procedure clearICM1; inline;
  1010. procedure clearICM2; inline;
  1011. procedure clearICOV; inline;
  1012. procedure clearICSIDL; inline;
  1013. procedure clearICTMR; inline;
  1014. procedure clearON; inline;
  1015. procedure clearSIDL; inline;
  1016. procedure setC32; inline;
  1017. procedure setFEDGE; inline;
  1018. procedure setICBNE; inline;
  1019. procedure setICI0; inline;
  1020. procedure setICI1; inline;
  1021. procedure setICM0; inline;
  1022. procedure setICM1; inline;
  1023. procedure setICM2; inline;
  1024. procedure setICOV; inline;
  1025. procedure setICSIDL; inline;
  1026. procedure setICTMR; inline;
  1027. procedure setON; inline;
  1028. procedure setSIDL; inline;
  1029. property C32 : TBits_1 read getC32 write setC32;
  1030. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1031. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1032. property ICI : TBits_2 read getICI write setICI;
  1033. property ICI0 : TBits_1 read getICI0 write setICI0;
  1034. property ICI1 : TBits_1 read getICI1 write setICI1;
  1035. property ICM : TBits_3 read getICM write setICM;
  1036. property ICM0 : TBits_1 read getICM0 write setICM0;
  1037. property ICM1 : TBits_1 read getICM1 write setICM1;
  1038. property ICM2 : TBits_1 read getICM2 write setICM2;
  1039. property ICOV : TBits_1 read getICOV write setICOV;
  1040. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1041. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1042. property ON : TBits_1 read getON write setON;
  1043. property SIDL : TBits_1 read getSIDL write setSIDL;
  1044. property w : TBits_32 read getw write setw;
  1045. end;
  1046. type
  1047. TICAP4Registers = record
  1048. IC4CONbits : TICAP4_IC4CON;
  1049. IC4CON : longWord;
  1050. IC4CONCLR : longWord;
  1051. IC4CONSET : longWord;
  1052. IC4CONINV : longWord;
  1053. IC4BUF : longWord;
  1054. end;
  1055. TICAP5_IC5CON = record
  1056. private
  1057. function getC32 : TBits_1; inline;
  1058. function getFEDGE : TBits_1; inline;
  1059. function getICBNE : TBits_1; inline;
  1060. function getICI : TBits_2; inline;
  1061. function getICI0 : TBits_1; inline;
  1062. function getICI1 : TBits_1; inline;
  1063. function getICM : TBits_3; inline;
  1064. function getICM0 : TBits_1; inline;
  1065. function getICM1 : TBits_1; inline;
  1066. function getICM2 : TBits_1; inline;
  1067. function getICOV : TBits_1; inline;
  1068. function getICSIDL : TBits_1; inline;
  1069. function getICTMR : TBits_1; inline;
  1070. function getON : TBits_1; inline;
  1071. function getSIDL : TBits_1; inline;
  1072. function getw : TBits_32; inline;
  1073. procedure setC32(thebits : TBits_1); inline;
  1074. procedure setFEDGE(thebits : TBits_1); inline;
  1075. procedure setICBNE(thebits : TBits_1); inline;
  1076. procedure setICI(thebits : TBits_2); inline;
  1077. procedure setICI0(thebits : TBits_1); inline;
  1078. procedure setICI1(thebits : TBits_1); inline;
  1079. procedure setICM(thebits : TBits_3); inline;
  1080. procedure setICM0(thebits : TBits_1); inline;
  1081. procedure setICM1(thebits : TBits_1); inline;
  1082. procedure setICM2(thebits : TBits_1); inline;
  1083. procedure setICOV(thebits : TBits_1); inline;
  1084. procedure setICSIDL(thebits : TBits_1); inline;
  1085. procedure setICTMR(thebits : TBits_1); inline;
  1086. procedure setON(thebits : TBits_1); inline;
  1087. procedure setSIDL(thebits : TBits_1); inline;
  1088. procedure setw(thebits : TBits_32); inline;
  1089. public
  1090. procedure clearC32; inline;
  1091. procedure clearFEDGE; inline;
  1092. procedure clearICBNE; inline;
  1093. procedure clearICI0; inline;
  1094. procedure clearICI1; inline;
  1095. procedure clearICM0; inline;
  1096. procedure clearICM1; inline;
  1097. procedure clearICM2; inline;
  1098. procedure clearICOV; inline;
  1099. procedure clearICSIDL; inline;
  1100. procedure clearICTMR; inline;
  1101. procedure clearON; inline;
  1102. procedure clearSIDL; inline;
  1103. procedure setC32; inline;
  1104. procedure setFEDGE; inline;
  1105. procedure setICBNE; inline;
  1106. procedure setICI0; inline;
  1107. procedure setICI1; inline;
  1108. procedure setICM0; inline;
  1109. procedure setICM1; inline;
  1110. procedure setICM2; inline;
  1111. procedure setICOV; inline;
  1112. procedure setICSIDL; inline;
  1113. procedure setICTMR; inline;
  1114. procedure setON; inline;
  1115. procedure setSIDL; inline;
  1116. property C32 : TBits_1 read getC32 write setC32;
  1117. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1118. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1119. property ICI : TBits_2 read getICI write setICI;
  1120. property ICI0 : TBits_1 read getICI0 write setICI0;
  1121. property ICI1 : TBits_1 read getICI1 write setICI1;
  1122. property ICM : TBits_3 read getICM write setICM;
  1123. property ICM0 : TBits_1 read getICM0 write setICM0;
  1124. property ICM1 : TBits_1 read getICM1 write setICM1;
  1125. property ICM2 : TBits_1 read getICM2 write setICM2;
  1126. property ICOV : TBits_1 read getICOV write setICOV;
  1127. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1128. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1129. property ON : TBits_1 read getON write setON;
  1130. property SIDL : TBits_1 read getSIDL write setSIDL;
  1131. property w : TBits_32 read getw write setw;
  1132. end;
  1133. type
  1134. TICAP5Registers = record
  1135. IC5CONbits : TICAP5_IC5CON;
  1136. IC5CON : longWord;
  1137. IC5CONCLR : longWord;
  1138. IC5CONSET : longWord;
  1139. IC5CONINV : longWord;
  1140. IC5BUF : longWord;
  1141. end;
  1142. TOCMP1_OC1CON = record
  1143. private
  1144. function getOC32 : TBits_1; inline;
  1145. function getOCFLT : TBits_1; inline;
  1146. function getOCM : TBits_3; inline;
  1147. function getOCM0 : TBits_1; inline;
  1148. function getOCM1 : TBits_1; inline;
  1149. function getOCM2 : TBits_1; inline;
  1150. function getOCSIDL : TBits_1; inline;
  1151. function getOCTSEL : TBits_1; inline;
  1152. function getON : TBits_1; inline;
  1153. function getSIDL : TBits_1; inline;
  1154. function getw : TBits_32; inline;
  1155. procedure setOC32(thebits : TBits_1); inline;
  1156. procedure setOCFLT(thebits : TBits_1); inline;
  1157. procedure setOCM(thebits : TBits_3); inline;
  1158. procedure setOCM0(thebits : TBits_1); inline;
  1159. procedure setOCM1(thebits : TBits_1); inline;
  1160. procedure setOCM2(thebits : TBits_1); inline;
  1161. procedure setOCSIDL(thebits : TBits_1); inline;
  1162. procedure setOCTSEL(thebits : TBits_1); inline;
  1163. procedure setON(thebits : TBits_1); inline;
  1164. procedure setSIDL(thebits : TBits_1); inline;
  1165. procedure setw(thebits : TBits_32); inline;
  1166. public
  1167. procedure clearOC32; inline;
  1168. procedure clearOCFLT; inline;
  1169. procedure clearOCM0; inline;
  1170. procedure clearOCM1; inline;
  1171. procedure clearOCM2; inline;
  1172. procedure clearOCSIDL; inline;
  1173. procedure clearOCTSEL; inline;
  1174. procedure clearON; inline;
  1175. procedure clearSIDL; inline;
  1176. procedure setOC32; inline;
  1177. procedure setOCFLT; inline;
  1178. procedure setOCM0; inline;
  1179. procedure setOCM1; inline;
  1180. procedure setOCM2; inline;
  1181. procedure setOCSIDL; inline;
  1182. procedure setOCTSEL; inline;
  1183. procedure setON; inline;
  1184. procedure setSIDL; inline;
  1185. property OC32 : TBits_1 read getOC32 write setOC32;
  1186. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1187. property OCM : TBits_3 read getOCM write setOCM;
  1188. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1189. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1190. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1191. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1192. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1193. property ON : TBits_1 read getON write setON;
  1194. property SIDL : TBits_1 read getSIDL write setSIDL;
  1195. property w : TBits_32 read getw write setw;
  1196. end;
  1197. type
  1198. TOCMP1Registers = record
  1199. OC1CONbits : TOCMP1_OC1CON;
  1200. OC1CON : longWord;
  1201. OC1CONCLR : longWord;
  1202. OC1CONSET : longWord;
  1203. OC1CONINV : longWord;
  1204. OC1R : longWord;
  1205. OC1RCLR : longWord;
  1206. OC1RSET : longWord;
  1207. OC1RINV : longWord;
  1208. OC1RS : longWord;
  1209. OC1RSCLR : longWord;
  1210. OC1RSSET : longWord;
  1211. OC1RSINV : longWord;
  1212. end;
  1213. TOCMP2_OC2CON = record
  1214. private
  1215. function getOC32 : TBits_1; inline;
  1216. function getOCFLT : TBits_1; inline;
  1217. function getOCM : TBits_3; inline;
  1218. function getOCM0 : TBits_1; inline;
  1219. function getOCM1 : TBits_1; inline;
  1220. function getOCM2 : TBits_1; inline;
  1221. function getOCSIDL : TBits_1; inline;
  1222. function getOCTSEL : TBits_1; inline;
  1223. function getON : TBits_1; inline;
  1224. function getSIDL : TBits_1; inline;
  1225. function getw : TBits_32; inline;
  1226. procedure setOC32(thebits : TBits_1); inline;
  1227. procedure setOCFLT(thebits : TBits_1); inline;
  1228. procedure setOCM(thebits : TBits_3); inline;
  1229. procedure setOCM0(thebits : TBits_1); inline;
  1230. procedure setOCM1(thebits : TBits_1); inline;
  1231. procedure setOCM2(thebits : TBits_1); inline;
  1232. procedure setOCSIDL(thebits : TBits_1); inline;
  1233. procedure setOCTSEL(thebits : TBits_1); inline;
  1234. procedure setON(thebits : TBits_1); inline;
  1235. procedure setSIDL(thebits : TBits_1); inline;
  1236. procedure setw(thebits : TBits_32); inline;
  1237. public
  1238. procedure clearOC32; inline;
  1239. procedure clearOCFLT; inline;
  1240. procedure clearOCM0; inline;
  1241. procedure clearOCM1; inline;
  1242. procedure clearOCM2; inline;
  1243. procedure clearOCSIDL; inline;
  1244. procedure clearOCTSEL; inline;
  1245. procedure clearON; inline;
  1246. procedure clearSIDL; inline;
  1247. procedure setOC32; inline;
  1248. procedure setOCFLT; inline;
  1249. procedure setOCM0; inline;
  1250. procedure setOCM1; inline;
  1251. procedure setOCM2; inline;
  1252. procedure setOCSIDL; inline;
  1253. procedure setOCTSEL; inline;
  1254. procedure setON; inline;
  1255. procedure setSIDL; inline;
  1256. property OC32 : TBits_1 read getOC32 write setOC32;
  1257. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1258. property OCM : TBits_3 read getOCM write setOCM;
  1259. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1260. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1261. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1262. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1263. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1264. property ON : TBits_1 read getON write setON;
  1265. property SIDL : TBits_1 read getSIDL write setSIDL;
  1266. property w : TBits_32 read getw write setw;
  1267. end;
  1268. type
  1269. TOCMP2Registers = record
  1270. OC2CONbits : TOCMP2_OC2CON;
  1271. OC2CON : longWord;
  1272. OC2CONCLR : longWord;
  1273. OC2CONSET : longWord;
  1274. OC2CONINV : longWord;
  1275. OC2R : longWord;
  1276. OC2RCLR : longWord;
  1277. OC2RSET : longWord;
  1278. OC2RINV : longWord;
  1279. OC2RS : longWord;
  1280. OC2RSCLR : longWord;
  1281. OC2RSSET : longWord;
  1282. OC2RSINV : longWord;
  1283. end;
  1284. TOCMP3_OC3CON = record
  1285. private
  1286. function getOC32 : TBits_1; inline;
  1287. function getOCFLT : TBits_1; inline;
  1288. function getOCM : TBits_3; inline;
  1289. function getOCM0 : TBits_1; inline;
  1290. function getOCM1 : TBits_1; inline;
  1291. function getOCM2 : TBits_1; inline;
  1292. function getOCSIDL : TBits_1; inline;
  1293. function getOCTSEL : TBits_1; inline;
  1294. function getON : TBits_1; inline;
  1295. function getSIDL : TBits_1; inline;
  1296. function getw : TBits_32; inline;
  1297. procedure setOC32(thebits : TBits_1); inline;
  1298. procedure setOCFLT(thebits : TBits_1); inline;
  1299. procedure setOCM(thebits : TBits_3); inline;
  1300. procedure setOCM0(thebits : TBits_1); inline;
  1301. procedure setOCM1(thebits : TBits_1); inline;
  1302. procedure setOCM2(thebits : TBits_1); inline;
  1303. procedure setOCSIDL(thebits : TBits_1); inline;
  1304. procedure setOCTSEL(thebits : TBits_1); inline;
  1305. procedure setON(thebits : TBits_1); inline;
  1306. procedure setSIDL(thebits : TBits_1); inline;
  1307. procedure setw(thebits : TBits_32); inline;
  1308. public
  1309. procedure clearOC32; inline;
  1310. procedure clearOCFLT; inline;
  1311. procedure clearOCM0; inline;
  1312. procedure clearOCM1; inline;
  1313. procedure clearOCM2; inline;
  1314. procedure clearOCSIDL; inline;
  1315. procedure clearOCTSEL; inline;
  1316. procedure clearON; inline;
  1317. procedure clearSIDL; inline;
  1318. procedure setOC32; inline;
  1319. procedure setOCFLT; inline;
  1320. procedure setOCM0; inline;
  1321. procedure setOCM1; inline;
  1322. procedure setOCM2; inline;
  1323. procedure setOCSIDL; inline;
  1324. procedure setOCTSEL; inline;
  1325. procedure setON; inline;
  1326. procedure setSIDL; inline;
  1327. property OC32 : TBits_1 read getOC32 write setOC32;
  1328. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1329. property OCM : TBits_3 read getOCM write setOCM;
  1330. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1331. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1332. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1333. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1334. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1335. property ON : TBits_1 read getON write setON;
  1336. property SIDL : TBits_1 read getSIDL write setSIDL;
  1337. property w : TBits_32 read getw write setw;
  1338. end;
  1339. type
  1340. TOCMP3Registers = record
  1341. OC3CONbits : TOCMP3_OC3CON;
  1342. OC3CON : longWord;
  1343. OC3CONCLR : longWord;
  1344. OC3CONSET : longWord;
  1345. OC3CONINV : longWord;
  1346. OC3R : longWord;
  1347. OC3RCLR : longWord;
  1348. OC3RSET : longWord;
  1349. OC3RINV : longWord;
  1350. OC3RS : longWord;
  1351. OC3RSCLR : longWord;
  1352. OC3RSSET : longWord;
  1353. OC3RSINV : longWord;
  1354. end;
  1355. TOCMP4_OC4CON = record
  1356. private
  1357. function getOC32 : TBits_1; inline;
  1358. function getOCFLT : TBits_1; inline;
  1359. function getOCM : TBits_3; inline;
  1360. function getOCM0 : TBits_1; inline;
  1361. function getOCM1 : TBits_1; inline;
  1362. function getOCM2 : TBits_1; inline;
  1363. function getOCSIDL : TBits_1; inline;
  1364. function getOCTSEL : TBits_1; inline;
  1365. function getON : TBits_1; inline;
  1366. function getSIDL : TBits_1; inline;
  1367. function getw : TBits_32; inline;
  1368. procedure setOC32(thebits : TBits_1); inline;
  1369. procedure setOCFLT(thebits : TBits_1); inline;
  1370. procedure setOCM(thebits : TBits_3); inline;
  1371. procedure setOCM0(thebits : TBits_1); inline;
  1372. procedure setOCM1(thebits : TBits_1); inline;
  1373. procedure setOCM2(thebits : TBits_1); inline;
  1374. procedure setOCSIDL(thebits : TBits_1); inline;
  1375. procedure setOCTSEL(thebits : TBits_1); inline;
  1376. procedure setON(thebits : TBits_1); inline;
  1377. procedure setSIDL(thebits : TBits_1); inline;
  1378. procedure setw(thebits : TBits_32); inline;
  1379. public
  1380. procedure clearOC32; inline;
  1381. procedure clearOCFLT; inline;
  1382. procedure clearOCM0; inline;
  1383. procedure clearOCM1; inline;
  1384. procedure clearOCM2; inline;
  1385. procedure clearOCSIDL; inline;
  1386. procedure clearOCTSEL; inline;
  1387. procedure clearON; inline;
  1388. procedure clearSIDL; inline;
  1389. procedure setOC32; inline;
  1390. procedure setOCFLT; inline;
  1391. procedure setOCM0; inline;
  1392. procedure setOCM1; inline;
  1393. procedure setOCM2; inline;
  1394. procedure setOCSIDL; inline;
  1395. procedure setOCTSEL; inline;
  1396. procedure setON; inline;
  1397. procedure setSIDL; inline;
  1398. property OC32 : TBits_1 read getOC32 write setOC32;
  1399. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1400. property OCM : TBits_3 read getOCM write setOCM;
  1401. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1402. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1403. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1404. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1405. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1406. property ON : TBits_1 read getON write setON;
  1407. property SIDL : TBits_1 read getSIDL write setSIDL;
  1408. property w : TBits_32 read getw write setw;
  1409. end;
  1410. type
  1411. TOCMP4Registers = record
  1412. OC4CONbits : TOCMP4_OC4CON;
  1413. OC4CON : longWord;
  1414. OC4CONCLR : longWord;
  1415. OC4CONSET : longWord;
  1416. OC4CONINV : longWord;
  1417. OC4R : longWord;
  1418. OC4RCLR : longWord;
  1419. OC4RSET : longWord;
  1420. OC4RINV : longWord;
  1421. OC4RS : longWord;
  1422. OC4RSCLR : longWord;
  1423. OC4RSSET : longWord;
  1424. OC4RSINV : longWord;
  1425. end;
  1426. TOCMP5_OC5CON = record
  1427. private
  1428. function getOC32 : TBits_1; inline;
  1429. function getOCFLT : TBits_1; inline;
  1430. function getOCM : TBits_3; inline;
  1431. function getOCM0 : TBits_1; inline;
  1432. function getOCM1 : TBits_1; inline;
  1433. function getOCM2 : TBits_1; inline;
  1434. function getOCSIDL : TBits_1; inline;
  1435. function getOCTSEL : TBits_1; inline;
  1436. function getON : TBits_1; inline;
  1437. function getSIDL : TBits_1; inline;
  1438. function getw : TBits_32; inline;
  1439. procedure setOC32(thebits : TBits_1); inline;
  1440. procedure setOCFLT(thebits : TBits_1); inline;
  1441. procedure setOCM(thebits : TBits_3); inline;
  1442. procedure setOCM0(thebits : TBits_1); inline;
  1443. procedure setOCM1(thebits : TBits_1); inline;
  1444. procedure setOCM2(thebits : TBits_1); inline;
  1445. procedure setOCSIDL(thebits : TBits_1); inline;
  1446. procedure setOCTSEL(thebits : TBits_1); inline;
  1447. procedure setON(thebits : TBits_1); inline;
  1448. procedure setSIDL(thebits : TBits_1); inline;
  1449. procedure setw(thebits : TBits_32); inline;
  1450. public
  1451. procedure clearOC32; inline;
  1452. procedure clearOCFLT; inline;
  1453. procedure clearOCM0; inline;
  1454. procedure clearOCM1; inline;
  1455. procedure clearOCM2; inline;
  1456. procedure clearOCSIDL; inline;
  1457. procedure clearOCTSEL; inline;
  1458. procedure clearON; inline;
  1459. procedure clearSIDL; inline;
  1460. procedure setOC32; inline;
  1461. procedure setOCFLT; inline;
  1462. procedure setOCM0; inline;
  1463. procedure setOCM1; inline;
  1464. procedure setOCM2; inline;
  1465. procedure setOCSIDL; inline;
  1466. procedure setOCTSEL; inline;
  1467. procedure setON; inline;
  1468. procedure setSIDL; inline;
  1469. property OC32 : TBits_1 read getOC32 write setOC32;
  1470. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1471. property OCM : TBits_3 read getOCM write setOCM;
  1472. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1473. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1474. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1475. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1476. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1477. property ON : TBits_1 read getON write setON;
  1478. property SIDL : TBits_1 read getSIDL write setSIDL;
  1479. property w : TBits_32 read getw write setw;
  1480. end;
  1481. type
  1482. TOCMP5Registers = record
  1483. OC5CONbits : TOCMP5_OC5CON;
  1484. OC5CON : longWord;
  1485. OC5CONCLR : longWord;
  1486. OC5CONSET : longWord;
  1487. OC5CONINV : longWord;
  1488. OC5R : longWord;
  1489. OC5RCLR : longWord;
  1490. OC5RSET : longWord;
  1491. OC5RINV : longWord;
  1492. OC5RS : longWord;
  1493. OC5RSCLR : longWord;
  1494. OC5RSSET : longWord;
  1495. OC5RSINV : longWord;
  1496. end;
  1497. TI2C1_I2C1111CON = record
  1498. private
  1499. function getA10M : TBits_1; inline;
  1500. function getACKDT : TBits_1; inline;
  1501. function getACKEN : TBits_1; inline;
  1502. function getDISSLW : TBits_1; inline;
  1503. function getGCEN : TBits_1; inline;
  1504. function getI2CEN : TBits_1; inline;
  1505. function getI2CSIDL : TBits_1; inline;
  1506. function getIPMIEN : TBits_1; inline;
  1507. function getON : TBits_1; inline;
  1508. function getPEN : TBits_1; inline;
  1509. function getRCEN : TBits_1; inline;
  1510. function getRSEN : TBits_1; inline;
  1511. function getSCLREL : TBits_1; inline;
  1512. function getSEN : TBits_1; inline;
  1513. function getSIDL : TBits_1; inline;
  1514. function getSMEN : TBits_1; inline;
  1515. function getSTREN : TBits_1; inline;
  1516. function getSTRICT : TBits_1; inline;
  1517. function getw : TBits_32; inline;
  1518. procedure setA10M(thebits : TBits_1); inline;
  1519. procedure setACKDT(thebits : TBits_1); inline;
  1520. procedure setACKEN(thebits : TBits_1); inline;
  1521. procedure setDISSLW(thebits : TBits_1); inline;
  1522. procedure setGCEN(thebits : TBits_1); inline;
  1523. procedure setI2CEN(thebits : TBits_1); inline;
  1524. procedure setI2CSIDL(thebits : TBits_1); inline;
  1525. procedure setIPMIEN(thebits : TBits_1); inline;
  1526. procedure setON(thebits : TBits_1); inline;
  1527. procedure setPEN(thebits : TBits_1); inline;
  1528. procedure setRCEN(thebits : TBits_1); inline;
  1529. procedure setRSEN(thebits : TBits_1); inline;
  1530. procedure setSCLREL(thebits : TBits_1); inline;
  1531. procedure setSEN(thebits : TBits_1); inline;
  1532. procedure setSIDL(thebits : TBits_1); inline;
  1533. procedure setSMEN(thebits : TBits_1); inline;
  1534. procedure setSTREN(thebits : TBits_1); inline;
  1535. procedure setSTRICT(thebits : TBits_1); inline;
  1536. procedure setw(thebits : TBits_32); inline;
  1537. public
  1538. procedure clearA10M; inline;
  1539. procedure clearACKDT; inline;
  1540. procedure clearACKEN; inline;
  1541. procedure clearDISSLW; inline;
  1542. procedure clearGCEN; inline;
  1543. procedure clearI2CEN; inline;
  1544. procedure clearI2CSIDL; inline;
  1545. procedure clearIPMIEN; inline;
  1546. procedure clearON; inline;
  1547. procedure clearPEN; inline;
  1548. procedure clearRCEN; inline;
  1549. procedure clearRSEN; inline;
  1550. procedure clearSCLREL; inline;
  1551. procedure clearSEN; inline;
  1552. procedure clearSIDL; inline;
  1553. procedure clearSMEN; inline;
  1554. procedure clearSTREN; inline;
  1555. procedure clearSTRICT; inline;
  1556. procedure setA10M; inline;
  1557. procedure setACKDT; inline;
  1558. procedure setACKEN; inline;
  1559. procedure setDISSLW; inline;
  1560. procedure setGCEN; inline;
  1561. procedure setI2CEN; inline;
  1562. procedure setI2CSIDL; inline;
  1563. procedure setIPMIEN; inline;
  1564. procedure setON; inline;
  1565. procedure setPEN; inline;
  1566. procedure setRCEN; inline;
  1567. procedure setRSEN; inline;
  1568. procedure setSCLREL; inline;
  1569. procedure setSEN; inline;
  1570. procedure setSIDL; inline;
  1571. procedure setSMEN; inline;
  1572. procedure setSTREN; inline;
  1573. procedure setSTRICT; inline;
  1574. property A10M : TBits_1 read getA10M write setA10M;
  1575. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1576. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1577. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1578. property GCEN : TBits_1 read getGCEN write setGCEN;
  1579. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1580. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1581. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1582. property ON : TBits_1 read getON write setON;
  1583. property PEN : TBits_1 read getPEN write setPEN;
  1584. property RCEN : TBits_1 read getRCEN write setRCEN;
  1585. property RSEN : TBits_1 read getRSEN write setRSEN;
  1586. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1587. property SEN : TBits_1 read getSEN write setSEN;
  1588. property SIDL : TBits_1 read getSIDL write setSIDL;
  1589. property SMEN : TBits_1 read getSMEN write setSMEN;
  1590. property STREN : TBits_1 read getSTREN write setSTREN;
  1591. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1592. property w : TBits_32 read getw write setw;
  1593. end;
  1594. TI2C1_I2C1CON = record
  1595. private
  1596. function getA10M : TBits_1; inline;
  1597. function getACKDT : TBits_1; inline;
  1598. function getACKEN : TBits_1; inline;
  1599. function getDISSLW : TBits_1; inline;
  1600. function getGCEN : TBits_1; inline;
  1601. function getI2CEN : TBits_1; inline;
  1602. function getI2CSIDL : TBits_1; inline;
  1603. function getIPMIEN : TBits_1; inline;
  1604. function getON : TBits_1; inline;
  1605. function getPEN : TBits_1; inline;
  1606. function getRCEN : TBits_1; inline;
  1607. function getRSEN : TBits_1; inline;
  1608. function getSCLREL : TBits_1; inline;
  1609. function getSEN : TBits_1; inline;
  1610. function getSIDL : TBits_1; inline;
  1611. function getSMEN : TBits_1; inline;
  1612. function getSTREN : TBits_1; inline;
  1613. function getSTRICT : TBits_1; inline;
  1614. function getw : TBits_32; inline;
  1615. procedure setA10M(thebits : TBits_1); inline;
  1616. procedure setACKDT(thebits : TBits_1); inline;
  1617. procedure setACKEN(thebits : TBits_1); inline;
  1618. procedure setDISSLW(thebits : TBits_1); inline;
  1619. procedure setGCEN(thebits : TBits_1); inline;
  1620. procedure setI2CEN(thebits : TBits_1); inline;
  1621. procedure setI2CSIDL(thebits : TBits_1); inline;
  1622. procedure setIPMIEN(thebits : TBits_1); inline;
  1623. procedure setON(thebits : TBits_1); inline;
  1624. procedure setPEN(thebits : TBits_1); inline;
  1625. procedure setRCEN(thebits : TBits_1); inline;
  1626. procedure setRSEN(thebits : TBits_1); inline;
  1627. procedure setSCLREL(thebits : TBits_1); inline;
  1628. procedure setSEN(thebits : TBits_1); inline;
  1629. procedure setSIDL(thebits : TBits_1); inline;
  1630. procedure setSMEN(thebits : TBits_1); inline;
  1631. procedure setSTREN(thebits : TBits_1); inline;
  1632. procedure setSTRICT(thebits : TBits_1); inline;
  1633. procedure setw(thebits : TBits_32); inline;
  1634. public
  1635. procedure clearA10M; inline;
  1636. procedure clearACKDT; inline;
  1637. procedure clearACKEN; inline;
  1638. procedure clearDISSLW; inline;
  1639. procedure clearGCEN; inline;
  1640. procedure clearI2CEN; inline;
  1641. procedure clearI2CSIDL; inline;
  1642. procedure clearIPMIEN; inline;
  1643. procedure clearON; inline;
  1644. procedure clearPEN; inline;
  1645. procedure clearRCEN; inline;
  1646. procedure clearRSEN; inline;
  1647. procedure clearSCLREL; inline;
  1648. procedure clearSEN; inline;
  1649. procedure clearSIDL; inline;
  1650. procedure clearSMEN; inline;
  1651. procedure clearSTREN; inline;
  1652. procedure clearSTRICT; inline;
  1653. procedure setA10M; inline;
  1654. procedure setACKDT; inline;
  1655. procedure setACKEN; inline;
  1656. procedure setDISSLW; inline;
  1657. procedure setGCEN; inline;
  1658. procedure setI2CEN; inline;
  1659. procedure setI2CSIDL; inline;
  1660. procedure setIPMIEN; inline;
  1661. procedure setON; inline;
  1662. procedure setPEN; inline;
  1663. procedure setRCEN; inline;
  1664. procedure setRSEN; inline;
  1665. procedure setSCLREL; inline;
  1666. procedure setSEN; inline;
  1667. procedure setSIDL; inline;
  1668. procedure setSMEN; inline;
  1669. procedure setSTREN; inline;
  1670. procedure setSTRICT; inline;
  1671. property A10M : TBits_1 read getA10M write setA10M;
  1672. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1673. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1674. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1675. property GCEN : TBits_1 read getGCEN write setGCEN;
  1676. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1677. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1678. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1679. property ON : TBits_1 read getON write setON;
  1680. property PEN : TBits_1 read getPEN write setPEN;
  1681. property RCEN : TBits_1 read getRCEN write setRCEN;
  1682. property RSEN : TBits_1 read getRSEN write setRSEN;
  1683. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1684. property SEN : TBits_1 read getSEN write setSEN;
  1685. property SIDL : TBits_1 read getSIDL write setSIDL;
  1686. property SMEN : TBits_1 read getSMEN write setSMEN;
  1687. property STREN : TBits_1 read getSTREN write setSTREN;
  1688. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1689. property w : TBits_32 read getw write setw;
  1690. end;
  1691. TI2C1_I2C1111STAT = record
  1692. private
  1693. function getACKSTAT : TBits_1; inline;
  1694. function getADD10 : TBits_1; inline;
  1695. function getBCL : TBits_1; inline;
  1696. function getD_A : TBits_1; inline;
  1697. function getGCSTAT : TBits_1; inline;
  1698. function getI2COV : TBits_1; inline;
  1699. function getI2CPOV : TBits_1; inline;
  1700. function getIWCOL : TBits_1; inline;
  1701. function getP : TBits_1; inline;
  1702. function getRBF : TBits_1; inline;
  1703. function getR_W : TBits_1; inline;
  1704. function getS : TBits_1; inline;
  1705. function getTBF : TBits_1; inline;
  1706. function getTRSTAT : TBits_1; inline;
  1707. function getw : TBits_32; inline;
  1708. procedure setACKSTAT(thebits : TBits_1); inline;
  1709. procedure setADD10(thebits : TBits_1); inline;
  1710. procedure setBCL(thebits : TBits_1); inline;
  1711. procedure setD_A(thebits : TBits_1); inline;
  1712. procedure setGCSTAT(thebits : TBits_1); inline;
  1713. procedure setI2COV(thebits : TBits_1); inline;
  1714. procedure setI2CPOV(thebits : TBits_1); inline;
  1715. procedure setIWCOL(thebits : TBits_1); inline;
  1716. procedure setP(thebits : TBits_1); inline;
  1717. procedure setRBF(thebits : TBits_1); inline;
  1718. procedure setR_W(thebits : TBits_1); inline;
  1719. procedure setS(thebits : TBits_1); inline;
  1720. procedure setTBF(thebits : TBits_1); inline;
  1721. procedure setTRSTAT(thebits : TBits_1); inline;
  1722. procedure setw(thebits : TBits_32); inline;
  1723. public
  1724. procedure clearACKSTAT; inline;
  1725. procedure clearADD10; inline;
  1726. procedure clearBCL; inline;
  1727. procedure clearD_A; inline;
  1728. procedure clearGCSTAT; inline;
  1729. procedure clearI2COV; inline;
  1730. procedure clearI2CPOV; inline;
  1731. procedure clearIWCOL; inline;
  1732. procedure clearP; inline;
  1733. procedure clearRBF; inline;
  1734. procedure clearR_W; inline;
  1735. procedure clearS; inline;
  1736. procedure clearTBF; inline;
  1737. procedure clearTRSTAT; inline;
  1738. procedure setACKSTAT; inline;
  1739. procedure setADD10; inline;
  1740. procedure setBCL; inline;
  1741. procedure setD_A; inline;
  1742. procedure setGCSTAT; inline;
  1743. procedure setI2COV; inline;
  1744. procedure setI2CPOV; inline;
  1745. procedure setIWCOL; inline;
  1746. procedure setP; inline;
  1747. procedure setRBF; inline;
  1748. procedure setR_W; inline;
  1749. procedure setS; inline;
  1750. procedure setTBF; inline;
  1751. procedure setTRSTAT; inline;
  1752. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1753. property ADD10 : TBits_1 read getADD10 write setADD10;
  1754. property BCL : TBits_1 read getBCL write setBCL;
  1755. property D_A : TBits_1 read getD_A write setD_A;
  1756. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1757. property I2COV : TBits_1 read getI2COV write setI2COV;
  1758. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1759. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1760. property P : TBits_1 read getP write setP;
  1761. property RBF : TBits_1 read getRBF write setRBF;
  1762. property R_W : TBits_1 read getR_W write setR_W;
  1763. property S : TBits_1 read getS write setS;
  1764. property TBF : TBits_1 read getTBF write setTBF;
  1765. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1766. property w : TBits_32 read getw write setw;
  1767. end;
  1768. TI2C1_I2C1STAT = record
  1769. private
  1770. function getACKSTAT : TBits_1; inline;
  1771. function getADD10 : TBits_1; inline;
  1772. function getBCL : TBits_1; inline;
  1773. function getD_A : TBits_1; inline;
  1774. function getGCSTAT : TBits_1; inline;
  1775. function getI2COV : TBits_1; inline;
  1776. function getI2CPOV : TBits_1; inline;
  1777. function getIWCOL : TBits_1; inline;
  1778. function getP : TBits_1; inline;
  1779. function getRBF : TBits_1; inline;
  1780. function getR_W : TBits_1; inline;
  1781. function getS : TBits_1; inline;
  1782. function getTBF : TBits_1; inline;
  1783. function getTRSTAT : TBits_1; inline;
  1784. function getw : TBits_32; inline;
  1785. procedure setACKSTAT(thebits : TBits_1); inline;
  1786. procedure setADD10(thebits : TBits_1); inline;
  1787. procedure setBCL(thebits : TBits_1); inline;
  1788. procedure setD_A(thebits : TBits_1); inline;
  1789. procedure setGCSTAT(thebits : TBits_1); inline;
  1790. procedure setI2COV(thebits : TBits_1); inline;
  1791. procedure setI2CPOV(thebits : TBits_1); inline;
  1792. procedure setIWCOL(thebits : TBits_1); inline;
  1793. procedure setP(thebits : TBits_1); inline;
  1794. procedure setRBF(thebits : TBits_1); inline;
  1795. procedure setR_W(thebits : TBits_1); inline;
  1796. procedure setS(thebits : TBits_1); inline;
  1797. procedure setTBF(thebits : TBits_1); inline;
  1798. procedure setTRSTAT(thebits : TBits_1); inline;
  1799. procedure setw(thebits : TBits_32); inline;
  1800. public
  1801. procedure clearACKSTAT; inline;
  1802. procedure clearADD10; inline;
  1803. procedure clearBCL; inline;
  1804. procedure clearD_A; inline;
  1805. procedure clearGCSTAT; inline;
  1806. procedure clearI2COV; inline;
  1807. procedure clearI2CPOV; inline;
  1808. procedure clearIWCOL; inline;
  1809. procedure clearP; inline;
  1810. procedure clearRBF; inline;
  1811. procedure clearR_W; inline;
  1812. procedure clearS; inline;
  1813. procedure clearTBF; inline;
  1814. procedure clearTRSTAT; inline;
  1815. procedure setACKSTAT; inline;
  1816. procedure setADD10; inline;
  1817. procedure setBCL; inline;
  1818. procedure setD_A; inline;
  1819. procedure setGCSTAT; inline;
  1820. procedure setI2COV; inline;
  1821. procedure setI2CPOV; inline;
  1822. procedure setIWCOL; inline;
  1823. procedure setP; inline;
  1824. procedure setRBF; inline;
  1825. procedure setR_W; inline;
  1826. procedure setS; inline;
  1827. procedure setTBF; inline;
  1828. procedure setTRSTAT; inline;
  1829. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1830. property ADD10 : TBits_1 read getADD10 write setADD10;
  1831. property BCL : TBits_1 read getBCL write setBCL;
  1832. property D_A : TBits_1 read getD_A write setD_A;
  1833. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1834. property I2COV : TBits_1 read getI2COV write setI2COV;
  1835. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1836. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1837. property P : TBits_1 read getP write setP;
  1838. property RBF : TBits_1 read getRBF write setRBF;
  1839. property R_W : TBits_1 read getR_W write setR_W;
  1840. property S : TBits_1 read getS write setS;
  1841. property TBF : TBits_1 read getTBF write setTBF;
  1842. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1843. property w : TBits_32 read getw write setw;
  1844. end;
  1845. type
  1846. TI2C1Registers = record
  1847. I2C1111CONbits : TI2C1_I2C1111CON;
  1848. I2C1111CON : longWord;
  1849. I2C1CONbits : TI2C1_I2C1CON;
  1850. I2C1CON : longWord;
  1851. I2C1111CONCLR : longWord;
  1852. I2C1CONCLR : longWord;
  1853. I2C1111CONSET : longWord;
  1854. I2C1CONSET : longWord;
  1855. I2C1111CONINV : longWord;
  1856. I2C1CONINV : longWord;
  1857. I2C1111STATbits : TI2C1_I2C1111STAT;
  1858. I2C1111STAT : longWord;
  1859. I2C1STATbits : TI2C1_I2C1STAT;
  1860. I2C1STAT : longWord;
  1861. I2C1111STATCLR : longWord;
  1862. I2C1STATCLR : longWord;
  1863. I2C1111STATSET : longWord;
  1864. I2C1STATSET : longWord;
  1865. I2C1111STATINV : longWord;
  1866. I2C1STATINV : longWord;
  1867. I2C1111ADD : longWord;
  1868. I2C1ADD : longWord;
  1869. I2C1111ADDCLR : longWord;
  1870. I2C1ADDCLR : longWord;
  1871. I2C1111ADDSET : longWord;
  1872. I2C1ADDSET : longWord;
  1873. I2C1111ADDINV : longWord;
  1874. I2C1ADDINV : longWord;
  1875. I2C1111MSK : longWord;
  1876. I2C1MSK : longWord;
  1877. I2C1111MSKCLR : longWord;
  1878. I2C1MSKCLR : longWord;
  1879. I2C1111MSKSET : longWord;
  1880. I2C1MSKSET : longWord;
  1881. I2C1111MSKINV : longWord;
  1882. I2C1MSKINV : longWord;
  1883. I2C1111BRG : longWord;
  1884. I2C1BRG : longWord;
  1885. I2C1111BRGCLR : longWord;
  1886. I2C1BRGCLR : longWord;
  1887. I2C1111BRGSET : longWord;
  1888. I2C1BRGSET : longWord;
  1889. I2C1111BRGINV : longWord;
  1890. I2C1BRGINV : longWord;
  1891. I2C1111TRN : longWord;
  1892. I2C1TRN : longWord;
  1893. I2C1111TRNCLR : longWord;
  1894. I2C1TRNCLR : longWord;
  1895. I2C1111TRNSET : longWord;
  1896. I2C1TRNSET : longWord;
  1897. I2C1111TRNINV : longWord;
  1898. I2C1TRNINV : longWord;
  1899. I2C1111RCV : longWord;
  1900. I2C1RCV : longWord;
  1901. end;
  1902. TI2C2_I2C2CON = record
  1903. private
  1904. function getA10M : TBits_1; inline;
  1905. function getACKDT : TBits_1; inline;
  1906. function getACKEN : TBits_1; inline;
  1907. function getDISSLW : TBits_1; inline;
  1908. function getGCEN : TBits_1; inline;
  1909. function getI2CEN : TBits_1; inline;
  1910. function getI2CSIDL : TBits_1; inline;
  1911. function getIPMIEN : TBits_1; inline;
  1912. function getON : TBits_1; inline;
  1913. function getPEN : TBits_1; inline;
  1914. function getRCEN : TBits_1; inline;
  1915. function getRSEN : TBits_1; inline;
  1916. function getSCLREL : TBits_1; inline;
  1917. function getSEN : TBits_1; inline;
  1918. function getSIDL : TBits_1; inline;
  1919. function getSMEN : TBits_1; inline;
  1920. function getSTREN : TBits_1; inline;
  1921. function getSTRICT : TBits_1; inline;
  1922. function getw : TBits_32; inline;
  1923. procedure setA10M(thebits : TBits_1); inline;
  1924. procedure setACKDT(thebits : TBits_1); inline;
  1925. procedure setACKEN(thebits : TBits_1); inline;
  1926. procedure setDISSLW(thebits : TBits_1); inline;
  1927. procedure setGCEN(thebits : TBits_1); inline;
  1928. procedure setI2CEN(thebits : TBits_1); inline;
  1929. procedure setI2CSIDL(thebits : TBits_1); inline;
  1930. procedure setIPMIEN(thebits : TBits_1); inline;
  1931. procedure setON(thebits : TBits_1); inline;
  1932. procedure setPEN(thebits : TBits_1); inline;
  1933. procedure setRCEN(thebits : TBits_1); inline;
  1934. procedure setRSEN(thebits : TBits_1); inline;
  1935. procedure setSCLREL(thebits : TBits_1); inline;
  1936. procedure setSEN(thebits : TBits_1); inline;
  1937. procedure setSIDL(thebits : TBits_1); inline;
  1938. procedure setSMEN(thebits : TBits_1); inline;
  1939. procedure setSTREN(thebits : TBits_1); inline;
  1940. procedure setSTRICT(thebits : TBits_1); inline;
  1941. procedure setw(thebits : TBits_32); inline;
  1942. public
  1943. procedure clearA10M; inline;
  1944. procedure clearACKDT; inline;
  1945. procedure clearACKEN; inline;
  1946. procedure clearDISSLW; inline;
  1947. procedure clearGCEN; inline;
  1948. procedure clearI2CEN; inline;
  1949. procedure clearI2CSIDL; inline;
  1950. procedure clearIPMIEN; inline;
  1951. procedure clearON; inline;
  1952. procedure clearPEN; inline;
  1953. procedure clearRCEN; inline;
  1954. procedure clearRSEN; inline;
  1955. procedure clearSCLREL; inline;
  1956. procedure clearSEN; inline;
  1957. procedure clearSIDL; inline;
  1958. procedure clearSMEN; inline;
  1959. procedure clearSTREN; inline;
  1960. procedure clearSTRICT; inline;
  1961. procedure setA10M; inline;
  1962. procedure setACKDT; inline;
  1963. procedure setACKEN; inline;
  1964. procedure setDISSLW; inline;
  1965. procedure setGCEN; inline;
  1966. procedure setI2CEN; inline;
  1967. procedure setI2CSIDL; inline;
  1968. procedure setIPMIEN; inline;
  1969. procedure setON; inline;
  1970. procedure setPEN; inline;
  1971. procedure setRCEN; inline;
  1972. procedure setRSEN; inline;
  1973. procedure setSCLREL; inline;
  1974. procedure setSEN; inline;
  1975. procedure setSIDL; inline;
  1976. procedure setSMEN; inline;
  1977. procedure setSTREN; inline;
  1978. procedure setSTRICT; inline;
  1979. property A10M : TBits_1 read getA10M write setA10M;
  1980. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1981. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1982. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1983. property GCEN : TBits_1 read getGCEN write setGCEN;
  1984. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1985. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1986. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1987. property ON : TBits_1 read getON write setON;
  1988. property PEN : TBits_1 read getPEN write setPEN;
  1989. property RCEN : TBits_1 read getRCEN write setRCEN;
  1990. property RSEN : TBits_1 read getRSEN write setRSEN;
  1991. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1992. property SEN : TBits_1 read getSEN write setSEN;
  1993. property SIDL : TBits_1 read getSIDL write setSIDL;
  1994. property SMEN : TBits_1 read getSMEN write setSMEN;
  1995. property STREN : TBits_1 read getSTREN write setSTREN;
  1996. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1997. property w : TBits_32 read getw write setw;
  1998. end;
  1999. TI2C2_I2CABCON = record
  2000. private
  2001. function getA10M : TBits_1; inline;
  2002. function getACKDT : TBits_1; inline;
  2003. function getACKEN : TBits_1; inline;
  2004. function getDISSLW : TBits_1; inline;
  2005. function getGCEN : TBits_1; inline;
  2006. function getI2CEN : TBits_1; inline;
  2007. function getI2CSIDL : TBits_1; inline;
  2008. function getIPMIEN : TBits_1; inline;
  2009. function getON : TBits_1; inline;
  2010. function getPEN : TBits_1; inline;
  2011. function getRCEN : TBits_1; inline;
  2012. function getRSEN : TBits_1; inline;
  2013. function getSCLREL : TBits_1; inline;
  2014. function getSEN : TBits_1; inline;
  2015. function getSIDL : TBits_1; inline;
  2016. function getSMEN : TBits_1; inline;
  2017. function getSTREN : TBits_1; inline;
  2018. function getSTRICT : TBits_1; inline;
  2019. function getw : TBits_32; inline;
  2020. procedure setA10M(thebits : TBits_1); inline;
  2021. procedure setACKDT(thebits : TBits_1); inline;
  2022. procedure setACKEN(thebits : TBits_1); inline;
  2023. procedure setDISSLW(thebits : TBits_1); inline;
  2024. procedure setGCEN(thebits : TBits_1); inline;
  2025. procedure setI2CEN(thebits : TBits_1); inline;
  2026. procedure setI2CSIDL(thebits : TBits_1); inline;
  2027. procedure setIPMIEN(thebits : TBits_1); inline;
  2028. procedure setON(thebits : TBits_1); inline;
  2029. procedure setPEN(thebits : TBits_1); inline;
  2030. procedure setRCEN(thebits : TBits_1); inline;
  2031. procedure setRSEN(thebits : TBits_1); inline;
  2032. procedure setSCLREL(thebits : TBits_1); inline;
  2033. procedure setSEN(thebits : TBits_1); inline;
  2034. procedure setSIDL(thebits : TBits_1); inline;
  2035. procedure setSMEN(thebits : TBits_1); inline;
  2036. procedure setSTREN(thebits : TBits_1); inline;
  2037. procedure setSTRICT(thebits : TBits_1); inline;
  2038. procedure setw(thebits : TBits_32); inline;
  2039. public
  2040. procedure clearA10M; inline;
  2041. procedure clearACKDT; inline;
  2042. procedure clearACKEN; inline;
  2043. procedure clearDISSLW; inline;
  2044. procedure clearGCEN; inline;
  2045. procedure clearI2CEN; inline;
  2046. procedure clearI2CSIDL; inline;
  2047. procedure clearIPMIEN; inline;
  2048. procedure clearON; inline;
  2049. procedure clearPEN; inline;
  2050. procedure clearRCEN; inline;
  2051. procedure clearRSEN; inline;
  2052. procedure clearSCLREL; inline;
  2053. procedure clearSEN; inline;
  2054. procedure clearSIDL; inline;
  2055. procedure clearSMEN; inline;
  2056. procedure clearSTREN; inline;
  2057. procedure clearSTRICT; inline;
  2058. procedure setA10M; inline;
  2059. procedure setACKDT; inline;
  2060. procedure setACKEN; inline;
  2061. procedure setDISSLW; inline;
  2062. procedure setGCEN; inline;
  2063. procedure setI2CEN; inline;
  2064. procedure setI2CSIDL; inline;
  2065. procedure setIPMIEN; inline;
  2066. procedure setON; inline;
  2067. procedure setPEN; inline;
  2068. procedure setRCEN; inline;
  2069. procedure setRSEN; inline;
  2070. procedure setSCLREL; inline;
  2071. procedure setSEN; inline;
  2072. procedure setSIDL; inline;
  2073. procedure setSMEN; inline;
  2074. procedure setSTREN; inline;
  2075. procedure setSTRICT; inline;
  2076. property A10M : TBits_1 read getA10M write setA10M;
  2077. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2078. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2079. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2080. property GCEN : TBits_1 read getGCEN write setGCEN;
  2081. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2082. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2083. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2084. property ON : TBits_1 read getON write setON;
  2085. property PEN : TBits_1 read getPEN write setPEN;
  2086. property RCEN : TBits_1 read getRCEN write setRCEN;
  2087. property RSEN : TBits_1 read getRSEN write setRSEN;
  2088. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2089. property SEN : TBits_1 read getSEN write setSEN;
  2090. property SIDL : TBits_1 read getSIDL write setSIDL;
  2091. property SMEN : TBits_1 read getSMEN write setSMEN;
  2092. property STREN : TBits_1 read getSTREN write setSTREN;
  2093. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2094. property w : TBits_32 read getw write setw;
  2095. end;
  2096. TI2C2_I2C2STAT = record
  2097. private
  2098. function getACKSTAT : TBits_1; inline;
  2099. function getADD10 : TBits_1; inline;
  2100. function getBCL : TBits_1; inline;
  2101. function getD_A : TBits_1; inline;
  2102. function getGCSTAT : TBits_1; inline;
  2103. function getI2COV : TBits_1; inline;
  2104. function getI2CPOV : TBits_1; inline;
  2105. function getIWCOL : TBits_1; inline;
  2106. function getP : TBits_1; inline;
  2107. function getRBF : TBits_1; inline;
  2108. function getR_W : TBits_1; inline;
  2109. function getS : TBits_1; inline;
  2110. function getTBF : TBits_1; inline;
  2111. function getTRSTAT : TBits_1; inline;
  2112. function getw : TBits_32; inline;
  2113. procedure setACKSTAT(thebits : TBits_1); inline;
  2114. procedure setADD10(thebits : TBits_1); inline;
  2115. procedure setBCL(thebits : TBits_1); inline;
  2116. procedure setD_A(thebits : TBits_1); inline;
  2117. procedure setGCSTAT(thebits : TBits_1); inline;
  2118. procedure setI2COV(thebits : TBits_1); inline;
  2119. procedure setI2CPOV(thebits : TBits_1); inline;
  2120. procedure setIWCOL(thebits : TBits_1); inline;
  2121. procedure setP(thebits : TBits_1); inline;
  2122. procedure setRBF(thebits : TBits_1); inline;
  2123. procedure setR_W(thebits : TBits_1); inline;
  2124. procedure setS(thebits : TBits_1); inline;
  2125. procedure setTBF(thebits : TBits_1); inline;
  2126. procedure setTRSTAT(thebits : TBits_1); inline;
  2127. procedure setw(thebits : TBits_32); inline;
  2128. public
  2129. procedure clearACKSTAT; inline;
  2130. procedure clearADD10; inline;
  2131. procedure clearBCL; inline;
  2132. procedure clearD_A; inline;
  2133. procedure clearGCSTAT; inline;
  2134. procedure clearI2COV; inline;
  2135. procedure clearI2CPOV; inline;
  2136. procedure clearIWCOL; inline;
  2137. procedure clearP; inline;
  2138. procedure clearRBF; inline;
  2139. procedure clearR_W; inline;
  2140. procedure clearS; inline;
  2141. procedure clearTBF; inline;
  2142. procedure clearTRSTAT; inline;
  2143. procedure setACKSTAT; inline;
  2144. procedure setADD10; inline;
  2145. procedure setBCL; inline;
  2146. procedure setD_A; inline;
  2147. procedure setGCSTAT; inline;
  2148. procedure setI2COV; inline;
  2149. procedure setI2CPOV; inline;
  2150. procedure setIWCOL; inline;
  2151. procedure setP; inline;
  2152. procedure setRBF; inline;
  2153. procedure setR_W; inline;
  2154. procedure setS; inline;
  2155. procedure setTBF; inline;
  2156. procedure setTRSTAT; inline;
  2157. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2158. property ADD10 : TBits_1 read getADD10 write setADD10;
  2159. property BCL : TBits_1 read getBCL write setBCL;
  2160. property D_A : TBits_1 read getD_A write setD_A;
  2161. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2162. property I2COV : TBits_1 read getI2COV write setI2COV;
  2163. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2164. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2165. property P : TBits_1 read getP write setP;
  2166. property RBF : TBits_1 read getRBF write setRBF;
  2167. property R_W : TBits_1 read getR_W write setR_W;
  2168. property S : TBits_1 read getS write setS;
  2169. property TBF : TBits_1 read getTBF write setTBF;
  2170. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2171. property w : TBits_32 read getw write setw;
  2172. end;
  2173. TI2C2_I2CABSTAT = record
  2174. private
  2175. function getACKSTAT : TBits_1; inline;
  2176. function getADD10 : TBits_1; inline;
  2177. function getBCL : TBits_1; inline;
  2178. function getD_A : TBits_1; inline;
  2179. function getGCSTAT : TBits_1; inline;
  2180. function getI2COV : TBits_1; inline;
  2181. function getI2CPOV : TBits_1; inline;
  2182. function getIWCOL : TBits_1; inline;
  2183. function getP : TBits_1; inline;
  2184. function getRBF : TBits_1; inline;
  2185. function getR_W : TBits_1; inline;
  2186. function getS : TBits_1; inline;
  2187. function getTBF : TBits_1; inline;
  2188. function getTRSTAT : TBits_1; inline;
  2189. function getw : TBits_32; inline;
  2190. procedure setACKSTAT(thebits : TBits_1); inline;
  2191. procedure setADD10(thebits : TBits_1); inline;
  2192. procedure setBCL(thebits : TBits_1); inline;
  2193. procedure setD_A(thebits : TBits_1); inline;
  2194. procedure setGCSTAT(thebits : TBits_1); inline;
  2195. procedure setI2COV(thebits : TBits_1); inline;
  2196. procedure setI2CPOV(thebits : TBits_1); inline;
  2197. procedure setIWCOL(thebits : TBits_1); inline;
  2198. procedure setP(thebits : TBits_1); inline;
  2199. procedure setRBF(thebits : TBits_1); inline;
  2200. procedure setR_W(thebits : TBits_1); inline;
  2201. procedure setS(thebits : TBits_1); inline;
  2202. procedure setTBF(thebits : TBits_1); inline;
  2203. procedure setTRSTAT(thebits : TBits_1); inline;
  2204. procedure setw(thebits : TBits_32); inline;
  2205. public
  2206. procedure clearACKSTAT; inline;
  2207. procedure clearADD10; inline;
  2208. procedure clearBCL; inline;
  2209. procedure clearD_A; inline;
  2210. procedure clearGCSTAT; inline;
  2211. procedure clearI2COV; inline;
  2212. procedure clearI2CPOV; inline;
  2213. procedure clearIWCOL; inline;
  2214. procedure clearP; inline;
  2215. procedure clearRBF; inline;
  2216. procedure clearR_W; inline;
  2217. procedure clearS; inline;
  2218. procedure clearTBF; inline;
  2219. procedure clearTRSTAT; inline;
  2220. procedure setACKSTAT; inline;
  2221. procedure setADD10; inline;
  2222. procedure setBCL; inline;
  2223. procedure setD_A; inline;
  2224. procedure setGCSTAT; inline;
  2225. procedure setI2COV; inline;
  2226. procedure setI2CPOV; inline;
  2227. procedure setIWCOL; inline;
  2228. procedure setP; inline;
  2229. procedure setRBF; inline;
  2230. procedure setR_W; inline;
  2231. procedure setS; inline;
  2232. procedure setTBF; inline;
  2233. procedure setTRSTAT; inline;
  2234. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2235. property ADD10 : TBits_1 read getADD10 write setADD10;
  2236. property BCL : TBits_1 read getBCL write setBCL;
  2237. property D_A : TBits_1 read getD_A write setD_A;
  2238. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2239. property I2COV : TBits_1 read getI2COV write setI2COV;
  2240. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2241. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2242. property P : TBits_1 read getP write setP;
  2243. property RBF : TBits_1 read getRBF write setRBF;
  2244. property R_W : TBits_1 read getR_W write setR_W;
  2245. property S : TBits_1 read getS write setS;
  2246. property TBF : TBits_1 read getTBF write setTBF;
  2247. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2248. property w : TBits_32 read getw write setw;
  2249. end;
  2250. type
  2251. TI2C2Registers = record
  2252. I2C2CONbits : TI2C2_I2C2CON;
  2253. I2C2CON : longWord;
  2254. I2CABCONbits : TI2C2_I2CABCON;
  2255. I2CABCON : longWord;
  2256. I2C2CONCLR : longWord;
  2257. I2CABCONCLR : longWord;
  2258. I2C2CONSET : longWord;
  2259. I2CABCONSET : longWord;
  2260. I2C2CONINV : longWord;
  2261. I2CABCONINV : longWord;
  2262. I2C2STATbits : TI2C2_I2C2STAT;
  2263. I2C2STAT : longWord;
  2264. I2CABSTATbits : TI2C2_I2CABSTAT;
  2265. I2CABSTAT : longWord;
  2266. I2C2STATCLR : longWord;
  2267. I2CABSTATCLR : longWord;
  2268. I2C2STATSET : longWord;
  2269. I2CABSTATSET : longWord;
  2270. I2C2STATINV : longWord;
  2271. I2CABSTATINV : longWord;
  2272. I2C2ADD : longWord;
  2273. I2CABADD : longWord;
  2274. I2C2ADDCLR : longWord;
  2275. I2CABADDCLR : longWord;
  2276. I2C2ADDSET : longWord;
  2277. I2CABADDSET : longWord;
  2278. I2C2ADDINV : longWord;
  2279. I2CABADDINV : longWord;
  2280. I2C2MSK : longWord;
  2281. I2CABMSK : longWord;
  2282. I2C2MSKCLR : longWord;
  2283. I2CABMSKCLR : longWord;
  2284. I2C2MSKSET : longWord;
  2285. I2CABMSKSET : longWord;
  2286. I2C2MSKINV : longWord;
  2287. I2CABMSKINV : longWord;
  2288. I2C2BRG : longWord;
  2289. I2CABBRG : longWord;
  2290. I2C2BRGCLR : longWord;
  2291. I2CABBRGCLR : longWord;
  2292. I2C2BRGSET : longWord;
  2293. I2CABBRGSET : longWord;
  2294. I2C2BRGINV : longWord;
  2295. I2CABBRGINV : longWord;
  2296. I2C2TRN : longWord;
  2297. I2CABTRN : longWord;
  2298. I2C2TRNCLR : longWord;
  2299. I2CABTRNCLR : longWord;
  2300. I2C2TRNSET : longWord;
  2301. I2CABTRNSET : longWord;
  2302. I2C2TRNINV : longWord;
  2303. I2CABTRNINV : longWord;
  2304. I2C2RCV : longWord;
  2305. I2CABRCV : longWord;
  2306. end;
  2307. TSPI1_SPI1CON = record
  2308. private
  2309. function getCKE : TBits_1; inline;
  2310. function getCKP : TBits_1; inline;
  2311. function getDISSDI : TBits_1; inline;
  2312. function getDISSDO : TBits_1; inline;
  2313. function getENHBUF : TBits_1; inline;
  2314. function getFRMCNT : TBits_3; inline;
  2315. function getFRMEN : TBits_1; inline;
  2316. function getFRMPOL : TBits_1; inline;
  2317. function getFRMSYNC : TBits_1; inline;
  2318. function getFRMSYPW : TBits_1; inline;
  2319. function getMCLKSEL : TBits_1; inline;
  2320. function getMODE16 : TBits_1; inline;
  2321. function getMODE32 : TBits_1; inline;
  2322. function getMSSEN : TBits_1; inline;
  2323. function getMSTEN : TBits_1; inline;
  2324. function getON : TBits_1; inline;
  2325. function getSIDL : TBits_1; inline;
  2326. function getSMP : TBits_1; inline;
  2327. function getSPIFE : TBits_1; inline;
  2328. function getSRXISEL : TBits_2; inline;
  2329. function getSSEN : TBits_1; inline;
  2330. function getSTXISEL : TBits_2; inline;
  2331. function getw : TBits_32; inline;
  2332. procedure setCKE(thebits : TBits_1); inline;
  2333. procedure setCKP(thebits : TBits_1); inline;
  2334. procedure setDISSDI(thebits : TBits_1); inline;
  2335. procedure setDISSDO(thebits : TBits_1); inline;
  2336. procedure setENHBUF(thebits : TBits_1); inline;
  2337. procedure setFRMCNT(thebits : TBits_3); inline;
  2338. procedure setFRMEN(thebits : TBits_1); inline;
  2339. procedure setFRMPOL(thebits : TBits_1); inline;
  2340. procedure setFRMSYNC(thebits : TBits_1); inline;
  2341. procedure setFRMSYPW(thebits : TBits_1); inline;
  2342. procedure setMCLKSEL(thebits : TBits_1); inline;
  2343. procedure setMODE16(thebits : TBits_1); inline;
  2344. procedure setMODE32(thebits : TBits_1); inline;
  2345. procedure setMSSEN(thebits : TBits_1); inline;
  2346. procedure setMSTEN(thebits : TBits_1); inline;
  2347. procedure setON(thebits : TBits_1); inline;
  2348. procedure setSIDL(thebits : TBits_1); inline;
  2349. procedure setSMP(thebits : TBits_1); inline;
  2350. procedure setSPIFE(thebits : TBits_1); inline;
  2351. procedure setSRXISEL(thebits : TBits_2); inline;
  2352. procedure setSSEN(thebits : TBits_1); inline;
  2353. procedure setSTXISEL(thebits : TBits_2); inline;
  2354. procedure setw(thebits : TBits_32); inline;
  2355. public
  2356. procedure clearCKE; inline;
  2357. procedure clearCKP; inline;
  2358. procedure clearDISSDI; inline;
  2359. procedure clearDISSDO; inline;
  2360. procedure clearENHBUF; inline;
  2361. procedure clearFRMEN; inline;
  2362. procedure clearFRMPOL; inline;
  2363. procedure clearFRMSYNC; inline;
  2364. procedure clearFRMSYPW; inline;
  2365. procedure clearMCLKSEL; inline;
  2366. procedure clearMODE16; inline;
  2367. procedure clearMODE32; inline;
  2368. procedure clearMSSEN; inline;
  2369. procedure clearMSTEN; inline;
  2370. procedure clearON; inline;
  2371. procedure clearSIDL; inline;
  2372. procedure clearSMP; inline;
  2373. procedure clearSPIFE; inline;
  2374. procedure clearSSEN; inline;
  2375. procedure setCKE; inline;
  2376. procedure setCKP; inline;
  2377. procedure setDISSDI; inline;
  2378. procedure setDISSDO; inline;
  2379. procedure setENHBUF; inline;
  2380. procedure setFRMEN; inline;
  2381. procedure setFRMPOL; inline;
  2382. procedure setFRMSYNC; inline;
  2383. procedure setFRMSYPW; inline;
  2384. procedure setMCLKSEL; inline;
  2385. procedure setMODE16; inline;
  2386. procedure setMODE32; inline;
  2387. procedure setMSSEN; inline;
  2388. procedure setMSTEN; inline;
  2389. procedure setON; inline;
  2390. procedure setSIDL; inline;
  2391. procedure setSMP; inline;
  2392. procedure setSPIFE; inline;
  2393. procedure setSSEN; inline;
  2394. property CKE : TBits_1 read getCKE write setCKE;
  2395. property CKP : TBits_1 read getCKP write setCKP;
  2396. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2397. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2398. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2399. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2400. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2401. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2402. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2403. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2404. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2405. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2406. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2407. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2408. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2409. property ON : TBits_1 read getON write setON;
  2410. property SIDL : TBits_1 read getSIDL write setSIDL;
  2411. property SMP : TBits_1 read getSMP write setSMP;
  2412. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2413. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2414. property SSEN : TBits_1 read getSSEN write setSSEN;
  2415. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2416. property w : TBits_32 read getw write setw;
  2417. end;
  2418. TSPI1_SPI1STAT = record
  2419. private
  2420. function getFRMERR : TBits_1; inline;
  2421. function getRXBUFELM : TBits_5; inline;
  2422. function getSPIBUSY : TBits_1; inline;
  2423. function getSPIRBE : TBits_1; inline;
  2424. function getSPIRBF : TBits_1; inline;
  2425. function getSPIROV : TBits_1; inline;
  2426. function getSPITBE : TBits_1; inline;
  2427. function getSPITBF : TBits_1; inline;
  2428. function getSPITUR : TBits_1; inline;
  2429. function getSRMT : TBits_1; inline;
  2430. function getTXBUFELM : TBits_5; inline;
  2431. function getw : TBits_32; inline;
  2432. procedure setFRMERR(thebits : TBits_1); inline;
  2433. procedure setRXBUFELM(thebits : TBits_5); inline;
  2434. procedure setSPIBUSY(thebits : TBits_1); inline;
  2435. procedure setSPIRBE(thebits : TBits_1); inline;
  2436. procedure setSPIRBF(thebits : TBits_1); inline;
  2437. procedure setSPIROV(thebits : TBits_1); inline;
  2438. procedure setSPITBE(thebits : TBits_1); inline;
  2439. procedure setSPITBF(thebits : TBits_1); inline;
  2440. procedure setSPITUR(thebits : TBits_1); inline;
  2441. procedure setSRMT(thebits : TBits_1); inline;
  2442. procedure setTXBUFELM(thebits : TBits_5); inline;
  2443. procedure setw(thebits : TBits_32); inline;
  2444. public
  2445. procedure clearFRMERR; inline;
  2446. procedure clearSPIBUSY; inline;
  2447. procedure clearSPIRBE; inline;
  2448. procedure clearSPIRBF; inline;
  2449. procedure clearSPIROV; inline;
  2450. procedure clearSPITBE; inline;
  2451. procedure clearSPITBF; inline;
  2452. procedure clearSPITUR; inline;
  2453. procedure clearSRMT; inline;
  2454. procedure setFRMERR; inline;
  2455. procedure setSPIBUSY; inline;
  2456. procedure setSPIRBE; inline;
  2457. procedure setSPIRBF; inline;
  2458. procedure setSPIROV; inline;
  2459. procedure setSPITBE; inline;
  2460. procedure setSPITBF; inline;
  2461. procedure setSPITUR; inline;
  2462. procedure setSRMT; inline;
  2463. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2464. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2465. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2466. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2467. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2468. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2469. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2470. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2471. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2472. property SRMT : TBits_1 read getSRMT write setSRMT;
  2473. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2474. property w : TBits_32 read getw write setw;
  2475. end;
  2476. TSPI1_SPI1CON2 = record
  2477. private
  2478. function getAUDEN : TBits_1; inline;
  2479. function getAUDMOD : TBits_2; inline;
  2480. function getAUDMOD0 : TBits_1; inline;
  2481. function getAUDMOD1 : TBits_1; inline;
  2482. function getAUDMONO : TBits_1; inline;
  2483. function getFRMERREN : TBits_1; inline;
  2484. function getIGNROV : TBits_1; inline;
  2485. function getIGNTUR : TBits_1; inline;
  2486. function getSPIROVEN : TBits_1; inline;
  2487. function getSPISGNEXT : TBits_1; inline;
  2488. function getSPITUREN : TBits_1; inline;
  2489. function getw : TBits_32; inline;
  2490. procedure setAUDEN(thebits : TBits_1); inline;
  2491. procedure setAUDMOD(thebits : TBits_2); inline;
  2492. procedure setAUDMOD0(thebits : TBits_1); inline;
  2493. procedure setAUDMOD1(thebits : TBits_1); inline;
  2494. procedure setAUDMONO(thebits : TBits_1); inline;
  2495. procedure setFRMERREN(thebits : TBits_1); inline;
  2496. procedure setIGNROV(thebits : TBits_1); inline;
  2497. procedure setIGNTUR(thebits : TBits_1); inline;
  2498. procedure setSPIROVEN(thebits : TBits_1); inline;
  2499. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2500. procedure setSPITUREN(thebits : TBits_1); inline;
  2501. procedure setw(thebits : TBits_32); inline;
  2502. public
  2503. procedure clearAUDEN; inline;
  2504. procedure clearAUDMOD0; inline;
  2505. procedure clearAUDMOD1; inline;
  2506. procedure clearAUDMONO; inline;
  2507. procedure clearFRMERREN; inline;
  2508. procedure clearIGNROV; inline;
  2509. procedure clearIGNTUR; inline;
  2510. procedure clearSPIROVEN; inline;
  2511. procedure clearSPISGNEXT; inline;
  2512. procedure clearSPITUREN; inline;
  2513. procedure setAUDEN; inline;
  2514. procedure setAUDMOD0; inline;
  2515. procedure setAUDMOD1; inline;
  2516. procedure setAUDMONO; inline;
  2517. procedure setFRMERREN; inline;
  2518. procedure setIGNROV; inline;
  2519. procedure setIGNTUR; inline;
  2520. procedure setSPIROVEN; inline;
  2521. procedure setSPISGNEXT; inline;
  2522. procedure setSPITUREN; inline;
  2523. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2524. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2525. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2526. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2527. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2528. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2529. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2530. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2531. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2532. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2533. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2534. property w : TBits_32 read getw write setw;
  2535. end;
  2536. type
  2537. TSPI1Registers = record
  2538. SPI1CONbits : TSPI1_SPI1CON;
  2539. SPI1CON : longWord;
  2540. SPI1CONCLR : longWord;
  2541. SPI1CONSET : longWord;
  2542. SPI1CONINV : longWord;
  2543. SPI1STATbits : TSPI1_SPI1STAT;
  2544. SPI1STAT : longWord;
  2545. SPI1STATCLR : longWord;
  2546. SPI1STATSET : longWord;
  2547. SPI1STATINV : longWord;
  2548. SPI1BUF : longWord;
  2549. SPI1BRG : longWord;
  2550. SPI1BRGCLR : longWord;
  2551. SPI1BRGSET : longWord;
  2552. SPI1BRGINV : longWord;
  2553. SPI1CON2bits : TSPI1_SPI1CON2;
  2554. SPI1CON2 : longWord;
  2555. SPI1CON2CLR : longWord;
  2556. SPI1CON2SET : longWord;
  2557. SPI1CON2INV : longWord;
  2558. end;
  2559. TSPI2_SPI2CON = record
  2560. private
  2561. function getCKE : TBits_1; inline;
  2562. function getCKP : TBits_1; inline;
  2563. function getDISSDI : TBits_1; inline;
  2564. function getDISSDO : TBits_1; inline;
  2565. function getENHBUF : TBits_1; inline;
  2566. function getFRMCNT : TBits_3; inline;
  2567. function getFRMEN : TBits_1; inline;
  2568. function getFRMPOL : TBits_1; inline;
  2569. function getFRMSYNC : TBits_1; inline;
  2570. function getFRMSYPW : TBits_1; inline;
  2571. function getMCLKSEL : TBits_1; inline;
  2572. function getMODE16 : TBits_1; inline;
  2573. function getMODE32 : TBits_1; inline;
  2574. function getMSSEN : TBits_1; inline;
  2575. function getMSTEN : TBits_1; inline;
  2576. function getON : TBits_1; inline;
  2577. function getSIDL : TBits_1; inline;
  2578. function getSMP : TBits_1; inline;
  2579. function getSPIFE : TBits_1; inline;
  2580. function getSRXISEL : TBits_2; inline;
  2581. function getSSEN : TBits_1; inline;
  2582. function getSTXISEL : TBits_2; inline;
  2583. function getw : TBits_32; inline;
  2584. procedure setCKE(thebits : TBits_1); inline;
  2585. procedure setCKP(thebits : TBits_1); inline;
  2586. procedure setDISSDI(thebits : TBits_1); inline;
  2587. procedure setDISSDO(thebits : TBits_1); inline;
  2588. procedure setENHBUF(thebits : TBits_1); inline;
  2589. procedure setFRMCNT(thebits : TBits_3); inline;
  2590. procedure setFRMEN(thebits : TBits_1); inline;
  2591. procedure setFRMPOL(thebits : TBits_1); inline;
  2592. procedure setFRMSYNC(thebits : TBits_1); inline;
  2593. procedure setFRMSYPW(thebits : TBits_1); inline;
  2594. procedure setMCLKSEL(thebits : TBits_1); inline;
  2595. procedure setMODE16(thebits : TBits_1); inline;
  2596. procedure setMODE32(thebits : TBits_1); inline;
  2597. procedure setMSSEN(thebits : TBits_1); inline;
  2598. procedure setMSTEN(thebits : TBits_1); inline;
  2599. procedure setON(thebits : TBits_1); inline;
  2600. procedure setSIDL(thebits : TBits_1); inline;
  2601. procedure setSMP(thebits : TBits_1); inline;
  2602. procedure setSPIFE(thebits : TBits_1); inline;
  2603. procedure setSRXISEL(thebits : TBits_2); inline;
  2604. procedure setSSEN(thebits : TBits_1); inline;
  2605. procedure setSTXISEL(thebits : TBits_2); inline;
  2606. procedure setw(thebits : TBits_32); inline;
  2607. public
  2608. procedure clearCKE; inline;
  2609. procedure clearCKP; inline;
  2610. procedure clearDISSDI; inline;
  2611. procedure clearDISSDO; inline;
  2612. procedure clearENHBUF; inline;
  2613. procedure clearFRMEN; inline;
  2614. procedure clearFRMPOL; inline;
  2615. procedure clearFRMSYNC; inline;
  2616. procedure clearFRMSYPW; inline;
  2617. procedure clearMCLKSEL; inline;
  2618. procedure clearMODE16; inline;
  2619. procedure clearMODE32; inline;
  2620. procedure clearMSSEN; inline;
  2621. procedure clearMSTEN; inline;
  2622. procedure clearON; inline;
  2623. procedure clearSIDL; inline;
  2624. procedure clearSMP; inline;
  2625. procedure clearSPIFE; inline;
  2626. procedure clearSSEN; inline;
  2627. procedure setCKE; inline;
  2628. procedure setCKP; inline;
  2629. procedure setDISSDI; inline;
  2630. procedure setDISSDO; inline;
  2631. procedure setENHBUF; inline;
  2632. procedure setFRMEN; inline;
  2633. procedure setFRMPOL; inline;
  2634. procedure setFRMSYNC; inline;
  2635. procedure setFRMSYPW; inline;
  2636. procedure setMCLKSEL; inline;
  2637. procedure setMODE16; inline;
  2638. procedure setMODE32; inline;
  2639. procedure setMSSEN; inline;
  2640. procedure setMSTEN; inline;
  2641. procedure setON; inline;
  2642. procedure setSIDL; inline;
  2643. procedure setSMP; inline;
  2644. procedure setSPIFE; inline;
  2645. procedure setSSEN; inline;
  2646. property CKE : TBits_1 read getCKE write setCKE;
  2647. property CKP : TBits_1 read getCKP write setCKP;
  2648. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2649. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2650. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2651. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2652. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2653. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2654. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2655. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2656. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2657. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2658. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2659. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2660. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2661. property ON : TBits_1 read getON write setON;
  2662. property SIDL : TBits_1 read getSIDL write setSIDL;
  2663. property SMP : TBits_1 read getSMP write setSMP;
  2664. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2665. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2666. property SSEN : TBits_1 read getSSEN write setSSEN;
  2667. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2668. property w : TBits_32 read getw write setw;
  2669. end;
  2670. TSPI2_SPI2STAT = record
  2671. private
  2672. function getFRMERR : TBits_1; inline;
  2673. function getRXBUFELM : TBits_5; inline;
  2674. function getSPIBUSY : TBits_1; inline;
  2675. function getSPIRBE : TBits_1; inline;
  2676. function getSPIRBF : TBits_1; inline;
  2677. function getSPIROV : TBits_1; inline;
  2678. function getSPITBE : TBits_1; inline;
  2679. function getSPITBF : TBits_1; inline;
  2680. function getSPITUR : TBits_1; inline;
  2681. function getSRMT : TBits_1; inline;
  2682. function getTXBUFELM : TBits_5; inline;
  2683. function getw : TBits_32; inline;
  2684. procedure setFRMERR(thebits : TBits_1); inline;
  2685. procedure setRXBUFELM(thebits : TBits_5); inline;
  2686. procedure setSPIBUSY(thebits : TBits_1); inline;
  2687. procedure setSPIRBE(thebits : TBits_1); inline;
  2688. procedure setSPIRBF(thebits : TBits_1); inline;
  2689. procedure setSPIROV(thebits : TBits_1); inline;
  2690. procedure setSPITBE(thebits : TBits_1); inline;
  2691. procedure setSPITBF(thebits : TBits_1); inline;
  2692. procedure setSPITUR(thebits : TBits_1); inline;
  2693. procedure setSRMT(thebits : TBits_1); inline;
  2694. procedure setTXBUFELM(thebits : TBits_5); inline;
  2695. procedure setw(thebits : TBits_32); inline;
  2696. public
  2697. procedure clearFRMERR; inline;
  2698. procedure clearSPIBUSY; inline;
  2699. procedure clearSPIRBE; inline;
  2700. procedure clearSPIRBF; inline;
  2701. procedure clearSPIROV; inline;
  2702. procedure clearSPITBE; inline;
  2703. procedure clearSPITBF; inline;
  2704. procedure clearSPITUR; inline;
  2705. procedure clearSRMT; inline;
  2706. procedure setFRMERR; inline;
  2707. procedure setSPIBUSY; inline;
  2708. procedure setSPIRBE; inline;
  2709. procedure setSPIRBF; inline;
  2710. procedure setSPIROV; inline;
  2711. procedure setSPITBE; inline;
  2712. procedure setSPITBF; inline;
  2713. procedure setSPITUR; inline;
  2714. procedure setSRMT; inline;
  2715. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2716. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2717. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2718. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2719. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2720. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2721. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2722. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2723. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2724. property SRMT : TBits_1 read getSRMT write setSRMT;
  2725. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2726. property w : TBits_32 read getw write setw;
  2727. end;
  2728. TSPI2_SPI2CON2 = record
  2729. private
  2730. function getAUDEN : TBits_1; inline;
  2731. function getAUDMOD : TBits_2; inline;
  2732. function getAUDMOD0 : TBits_1; inline;
  2733. function getAUDMOD1 : TBits_1; inline;
  2734. function getAUDMONO : TBits_1; inline;
  2735. function getFRMERREN : TBits_1; inline;
  2736. function getIGNROV : TBits_1; inline;
  2737. function getIGNTUR : TBits_1; inline;
  2738. function getSPIROVEN : TBits_1; inline;
  2739. function getSPISGNEXT : TBits_1; inline;
  2740. function getSPITUREN : TBits_1; inline;
  2741. function getw : TBits_32; inline;
  2742. procedure setAUDEN(thebits : TBits_1); inline;
  2743. procedure setAUDMOD(thebits : TBits_2); inline;
  2744. procedure setAUDMOD0(thebits : TBits_1); inline;
  2745. procedure setAUDMOD1(thebits : TBits_1); inline;
  2746. procedure setAUDMONO(thebits : TBits_1); inline;
  2747. procedure setFRMERREN(thebits : TBits_1); inline;
  2748. procedure setIGNROV(thebits : TBits_1); inline;
  2749. procedure setIGNTUR(thebits : TBits_1); inline;
  2750. procedure setSPIROVEN(thebits : TBits_1); inline;
  2751. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2752. procedure setSPITUREN(thebits : TBits_1); inline;
  2753. procedure setw(thebits : TBits_32); inline;
  2754. public
  2755. procedure clearAUDEN; inline;
  2756. procedure clearAUDMOD0; inline;
  2757. procedure clearAUDMOD1; inline;
  2758. procedure clearAUDMONO; inline;
  2759. procedure clearFRMERREN; inline;
  2760. procedure clearIGNROV; inline;
  2761. procedure clearIGNTUR; inline;
  2762. procedure clearSPIROVEN; inline;
  2763. procedure clearSPISGNEXT; inline;
  2764. procedure clearSPITUREN; inline;
  2765. procedure setAUDEN; inline;
  2766. procedure setAUDMOD0; inline;
  2767. procedure setAUDMOD1; inline;
  2768. procedure setAUDMONO; inline;
  2769. procedure setFRMERREN; inline;
  2770. procedure setIGNROV; inline;
  2771. procedure setIGNTUR; inline;
  2772. procedure setSPIROVEN; inline;
  2773. procedure setSPISGNEXT; inline;
  2774. procedure setSPITUREN; inline;
  2775. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2776. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2777. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2778. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2779. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2780. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2781. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2782. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2783. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2784. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2785. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2786. property w : TBits_32 read getw write setw;
  2787. end;
  2788. type
  2789. TSPI2Registers = record
  2790. SPI2CONbits : TSPI2_SPI2CON;
  2791. SPI2CON : longWord;
  2792. SPI2CONCLR : longWord;
  2793. SPI2CONSET : longWord;
  2794. SPI2CONINV : longWord;
  2795. SPI2STATbits : TSPI2_SPI2STAT;
  2796. SPI2STAT : longWord;
  2797. SPI2STATCLR : longWord;
  2798. SPI2STATSET : longWord;
  2799. SPI2STATINV : longWord;
  2800. SPI2BUF : longWord;
  2801. SPI2BRG : longWord;
  2802. SPI2BRGCLR : longWord;
  2803. SPI2BRGSET : longWord;
  2804. SPI2BRGINV : longWord;
  2805. SPI2CON2bits : TSPI2_SPI2CON2;
  2806. SPI2CON2 : longWord;
  2807. SPI2CON2CLR : longWord;
  2808. SPI2CON2SET : longWord;
  2809. SPI2CON2INV : longWord;
  2810. end;
  2811. TUART1_U1MODE = record
  2812. private
  2813. function getABAUD : TBits_1; inline;
  2814. function getBRGH : TBits_1; inline;
  2815. function getIREN : TBits_1; inline;
  2816. function getLPBACK : TBits_1; inline;
  2817. function getON : TBits_1; inline;
  2818. function getPDSEL : TBits_2; inline;
  2819. function getPDSEL0 : TBits_1; inline;
  2820. function getPDSEL1 : TBits_1; inline;
  2821. function getRTSMD : TBits_1; inline;
  2822. function getRXINV : TBits_1; inline;
  2823. function getSIDL : TBits_1; inline;
  2824. function getSTSEL : TBits_1; inline;
  2825. function getUARTEN : TBits_1; inline;
  2826. function getUEN : TBits_2; inline;
  2827. function getUEN0 : TBits_1; inline;
  2828. function getUEN1 : TBits_1; inline;
  2829. function getUSIDL : TBits_1; inline;
  2830. function getWAKE : TBits_1; inline;
  2831. function getw : TBits_32; inline;
  2832. procedure setABAUD(thebits : TBits_1); inline;
  2833. procedure setBRGH(thebits : TBits_1); inline;
  2834. procedure setIREN(thebits : TBits_1); inline;
  2835. procedure setLPBACK(thebits : TBits_1); inline;
  2836. procedure setON(thebits : TBits_1); inline;
  2837. procedure setPDSEL(thebits : TBits_2); inline;
  2838. procedure setPDSEL0(thebits : TBits_1); inline;
  2839. procedure setPDSEL1(thebits : TBits_1); inline;
  2840. procedure setRTSMD(thebits : TBits_1); inline;
  2841. procedure setRXINV(thebits : TBits_1); inline;
  2842. procedure setSIDL(thebits : TBits_1); inline;
  2843. procedure setSTSEL(thebits : TBits_1); inline;
  2844. procedure setUARTEN(thebits : TBits_1); inline;
  2845. procedure setUEN(thebits : TBits_2); inline;
  2846. procedure setUEN0(thebits : TBits_1); inline;
  2847. procedure setUEN1(thebits : TBits_1); inline;
  2848. procedure setUSIDL(thebits : TBits_1); inline;
  2849. procedure setWAKE(thebits : TBits_1); inline;
  2850. procedure setw(thebits : TBits_32); inline;
  2851. public
  2852. procedure clearABAUD; inline;
  2853. procedure clearBRGH; inline;
  2854. procedure clearIREN; inline;
  2855. procedure clearLPBACK; inline;
  2856. procedure clearON; inline;
  2857. procedure clearPDSEL0; inline;
  2858. procedure clearPDSEL1; inline;
  2859. procedure clearRTSMD; inline;
  2860. procedure clearRXINV; inline;
  2861. procedure clearSIDL; inline;
  2862. procedure clearSTSEL; inline;
  2863. procedure clearUARTEN; inline;
  2864. procedure clearUEN0; inline;
  2865. procedure clearUEN1; inline;
  2866. procedure clearUSIDL; inline;
  2867. procedure clearWAKE; inline;
  2868. procedure setABAUD; inline;
  2869. procedure setBRGH; inline;
  2870. procedure setIREN; inline;
  2871. procedure setLPBACK; inline;
  2872. procedure setON; inline;
  2873. procedure setPDSEL0; inline;
  2874. procedure setPDSEL1; inline;
  2875. procedure setRTSMD; inline;
  2876. procedure setRXINV; inline;
  2877. procedure setSIDL; inline;
  2878. procedure setSTSEL; inline;
  2879. procedure setUARTEN; inline;
  2880. procedure setUEN0; inline;
  2881. procedure setUEN1; inline;
  2882. procedure setUSIDL; inline;
  2883. procedure setWAKE; inline;
  2884. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2885. property BRGH : TBits_1 read getBRGH write setBRGH;
  2886. property IREN : TBits_1 read getIREN write setIREN;
  2887. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2888. property ON : TBits_1 read getON write setON;
  2889. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2890. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2891. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2892. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2893. property RXINV : TBits_1 read getRXINV write setRXINV;
  2894. property SIDL : TBits_1 read getSIDL write setSIDL;
  2895. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2896. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2897. property UEN : TBits_2 read getUEN write setUEN;
  2898. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2899. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2900. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2901. property WAKE : TBits_1 read getWAKE write setWAKE;
  2902. property w : TBits_32 read getw write setw;
  2903. end;
  2904. TUART1_UDCMODE = record
  2905. private
  2906. function getABAUD : TBits_1; inline;
  2907. function getBRGH : TBits_1; inline;
  2908. function getIREN : TBits_1; inline;
  2909. function getLPBACK : TBits_1; inline;
  2910. function getON : TBits_1; inline;
  2911. function getPDSEL : TBits_2; inline;
  2912. function getPDSEL0 : TBits_1; inline;
  2913. function getPDSEL1 : TBits_1; inline;
  2914. function getRTSMD : TBits_1; inline;
  2915. function getRXINV : TBits_1; inline;
  2916. function getSIDL : TBits_1; inline;
  2917. function getSTSEL : TBits_1; inline;
  2918. function getUARTEN : TBits_1; inline;
  2919. function getUEN : TBits_2; inline;
  2920. function getUEN0 : TBits_1; inline;
  2921. function getUEN1 : TBits_1; inline;
  2922. function getUSIDL : TBits_1; inline;
  2923. function getWAKE : TBits_1; inline;
  2924. function getw : TBits_32; inline;
  2925. procedure setABAUD(thebits : TBits_1); inline;
  2926. procedure setBRGH(thebits : TBits_1); inline;
  2927. procedure setIREN(thebits : TBits_1); inline;
  2928. procedure setLPBACK(thebits : TBits_1); inline;
  2929. procedure setON(thebits : TBits_1); inline;
  2930. procedure setPDSEL(thebits : TBits_2); inline;
  2931. procedure setPDSEL0(thebits : TBits_1); inline;
  2932. procedure setPDSEL1(thebits : TBits_1); inline;
  2933. procedure setRTSMD(thebits : TBits_1); inline;
  2934. procedure setRXINV(thebits : TBits_1); inline;
  2935. procedure setSIDL(thebits : TBits_1); inline;
  2936. procedure setSTSEL(thebits : TBits_1); inline;
  2937. procedure setUARTEN(thebits : TBits_1); inline;
  2938. procedure setUEN(thebits : TBits_2); inline;
  2939. procedure setUEN0(thebits : TBits_1); inline;
  2940. procedure setUEN1(thebits : TBits_1); inline;
  2941. procedure setUSIDL(thebits : TBits_1); inline;
  2942. procedure setWAKE(thebits : TBits_1); inline;
  2943. procedure setw(thebits : TBits_32); inline;
  2944. public
  2945. procedure clearABAUD; inline;
  2946. procedure clearBRGH; inline;
  2947. procedure clearIREN; inline;
  2948. procedure clearLPBACK; inline;
  2949. procedure clearON; inline;
  2950. procedure clearPDSEL0; inline;
  2951. procedure clearPDSEL1; inline;
  2952. procedure clearRTSMD; inline;
  2953. procedure clearRXINV; inline;
  2954. procedure clearSIDL; inline;
  2955. procedure clearSTSEL; inline;
  2956. procedure clearUARTEN; inline;
  2957. procedure clearUEN0; inline;
  2958. procedure clearUEN1; inline;
  2959. procedure clearUSIDL; inline;
  2960. procedure clearWAKE; inline;
  2961. procedure setABAUD; inline;
  2962. procedure setBRGH; inline;
  2963. procedure setIREN; inline;
  2964. procedure setLPBACK; inline;
  2965. procedure setON; inline;
  2966. procedure setPDSEL0; inline;
  2967. procedure setPDSEL1; inline;
  2968. procedure setRTSMD; inline;
  2969. procedure setRXINV; inline;
  2970. procedure setSIDL; inline;
  2971. procedure setSTSEL; inline;
  2972. procedure setUARTEN; inline;
  2973. procedure setUEN0; inline;
  2974. procedure setUEN1; inline;
  2975. procedure setUSIDL; inline;
  2976. procedure setWAKE; inline;
  2977. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2978. property BRGH : TBits_1 read getBRGH write setBRGH;
  2979. property IREN : TBits_1 read getIREN write setIREN;
  2980. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2981. property ON : TBits_1 read getON write setON;
  2982. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2983. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2984. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2985. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2986. property RXINV : TBits_1 read getRXINV write setRXINV;
  2987. property SIDL : TBits_1 read getSIDL write setSIDL;
  2988. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2989. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2990. property UEN : TBits_2 read getUEN write setUEN;
  2991. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2992. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2993. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2994. property WAKE : TBits_1 read getWAKE write setWAKE;
  2995. property w : TBits_32 read getw write setw;
  2996. end;
  2997. TUART1_U1STA = record
  2998. private
  2999. function getADDEN : TBits_1; inline;
  3000. function getADDR : TBits_8; inline;
  3001. function getADM_EN : TBits_1; inline;
  3002. function getFERR : TBits_1; inline;
  3003. function getOERR : TBits_1; inline;
  3004. function getPERR : TBits_1; inline;
  3005. function getRIDLE : TBits_1; inline;
  3006. function getTRMT : TBits_1; inline;
  3007. function getURXDA : TBits_1; inline;
  3008. function getURXEN : TBits_1; inline;
  3009. function getURXISEL : TBits_2; inline;
  3010. function getURXISEL0 : TBits_1; inline;
  3011. function getURXISEL1 : TBits_1; inline;
  3012. function getUTXBF : TBits_1; inline;
  3013. function getUTXBRK : TBits_1; inline;
  3014. function getUTXEN : TBits_1; inline;
  3015. function getUTXINV : TBits_1; inline;
  3016. function getUTXISEL : TBits_2; inline;
  3017. function getUTXISEL0 : TBits_1; inline;
  3018. function getUTXISEL1 : TBits_1; inline;
  3019. function getUTXSEL : TBits_2; inline;
  3020. function getw : TBits_32; inline;
  3021. procedure setADDEN(thebits : TBits_1); inline;
  3022. procedure setADDR(thebits : TBits_8); inline;
  3023. procedure setADM_EN(thebits : TBits_1); inline;
  3024. procedure setFERR(thebits : TBits_1); inline;
  3025. procedure setOERR(thebits : TBits_1); inline;
  3026. procedure setPERR(thebits : TBits_1); inline;
  3027. procedure setRIDLE(thebits : TBits_1); inline;
  3028. procedure setTRMT(thebits : TBits_1); inline;
  3029. procedure setURXDA(thebits : TBits_1); inline;
  3030. procedure setURXEN(thebits : TBits_1); inline;
  3031. procedure setURXISEL(thebits : TBits_2); inline;
  3032. procedure setURXISEL0(thebits : TBits_1); inline;
  3033. procedure setURXISEL1(thebits : TBits_1); inline;
  3034. procedure setUTXBF(thebits : TBits_1); inline;
  3035. procedure setUTXBRK(thebits : TBits_1); inline;
  3036. procedure setUTXEN(thebits : TBits_1); inline;
  3037. procedure setUTXINV(thebits : TBits_1); inline;
  3038. procedure setUTXISEL(thebits : TBits_2); inline;
  3039. procedure setUTXISEL0(thebits : TBits_1); inline;
  3040. procedure setUTXISEL1(thebits : TBits_1); inline;
  3041. procedure setUTXSEL(thebits : TBits_2); inline;
  3042. procedure setw(thebits : TBits_32); inline;
  3043. public
  3044. procedure clearADDEN; inline;
  3045. procedure clearADM_EN; inline;
  3046. procedure clearFERR; inline;
  3047. procedure clearOERR; inline;
  3048. procedure clearPERR; inline;
  3049. procedure clearRIDLE; inline;
  3050. procedure clearTRMT; inline;
  3051. procedure clearURXDA; inline;
  3052. procedure clearURXEN; inline;
  3053. procedure clearURXISEL0; inline;
  3054. procedure clearURXISEL1; inline;
  3055. procedure clearUTXBF; inline;
  3056. procedure clearUTXBRK; inline;
  3057. procedure clearUTXEN; inline;
  3058. procedure clearUTXINV; inline;
  3059. procedure clearUTXISEL0; inline;
  3060. procedure clearUTXISEL1; inline;
  3061. procedure setADDEN; inline;
  3062. procedure setADM_EN; inline;
  3063. procedure setFERR; inline;
  3064. procedure setOERR; inline;
  3065. procedure setPERR; inline;
  3066. procedure setRIDLE; inline;
  3067. procedure setTRMT; inline;
  3068. procedure setURXDA; inline;
  3069. procedure setURXEN; inline;
  3070. procedure setURXISEL0; inline;
  3071. procedure setURXISEL1; inline;
  3072. procedure setUTXBF; inline;
  3073. procedure setUTXBRK; inline;
  3074. procedure setUTXEN; inline;
  3075. procedure setUTXINV; inline;
  3076. procedure setUTXISEL0; inline;
  3077. procedure setUTXISEL1; inline;
  3078. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3079. property ADDR : TBits_8 read getADDR write setADDR;
  3080. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3081. property FERR : TBits_1 read getFERR write setFERR;
  3082. property OERR : TBits_1 read getOERR write setOERR;
  3083. property PERR : TBits_1 read getPERR write setPERR;
  3084. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3085. property TRMT : TBits_1 read getTRMT write setTRMT;
  3086. property URXDA : TBits_1 read getURXDA write setURXDA;
  3087. property URXEN : TBits_1 read getURXEN write setURXEN;
  3088. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3089. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3090. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3091. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3092. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3093. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3094. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3095. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3096. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3097. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3098. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3099. property w : TBits_32 read getw write setw;
  3100. end;
  3101. TUART1_UDCSTA = record
  3102. private
  3103. function getADDEN : TBits_1; inline;
  3104. function getADDR : TBits_8; inline;
  3105. function getADM_EN : TBits_1; inline;
  3106. function getFERR : TBits_1; inline;
  3107. function getOERR : TBits_1; inline;
  3108. function getPERR : TBits_1; inline;
  3109. function getRIDLE : TBits_1; inline;
  3110. function getTRMT : TBits_1; inline;
  3111. function getURXDA : TBits_1; inline;
  3112. function getURXEN : TBits_1; inline;
  3113. function getURXISEL : TBits_2; inline;
  3114. function getURXISEL0 : TBits_1; inline;
  3115. function getURXISEL1 : TBits_1; inline;
  3116. function getUTXBF : TBits_1; inline;
  3117. function getUTXBRK : TBits_1; inline;
  3118. function getUTXEN : TBits_1; inline;
  3119. function getUTXINV : TBits_1; inline;
  3120. function getUTXISEL : TBits_2; inline;
  3121. function getUTXISEL0 : TBits_1; inline;
  3122. function getUTXISEL1 : TBits_1; inline;
  3123. function getUTXSEL : TBits_2; inline;
  3124. function getw : TBits_32; inline;
  3125. procedure setADDEN(thebits : TBits_1); inline;
  3126. procedure setADDR(thebits : TBits_8); inline;
  3127. procedure setADM_EN(thebits : TBits_1); inline;
  3128. procedure setFERR(thebits : TBits_1); inline;
  3129. procedure setOERR(thebits : TBits_1); inline;
  3130. procedure setPERR(thebits : TBits_1); inline;
  3131. procedure setRIDLE(thebits : TBits_1); inline;
  3132. procedure setTRMT(thebits : TBits_1); inline;
  3133. procedure setURXDA(thebits : TBits_1); inline;
  3134. procedure setURXEN(thebits : TBits_1); inline;
  3135. procedure setURXISEL(thebits : TBits_2); inline;
  3136. procedure setURXISEL0(thebits : TBits_1); inline;
  3137. procedure setURXISEL1(thebits : TBits_1); inline;
  3138. procedure setUTXBF(thebits : TBits_1); inline;
  3139. procedure setUTXBRK(thebits : TBits_1); inline;
  3140. procedure setUTXEN(thebits : TBits_1); inline;
  3141. procedure setUTXINV(thebits : TBits_1); inline;
  3142. procedure setUTXISEL(thebits : TBits_2); inline;
  3143. procedure setUTXISEL0(thebits : TBits_1); inline;
  3144. procedure setUTXISEL1(thebits : TBits_1); inline;
  3145. procedure setUTXSEL(thebits : TBits_2); inline;
  3146. procedure setw(thebits : TBits_32); inline;
  3147. public
  3148. procedure clearADDEN; inline;
  3149. procedure clearADM_EN; inline;
  3150. procedure clearFERR; inline;
  3151. procedure clearOERR; inline;
  3152. procedure clearPERR; inline;
  3153. procedure clearRIDLE; inline;
  3154. procedure clearTRMT; inline;
  3155. procedure clearURXDA; inline;
  3156. procedure clearURXEN; inline;
  3157. procedure clearURXISEL0; inline;
  3158. procedure clearURXISEL1; inline;
  3159. procedure clearUTXBF; inline;
  3160. procedure clearUTXBRK; inline;
  3161. procedure clearUTXEN; inline;
  3162. procedure clearUTXINV; inline;
  3163. procedure clearUTXISEL0; inline;
  3164. procedure clearUTXISEL1; inline;
  3165. procedure setADDEN; inline;
  3166. procedure setADM_EN; inline;
  3167. procedure setFERR; inline;
  3168. procedure setOERR; inline;
  3169. procedure setPERR; inline;
  3170. procedure setRIDLE; inline;
  3171. procedure setTRMT; inline;
  3172. procedure setURXDA; inline;
  3173. procedure setURXEN; inline;
  3174. procedure setURXISEL0; inline;
  3175. procedure setURXISEL1; inline;
  3176. procedure setUTXBF; inline;
  3177. procedure setUTXBRK; inline;
  3178. procedure setUTXEN; inline;
  3179. procedure setUTXINV; inline;
  3180. procedure setUTXISEL0; inline;
  3181. procedure setUTXISEL1; inline;
  3182. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3183. property ADDR : TBits_8 read getADDR write setADDR;
  3184. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3185. property FERR : TBits_1 read getFERR write setFERR;
  3186. property OERR : TBits_1 read getOERR write setOERR;
  3187. property PERR : TBits_1 read getPERR write setPERR;
  3188. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3189. property TRMT : TBits_1 read getTRMT write setTRMT;
  3190. property URXDA : TBits_1 read getURXDA write setURXDA;
  3191. property URXEN : TBits_1 read getURXEN write setURXEN;
  3192. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3193. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3194. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3195. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3196. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3197. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3198. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3199. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3200. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3201. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3202. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3203. property w : TBits_32 read getw write setw;
  3204. end;
  3205. type
  3206. TUART1Registers = record
  3207. U1MODEbits : TUART1_U1MODE;
  3208. U1MODE : longWord;
  3209. UDCMODEbits : TUART1_UDCMODE;
  3210. UDCMODE : longWord;
  3211. U1MODECLR : longWord;
  3212. UDCMODECLR : longWord;
  3213. U1MODESET : longWord;
  3214. UDCMODESET : longWord;
  3215. U1MODEINV : longWord;
  3216. UDCMODEINV : longWord;
  3217. U1STAbits : TUART1_U1STA;
  3218. U1STA : longWord;
  3219. UDCSTAbits : TUART1_UDCSTA;
  3220. UDCSTA : longWord;
  3221. U1STACLR : longWord;
  3222. UDCSTACLR : longWord;
  3223. U1STASET : longWord;
  3224. UDCSTASET : longWord;
  3225. U1STAINV : longWord;
  3226. UDCSTAINV : longWord;
  3227. U1TXREG : longWord;
  3228. UDCTXREG : longWord;
  3229. U1RXREG : longWord;
  3230. UDCRXREG : longWord;
  3231. U1BRG : longWord;
  3232. UDCBRG : longWord;
  3233. U1BRGCLR : longWord;
  3234. UDCBRGCLR : longWord;
  3235. U1BRGSET : longWord;
  3236. UDCBRGSET : longWord;
  3237. U1BRGINV : longWord;
  3238. UDCBRGINV : longWord;
  3239. end;
  3240. TUART2_U2MODE = record
  3241. private
  3242. function getABAUD : TBits_1; inline;
  3243. function getBRGH : TBits_1; inline;
  3244. function getIREN : TBits_1; inline;
  3245. function getLPBACK : TBits_1; inline;
  3246. function getON : TBits_1; inline;
  3247. function getPDSEL : TBits_2; inline;
  3248. function getPDSEL0 : TBits_1; inline;
  3249. function getPDSEL1 : TBits_1; inline;
  3250. function getRTSMD : TBits_1; inline;
  3251. function getRXINV : TBits_1; inline;
  3252. function getSIDL : TBits_1; inline;
  3253. function getSTSEL : TBits_1; inline;
  3254. function getUARTEN : TBits_1; inline;
  3255. function getUEN : TBits_2; inline;
  3256. function getUEN0 : TBits_1; inline;
  3257. function getUEN1 : TBits_1; inline;
  3258. function getUSIDL : TBits_1; inline;
  3259. function getWAKE : TBits_1; inline;
  3260. function getw : TBits_32; inline;
  3261. procedure setABAUD(thebits : TBits_1); inline;
  3262. procedure setBRGH(thebits : TBits_1); inline;
  3263. procedure setIREN(thebits : TBits_1); inline;
  3264. procedure setLPBACK(thebits : TBits_1); inline;
  3265. procedure setON(thebits : TBits_1); inline;
  3266. procedure setPDSEL(thebits : TBits_2); inline;
  3267. procedure setPDSEL0(thebits : TBits_1); inline;
  3268. procedure setPDSEL1(thebits : TBits_1); inline;
  3269. procedure setRTSMD(thebits : TBits_1); inline;
  3270. procedure setRXINV(thebits : TBits_1); inline;
  3271. procedure setSIDL(thebits : TBits_1); inline;
  3272. procedure setSTSEL(thebits : TBits_1); inline;
  3273. procedure setUARTEN(thebits : TBits_1); inline;
  3274. procedure setUEN(thebits : TBits_2); inline;
  3275. procedure setUEN0(thebits : TBits_1); inline;
  3276. procedure setUEN1(thebits : TBits_1); inline;
  3277. procedure setUSIDL(thebits : TBits_1); inline;
  3278. procedure setWAKE(thebits : TBits_1); inline;
  3279. procedure setw(thebits : TBits_32); inline;
  3280. public
  3281. procedure clearABAUD; inline;
  3282. procedure clearBRGH; inline;
  3283. procedure clearIREN; inline;
  3284. procedure clearLPBACK; inline;
  3285. procedure clearON; inline;
  3286. procedure clearPDSEL0; inline;
  3287. procedure clearPDSEL1; inline;
  3288. procedure clearRTSMD; inline;
  3289. procedure clearRXINV; inline;
  3290. procedure clearSIDL; inline;
  3291. procedure clearSTSEL; inline;
  3292. procedure clearUARTEN; inline;
  3293. procedure clearUEN0; inline;
  3294. procedure clearUEN1; inline;
  3295. procedure clearUSIDL; inline;
  3296. procedure clearWAKE; inline;
  3297. procedure setABAUD; inline;
  3298. procedure setBRGH; inline;
  3299. procedure setIREN; inline;
  3300. procedure setLPBACK; inline;
  3301. procedure setON; inline;
  3302. procedure setPDSEL0; inline;
  3303. procedure setPDSEL1; inline;
  3304. procedure setRTSMD; inline;
  3305. procedure setRXINV; inline;
  3306. procedure setSIDL; inline;
  3307. procedure setSTSEL; inline;
  3308. procedure setUARTEN; inline;
  3309. procedure setUEN0; inline;
  3310. procedure setUEN1; inline;
  3311. procedure setUSIDL; inline;
  3312. procedure setWAKE; inline;
  3313. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3314. property BRGH : TBits_1 read getBRGH write setBRGH;
  3315. property IREN : TBits_1 read getIREN write setIREN;
  3316. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3317. property ON : TBits_1 read getON write setON;
  3318. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3319. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3320. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3321. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3322. property RXINV : TBits_1 read getRXINV write setRXINV;
  3323. property SIDL : TBits_1 read getSIDL write setSIDL;
  3324. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3325. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3326. property UEN : TBits_2 read getUEN write setUEN;
  3327. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3328. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3329. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3330. property WAKE : TBits_1 read getWAKE write setWAKE;
  3331. property w : TBits_32 read getw write setw;
  3332. end;
  3333. TUART2_U8932MODE = record
  3334. private
  3335. function getABAUD : TBits_1; inline;
  3336. function getBRGH : TBits_1; inline;
  3337. function getIREN : TBits_1; inline;
  3338. function getLPBACK : TBits_1; inline;
  3339. function getON : TBits_1; inline;
  3340. function getPDSEL : TBits_2; inline;
  3341. function getPDSEL0 : TBits_1; inline;
  3342. function getPDSEL1 : TBits_1; inline;
  3343. function getRTSMD : TBits_1; inline;
  3344. function getRXINV : TBits_1; inline;
  3345. function getSIDL : TBits_1; inline;
  3346. function getSTSEL : TBits_1; inline;
  3347. function getUARTEN : TBits_1; inline;
  3348. function getUEN : TBits_2; inline;
  3349. function getUEN0 : TBits_1; inline;
  3350. function getUEN1 : TBits_1; inline;
  3351. function getUSIDL : TBits_1; inline;
  3352. function getWAKE : TBits_1; inline;
  3353. function getw : TBits_32; inline;
  3354. procedure setABAUD(thebits : TBits_1); inline;
  3355. procedure setBRGH(thebits : TBits_1); inline;
  3356. procedure setIREN(thebits : TBits_1); inline;
  3357. procedure setLPBACK(thebits : TBits_1); inline;
  3358. procedure setON(thebits : TBits_1); inline;
  3359. procedure setPDSEL(thebits : TBits_2); inline;
  3360. procedure setPDSEL0(thebits : TBits_1); inline;
  3361. procedure setPDSEL1(thebits : TBits_1); inline;
  3362. procedure setRTSMD(thebits : TBits_1); inline;
  3363. procedure setRXINV(thebits : TBits_1); inline;
  3364. procedure setSIDL(thebits : TBits_1); inline;
  3365. procedure setSTSEL(thebits : TBits_1); inline;
  3366. procedure setUARTEN(thebits : TBits_1); inline;
  3367. procedure setUEN(thebits : TBits_2); inline;
  3368. procedure setUEN0(thebits : TBits_1); inline;
  3369. procedure setUEN1(thebits : TBits_1); inline;
  3370. procedure setUSIDL(thebits : TBits_1); inline;
  3371. procedure setWAKE(thebits : TBits_1); inline;
  3372. procedure setw(thebits : TBits_32); inline;
  3373. public
  3374. procedure clearABAUD; inline;
  3375. procedure clearBRGH; inline;
  3376. procedure clearIREN; inline;
  3377. procedure clearLPBACK; inline;
  3378. procedure clearON; inline;
  3379. procedure clearPDSEL0; inline;
  3380. procedure clearPDSEL1; inline;
  3381. procedure clearRTSMD; inline;
  3382. procedure clearRXINV; inline;
  3383. procedure clearSIDL; inline;
  3384. procedure clearSTSEL; inline;
  3385. procedure clearUARTEN; inline;
  3386. procedure clearUEN0; inline;
  3387. procedure clearUEN1; inline;
  3388. procedure clearUSIDL; inline;
  3389. procedure clearWAKE; inline;
  3390. procedure setABAUD; inline;
  3391. procedure setBRGH; inline;
  3392. procedure setIREN; inline;
  3393. procedure setLPBACK; inline;
  3394. procedure setON; inline;
  3395. procedure setPDSEL0; inline;
  3396. procedure setPDSEL1; inline;
  3397. procedure setRTSMD; inline;
  3398. procedure setRXINV; inline;
  3399. procedure setSIDL; inline;
  3400. procedure setSTSEL; inline;
  3401. procedure setUARTEN; inline;
  3402. procedure setUEN0; inline;
  3403. procedure setUEN1; inline;
  3404. procedure setUSIDL; inline;
  3405. procedure setWAKE; inline;
  3406. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3407. property BRGH : TBits_1 read getBRGH write setBRGH;
  3408. property IREN : TBits_1 read getIREN write setIREN;
  3409. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3410. property ON : TBits_1 read getON write setON;
  3411. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3412. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3413. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3414. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3415. property RXINV : TBits_1 read getRXINV write setRXINV;
  3416. property SIDL : TBits_1 read getSIDL write setSIDL;
  3417. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3418. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3419. property UEN : TBits_2 read getUEN write setUEN;
  3420. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3421. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3422. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3423. property WAKE : TBits_1 read getWAKE write setWAKE;
  3424. property w : TBits_32 read getw write setw;
  3425. end;
  3426. TUART2_U2STA = record
  3427. private
  3428. function getADDEN : TBits_1; inline;
  3429. function getADDR : TBits_8; inline;
  3430. function getADM_EN : TBits_1; inline;
  3431. function getFERR : TBits_1; inline;
  3432. function getOERR : TBits_1; inline;
  3433. function getPERR : TBits_1; inline;
  3434. function getRIDLE : TBits_1; inline;
  3435. function getTRMT : TBits_1; inline;
  3436. function getURXDA : TBits_1; inline;
  3437. function getURXEN : TBits_1; inline;
  3438. function getURXISEL : TBits_2; inline;
  3439. function getURXISEL0 : TBits_1; inline;
  3440. function getURXISEL1 : TBits_1; inline;
  3441. function getUTXBF : TBits_1; inline;
  3442. function getUTXBRK : TBits_1; inline;
  3443. function getUTXEN : TBits_1; inline;
  3444. function getUTXINV : TBits_1; inline;
  3445. function getUTXISEL : TBits_2; inline;
  3446. function getUTXISEL0 : TBits_1; inline;
  3447. function getUTXISEL1 : TBits_1; inline;
  3448. function getUTXSEL : TBits_2; inline;
  3449. function getw : TBits_32; inline;
  3450. procedure setADDEN(thebits : TBits_1); inline;
  3451. procedure setADDR(thebits : TBits_8); inline;
  3452. procedure setADM_EN(thebits : TBits_1); inline;
  3453. procedure setFERR(thebits : TBits_1); inline;
  3454. procedure setOERR(thebits : TBits_1); inline;
  3455. procedure setPERR(thebits : TBits_1); inline;
  3456. procedure setRIDLE(thebits : TBits_1); inline;
  3457. procedure setTRMT(thebits : TBits_1); inline;
  3458. procedure setURXDA(thebits : TBits_1); inline;
  3459. procedure setURXEN(thebits : TBits_1); inline;
  3460. procedure setURXISEL(thebits : TBits_2); inline;
  3461. procedure setURXISEL0(thebits : TBits_1); inline;
  3462. procedure setURXISEL1(thebits : TBits_1); inline;
  3463. procedure setUTXBF(thebits : TBits_1); inline;
  3464. procedure setUTXBRK(thebits : TBits_1); inline;
  3465. procedure setUTXEN(thebits : TBits_1); inline;
  3466. procedure setUTXINV(thebits : TBits_1); inline;
  3467. procedure setUTXISEL(thebits : TBits_2); inline;
  3468. procedure setUTXISEL0(thebits : TBits_1); inline;
  3469. procedure setUTXISEL1(thebits : TBits_1); inline;
  3470. procedure setUTXSEL(thebits : TBits_2); inline;
  3471. procedure setw(thebits : TBits_32); inline;
  3472. public
  3473. procedure clearADDEN; inline;
  3474. procedure clearADM_EN; inline;
  3475. procedure clearFERR; inline;
  3476. procedure clearOERR; inline;
  3477. procedure clearPERR; inline;
  3478. procedure clearRIDLE; inline;
  3479. procedure clearTRMT; inline;
  3480. procedure clearURXDA; inline;
  3481. procedure clearURXEN; inline;
  3482. procedure clearURXISEL0; inline;
  3483. procedure clearURXISEL1; inline;
  3484. procedure clearUTXBF; inline;
  3485. procedure clearUTXBRK; inline;
  3486. procedure clearUTXEN; inline;
  3487. procedure clearUTXINV; inline;
  3488. procedure clearUTXISEL0; inline;
  3489. procedure clearUTXISEL1; inline;
  3490. procedure setADDEN; inline;
  3491. procedure setADM_EN; inline;
  3492. procedure setFERR; inline;
  3493. procedure setOERR; inline;
  3494. procedure setPERR; inline;
  3495. procedure setRIDLE; inline;
  3496. procedure setTRMT; inline;
  3497. procedure setURXDA; inline;
  3498. procedure setURXEN; inline;
  3499. procedure setURXISEL0; inline;
  3500. procedure setURXISEL1; inline;
  3501. procedure setUTXBF; inline;
  3502. procedure setUTXBRK; inline;
  3503. procedure setUTXEN; inline;
  3504. procedure setUTXINV; inline;
  3505. procedure setUTXISEL0; inline;
  3506. procedure setUTXISEL1; inline;
  3507. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3508. property ADDR : TBits_8 read getADDR write setADDR;
  3509. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3510. property FERR : TBits_1 read getFERR write setFERR;
  3511. property OERR : TBits_1 read getOERR write setOERR;
  3512. property PERR : TBits_1 read getPERR write setPERR;
  3513. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3514. property TRMT : TBits_1 read getTRMT write setTRMT;
  3515. property URXDA : TBits_1 read getURXDA write setURXDA;
  3516. property URXEN : TBits_1 read getURXEN write setURXEN;
  3517. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3518. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3519. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3520. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3521. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3522. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3523. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3524. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3525. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3526. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3527. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3528. property w : TBits_32 read getw write setw;
  3529. end;
  3530. TUART2_U8932STA = record
  3531. private
  3532. function getADDEN : TBits_1; inline;
  3533. function getADDR : TBits_8; inline;
  3534. function getADM_EN : TBits_1; inline;
  3535. function getFERR : TBits_1; inline;
  3536. function getOERR : TBits_1; inline;
  3537. function getPERR : TBits_1; inline;
  3538. function getRIDLE : TBits_1; inline;
  3539. function getTRMT : TBits_1; inline;
  3540. function getURXDA : TBits_1; inline;
  3541. function getURXEN : TBits_1; inline;
  3542. function getURXISEL : TBits_2; inline;
  3543. function getURXISEL0 : TBits_1; inline;
  3544. function getURXISEL1 : TBits_1; inline;
  3545. function getUTXBF : TBits_1; inline;
  3546. function getUTXBRK : TBits_1; inline;
  3547. function getUTXEN : TBits_1; inline;
  3548. function getUTXINV : TBits_1; inline;
  3549. function getUTXISEL : TBits_2; inline;
  3550. function getUTXISEL0 : TBits_1; inline;
  3551. function getUTXISEL1 : TBits_1; inline;
  3552. function getUTXSEL : TBits_2; inline;
  3553. function getw : TBits_32; inline;
  3554. procedure setADDEN(thebits : TBits_1); inline;
  3555. procedure setADDR(thebits : TBits_8); inline;
  3556. procedure setADM_EN(thebits : TBits_1); inline;
  3557. procedure setFERR(thebits : TBits_1); inline;
  3558. procedure setOERR(thebits : TBits_1); inline;
  3559. procedure setPERR(thebits : TBits_1); inline;
  3560. procedure setRIDLE(thebits : TBits_1); inline;
  3561. procedure setTRMT(thebits : TBits_1); inline;
  3562. procedure setURXDA(thebits : TBits_1); inline;
  3563. procedure setURXEN(thebits : TBits_1); inline;
  3564. procedure setURXISEL(thebits : TBits_2); inline;
  3565. procedure setURXISEL0(thebits : TBits_1); inline;
  3566. procedure setURXISEL1(thebits : TBits_1); inline;
  3567. procedure setUTXBF(thebits : TBits_1); inline;
  3568. procedure setUTXBRK(thebits : TBits_1); inline;
  3569. procedure setUTXEN(thebits : TBits_1); inline;
  3570. procedure setUTXINV(thebits : TBits_1); inline;
  3571. procedure setUTXISEL(thebits : TBits_2); inline;
  3572. procedure setUTXISEL0(thebits : TBits_1); inline;
  3573. procedure setUTXISEL1(thebits : TBits_1); inline;
  3574. procedure setUTXSEL(thebits : TBits_2); inline;
  3575. procedure setw(thebits : TBits_32); inline;
  3576. public
  3577. procedure clearADDEN; inline;
  3578. procedure clearADM_EN; inline;
  3579. procedure clearFERR; inline;
  3580. procedure clearOERR; inline;
  3581. procedure clearPERR; inline;
  3582. procedure clearRIDLE; inline;
  3583. procedure clearTRMT; inline;
  3584. procedure clearURXDA; inline;
  3585. procedure clearURXEN; inline;
  3586. procedure clearURXISEL0; inline;
  3587. procedure clearURXISEL1; inline;
  3588. procedure clearUTXBF; inline;
  3589. procedure clearUTXBRK; inline;
  3590. procedure clearUTXEN; inline;
  3591. procedure clearUTXINV; inline;
  3592. procedure clearUTXISEL0; inline;
  3593. procedure clearUTXISEL1; inline;
  3594. procedure setADDEN; inline;
  3595. procedure setADM_EN; inline;
  3596. procedure setFERR; inline;
  3597. procedure setOERR; inline;
  3598. procedure setPERR; inline;
  3599. procedure setRIDLE; inline;
  3600. procedure setTRMT; inline;
  3601. procedure setURXDA; inline;
  3602. procedure setURXEN; inline;
  3603. procedure setURXISEL0; inline;
  3604. procedure setURXISEL1; inline;
  3605. procedure setUTXBF; inline;
  3606. procedure setUTXBRK; inline;
  3607. procedure setUTXEN; inline;
  3608. procedure setUTXINV; inline;
  3609. procedure setUTXISEL0; inline;
  3610. procedure setUTXISEL1; inline;
  3611. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3612. property ADDR : TBits_8 read getADDR write setADDR;
  3613. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3614. property FERR : TBits_1 read getFERR write setFERR;
  3615. property OERR : TBits_1 read getOERR write setOERR;
  3616. property PERR : TBits_1 read getPERR write setPERR;
  3617. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3618. property TRMT : TBits_1 read getTRMT write setTRMT;
  3619. property URXDA : TBits_1 read getURXDA write setURXDA;
  3620. property URXEN : TBits_1 read getURXEN write setURXEN;
  3621. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3622. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3623. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3624. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3625. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3626. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3627. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3628. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3629. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3630. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3631. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3632. property w : TBits_32 read getw write setw;
  3633. end;
  3634. type
  3635. TUART2Registers = record
  3636. U2MODEbits : TUART2_U2MODE;
  3637. U2MODE : longWord;
  3638. U8932MODEbits : TUART2_U8932MODE;
  3639. U8932MODE : longWord;
  3640. U2MODECLR : longWord;
  3641. U8932MODECLR : longWord;
  3642. U2MODESET : longWord;
  3643. U8932MODESET : longWord;
  3644. U2MODEINV : longWord;
  3645. U8932MODEINV : longWord;
  3646. U2STAbits : TUART2_U2STA;
  3647. U2STA : longWord;
  3648. U8932STAbits : TUART2_U8932STA;
  3649. U8932STA : longWord;
  3650. U2STACLR : longWord;
  3651. U8932STACLR : longWord;
  3652. U2STASET : longWord;
  3653. U8932STASET : longWord;
  3654. U2STAINV : longWord;
  3655. U8932STAINV : longWord;
  3656. U2TXREG : longWord;
  3657. U8932TXREG : longWord;
  3658. U2RXREG : longWord;
  3659. U8932RXREG : longWord;
  3660. U2BRG : longWord;
  3661. U8932BRG : longWord;
  3662. U2BRGCLR : longWord;
  3663. U8932BRGCLR : longWord;
  3664. U2BRGSET : longWord;
  3665. U8932BRGSET : longWord;
  3666. U2BRGINV : longWord;
  3667. U8932BRGINV : longWord;
  3668. end;
  3669. TUART3_U39MODE = record
  3670. private
  3671. function getABAUD : TBits_1; inline;
  3672. function getBRGH : TBits_1; inline;
  3673. function getIREN : TBits_1; inline;
  3674. function getLPBACK : TBits_1; inline;
  3675. function getON : TBits_1; inline;
  3676. function getPDSEL : TBits_2; inline;
  3677. function getPDSEL0 : TBits_1; inline;
  3678. function getPDSEL1 : TBits_1; inline;
  3679. function getRTSMD : TBits_1; inline;
  3680. function getRXINV : TBits_1; inline;
  3681. function getSIDL : TBits_1; inline;
  3682. function getSTSEL : TBits_1; inline;
  3683. function getUARTEN : TBits_1; inline;
  3684. function getUEN : TBits_2; inline;
  3685. function getUEN0 : TBits_1; inline;
  3686. function getUEN1 : TBits_1; inline;
  3687. function getUSIDL : TBits_1; inline;
  3688. function getWAKE : TBits_1; inline;
  3689. function getw : TBits_32; inline;
  3690. procedure setABAUD(thebits : TBits_1); inline;
  3691. procedure setBRGH(thebits : TBits_1); inline;
  3692. procedure setIREN(thebits : TBits_1); inline;
  3693. procedure setLPBACK(thebits : TBits_1); inline;
  3694. procedure setON(thebits : TBits_1); inline;
  3695. procedure setPDSEL(thebits : TBits_2); inline;
  3696. procedure setPDSEL0(thebits : TBits_1); inline;
  3697. procedure setPDSEL1(thebits : TBits_1); inline;
  3698. procedure setRTSMD(thebits : TBits_1); inline;
  3699. procedure setRXINV(thebits : TBits_1); inline;
  3700. procedure setSIDL(thebits : TBits_1); inline;
  3701. procedure setSTSEL(thebits : TBits_1); inline;
  3702. procedure setUARTEN(thebits : TBits_1); inline;
  3703. procedure setUEN(thebits : TBits_2); inline;
  3704. procedure setUEN0(thebits : TBits_1); inline;
  3705. procedure setUEN1(thebits : TBits_1); inline;
  3706. procedure setUSIDL(thebits : TBits_1); inline;
  3707. procedure setWAKE(thebits : TBits_1); inline;
  3708. procedure setw(thebits : TBits_32); inline;
  3709. public
  3710. procedure clearABAUD; inline;
  3711. procedure clearBRGH; inline;
  3712. procedure clearIREN; inline;
  3713. procedure clearLPBACK; inline;
  3714. procedure clearON; inline;
  3715. procedure clearPDSEL0; inline;
  3716. procedure clearPDSEL1; inline;
  3717. procedure clearRTSMD; inline;
  3718. procedure clearRXINV; inline;
  3719. procedure clearSIDL; inline;
  3720. procedure clearSTSEL; inline;
  3721. procedure clearUARTEN; inline;
  3722. procedure clearUEN0; inline;
  3723. procedure clearUEN1; inline;
  3724. procedure clearUSIDL; inline;
  3725. procedure clearWAKE; inline;
  3726. procedure setABAUD; inline;
  3727. procedure setBRGH; inline;
  3728. procedure setIREN; inline;
  3729. procedure setLPBACK; inline;
  3730. procedure setON; inline;
  3731. procedure setPDSEL0; inline;
  3732. procedure setPDSEL1; inline;
  3733. procedure setRTSMD; inline;
  3734. procedure setRXINV; inline;
  3735. procedure setSIDL; inline;
  3736. procedure setSTSEL; inline;
  3737. procedure setUARTEN; inline;
  3738. procedure setUEN0; inline;
  3739. procedure setUEN1; inline;
  3740. procedure setUSIDL; inline;
  3741. procedure setWAKE; inline;
  3742. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3743. property BRGH : TBits_1 read getBRGH write setBRGH;
  3744. property IREN : TBits_1 read getIREN write setIREN;
  3745. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3746. property ON : TBits_1 read getON write setON;
  3747. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3748. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3749. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3750. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3751. property RXINV : TBits_1 read getRXINV write setRXINV;
  3752. property SIDL : TBits_1 read getSIDL write setSIDL;
  3753. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3754. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3755. property UEN : TBits_2 read getUEN write setUEN;
  3756. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3757. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3758. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3759. property WAKE : TBits_1 read getWAKE write setWAKE;
  3760. property w : TBits_32 read getw write setw;
  3761. end;
  3762. TUART3_U3MODE = record
  3763. private
  3764. function getABAUD : TBits_1; inline;
  3765. function getBRGH : TBits_1; inline;
  3766. function getIREN : TBits_1; inline;
  3767. function getLPBACK : TBits_1; inline;
  3768. function getON : TBits_1; inline;
  3769. function getPDSEL : TBits_2; inline;
  3770. function getPDSEL0 : TBits_1; inline;
  3771. function getPDSEL1 : TBits_1; inline;
  3772. function getRTSMD : TBits_1; inline;
  3773. function getRXINV : TBits_1; inline;
  3774. function getSIDL : TBits_1; inline;
  3775. function getSTSEL : TBits_1; inline;
  3776. function getUARTEN : TBits_1; inline;
  3777. function getUEN : TBits_2; inline;
  3778. function getUEN0 : TBits_1; inline;
  3779. function getUEN1 : TBits_1; inline;
  3780. function getUSIDL : TBits_1; inline;
  3781. function getWAKE : TBits_1; inline;
  3782. function getw : TBits_32; inline;
  3783. procedure setABAUD(thebits : TBits_1); inline;
  3784. procedure setBRGH(thebits : TBits_1); inline;
  3785. procedure setIREN(thebits : TBits_1); inline;
  3786. procedure setLPBACK(thebits : TBits_1); inline;
  3787. procedure setON(thebits : TBits_1); inline;
  3788. procedure setPDSEL(thebits : TBits_2); inline;
  3789. procedure setPDSEL0(thebits : TBits_1); inline;
  3790. procedure setPDSEL1(thebits : TBits_1); inline;
  3791. procedure setRTSMD(thebits : TBits_1); inline;
  3792. procedure setRXINV(thebits : TBits_1); inline;
  3793. procedure setSIDL(thebits : TBits_1); inline;
  3794. procedure setSTSEL(thebits : TBits_1); inline;
  3795. procedure setUARTEN(thebits : TBits_1); inline;
  3796. procedure setUEN(thebits : TBits_2); inline;
  3797. procedure setUEN0(thebits : TBits_1); inline;
  3798. procedure setUEN1(thebits : TBits_1); inline;
  3799. procedure setUSIDL(thebits : TBits_1); inline;
  3800. procedure setWAKE(thebits : TBits_1); inline;
  3801. procedure setw(thebits : TBits_32); inline;
  3802. public
  3803. procedure clearABAUD; inline;
  3804. procedure clearBRGH; inline;
  3805. procedure clearIREN; inline;
  3806. procedure clearLPBACK; inline;
  3807. procedure clearON; inline;
  3808. procedure clearPDSEL0; inline;
  3809. procedure clearPDSEL1; inline;
  3810. procedure clearRTSMD; inline;
  3811. procedure clearRXINV; inline;
  3812. procedure clearSIDL; inline;
  3813. procedure clearSTSEL; inline;
  3814. procedure clearUARTEN; inline;
  3815. procedure clearUEN0; inline;
  3816. procedure clearUEN1; inline;
  3817. procedure clearUSIDL; inline;
  3818. procedure clearWAKE; inline;
  3819. procedure setABAUD; inline;
  3820. procedure setBRGH; inline;
  3821. procedure setIREN; inline;
  3822. procedure setLPBACK; inline;
  3823. procedure setON; inline;
  3824. procedure setPDSEL0; inline;
  3825. procedure setPDSEL1; inline;
  3826. procedure setRTSMD; inline;
  3827. procedure setRXINV; inline;
  3828. procedure setSIDL; inline;
  3829. procedure setSTSEL; inline;
  3830. procedure setUARTEN; inline;
  3831. procedure setUEN0; inline;
  3832. procedure setUEN1; inline;
  3833. procedure setUSIDL; inline;
  3834. procedure setWAKE; inline;
  3835. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3836. property BRGH : TBits_1 read getBRGH write setBRGH;
  3837. property IREN : TBits_1 read getIREN write setIREN;
  3838. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3839. property ON : TBits_1 read getON write setON;
  3840. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3841. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3842. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3843. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3844. property RXINV : TBits_1 read getRXINV write setRXINV;
  3845. property SIDL : TBits_1 read getSIDL write setSIDL;
  3846. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3847. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3848. property UEN : TBits_2 read getUEN write setUEN;
  3849. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3850. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3851. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3852. property WAKE : TBits_1 read getWAKE write setWAKE;
  3853. property w : TBits_32 read getw write setw;
  3854. end;
  3855. TUART3_U39STA = record
  3856. private
  3857. function getADDEN : TBits_1; inline;
  3858. function getADDR : TBits_8; inline;
  3859. function getADM_EN : TBits_1; inline;
  3860. function getFERR : TBits_1; inline;
  3861. function getOERR : TBits_1; inline;
  3862. function getPERR : TBits_1; inline;
  3863. function getRIDLE : TBits_1; inline;
  3864. function getTRMT : TBits_1; inline;
  3865. function getURXDA : TBits_1; inline;
  3866. function getURXEN : TBits_1; inline;
  3867. function getURXISEL : TBits_2; inline;
  3868. function getURXISEL0 : TBits_1; inline;
  3869. function getURXISEL1 : TBits_1; inline;
  3870. function getUTXBF : TBits_1; inline;
  3871. function getUTXBRK : TBits_1; inline;
  3872. function getUTXEN : TBits_1; inline;
  3873. function getUTXINV : TBits_1; inline;
  3874. function getUTXISEL : TBits_2; inline;
  3875. function getUTXISEL0 : TBits_1; inline;
  3876. function getUTXISEL1 : TBits_1; inline;
  3877. function getUTXSEL : TBits_2; inline;
  3878. function getw : TBits_32; inline;
  3879. procedure setADDEN(thebits : TBits_1); inline;
  3880. procedure setADDR(thebits : TBits_8); inline;
  3881. procedure setADM_EN(thebits : TBits_1); inline;
  3882. procedure setFERR(thebits : TBits_1); inline;
  3883. procedure setOERR(thebits : TBits_1); inline;
  3884. procedure setPERR(thebits : TBits_1); inline;
  3885. procedure setRIDLE(thebits : TBits_1); inline;
  3886. procedure setTRMT(thebits : TBits_1); inline;
  3887. procedure setURXDA(thebits : TBits_1); inline;
  3888. procedure setURXEN(thebits : TBits_1); inline;
  3889. procedure setURXISEL(thebits : TBits_2); inline;
  3890. procedure setURXISEL0(thebits : TBits_1); inline;
  3891. procedure setURXISEL1(thebits : TBits_1); inline;
  3892. procedure setUTXBF(thebits : TBits_1); inline;
  3893. procedure setUTXBRK(thebits : TBits_1); inline;
  3894. procedure setUTXEN(thebits : TBits_1); inline;
  3895. procedure setUTXINV(thebits : TBits_1); inline;
  3896. procedure setUTXISEL(thebits : TBits_2); inline;
  3897. procedure setUTXISEL0(thebits : TBits_1); inline;
  3898. procedure setUTXISEL1(thebits : TBits_1); inline;
  3899. procedure setUTXSEL(thebits : TBits_2); inline;
  3900. procedure setw(thebits : TBits_32); inline;
  3901. public
  3902. procedure clearADDEN; inline;
  3903. procedure clearADM_EN; inline;
  3904. procedure clearFERR; inline;
  3905. procedure clearOERR; inline;
  3906. procedure clearPERR; inline;
  3907. procedure clearRIDLE; inline;
  3908. procedure clearTRMT; inline;
  3909. procedure clearURXDA; inline;
  3910. procedure clearURXEN; inline;
  3911. procedure clearURXISEL0; inline;
  3912. procedure clearURXISEL1; inline;
  3913. procedure clearUTXBF; inline;
  3914. procedure clearUTXBRK; inline;
  3915. procedure clearUTXEN; inline;
  3916. procedure clearUTXINV; inline;
  3917. procedure clearUTXISEL0; inline;
  3918. procedure clearUTXISEL1; inline;
  3919. procedure setADDEN; inline;
  3920. procedure setADM_EN; inline;
  3921. procedure setFERR; inline;
  3922. procedure setOERR; inline;
  3923. procedure setPERR; inline;
  3924. procedure setRIDLE; inline;
  3925. procedure setTRMT; inline;
  3926. procedure setURXDA; inline;
  3927. procedure setURXEN; inline;
  3928. procedure setURXISEL0; inline;
  3929. procedure setURXISEL1; inline;
  3930. procedure setUTXBF; inline;
  3931. procedure setUTXBRK; inline;
  3932. procedure setUTXEN; inline;
  3933. procedure setUTXINV; inline;
  3934. procedure setUTXISEL0; inline;
  3935. procedure setUTXISEL1; inline;
  3936. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3937. property ADDR : TBits_8 read getADDR write setADDR;
  3938. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3939. property FERR : TBits_1 read getFERR write setFERR;
  3940. property OERR : TBits_1 read getOERR write setOERR;
  3941. property PERR : TBits_1 read getPERR write setPERR;
  3942. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3943. property TRMT : TBits_1 read getTRMT write setTRMT;
  3944. property URXDA : TBits_1 read getURXDA write setURXDA;
  3945. property URXEN : TBits_1 read getURXEN write setURXEN;
  3946. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3947. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3948. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3949. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3950. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3951. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3952. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3953. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3954. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3955. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3956. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3957. property w : TBits_32 read getw write setw;
  3958. end;
  3959. TUART3_U3STA = record
  3960. private
  3961. function getADDEN : TBits_1; inline;
  3962. function getADDR : TBits_8; inline;
  3963. function getADM_EN : TBits_1; inline;
  3964. function getFERR : TBits_1; inline;
  3965. function getOERR : TBits_1; inline;
  3966. function getPERR : TBits_1; inline;
  3967. function getRIDLE : TBits_1; inline;
  3968. function getTRMT : TBits_1; inline;
  3969. function getURXDA : TBits_1; inline;
  3970. function getURXEN : TBits_1; inline;
  3971. function getURXISEL : TBits_2; inline;
  3972. function getURXISEL0 : TBits_1; inline;
  3973. function getURXISEL1 : TBits_1; inline;
  3974. function getUTXBF : TBits_1; inline;
  3975. function getUTXBRK : TBits_1; inline;
  3976. function getUTXEN : TBits_1; inline;
  3977. function getUTXINV : TBits_1; inline;
  3978. function getUTXISEL : TBits_2; inline;
  3979. function getUTXISEL0 : TBits_1; inline;
  3980. function getUTXISEL1 : TBits_1; inline;
  3981. function getUTXSEL : TBits_2; inline;
  3982. function getw : TBits_32; inline;
  3983. procedure setADDEN(thebits : TBits_1); inline;
  3984. procedure setADDR(thebits : TBits_8); inline;
  3985. procedure setADM_EN(thebits : TBits_1); inline;
  3986. procedure setFERR(thebits : TBits_1); inline;
  3987. procedure setOERR(thebits : TBits_1); inline;
  3988. procedure setPERR(thebits : TBits_1); inline;
  3989. procedure setRIDLE(thebits : TBits_1); inline;
  3990. procedure setTRMT(thebits : TBits_1); inline;
  3991. procedure setURXDA(thebits : TBits_1); inline;
  3992. procedure setURXEN(thebits : TBits_1); inline;
  3993. procedure setURXISEL(thebits : TBits_2); inline;
  3994. procedure setURXISEL0(thebits : TBits_1); inline;
  3995. procedure setURXISEL1(thebits : TBits_1); inline;
  3996. procedure setUTXBF(thebits : TBits_1); inline;
  3997. procedure setUTXBRK(thebits : TBits_1); inline;
  3998. procedure setUTXEN(thebits : TBits_1); inline;
  3999. procedure setUTXINV(thebits : TBits_1); inline;
  4000. procedure setUTXISEL(thebits : TBits_2); inline;
  4001. procedure setUTXISEL0(thebits : TBits_1); inline;
  4002. procedure setUTXISEL1(thebits : TBits_1); inline;
  4003. procedure setUTXSEL(thebits : TBits_2); inline;
  4004. procedure setw(thebits : TBits_32); inline;
  4005. public
  4006. procedure clearADDEN; inline;
  4007. procedure clearADM_EN; inline;
  4008. procedure clearFERR; inline;
  4009. procedure clearOERR; inline;
  4010. procedure clearPERR; inline;
  4011. procedure clearRIDLE; inline;
  4012. procedure clearTRMT; inline;
  4013. procedure clearURXDA; inline;
  4014. procedure clearURXEN; inline;
  4015. procedure clearURXISEL0; inline;
  4016. procedure clearURXISEL1; inline;
  4017. procedure clearUTXBF; inline;
  4018. procedure clearUTXBRK; inline;
  4019. procedure clearUTXEN; inline;
  4020. procedure clearUTXINV; inline;
  4021. procedure clearUTXISEL0; inline;
  4022. procedure clearUTXISEL1; inline;
  4023. procedure setADDEN; inline;
  4024. procedure setADM_EN; inline;
  4025. procedure setFERR; inline;
  4026. procedure setOERR; inline;
  4027. procedure setPERR; inline;
  4028. procedure setRIDLE; inline;
  4029. procedure setTRMT; inline;
  4030. procedure setURXDA; inline;
  4031. procedure setURXEN; inline;
  4032. procedure setURXISEL0; inline;
  4033. procedure setURXISEL1; inline;
  4034. procedure setUTXBF; inline;
  4035. procedure setUTXBRK; inline;
  4036. procedure setUTXEN; inline;
  4037. procedure setUTXINV; inline;
  4038. procedure setUTXISEL0; inline;
  4039. procedure setUTXISEL1; inline;
  4040. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4041. property ADDR : TBits_8 read getADDR write setADDR;
  4042. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4043. property FERR : TBits_1 read getFERR write setFERR;
  4044. property OERR : TBits_1 read getOERR write setOERR;
  4045. property PERR : TBits_1 read getPERR write setPERR;
  4046. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4047. property TRMT : TBits_1 read getTRMT write setTRMT;
  4048. property URXDA : TBits_1 read getURXDA write setURXDA;
  4049. property URXEN : TBits_1 read getURXEN write setURXEN;
  4050. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4051. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4052. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4053. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4054. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4055. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4056. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4057. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4058. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4059. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4060. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4061. property w : TBits_32 read getw write setw;
  4062. end;
  4063. type
  4064. TUART3Registers = record
  4065. U39MODEbits : TUART3_U39MODE;
  4066. U39MODE : longWord;
  4067. U3MODEbits : TUART3_U3MODE;
  4068. U3MODE : longWord;
  4069. U39MODECLR : longWord;
  4070. U3MODECLR : longWord;
  4071. U39MODESET : longWord;
  4072. U3MODESET : longWord;
  4073. U39MODEINV : longWord;
  4074. U3MODEINV : longWord;
  4075. U39STAbits : TUART3_U39STA;
  4076. U39STA : longWord;
  4077. U3STAbits : TUART3_U3STA;
  4078. U3STA : longWord;
  4079. U39STACLR : longWord;
  4080. U3STACLR : longWord;
  4081. U39STASET : longWord;
  4082. U3STASET : longWord;
  4083. U39STAINV : longWord;
  4084. U3STAINV : longWord;
  4085. U39TXREG : longWord;
  4086. U3TXREG : longWord;
  4087. U39RXREG : longWord;
  4088. U3RXREG : longWord;
  4089. U39BRG : longWord;
  4090. U3BRG : longWord;
  4091. U39BRGCLR : longWord;
  4092. U3BRGCLR : longWord;
  4093. U39BRGSET : longWord;
  4094. U3BRGSET : longWord;
  4095. U39BRGINV : longWord;
  4096. U3BRGINV : longWord;
  4097. end;
  4098. TUART4_U4MODE = record
  4099. private
  4100. function getABAUD : TBits_1; inline;
  4101. function getBRGH : TBits_1; inline;
  4102. function getIREN : TBits_1; inline;
  4103. function getLPBACK : TBits_1; inline;
  4104. function getON : TBits_1; inline;
  4105. function getPDSEL : TBits_2; inline;
  4106. function getPDSEL0 : TBits_1; inline;
  4107. function getPDSEL1 : TBits_1; inline;
  4108. function getRTSMD : TBits_1; inline;
  4109. function getRXINV : TBits_1; inline;
  4110. function getSIDL : TBits_1; inline;
  4111. function getSTSEL : TBits_1; inline;
  4112. function getUARTEN : TBits_1; inline;
  4113. function getUEN : TBits_2; inline;
  4114. function getUEN0 : TBits_1; inline;
  4115. function getUEN1 : TBits_1; inline;
  4116. function getUSIDL : TBits_1; inline;
  4117. function getWAKE : TBits_1; inline;
  4118. function getw : TBits_32; inline;
  4119. procedure setABAUD(thebits : TBits_1); inline;
  4120. procedure setBRGH(thebits : TBits_1); inline;
  4121. procedure setIREN(thebits : TBits_1); inline;
  4122. procedure setLPBACK(thebits : TBits_1); inline;
  4123. procedure setON(thebits : TBits_1); inline;
  4124. procedure setPDSEL(thebits : TBits_2); inline;
  4125. procedure setPDSEL0(thebits : TBits_1); inline;
  4126. procedure setPDSEL1(thebits : TBits_1); inline;
  4127. procedure setRTSMD(thebits : TBits_1); inline;
  4128. procedure setRXINV(thebits : TBits_1); inline;
  4129. procedure setSIDL(thebits : TBits_1); inline;
  4130. procedure setSTSEL(thebits : TBits_1); inline;
  4131. procedure setUARTEN(thebits : TBits_1); inline;
  4132. procedure setUEN(thebits : TBits_2); inline;
  4133. procedure setUEN0(thebits : TBits_1); inline;
  4134. procedure setUEN1(thebits : TBits_1); inline;
  4135. procedure setUSIDL(thebits : TBits_1); inline;
  4136. procedure setWAKE(thebits : TBits_1); inline;
  4137. procedure setw(thebits : TBits_32); inline;
  4138. public
  4139. procedure clearABAUD; inline;
  4140. procedure clearBRGH; inline;
  4141. procedure clearIREN; inline;
  4142. procedure clearLPBACK; inline;
  4143. procedure clearON; inline;
  4144. procedure clearPDSEL0; inline;
  4145. procedure clearPDSEL1; inline;
  4146. procedure clearRTSMD; inline;
  4147. procedure clearRXINV; inline;
  4148. procedure clearSIDL; inline;
  4149. procedure clearSTSEL; inline;
  4150. procedure clearUARTEN; inline;
  4151. procedure clearUEN0; inline;
  4152. procedure clearUEN1; inline;
  4153. procedure clearUSIDL; inline;
  4154. procedure clearWAKE; inline;
  4155. procedure setABAUD; inline;
  4156. procedure setBRGH; inline;
  4157. procedure setIREN; inline;
  4158. procedure setLPBACK; inline;
  4159. procedure setON; inline;
  4160. procedure setPDSEL0; inline;
  4161. procedure setPDSEL1; inline;
  4162. procedure setRTSMD; inline;
  4163. procedure setRXINV; inline;
  4164. procedure setSIDL; inline;
  4165. procedure setSTSEL; inline;
  4166. procedure setUARTEN; inline;
  4167. procedure setUEN0; inline;
  4168. procedure setUEN1; inline;
  4169. procedure setUSIDL; inline;
  4170. procedure setWAKE; inline;
  4171. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4172. property BRGH : TBits_1 read getBRGH write setBRGH;
  4173. property IREN : TBits_1 read getIREN write setIREN;
  4174. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4175. property ON : TBits_1 read getON write setON;
  4176. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4177. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4178. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4179. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  4180. property RXINV : TBits_1 read getRXINV write setRXINV;
  4181. property SIDL : TBits_1 read getSIDL write setSIDL;
  4182. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4183. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4184. property UEN : TBits_2 read getUEN write setUEN;
  4185. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4186. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4187. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4188. property WAKE : TBits_1 read getWAKE write setWAKE;
  4189. property w : TBits_32 read getw write setw;
  4190. end;
  4191. TUART4_UodMODE = record
  4192. private
  4193. function getABAUD : TBits_1; inline;
  4194. function getBRGH : TBits_1; inline;
  4195. function getIREN : TBits_1; inline;
  4196. function getLPBACK : TBits_1; inline;
  4197. function getON : TBits_1; inline;
  4198. function getPDSEL : TBits_2; inline;
  4199. function getPDSEL0 : TBits_1; inline;
  4200. function getPDSEL1 : TBits_1; inline;
  4201. function getRTSMD : TBits_1; inline;
  4202. function getRXINV : TBits_1; inline;
  4203. function getSIDL : TBits_1; inline;
  4204. function getSTSEL : TBits_1; inline;
  4205. function getUARTEN : TBits_1; inline;
  4206. function getUEN : TBits_2; inline;
  4207. function getUEN0 : TBits_1; inline;
  4208. function getUEN1 : TBits_1; inline;
  4209. function getUSIDL : TBits_1; inline;
  4210. function getWAKE : TBits_1; inline;
  4211. function getw : TBits_32; inline;
  4212. procedure setABAUD(thebits : TBits_1); inline;
  4213. procedure setBRGH(thebits : TBits_1); inline;
  4214. procedure setIREN(thebits : TBits_1); inline;
  4215. procedure setLPBACK(thebits : TBits_1); inline;
  4216. procedure setON(thebits : TBits_1); inline;
  4217. procedure setPDSEL(thebits : TBits_2); inline;
  4218. procedure setPDSEL0(thebits : TBits_1); inline;
  4219. procedure setPDSEL1(thebits : TBits_1); inline;
  4220. procedure setRTSMD(thebits : TBits_1); inline;
  4221. procedure setRXINV(thebits : TBits_1); inline;
  4222. procedure setSIDL(thebits : TBits_1); inline;
  4223. procedure setSTSEL(thebits : TBits_1); inline;
  4224. procedure setUARTEN(thebits : TBits_1); inline;
  4225. procedure setUEN(thebits : TBits_2); inline;
  4226. procedure setUEN0(thebits : TBits_1); inline;
  4227. procedure setUEN1(thebits : TBits_1); inline;
  4228. procedure setUSIDL(thebits : TBits_1); inline;
  4229. procedure setWAKE(thebits : TBits_1); inline;
  4230. procedure setw(thebits : TBits_32); inline;
  4231. public
  4232. procedure clearABAUD; inline;
  4233. procedure clearBRGH; inline;
  4234. procedure clearIREN; inline;
  4235. procedure clearLPBACK; inline;
  4236. procedure clearON; inline;
  4237. procedure clearPDSEL0; inline;
  4238. procedure clearPDSEL1; inline;
  4239. procedure clearRTSMD; inline;
  4240. procedure clearRXINV; inline;
  4241. procedure clearSIDL; inline;
  4242. procedure clearSTSEL; inline;
  4243. procedure clearUARTEN; inline;
  4244. procedure clearUEN0; inline;
  4245. procedure clearUEN1; inline;
  4246. procedure clearUSIDL; inline;
  4247. procedure clearWAKE; inline;
  4248. procedure setABAUD; inline;
  4249. procedure setBRGH; inline;
  4250. procedure setIREN; inline;
  4251. procedure setLPBACK; inline;
  4252. procedure setON; inline;
  4253. procedure setPDSEL0; inline;
  4254. procedure setPDSEL1; inline;
  4255. procedure setRTSMD; inline;
  4256. procedure setRXINV; inline;
  4257. procedure setSIDL; inline;
  4258. procedure setSTSEL; inline;
  4259. procedure setUARTEN; inline;
  4260. procedure setUEN0; inline;
  4261. procedure setUEN1; inline;
  4262. procedure setUSIDL; inline;
  4263. procedure setWAKE; inline;
  4264. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4265. property BRGH : TBits_1 read getBRGH write setBRGH;
  4266. property IREN : TBits_1 read getIREN write setIREN;
  4267. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4268. property ON : TBits_1 read getON write setON;
  4269. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4270. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4271. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4272. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  4273. property RXINV : TBits_1 read getRXINV write setRXINV;
  4274. property SIDL : TBits_1 read getSIDL write setSIDL;
  4275. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4276. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4277. property UEN : TBits_2 read getUEN write setUEN;
  4278. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4279. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4280. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4281. property WAKE : TBits_1 read getWAKE write setWAKE;
  4282. property w : TBits_32 read getw write setw;
  4283. end;
  4284. TUART4_U4STA = record
  4285. private
  4286. function getADDEN : TBits_1; inline;
  4287. function getADDR : TBits_8; inline;
  4288. function getADM_EN : TBits_1; inline;
  4289. function getFERR : TBits_1; inline;
  4290. function getOERR : TBits_1; inline;
  4291. function getPERR : TBits_1; inline;
  4292. function getRIDLE : TBits_1; inline;
  4293. function getTRMT : TBits_1; inline;
  4294. function getURXDA : TBits_1; inline;
  4295. function getURXEN : TBits_1; inline;
  4296. function getURXISEL : TBits_2; inline;
  4297. function getURXISEL0 : TBits_1; inline;
  4298. function getURXISEL1 : TBits_1; inline;
  4299. function getUTXBF : TBits_1; inline;
  4300. function getUTXBRK : TBits_1; inline;
  4301. function getUTXEN : TBits_1; inline;
  4302. function getUTXINV : TBits_1; inline;
  4303. function getUTXISEL : TBits_2; inline;
  4304. function getUTXISEL0 : TBits_1; inline;
  4305. function getUTXISEL1 : TBits_1; inline;
  4306. function getUTXSEL : TBits_2; inline;
  4307. function getw : TBits_32; inline;
  4308. procedure setADDEN(thebits : TBits_1); inline;
  4309. procedure setADDR(thebits : TBits_8); inline;
  4310. procedure setADM_EN(thebits : TBits_1); inline;
  4311. procedure setFERR(thebits : TBits_1); inline;
  4312. procedure setOERR(thebits : TBits_1); inline;
  4313. procedure setPERR(thebits : TBits_1); inline;
  4314. procedure setRIDLE(thebits : TBits_1); inline;
  4315. procedure setTRMT(thebits : TBits_1); inline;
  4316. procedure setURXDA(thebits : TBits_1); inline;
  4317. procedure setURXEN(thebits : TBits_1); inline;
  4318. procedure setURXISEL(thebits : TBits_2); inline;
  4319. procedure setURXISEL0(thebits : TBits_1); inline;
  4320. procedure setURXISEL1(thebits : TBits_1); inline;
  4321. procedure setUTXBF(thebits : TBits_1); inline;
  4322. procedure setUTXBRK(thebits : TBits_1); inline;
  4323. procedure setUTXEN(thebits : TBits_1); inline;
  4324. procedure setUTXINV(thebits : TBits_1); inline;
  4325. procedure setUTXISEL(thebits : TBits_2); inline;
  4326. procedure setUTXISEL0(thebits : TBits_1); inline;
  4327. procedure setUTXISEL1(thebits : TBits_1); inline;
  4328. procedure setUTXSEL(thebits : TBits_2); inline;
  4329. procedure setw(thebits : TBits_32); inline;
  4330. public
  4331. procedure clearADDEN; inline;
  4332. procedure clearADM_EN; inline;
  4333. procedure clearFERR; inline;
  4334. procedure clearOERR; inline;
  4335. procedure clearPERR; inline;
  4336. procedure clearRIDLE; inline;
  4337. procedure clearTRMT; inline;
  4338. procedure clearURXDA; inline;
  4339. procedure clearURXEN; inline;
  4340. procedure clearURXISEL0; inline;
  4341. procedure clearURXISEL1; inline;
  4342. procedure clearUTXBF; inline;
  4343. procedure clearUTXBRK; inline;
  4344. procedure clearUTXEN; inline;
  4345. procedure clearUTXINV; inline;
  4346. procedure clearUTXISEL0; inline;
  4347. procedure clearUTXISEL1; inline;
  4348. procedure setADDEN; inline;
  4349. procedure setADM_EN; inline;
  4350. procedure setFERR; inline;
  4351. procedure setOERR; inline;
  4352. procedure setPERR; inline;
  4353. procedure setRIDLE; inline;
  4354. procedure setTRMT; inline;
  4355. procedure setURXDA; inline;
  4356. procedure setURXEN; inline;
  4357. procedure setURXISEL0; inline;
  4358. procedure setURXISEL1; inline;
  4359. procedure setUTXBF; inline;
  4360. procedure setUTXBRK; inline;
  4361. procedure setUTXEN; inline;
  4362. procedure setUTXINV; inline;
  4363. procedure setUTXISEL0; inline;
  4364. procedure setUTXISEL1; inline;
  4365. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4366. property ADDR : TBits_8 read getADDR write setADDR;
  4367. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4368. property FERR : TBits_1 read getFERR write setFERR;
  4369. property OERR : TBits_1 read getOERR write setOERR;
  4370. property PERR : TBits_1 read getPERR write setPERR;
  4371. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4372. property TRMT : TBits_1 read getTRMT write setTRMT;
  4373. property URXDA : TBits_1 read getURXDA write setURXDA;
  4374. property URXEN : TBits_1 read getURXEN write setURXEN;
  4375. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4376. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4377. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4378. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4379. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4380. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4381. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4382. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4383. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4384. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4385. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4386. property w : TBits_32 read getw write setw;
  4387. end;
  4388. TUART4_UodSTA = record
  4389. private
  4390. function getADDEN : TBits_1; inline;
  4391. function getADDR : TBits_8; inline;
  4392. function getADM_EN : TBits_1; inline;
  4393. function getFERR : TBits_1; inline;
  4394. function getOERR : TBits_1; inline;
  4395. function getPERR : TBits_1; inline;
  4396. function getRIDLE : TBits_1; inline;
  4397. function getTRMT : TBits_1; inline;
  4398. function getURXDA : TBits_1; inline;
  4399. function getURXEN : TBits_1; inline;
  4400. function getURXISEL : TBits_2; inline;
  4401. function getURXISEL0 : TBits_1; inline;
  4402. function getURXISEL1 : TBits_1; inline;
  4403. function getUTXBF : TBits_1; inline;
  4404. function getUTXBRK : TBits_1; inline;
  4405. function getUTXEN : TBits_1; inline;
  4406. function getUTXINV : TBits_1; inline;
  4407. function getUTXISEL : TBits_2; inline;
  4408. function getUTXISEL0 : TBits_1; inline;
  4409. function getUTXISEL1 : TBits_1; inline;
  4410. function getUTXSEL : TBits_2; inline;
  4411. function getw : TBits_32; inline;
  4412. procedure setADDEN(thebits : TBits_1); inline;
  4413. procedure setADDR(thebits : TBits_8); inline;
  4414. procedure setADM_EN(thebits : TBits_1); inline;
  4415. procedure setFERR(thebits : TBits_1); inline;
  4416. procedure setOERR(thebits : TBits_1); inline;
  4417. procedure setPERR(thebits : TBits_1); inline;
  4418. procedure setRIDLE(thebits : TBits_1); inline;
  4419. procedure setTRMT(thebits : TBits_1); inline;
  4420. procedure setURXDA(thebits : TBits_1); inline;
  4421. procedure setURXEN(thebits : TBits_1); inline;
  4422. procedure setURXISEL(thebits : TBits_2); inline;
  4423. procedure setURXISEL0(thebits : TBits_1); inline;
  4424. procedure setURXISEL1(thebits : TBits_1); inline;
  4425. procedure setUTXBF(thebits : TBits_1); inline;
  4426. procedure setUTXBRK(thebits : TBits_1); inline;
  4427. procedure setUTXEN(thebits : TBits_1); inline;
  4428. procedure setUTXINV(thebits : TBits_1); inline;
  4429. procedure setUTXISEL(thebits : TBits_2); inline;
  4430. procedure setUTXISEL0(thebits : TBits_1); inline;
  4431. procedure setUTXISEL1(thebits : TBits_1); inline;
  4432. procedure setUTXSEL(thebits : TBits_2); inline;
  4433. procedure setw(thebits : TBits_32); inline;
  4434. public
  4435. procedure clearADDEN; inline;
  4436. procedure clearADM_EN; inline;
  4437. procedure clearFERR; inline;
  4438. procedure clearOERR; inline;
  4439. procedure clearPERR; inline;
  4440. procedure clearRIDLE; inline;
  4441. procedure clearTRMT; inline;
  4442. procedure clearURXDA; inline;
  4443. procedure clearURXEN; inline;
  4444. procedure clearURXISEL0; inline;
  4445. procedure clearURXISEL1; inline;
  4446. procedure clearUTXBF; inline;
  4447. procedure clearUTXBRK; inline;
  4448. procedure clearUTXEN; inline;
  4449. procedure clearUTXINV; inline;
  4450. procedure clearUTXISEL0; inline;
  4451. procedure clearUTXISEL1; inline;
  4452. procedure setADDEN; inline;
  4453. procedure setADM_EN; inline;
  4454. procedure setFERR; inline;
  4455. procedure setOERR; inline;
  4456. procedure setPERR; inline;
  4457. procedure setRIDLE; inline;
  4458. procedure setTRMT; inline;
  4459. procedure setURXDA; inline;
  4460. procedure setURXEN; inline;
  4461. procedure setURXISEL0; inline;
  4462. procedure setURXISEL1; inline;
  4463. procedure setUTXBF; inline;
  4464. procedure setUTXBRK; inline;
  4465. procedure setUTXEN; inline;
  4466. procedure setUTXINV; inline;
  4467. procedure setUTXISEL0; inline;
  4468. procedure setUTXISEL1; inline;
  4469. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4470. property ADDR : TBits_8 read getADDR write setADDR;
  4471. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4472. property FERR : TBits_1 read getFERR write setFERR;
  4473. property OERR : TBits_1 read getOERR write setOERR;
  4474. property PERR : TBits_1 read getPERR write setPERR;
  4475. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4476. property TRMT : TBits_1 read getTRMT write setTRMT;
  4477. property URXDA : TBits_1 read getURXDA write setURXDA;
  4478. property URXEN : TBits_1 read getURXEN write setURXEN;
  4479. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4480. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4481. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4482. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4483. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4484. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4485. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4486. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4487. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4488. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4489. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4490. property w : TBits_32 read getw write setw;
  4491. end;
  4492. type
  4493. TUART4Registers = record
  4494. U4MODEbits : TUART4_U4MODE;
  4495. U4MODE : longWord;
  4496. UodMODEbits : TUART4_UodMODE;
  4497. UodMODE : longWord;
  4498. U4MODECLR : longWord;
  4499. UodMODECLR : longWord;
  4500. U4MODESET : longWord;
  4501. UodMODESET : longWord;
  4502. U4MODEINV : longWord;
  4503. UodMODEINV : longWord;
  4504. U4STAbits : TUART4_U4STA;
  4505. U4STA : longWord;
  4506. UodSTAbits : TUART4_UodSTA;
  4507. UodSTA : longWord;
  4508. U4STACLR : longWord;
  4509. UodSTACLR : longWord;
  4510. U4STASET : longWord;
  4511. UodSTASET : longWord;
  4512. U4STAINV : longWord;
  4513. UodSTAINV : longWord;
  4514. U4TXREG : longWord;
  4515. UodTXREG : longWord;
  4516. U4RXREG : longWord;
  4517. UodRXREG : longWord;
  4518. U4BRG : longWord;
  4519. UodBRG : longWord;
  4520. U4BRGCLR : longWord;
  4521. UodBRGCLR : longWord;
  4522. U4BRGSET : longWord;
  4523. UodBRGSET : longWord;
  4524. U4BRGINV : longWord;
  4525. UodBRGINV : longWord;
  4526. end;
  4527. TPMP_PMCON = record
  4528. private
  4529. function getADRMUX : TBits_2; inline;
  4530. function getADRMUX0 : TBits_1; inline;
  4531. function getADRMUX1 : TBits_1; inline;
  4532. function getALP : TBits_1; inline;
  4533. function getCS1P : TBits_1; inline;
  4534. function getCS2P : TBits_1; inline;
  4535. function getCSF : TBits_2; inline;
  4536. function getCSF0 : TBits_1; inline;
  4537. function getCSF1 : TBits_1; inline;
  4538. function getON : TBits_1; inline;
  4539. function getPMPEN : TBits_1; inline;
  4540. function getPMPTTL : TBits_1; inline;
  4541. function getPSIDL : TBits_1; inline;
  4542. function getPTRDEN : TBits_1; inline;
  4543. function getPTWREN : TBits_1; inline;
  4544. function getRDSP : TBits_1; inline;
  4545. function getSIDL : TBits_1; inline;
  4546. function getWRSP : TBits_1; inline;
  4547. function getw : TBits_32; inline;
  4548. procedure setADRMUX(thebits : TBits_2); inline;
  4549. procedure setADRMUX0(thebits : TBits_1); inline;
  4550. procedure setADRMUX1(thebits : TBits_1); inline;
  4551. procedure setALP(thebits : TBits_1); inline;
  4552. procedure setCS1P(thebits : TBits_1); inline;
  4553. procedure setCS2P(thebits : TBits_1); inline;
  4554. procedure setCSF(thebits : TBits_2); inline;
  4555. procedure setCSF0(thebits : TBits_1); inline;
  4556. procedure setCSF1(thebits : TBits_1); inline;
  4557. procedure setON(thebits : TBits_1); inline;
  4558. procedure setPMPEN(thebits : TBits_1); inline;
  4559. procedure setPMPTTL(thebits : TBits_1); inline;
  4560. procedure setPSIDL(thebits : TBits_1); inline;
  4561. procedure setPTRDEN(thebits : TBits_1); inline;
  4562. procedure setPTWREN(thebits : TBits_1); inline;
  4563. procedure setRDSP(thebits : TBits_1); inline;
  4564. procedure setSIDL(thebits : TBits_1); inline;
  4565. procedure setWRSP(thebits : TBits_1); inline;
  4566. procedure setw(thebits : TBits_32); inline;
  4567. public
  4568. procedure clearADRMUX0; inline;
  4569. procedure clearADRMUX1; inline;
  4570. procedure clearALP; inline;
  4571. procedure clearCS1P; inline;
  4572. procedure clearCS2P; inline;
  4573. procedure clearCSF0; inline;
  4574. procedure clearCSF1; inline;
  4575. procedure clearON; inline;
  4576. procedure clearPMPEN; inline;
  4577. procedure clearPMPTTL; inline;
  4578. procedure clearPSIDL; inline;
  4579. procedure clearPTRDEN; inline;
  4580. procedure clearPTWREN; inline;
  4581. procedure clearRDSP; inline;
  4582. procedure clearSIDL; inline;
  4583. procedure clearWRSP; inline;
  4584. procedure setADRMUX0; inline;
  4585. procedure setADRMUX1; inline;
  4586. procedure setALP; inline;
  4587. procedure setCS1P; inline;
  4588. procedure setCS2P; inline;
  4589. procedure setCSF0; inline;
  4590. procedure setCSF1; inline;
  4591. procedure setON; inline;
  4592. procedure setPMPEN; inline;
  4593. procedure setPMPTTL; inline;
  4594. procedure setPSIDL; inline;
  4595. procedure setPTRDEN; inline;
  4596. procedure setPTWREN; inline;
  4597. procedure setRDSP; inline;
  4598. procedure setSIDL; inline;
  4599. procedure setWRSP; inline;
  4600. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  4601. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  4602. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  4603. property ALP : TBits_1 read getALP write setALP;
  4604. property CS1P : TBits_1 read getCS1P write setCS1P;
  4605. property CS2P : TBits_1 read getCS2P write setCS2P;
  4606. property CSF : TBits_2 read getCSF write setCSF;
  4607. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  4608. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  4609. property ON : TBits_1 read getON write setON;
  4610. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  4611. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  4612. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  4613. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  4614. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  4615. property RDSP : TBits_1 read getRDSP write setRDSP;
  4616. property SIDL : TBits_1 read getSIDL write setSIDL;
  4617. property WRSP : TBits_1 read getWRSP write setWRSP;
  4618. property w : TBits_32 read getw write setw;
  4619. end;
  4620. TPMP_PMMODE = record
  4621. private
  4622. function getBUSY : TBits_1; inline;
  4623. function getINCM : TBits_2; inline;
  4624. function getINCM0 : TBits_1; inline;
  4625. function getINCM1 : TBits_1; inline;
  4626. function getIRQM : TBits_2; inline;
  4627. function getIRQM0 : TBits_1; inline;
  4628. function getIRQM1 : TBits_1; inline;
  4629. function getMODE : TBits_2; inline;
  4630. function getMODE0 : TBits_1; inline;
  4631. function getMODE1 : TBits_1; inline;
  4632. function getMODE16 : TBits_1; inline;
  4633. function getWAITB : TBits_2; inline;
  4634. function getWAITB0 : TBits_1; inline;
  4635. function getWAITB1 : TBits_1; inline;
  4636. function getWAITE : TBits_2; inline;
  4637. function getWAITE0 : TBits_1; inline;
  4638. function getWAITE1 : TBits_1; inline;
  4639. function getWAITM : TBits_4; inline;
  4640. function getWAITM0 : TBits_1; inline;
  4641. function getWAITM1 : TBits_1; inline;
  4642. function getWAITM2 : TBits_1; inline;
  4643. function getWAITM3 : TBits_1; inline;
  4644. function getw : TBits_32; inline;
  4645. procedure setBUSY(thebits : TBits_1); inline;
  4646. procedure setINCM(thebits : TBits_2); inline;
  4647. procedure setINCM0(thebits : TBits_1); inline;
  4648. procedure setINCM1(thebits : TBits_1); inline;
  4649. procedure setIRQM(thebits : TBits_2); inline;
  4650. procedure setIRQM0(thebits : TBits_1); inline;
  4651. procedure setIRQM1(thebits : TBits_1); inline;
  4652. procedure setMODE(thebits : TBits_2); inline;
  4653. procedure setMODE0(thebits : TBits_1); inline;
  4654. procedure setMODE1(thebits : TBits_1); inline;
  4655. procedure setMODE16(thebits : TBits_1); inline;
  4656. procedure setWAITB(thebits : TBits_2); inline;
  4657. procedure setWAITB0(thebits : TBits_1); inline;
  4658. procedure setWAITB1(thebits : TBits_1); inline;
  4659. procedure setWAITE(thebits : TBits_2); inline;
  4660. procedure setWAITE0(thebits : TBits_1); inline;
  4661. procedure setWAITE1(thebits : TBits_1); inline;
  4662. procedure setWAITM(thebits : TBits_4); inline;
  4663. procedure setWAITM0(thebits : TBits_1); inline;
  4664. procedure setWAITM1(thebits : TBits_1); inline;
  4665. procedure setWAITM2(thebits : TBits_1); inline;
  4666. procedure setWAITM3(thebits : TBits_1); inline;
  4667. procedure setw(thebits : TBits_32); inline;
  4668. public
  4669. procedure clearBUSY; inline;
  4670. procedure clearINCM0; inline;
  4671. procedure clearINCM1; inline;
  4672. procedure clearIRQM0; inline;
  4673. procedure clearIRQM1; inline;
  4674. procedure clearMODE0; inline;
  4675. procedure clearMODE16; inline;
  4676. procedure clearMODE1; inline;
  4677. procedure clearWAITB0; inline;
  4678. procedure clearWAITB1; inline;
  4679. procedure clearWAITE0; inline;
  4680. procedure clearWAITE1; inline;
  4681. procedure clearWAITM0; inline;
  4682. procedure clearWAITM1; inline;
  4683. procedure clearWAITM2; inline;
  4684. procedure clearWAITM3; inline;
  4685. procedure setBUSY; inline;
  4686. procedure setINCM0; inline;
  4687. procedure setINCM1; inline;
  4688. procedure setIRQM0; inline;
  4689. procedure setIRQM1; inline;
  4690. procedure setMODE0; inline;
  4691. procedure setMODE16; inline;
  4692. procedure setMODE1; inline;
  4693. procedure setWAITB0; inline;
  4694. procedure setWAITB1; inline;
  4695. procedure setWAITE0; inline;
  4696. procedure setWAITE1; inline;
  4697. procedure setWAITM0; inline;
  4698. procedure setWAITM1; inline;
  4699. procedure setWAITM2; inline;
  4700. procedure setWAITM3; inline;
  4701. property BUSY : TBits_1 read getBUSY write setBUSY;
  4702. property INCM : TBits_2 read getINCM write setINCM;
  4703. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  4704. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  4705. property IRQM : TBits_2 read getIRQM write setIRQM;
  4706. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  4707. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  4708. property MODE : TBits_2 read getMODE write setMODE;
  4709. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  4710. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  4711. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  4712. property WAITB : TBits_2 read getWAITB write setWAITB;
  4713. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  4714. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  4715. property WAITE : TBits_2 read getWAITE write setWAITE;
  4716. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  4717. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  4718. property WAITM : TBits_4 read getWAITM write setWAITM;
  4719. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  4720. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  4721. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  4722. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  4723. property w : TBits_32 read getw write setw;
  4724. end;
  4725. TPMP_PMADDR = record
  4726. private
  4727. function getADDR : TBits_14; inline;
  4728. function getCS : TBits_2; inline;
  4729. function getCS1 : TBits_1; inline;
  4730. function getCS2 : TBits_1; inline;
  4731. function getPADDR : TBits_14; inline;
  4732. function getw : TBits_32; inline;
  4733. procedure setADDR(thebits : TBits_14); inline;
  4734. procedure setCS(thebits : TBits_2); inline;
  4735. procedure setCS1(thebits : TBits_1); inline;
  4736. procedure setCS2(thebits : TBits_1); inline;
  4737. procedure setPADDR(thebits : TBits_14); inline;
  4738. procedure setw(thebits : TBits_32); inline;
  4739. public
  4740. procedure clearCS1; inline;
  4741. procedure clearCS2; inline;
  4742. procedure setCS1; inline;
  4743. procedure setCS2; inline;
  4744. property ADDR : TBits_14 read getADDR write setADDR;
  4745. property CS : TBits_2 read getCS write setCS;
  4746. property CS1 : TBits_1 read getCS1 write setCS1;
  4747. property CS2 : TBits_1 read getCS2 write setCS2;
  4748. property PADDR : TBits_14 read getPADDR write setPADDR;
  4749. property w : TBits_32 read getw write setw;
  4750. end;
  4751. TPMP_PMDOUT = record
  4752. private
  4753. function getDATAOUT : TBits_32; inline;
  4754. function getw : TBits_32; inline;
  4755. procedure setDATAOUT(thebits : TBits_32); inline;
  4756. procedure setw(thebits : TBits_32); inline;
  4757. public
  4758. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  4759. property w : TBits_32 read getw write setw;
  4760. end;
  4761. TPMP_PMDIN = record
  4762. private
  4763. function getDATAIN : TBits_32; inline;
  4764. function getw : TBits_32; inline;
  4765. procedure setDATAIN(thebits : TBits_32); inline;
  4766. procedure setw(thebits : TBits_32); inline;
  4767. public
  4768. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  4769. property w : TBits_32 read getw write setw;
  4770. end;
  4771. TPMP_PMAEN = record
  4772. private
  4773. function getPTEN : TBits_16; inline;
  4774. function getPTEN0 : TBits_1; inline;
  4775. function getPTEN1 : TBits_1; inline;
  4776. function getPTEN10 : TBits_1; inline;
  4777. function getPTEN11 : TBits_1; inline;
  4778. function getPTEN12 : TBits_1; inline;
  4779. function getPTEN13 : TBits_1; inline;
  4780. function getPTEN14 : TBits_1; inline;
  4781. function getPTEN15 : TBits_1; inline;
  4782. function getPTEN2 : TBits_1; inline;
  4783. function getPTEN3 : TBits_1; inline;
  4784. function getPTEN4 : TBits_1; inline;
  4785. function getPTEN5 : TBits_1; inline;
  4786. function getPTEN6 : TBits_1; inline;
  4787. function getPTEN7 : TBits_1; inline;
  4788. function getPTEN8 : TBits_1; inline;
  4789. function getPTEN9 : TBits_1; inline;
  4790. function getw : TBits_32; inline;
  4791. procedure setPTEN(thebits : TBits_16); inline;
  4792. procedure setPTEN0(thebits : TBits_1); inline;
  4793. procedure setPTEN1(thebits : TBits_1); inline;
  4794. procedure setPTEN10(thebits : TBits_1); inline;
  4795. procedure setPTEN11(thebits : TBits_1); inline;
  4796. procedure setPTEN12(thebits : TBits_1); inline;
  4797. procedure setPTEN13(thebits : TBits_1); inline;
  4798. procedure setPTEN14(thebits : TBits_1); inline;
  4799. procedure setPTEN15(thebits : TBits_1); inline;
  4800. procedure setPTEN2(thebits : TBits_1); inline;
  4801. procedure setPTEN3(thebits : TBits_1); inline;
  4802. procedure setPTEN4(thebits : TBits_1); inline;
  4803. procedure setPTEN5(thebits : TBits_1); inline;
  4804. procedure setPTEN6(thebits : TBits_1); inline;
  4805. procedure setPTEN7(thebits : TBits_1); inline;
  4806. procedure setPTEN8(thebits : TBits_1); inline;
  4807. procedure setPTEN9(thebits : TBits_1); inline;
  4808. procedure setw(thebits : TBits_32); inline;
  4809. public
  4810. procedure clearPTEN0; inline;
  4811. procedure clearPTEN10; inline;
  4812. procedure clearPTEN11; inline;
  4813. procedure clearPTEN12; inline;
  4814. procedure clearPTEN13; inline;
  4815. procedure clearPTEN14; inline;
  4816. procedure clearPTEN15; inline;
  4817. procedure clearPTEN1; inline;
  4818. procedure clearPTEN2; inline;
  4819. procedure clearPTEN3; inline;
  4820. procedure clearPTEN4; inline;
  4821. procedure clearPTEN5; inline;
  4822. procedure clearPTEN6; inline;
  4823. procedure clearPTEN7; inline;
  4824. procedure clearPTEN8; inline;
  4825. procedure clearPTEN9; inline;
  4826. procedure setPTEN0; inline;
  4827. procedure setPTEN10; inline;
  4828. procedure setPTEN11; inline;
  4829. procedure setPTEN12; inline;
  4830. procedure setPTEN13; inline;
  4831. procedure setPTEN14; inline;
  4832. procedure setPTEN15; inline;
  4833. procedure setPTEN1; inline;
  4834. procedure setPTEN2; inline;
  4835. procedure setPTEN3; inline;
  4836. procedure setPTEN4; inline;
  4837. procedure setPTEN5; inline;
  4838. procedure setPTEN6; inline;
  4839. procedure setPTEN7; inline;
  4840. procedure setPTEN8; inline;
  4841. procedure setPTEN9; inline;
  4842. property PTEN : TBits_16 read getPTEN write setPTEN;
  4843. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  4844. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  4845. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  4846. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  4847. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  4848. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  4849. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  4850. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  4851. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  4852. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  4853. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  4854. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  4855. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  4856. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  4857. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  4858. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  4859. property w : TBits_32 read getw write setw;
  4860. end;
  4861. TPMP_PMSTAT = record
  4862. private
  4863. function getIB0F : TBits_1; inline;
  4864. function getIB1F : TBits_1; inline;
  4865. function getIB2F : TBits_1; inline;
  4866. function getIB3F : TBits_1; inline;
  4867. function getIBF : TBits_1; inline;
  4868. function getIBOV : TBits_1; inline;
  4869. function getOB0E : TBits_1; inline;
  4870. function getOB1E : TBits_1; inline;
  4871. function getOB2E : TBits_1; inline;
  4872. function getOB3E : TBits_1; inline;
  4873. function getOBE : TBits_1; inline;
  4874. function getOBUF : TBits_1; inline;
  4875. function getw : TBits_32; inline;
  4876. procedure setIB0F(thebits : TBits_1); inline;
  4877. procedure setIB1F(thebits : TBits_1); inline;
  4878. procedure setIB2F(thebits : TBits_1); inline;
  4879. procedure setIB3F(thebits : TBits_1); inline;
  4880. procedure setIBF(thebits : TBits_1); inline;
  4881. procedure setIBOV(thebits : TBits_1); inline;
  4882. procedure setOB0E(thebits : TBits_1); inline;
  4883. procedure setOB1E(thebits : TBits_1); inline;
  4884. procedure setOB2E(thebits : TBits_1); inline;
  4885. procedure setOB3E(thebits : TBits_1); inline;
  4886. procedure setOBE(thebits : TBits_1); inline;
  4887. procedure setOBUF(thebits : TBits_1); inline;
  4888. procedure setw(thebits : TBits_32); inline;
  4889. public
  4890. procedure clearIB0F; inline;
  4891. procedure clearIB1F; inline;
  4892. procedure clearIB2F; inline;
  4893. procedure clearIB3F; inline;
  4894. procedure clearIBF; inline;
  4895. procedure clearIBOV; inline;
  4896. procedure clearOB0E; inline;
  4897. procedure clearOB1E; inline;
  4898. procedure clearOB2E; inline;
  4899. procedure clearOB3E; inline;
  4900. procedure clearOBE; inline;
  4901. procedure clearOBUF; inline;
  4902. procedure setIB0F; inline;
  4903. procedure setIB1F; inline;
  4904. procedure setIB2F; inline;
  4905. procedure setIB3F; inline;
  4906. procedure setIBF; inline;
  4907. procedure setIBOV; inline;
  4908. procedure setOB0E; inline;
  4909. procedure setOB1E; inline;
  4910. procedure setOB2E; inline;
  4911. procedure setOB3E; inline;
  4912. procedure setOBE; inline;
  4913. procedure setOBUF; inline;
  4914. property IB0F : TBits_1 read getIB0F write setIB0F;
  4915. property IB1F : TBits_1 read getIB1F write setIB1F;
  4916. property IB2F : TBits_1 read getIB2F write setIB2F;
  4917. property IB3F : TBits_1 read getIB3F write setIB3F;
  4918. property IBF : TBits_1 read getIBF write setIBF;
  4919. property IBOV : TBits_1 read getIBOV write setIBOV;
  4920. property OB0E : TBits_1 read getOB0E write setOB0E;
  4921. property OB1E : TBits_1 read getOB1E write setOB1E;
  4922. property OB2E : TBits_1 read getOB2E write setOB2E;
  4923. property OB3E : TBits_1 read getOB3E write setOB3E;
  4924. property OBE : TBits_1 read getOBE write setOBE;
  4925. property OBUF : TBits_1 read getOBUF write setOBUF;
  4926. property w : TBits_32 read getw write setw;
  4927. end;
  4928. type
  4929. TPMPRegisters = record
  4930. PMCONbits : TPMP_PMCON;
  4931. PMCON : longWord;
  4932. PMCONCLR : longWord;
  4933. PMCONSET : longWord;
  4934. PMCONINV : longWord;
  4935. PMMODEbits : TPMP_PMMODE;
  4936. PMMODE : longWord;
  4937. PMMODECLR : longWord;
  4938. PMMODESET : longWord;
  4939. PMMODEINV : longWord;
  4940. PMADDRbits : TPMP_PMADDR;
  4941. PMADDR : longWord;
  4942. PMADDRCLR : longWord;
  4943. PMADDRSET : longWord;
  4944. PMADDRINV : longWord;
  4945. PMDOUTbits : TPMP_PMDOUT;
  4946. PMDOUT : longWord;
  4947. PMDOUTCLR : longWord;
  4948. PMDOUTSET : longWord;
  4949. PMDOUTINV : longWord;
  4950. PMDINbits : TPMP_PMDIN;
  4951. PMDIN : longWord;
  4952. PMDINCLR : longWord;
  4953. PMDINSET : longWord;
  4954. PMDININV : longWord;
  4955. PMAENbits : TPMP_PMAEN;
  4956. PMAEN : longWord;
  4957. PMAENCLR : longWord;
  4958. PMAENSET : longWord;
  4959. PMAENINV : longWord;
  4960. PMSTATbits : TPMP_PMSTAT;
  4961. PMSTAT : longWord;
  4962. PMSTATCLR : longWord;
  4963. PMSTATSET : longWord;
  4964. PMSTATINV : longWord;
  4965. end;
  4966. TADC10_AD1CON1 = record
  4967. private
  4968. function getADON : TBits_1; inline;
  4969. function getADSIDL : TBits_1; inline;
  4970. function getASAM : TBits_1; inline;
  4971. function getCLRASAM : TBits_1; inline;
  4972. function getDONE : TBits_1; inline;
  4973. function getFORM : TBits_3; inline;
  4974. function getFORM0 : TBits_1; inline;
  4975. function getFORM1 : TBits_1; inline;
  4976. function getFORM2 : TBits_1; inline;
  4977. function getON : TBits_1; inline;
  4978. function getSAMP : TBits_1; inline;
  4979. function getSIDL : TBits_1; inline;
  4980. function getSSRC : TBits_3; inline;
  4981. function getSSRC0 : TBits_1; inline;
  4982. function getSSRC1 : TBits_1; inline;
  4983. function getSSRC2 : TBits_1; inline;
  4984. function getw : TBits_32; inline;
  4985. procedure setADON(thebits : TBits_1); inline;
  4986. procedure setADSIDL(thebits : TBits_1); inline;
  4987. procedure setASAM(thebits : TBits_1); inline;
  4988. procedure setCLRASAM(thebits : TBits_1); inline;
  4989. procedure setDONE(thebits : TBits_1); inline;
  4990. procedure setFORM(thebits : TBits_3); inline;
  4991. procedure setFORM0(thebits : TBits_1); inline;
  4992. procedure setFORM1(thebits : TBits_1); inline;
  4993. procedure setFORM2(thebits : TBits_1); inline;
  4994. procedure setON(thebits : TBits_1); inline;
  4995. procedure setSAMP(thebits : TBits_1); inline;
  4996. procedure setSIDL(thebits : TBits_1); inline;
  4997. procedure setSSRC(thebits : TBits_3); inline;
  4998. procedure setSSRC0(thebits : TBits_1); inline;
  4999. procedure setSSRC1(thebits : TBits_1); inline;
  5000. procedure setSSRC2(thebits : TBits_1); inline;
  5001. procedure setw(thebits : TBits_32); inline;
  5002. public
  5003. procedure clearADON; inline;
  5004. procedure clearADSIDL; inline;
  5005. procedure clearASAM; inline;
  5006. procedure clearCLRASAM; inline;
  5007. procedure clearDONE; inline;
  5008. procedure clearFORM0; inline;
  5009. procedure clearFORM1; inline;
  5010. procedure clearFORM2; inline;
  5011. procedure clearON; inline;
  5012. procedure clearSAMP; inline;
  5013. procedure clearSIDL; inline;
  5014. procedure clearSSRC0; inline;
  5015. procedure clearSSRC1; inline;
  5016. procedure clearSSRC2; inline;
  5017. procedure setADON; inline;
  5018. procedure setADSIDL; inline;
  5019. procedure setASAM; inline;
  5020. procedure setCLRASAM; inline;
  5021. procedure setDONE; inline;
  5022. procedure setFORM0; inline;
  5023. procedure setFORM1; inline;
  5024. procedure setFORM2; inline;
  5025. procedure setON; inline;
  5026. procedure setSAMP; inline;
  5027. procedure setSIDL; inline;
  5028. procedure setSSRC0; inline;
  5029. procedure setSSRC1; inline;
  5030. procedure setSSRC2; inline;
  5031. property ADON : TBits_1 read getADON write setADON;
  5032. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  5033. property ASAM : TBits_1 read getASAM write setASAM;
  5034. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  5035. property DONE : TBits_1 read getDONE write setDONE;
  5036. property FORM : TBits_3 read getFORM write setFORM;
  5037. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  5038. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  5039. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  5040. property ON : TBits_1 read getON write setON;
  5041. property SAMP : TBits_1 read getSAMP write setSAMP;
  5042. property SIDL : TBits_1 read getSIDL write setSIDL;
  5043. property SSRC : TBits_3 read getSSRC write setSSRC;
  5044. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  5045. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  5046. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  5047. property w : TBits_32 read getw write setw;
  5048. end;
  5049. TADC10_AD1CON2 = record
  5050. private
  5051. function getALTS : TBits_1; inline;
  5052. function getBUFM : TBits_1; inline;
  5053. function getBUFS : TBits_1; inline;
  5054. function getCSCNA : TBits_1; inline;
  5055. function getOFFCAL : TBits_1; inline;
  5056. function getSMPI : TBits_4; inline;
  5057. function getSMPI0 : TBits_1; inline;
  5058. function getSMPI1 : TBits_1; inline;
  5059. function getSMPI2 : TBits_1; inline;
  5060. function getSMPI3 : TBits_1; inline;
  5061. function getVCFG : TBits_3; inline;
  5062. function getVCFG0 : TBits_1; inline;
  5063. function getVCFG1 : TBits_1; inline;
  5064. function getVCFG2 : TBits_1; inline;
  5065. function getw : TBits_32; inline;
  5066. procedure setALTS(thebits : TBits_1); inline;
  5067. procedure setBUFM(thebits : TBits_1); inline;
  5068. procedure setBUFS(thebits : TBits_1); inline;
  5069. procedure setCSCNA(thebits : TBits_1); inline;
  5070. procedure setOFFCAL(thebits : TBits_1); inline;
  5071. procedure setSMPI(thebits : TBits_4); inline;
  5072. procedure setSMPI0(thebits : TBits_1); inline;
  5073. procedure setSMPI1(thebits : TBits_1); inline;
  5074. procedure setSMPI2(thebits : TBits_1); inline;
  5075. procedure setSMPI3(thebits : TBits_1); inline;
  5076. procedure setVCFG(thebits : TBits_3); inline;
  5077. procedure setVCFG0(thebits : TBits_1); inline;
  5078. procedure setVCFG1(thebits : TBits_1); inline;
  5079. procedure setVCFG2(thebits : TBits_1); inline;
  5080. procedure setw(thebits : TBits_32); inline;
  5081. public
  5082. procedure clearALTS; inline;
  5083. procedure clearBUFM; inline;
  5084. procedure clearBUFS; inline;
  5085. procedure clearCSCNA; inline;
  5086. procedure clearOFFCAL; inline;
  5087. procedure clearSMPI0; inline;
  5088. procedure clearSMPI1; inline;
  5089. procedure clearSMPI2; inline;
  5090. procedure clearSMPI3; inline;
  5091. procedure clearVCFG0; inline;
  5092. procedure clearVCFG1; inline;
  5093. procedure clearVCFG2; inline;
  5094. procedure setALTS; inline;
  5095. procedure setBUFM; inline;
  5096. procedure setBUFS; inline;
  5097. procedure setCSCNA; inline;
  5098. procedure setOFFCAL; inline;
  5099. procedure setSMPI0; inline;
  5100. procedure setSMPI1; inline;
  5101. procedure setSMPI2; inline;
  5102. procedure setSMPI3; inline;
  5103. procedure setVCFG0; inline;
  5104. procedure setVCFG1; inline;
  5105. procedure setVCFG2; inline;
  5106. property ALTS : TBits_1 read getALTS write setALTS;
  5107. property BUFM : TBits_1 read getBUFM write setBUFM;
  5108. property BUFS : TBits_1 read getBUFS write setBUFS;
  5109. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  5110. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  5111. property SMPI : TBits_4 read getSMPI write setSMPI;
  5112. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  5113. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  5114. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  5115. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  5116. property VCFG : TBits_3 read getVCFG write setVCFG;
  5117. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  5118. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  5119. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  5120. property w : TBits_32 read getw write setw;
  5121. end;
  5122. TADC10_AD1CON3 = record
  5123. private
  5124. function getADCS : TBits_8; inline;
  5125. function getADCS0 : TBits_1; inline;
  5126. function getADCS1 : TBits_1; inline;
  5127. function getADCS2 : TBits_1; inline;
  5128. function getADCS3 : TBits_1; inline;
  5129. function getADCS4 : TBits_1; inline;
  5130. function getADCS5 : TBits_1; inline;
  5131. function getADCS6 : TBits_1; inline;
  5132. function getADCS7 : TBits_1; inline;
  5133. function getADRC : TBits_1; inline;
  5134. function getSAMC : TBits_5; inline;
  5135. function getSAMC0 : TBits_1; inline;
  5136. function getSAMC1 : TBits_1; inline;
  5137. function getSAMC2 : TBits_1; inline;
  5138. function getSAMC3 : TBits_1; inline;
  5139. function getSAMC4 : TBits_1; inline;
  5140. function getw : TBits_32; inline;
  5141. procedure setADCS(thebits : TBits_8); inline;
  5142. procedure setADCS0(thebits : TBits_1); inline;
  5143. procedure setADCS1(thebits : TBits_1); inline;
  5144. procedure setADCS2(thebits : TBits_1); inline;
  5145. procedure setADCS3(thebits : TBits_1); inline;
  5146. procedure setADCS4(thebits : TBits_1); inline;
  5147. procedure setADCS5(thebits : TBits_1); inline;
  5148. procedure setADCS6(thebits : TBits_1); inline;
  5149. procedure setADCS7(thebits : TBits_1); inline;
  5150. procedure setADRC(thebits : TBits_1); inline;
  5151. procedure setSAMC(thebits : TBits_5); inline;
  5152. procedure setSAMC0(thebits : TBits_1); inline;
  5153. procedure setSAMC1(thebits : TBits_1); inline;
  5154. procedure setSAMC2(thebits : TBits_1); inline;
  5155. procedure setSAMC3(thebits : TBits_1); inline;
  5156. procedure setSAMC4(thebits : TBits_1); inline;
  5157. procedure setw(thebits : TBits_32); inline;
  5158. public
  5159. procedure clearADCS0; inline;
  5160. procedure clearADCS1; inline;
  5161. procedure clearADCS2; inline;
  5162. procedure clearADCS3; inline;
  5163. procedure clearADCS4; inline;
  5164. procedure clearADCS5; inline;
  5165. procedure clearADCS6; inline;
  5166. procedure clearADCS7; inline;
  5167. procedure clearADRC; inline;
  5168. procedure clearSAMC0; inline;
  5169. procedure clearSAMC1; inline;
  5170. procedure clearSAMC2; inline;
  5171. procedure clearSAMC3; inline;
  5172. procedure clearSAMC4; inline;
  5173. procedure setADCS0; inline;
  5174. procedure setADCS1; inline;
  5175. procedure setADCS2; inline;
  5176. procedure setADCS3; inline;
  5177. procedure setADCS4; inline;
  5178. procedure setADCS5; inline;
  5179. procedure setADCS6; inline;
  5180. procedure setADCS7; inline;
  5181. procedure setADRC; inline;
  5182. procedure setSAMC0; inline;
  5183. procedure setSAMC1; inline;
  5184. procedure setSAMC2; inline;
  5185. procedure setSAMC3; inline;
  5186. procedure setSAMC4; inline;
  5187. property ADCS : TBits_8 read getADCS write setADCS;
  5188. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  5189. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  5190. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  5191. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  5192. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  5193. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  5194. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  5195. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  5196. property ADRC : TBits_1 read getADRC write setADRC;
  5197. property SAMC : TBits_5 read getSAMC write setSAMC;
  5198. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  5199. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  5200. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  5201. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  5202. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  5203. property w : TBits_32 read getw write setw;
  5204. end;
  5205. TADC10_AD1CHS = record
  5206. private
  5207. function getCH0NA : TBits_1; inline;
  5208. function getCH0NB : TBits_1; inline;
  5209. function getCH0SA : TBits_5; inline;
  5210. function getCH0SA0 : TBits_1; inline;
  5211. function getCH0SA1 : TBits_1; inline;
  5212. function getCH0SA2 : TBits_1; inline;
  5213. function getCH0SA3 : TBits_1; inline;
  5214. function getCH0SA4 : TBits_1; inline;
  5215. function getCH0SB : TBits_5; inline;
  5216. function getCH0SB0 : TBits_1; inline;
  5217. function getCH0SB1 : TBits_1; inline;
  5218. function getCH0SB2 : TBits_1; inline;
  5219. function getCH0SB3 : TBits_1; inline;
  5220. function getCH0SB4 : TBits_1; inline;
  5221. function getw : TBits_32; inline;
  5222. procedure setCH0NA(thebits : TBits_1); inline;
  5223. procedure setCH0NB(thebits : TBits_1); inline;
  5224. procedure setCH0SA(thebits : TBits_5); inline;
  5225. procedure setCH0SA0(thebits : TBits_1); inline;
  5226. procedure setCH0SA1(thebits : TBits_1); inline;
  5227. procedure setCH0SA2(thebits : TBits_1); inline;
  5228. procedure setCH0SA3(thebits : TBits_1); inline;
  5229. procedure setCH0SA4(thebits : TBits_1); inline;
  5230. procedure setCH0SB(thebits : TBits_5); inline;
  5231. procedure setCH0SB0(thebits : TBits_1); inline;
  5232. procedure setCH0SB1(thebits : TBits_1); inline;
  5233. procedure setCH0SB2(thebits : TBits_1); inline;
  5234. procedure setCH0SB3(thebits : TBits_1); inline;
  5235. procedure setCH0SB4(thebits : TBits_1); inline;
  5236. procedure setw(thebits : TBits_32); inline;
  5237. public
  5238. procedure clearCH0NA; inline;
  5239. procedure clearCH0NB; inline;
  5240. procedure clearCH0SA0; inline;
  5241. procedure clearCH0SA1; inline;
  5242. procedure clearCH0SA2; inline;
  5243. procedure clearCH0SA3; inline;
  5244. procedure clearCH0SA4; inline;
  5245. procedure clearCH0SB0; inline;
  5246. procedure clearCH0SB1; inline;
  5247. procedure clearCH0SB2; inline;
  5248. procedure clearCH0SB3; inline;
  5249. procedure clearCH0SB4; inline;
  5250. procedure setCH0NA; inline;
  5251. procedure setCH0NB; inline;
  5252. procedure setCH0SA0; inline;
  5253. procedure setCH0SA1; inline;
  5254. procedure setCH0SA2; inline;
  5255. procedure setCH0SA3; inline;
  5256. procedure setCH0SA4; inline;
  5257. procedure setCH0SB0; inline;
  5258. procedure setCH0SB1; inline;
  5259. procedure setCH0SB2; inline;
  5260. procedure setCH0SB3; inline;
  5261. procedure setCH0SB4; inline;
  5262. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  5263. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  5264. property CH0SA : TBits_5 read getCH0SA write setCH0SA;
  5265. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  5266. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  5267. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  5268. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  5269. property CH0SA4 : TBits_1 read getCH0SA4 write setCH0SA4;
  5270. property CH0SB : TBits_5 read getCH0SB write setCH0SB;
  5271. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  5272. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  5273. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  5274. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  5275. property CH0SB4 : TBits_1 read getCH0SB4 write setCH0SB4;
  5276. property w : TBits_32 read getw write setw;
  5277. end;
  5278. TADC10_AD1CSSL = record
  5279. private
  5280. function getCSSL : TBits_31; inline;
  5281. function getCSSL0 : TBits_1; inline;
  5282. function getCSSL1 : TBits_1; inline;
  5283. function getCSSL10 : TBits_1; inline;
  5284. function getCSSL11 : TBits_1; inline;
  5285. function getCSSL12 : TBits_1; inline;
  5286. function getCSSL13 : TBits_1; inline;
  5287. function getCSSL14 : TBits_1; inline;
  5288. function getCSSL15 : TBits_1; inline;
  5289. function getCSSL16 : TBits_1; inline;
  5290. function getCSSL17 : TBits_1; inline;
  5291. function getCSSL18 : TBits_1; inline;
  5292. function getCSSL19 : TBits_1; inline;
  5293. function getCSSL2 : TBits_1; inline;
  5294. function getCSSL20 : TBits_1; inline;
  5295. function getCSSL21 : TBits_1; inline;
  5296. function getCSSL22 : TBits_1; inline;
  5297. function getCSSL23 : TBits_1; inline;
  5298. function getCSSL24 : TBits_1; inline;
  5299. function getCSSL25 : TBits_1; inline;
  5300. function getCSSL26 : TBits_1; inline;
  5301. function getCSSL27 : TBits_1; inline;
  5302. function getCSSL28 : TBits_1; inline;
  5303. function getCSSL29 : TBits_1; inline;
  5304. function getCSSL3 : TBits_1; inline;
  5305. function getCSSL30 : TBits_1; inline;
  5306. function getCSSL4 : TBits_1; inline;
  5307. function getCSSL5 : TBits_1; inline;
  5308. function getCSSL6 : TBits_1; inline;
  5309. function getCSSL7 : TBits_1; inline;
  5310. function getCSSL8 : TBits_1; inline;
  5311. function getCSSL9 : TBits_1; inline;
  5312. function getw : TBits_32; inline;
  5313. procedure setCSSL(thebits : TBits_31); inline;
  5314. procedure setCSSL0(thebits : TBits_1); inline;
  5315. procedure setCSSL1(thebits : TBits_1); inline;
  5316. procedure setCSSL10(thebits : TBits_1); inline;
  5317. procedure setCSSL11(thebits : TBits_1); inline;
  5318. procedure setCSSL12(thebits : TBits_1); inline;
  5319. procedure setCSSL13(thebits : TBits_1); inline;
  5320. procedure setCSSL14(thebits : TBits_1); inline;
  5321. procedure setCSSL15(thebits : TBits_1); inline;
  5322. procedure setCSSL16(thebits : TBits_1); inline;
  5323. procedure setCSSL17(thebits : TBits_1); inline;
  5324. procedure setCSSL18(thebits : TBits_1); inline;
  5325. procedure setCSSL19(thebits : TBits_1); inline;
  5326. procedure setCSSL2(thebits : TBits_1); inline;
  5327. procedure setCSSL20(thebits : TBits_1); inline;
  5328. procedure setCSSL21(thebits : TBits_1); inline;
  5329. procedure setCSSL22(thebits : TBits_1); inline;
  5330. procedure setCSSL23(thebits : TBits_1); inline;
  5331. procedure setCSSL24(thebits : TBits_1); inline;
  5332. procedure setCSSL25(thebits : TBits_1); inline;
  5333. procedure setCSSL26(thebits : TBits_1); inline;
  5334. procedure setCSSL27(thebits : TBits_1); inline;
  5335. procedure setCSSL28(thebits : TBits_1); inline;
  5336. procedure setCSSL29(thebits : TBits_1); inline;
  5337. procedure setCSSL3(thebits : TBits_1); inline;
  5338. procedure setCSSL30(thebits : TBits_1); inline;
  5339. procedure setCSSL4(thebits : TBits_1); inline;
  5340. procedure setCSSL5(thebits : TBits_1); inline;
  5341. procedure setCSSL6(thebits : TBits_1); inline;
  5342. procedure setCSSL7(thebits : TBits_1); inline;
  5343. procedure setCSSL8(thebits : TBits_1); inline;
  5344. procedure setCSSL9(thebits : TBits_1); inline;
  5345. procedure setw(thebits : TBits_32); inline;
  5346. public
  5347. procedure clearCSSL0; inline;
  5348. procedure clearCSSL10; inline;
  5349. procedure clearCSSL11; inline;
  5350. procedure clearCSSL12; inline;
  5351. procedure clearCSSL13; inline;
  5352. procedure clearCSSL14; inline;
  5353. procedure clearCSSL15; inline;
  5354. procedure clearCSSL16; inline;
  5355. procedure clearCSSL17; inline;
  5356. procedure clearCSSL18; inline;
  5357. procedure clearCSSL19; inline;
  5358. procedure clearCSSL1; inline;
  5359. procedure clearCSSL20; inline;
  5360. procedure clearCSSL21; inline;
  5361. procedure clearCSSL22; inline;
  5362. procedure clearCSSL23; inline;
  5363. procedure clearCSSL24; inline;
  5364. procedure clearCSSL25; inline;
  5365. procedure clearCSSL26; inline;
  5366. procedure clearCSSL27; inline;
  5367. procedure clearCSSL28; inline;
  5368. procedure clearCSSL29; inline;
  5369. procedure clearCSSL2; inline;
  5370. procedure clearCSSL30; inline;
  5371. procedure clearCSSL3; inline;
  5372. procedure clearCSSL4; inline;
  5373. procedure clearCSSL5; inline;
  5374. procedure clearCSSL6; inline;
  5375. procedure clearCSSL7; inline;
  5376. procedure clearCSSL8; inline;
  5377. procedure clearCSSL9; inline;
  5378. procedure setCSSL0; inline;
  5379. procedure setCSSL10; inline;
  5380. procedure setCSSL11; inline;
  5381. procedure setCSSL12; inline;
  5382. procedure setCSSL13; inline;
  5383. procedure setCSSL14; inline;
  5384. procedure setCSSL15; inline;
  5385. procedure setCSSL16; inline;
  5386. procedure setCSSL17; inline;
  5387. procedure setCSSL18; inline;
  5388. procedure setCSSL19; inline;
  5389. procedure setCSSL1; inline;
  5390. procedure setCSSL20; inline;
  5391. procedure setCSSL21; inline;
  5392. procedure setCSSL22; inline;
  5393. procedure setCSSL23; inline;
  5394. procedure setCSSL24; inline;
  5395. procedure setCSSL25; inline;
  5396. procedure setCSSL26; inline;
  5397. procedure setCSSL27; inline;
  5398. procedure setCSSL28; inline;
  5399. procedure setCSSL29; inline;
  5400. procedure setCSSL2; inline;
  5401. procedure setCSSL30; inline;
  5402. procedure setCSSL3; inline;
  5403. procedure setCSSL4; inline;
  5404. procedure setCSSL5; inline;
  5405. procedure setCSSL6; inline;
  5406. procedure setCSSL7; inline;
  5407. procedure setCSSL8; inline;
  5408. procedure setCSSL9; inline;
  5409. property CSSL : TBits_31 read getCSSL write setCSSL;
  5410. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  5411. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  5412. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  5413. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  5414. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  5415. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  5416. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  5417. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  5418. property CSSL16 : TBits_1 read getCSSL16 write setCSSL16;
  5419. property CSSL17 : TBits_1 read getCSSL17 write setCSSL17;
  5420. property CSSL18 : TBits_1 read getCSSL18 write setCSSL18;
  5421. property CSSL19 : TBits_1 read getCSSL19 write setCSSL19;
  5422. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  5423. property CSSL20 : TBits_1 read getCSSL20 write setCSSL20;
  5424. property CSSL21 : TBits_1 read getCSSL21 write setCSSL21;
  5425. property CSSL22 : TBits_1 read getCSSL22 write setCSSL22;
  5426. property CSSL23 : TBits_1 read getCSSL23 write setCSSL23;
  5427. property CSSL24 : TBits_1 read getCSSL24 write setCSSL24;
  5428. property CSSL25 : TBits_1 read getCSSL25 write setCSSL25;
  5429. property CSSL26 : TBits_1 read getCSSL26 write setCSSL26;
  5430. property CSSL27 : TBits_1 read getCSSL27 write setCSSL27;
  5431. property CSSL28 : TBits_1 read getCSSL28 write setCSSL28;
  5432. property CSSL29 : TBits_1 read getCSSL29 write setCSSL29;
  5433. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  5434. property CSSL30 : TBits_1 read getCSSL30 write setCSSL30;
  5435. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  5436. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  5437. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  5438. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  5439. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  5440. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  5441. property w : TBits_32 read getw write setw;
  5442. end;
  5443. type
  5444. TADC10Registers = record
  5445. AD1CON1bits : TADC10_AD1CON1;
  5446. AD1CON1 : longWord;
  5447. AD1CON1CLR : longWord;
  5448. AD1CON1SET : longWord;
  5449. AD1CON1INV : longWord;
  5450. AD1CON2bits : TADC10_AD1CON2;
  5451. AD1CON2 : longWord;
  5452. AD1CON2CLR : longWord;
  5453. AD1CON2SET : longWord;
  5454. AD1CON2INV : longWord;
  5455. AD1CON3bits : TADC10_AD1CON3;
  5456. AD1CON3 : longWord;
  5457. AD1CON3CLR : longWord;
  5458. AD1CON3SET : longWord;
  5459. AD1CON3INV : longWord;
  5460. AD1CHSbits : TADC10_AD1CHS;
  5461. AD1CHS : longWord;
  5462. AD1CHSCLR : longWord;
  5463. AD1CHSSET : longWord;
  5464. AD1CHSINV : longWord;
  5465. AD1CSSLbits : TADC10_AD1CSSL;
  5466. AD1CSSL : longWord;
  5467. AD1CSSLCLR : longWord;
  5468. AD1CSSLSET : longWord;
  5469. AD1CSSLINV : longWord;
  5470. ADC1BUF0 : longWord;
  5471. ADC1BUF1 : longWord;
  5472. ADC1BUF2 : longWord;
  5473. ADC1BUF3 : longWord;
  5474. ADC1BUF4 : longWord;
  5475. ADC1BUF5 : longWord;
  5476. ADC1BUF6 : longWord;
  5477. ADC1BUF7 : longWord;
  5478. ADC1BUF8 : longWord;
  5479. ADC1BUF9 : longWord;
  5480. ADC1BUFA : longWord;
  5481. ADC1BUFB : longWord;
  5482. ADC1BUFC : longWord;
  5483. ADC1BUFD : longWord;
  5484. ADC1BUFE : longWord;
  5485. ADC1BUFF : longWord;
  5486. end;
  5487. TCVR_CVRCON = record
  5488. private
  5489. function getCVR : TBits_4; inline;
  5490. function getCVR0 : TBits_1; inline;
  5491. function getCVR1 : TBits_1; inline;
  5492. function getCVR2 : TBits_1; inline;
  5493. function getCVR3 : TBits_1; inline;
  5494. function getCVROE : TBits_1; inline;
  5495. function getCVRR : TBits_1; inline;
  5496. function getCVRSS : TBits_1; inline;
  5497. function getON : TBits_1; inline;
  5498. function getw : TBits_32; inline;
  5499. procedure setCVR(thebits : TBits_4); inline;
  5500. procedure setCVR0(thebits : TBits_1); inline;
  5501. procedure setCVR1(thebits : TBits_1); inline;
  5502. procedure setCVR2(thebits : TBits_1); inline;
  5503. procedure setCVR3(thebits : TBits_1); inline;
  5504. procedure setCVROE(thebits : TBits_1); inline;
  5505. procedure setCVRR(thebits : TBits_1); inline;
  5506. procedure setCVRSS(thebits : TBits_1); inline;
  5507. procedure setON(thebits : TBits_1); inline;
  5508. procedure setw(thebits : TBits_32); inline;
  5509. public
  5510. procedure clearCVR0; inline;
  5511. procedure clearCVR1; inline;
  5512. procedure clearCVR2; inline;
  5513. procedure clearCVR3; inline;
  5514. procedure clearCVROE; inline;
  5515. procedure clearCVRR; inline;
  5516. procedure clearCVRSS; inline;
  5517. procedure clearON; inline;
  5518. procedure setCVR0; inline;
  5519. procedure setCVR1; inline;
  5520. procedure setCVR2; inline;
  5521. procedure setCVR3; inline;
  5522. procedure setCVROE; inline;
  5523. procedure setCVRR; inline;
  5524. procedure setCVRSS; inline;
  5525. procedure setON; inline;
  5526. property CVR : TBits_4 read getCVR write setCVR;
  5527. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  5528. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  5529. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  5530. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  5531. property CVROE : TBits_1 read getCVROE write setCVROE;
  5532. property CVRR : TBits_1 read getCVRR write setCVRR;
  5533. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  5534. property ON : TBits_1 read getON write setON;
  5535. property w : TBits_32 read getw write setw;
  5536. end;
  5537. type
  5538. TCVRRegisters = record
  5539. CVRCONbits : TCVR_CVRCON;
  5540. CVRCON : longWord;
  5541. CVRCONCLR : longWord;
  5542. CVRCONSET : longWord;
  5543. CVRCONINV : longWord;
  5544. end;
  5545. TCMP_CM1CON = record
  5546. private
  5547. function getCCH : TBits_2; inline;
  5548. function getCCH0 : TBits_1; inline;
  5549. function getCCH1 : TBits_1; inline;
  5550. function getCOE : TBits_1; inline;
  5551. function getCOUT : TBits_1; inline;
  5552. function getCPOL : TBits_1; inline;
  5553. function getCREF : TBits_1; inline;
  5554. function getEVPOL : TBits_2; inline;
  5555. function getEVPOL0 : TBits_1; inline;
  5556. function getEVPOL1 : TBits_1; inline;
  5557. function getON : TBits_1; inline;
  5558. function getw : TBits_32; inline;
  5559. procedure setCCH(thebits : TBits_2); inline;
  5560. procedure setCCH0(thebits : TBits_1); inline;
  5561. procedure setCCH1(thebits : TBits_1); inline;
  5562. procedure setCOE(thebits : TBits_1); inline;
  5563. procedure setCOUT(thebits : TBits_1); inline;
  5564. procedure setCPOL(thebits : TBits_1); inline;
  5565. procedure setCREF(thebits : TBits_1); inline;
  5566. procedure setEVPOL(thebits : TBits_2); inline;
  5567. procedure setEVPOL0(thebits : TBits_1); inline;
  5568. procedure setEVPOL1(thebits : TBits_1); inline;
  5569. procedure setON(thebits : TBits_1); inline;
  5570. procedure setw(thebits : TBits_32); inline;
  5571. public
  5572. procedure clearCCH0; inline;
  5573. procedure clearCCH1; inline;
  5574. procedure clearCOE; inline;
  5575. procedure clearCOUT; inline;
  5576. procedure clearCPOL; inline;
  5577. procedure clearCREF; inline;
  5578. procedure clearEVPOL0; inline;
  5579. procedure clearEVPOL1; inline;
  5580. procedure clearON; inline;
  5581. procedure setCCH0; inline;
  5582. procedure setCCH1; inline;
  5583. procedure setCOE; inline;
  5584. procedure setCOUT; inline;
  5585. procedure setCPOL; inline;
  5586. procedure setCREF; inline;
  5587. procedure setEVPOL0; inline;
  5588. procedure setEVPOL1; inline;
  5589. procedure setON; inline;
  5590. property CCH : TBits_2 read getCCH write setCCH;
  5591. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  5592. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  5593. property COE : TBits_1 read getCOE write setCOE;
  5594. property COUT : TBits_1 read getCOUT write setCOUT;
  5595. property CPOL : TBits_1 read getCPOL write setCPOL;
  5596. property CREF : TBits_1 read getCREF write setCREF;
  5597. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  5598. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  5599. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  5600. property ON : TBits_1 read getON write setON;
  5601. property w : TBits_32 read getw write setw;
  5602. end;
  5603. TCMP_CM2CON = record
  5604. private
  5605. function getCCH : TBits_2; inline;
  5606. function getCCH0 : TBits_1; inline;
  5607. function getCCH1 : TBits_1; inline;
  5608. function getCOE : TBits_1; inline;
  5609. function getCOUT : TBits_1; inline;
  5610. function getCPOL : TBits_1; inline;
  5611. function getCREF : TBits_1; inline;
  5612. function getEVPOL : TBits_2; inline;
  5613. function getEVPOL0 : TBits_1; inline;
  5614. function getEVPOL1 : TBits_1; inline;
  5615. function getON : TBits_1; inline;
  5616. function getw : TBits_32; inline;
  5617. procedure setCCH(thebits : TBits_2); inline;
  5618. procedure setCCH0(thebits : TBits_1); inline;
  5619. procedure setCCH1(thebits : TBits_1); inline;
  5620. procedure setCOE(thebits : TBits_1); inline;
  5621. procedure setCOUT(thebits : TBits_1); inline;
  5622. procedure setCPOL(thebits : TBits_1); inline;
  5623. procedure setCREF(thebits : TBits_1); inline;
  5624. procedure setEVPOL(thebits : TBits_2); inline;
  5625. procedure setEVPOL0(thebits : TBits_1); inline;
  5626. procedure setEVPOL1(thebits : TBits_1); inline;
  5627. procedure setON(thebits : TBits_1); inline;
  5628. procedure setw(thebits : TBits_32); inline;
  5629. public
  5630. procedure clearCCH0; inline;
  5631. procedure clearCCH1; inline;
  5632. procedure clearCOE; inline;
  5633. procedure clearCOUT; inline;
  5634. procedure clearCPOL; inline;
  5635. procedure clearCREF; inline;
  5636. procedure clearEVPOL0; inline;
  5637. procedure clearEVPOL1; inline;
  5638. procedure clearON; inline;
  5639. procedure setCCH0; inline;
  5640. procedure setCCH1; inline;
  5641. procedure setCOE; inline;
  5642. procedure setCOUT; inline;
  5643. procedure setCPOL; inline;
  5644. procedure setCREF; inline;
  5645. procedure setEVPOL0; inline;
  5646. procedure setEVPOL1; inline;
  5647. procedure setON; inline;
  5648. property CCH : TBits_2 read getCCH write setCCH;
  5649. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  5650. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  5651. property COE : TBits_1 read getCOE write setCOE;
  5652. property COUT : TBits_1 read getCOUT write setCOUT;
  5653. property CPOL : TBits_1 read getCPOL write setCPOL;
  5654. property CREF : TBits_1 read getCREF write setCREF;
  5655. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  5656. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  5657. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  5658. property ON : TBits_1 read getON write setON;
  5659. property w : TBits_32 read getw write setw;
  5660. end;
  5661. TCMP_CMSTAT = record
  5662. private
  5663. function getC1OUT : TBits_1; inline;
  5664. function getC2OUT : TBits_1; inline;
  5665. function getSIDL : TBits_1; inline;
  5666. function getw : TBits_32; inline;
  5667. procedure setC1OUT(thebits : TBits_1); inline;
  5668. procedure setC2OUT(thebits : TBits_1); inline;
  5669. procedure setSIDL(thebits : TBits_1); inline;
  5670. procedure setw(thebits : TBits_32); inline;
  5671. public
  5672. procedure clearC1OUT; inline;
  5673. procedure clearC2OUT; inline;
  5674. procedure clearSIDL; inline;
  5675. procedure setC1OUT; inline;
  5676. procedure setC2OUT; inline;
  5677. procedure setSIDL; inline;
  5678. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  5679. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  5680. property SIDL : TBits_1 read getSIDL write setSIDL;
  5681. property w : TBits_32 read getw write setw;
  5682. end;
  5683. TCMP_CTMUCON = record
  5684. private
  5685. function getCTMUSIDL : TBits_1; inline;
  5686. function getCTTRIG : TBits_1; inline;
  5687. function getEDG1MOD : TBits_1; inline;
  5688. function getEDG1POL : TBits_1; inline;
  5689. function getEDG1SEL : TBits_4; inline;
  5690. function getEDG1STAT : TBits_1; inline;
  5691. function getEDG2MOD : TBits_1; inline;
  5692. function getEDG2POL : TBits_1; inline;
  5693. function getEDG2SEL : TBits_4; inline;
  5694. function getEDG2STAT : TBits_1; inline;
  5695. function getEDGEN : TBits_1; inline;
  5696. function getEDGSEQEN : TBits_1; inline;
  5697. function getIDISSEN : TBits_1; inline;
  5698. function getIRNG : TBits_2; inline;
  5699. function getITRIM : TBits_6; inline;
  5700. function getON : TBits_1; inline;
  5701. function getTGEN : TBits_1; inline;
  5702. function getw : TBits_32; inline;
  5703. procedure setCTMUSIDL(thebits : TBits_1); inline;
  5704. procedure setCTTRIG(thebits : TBits_1); inline;
  5705. procedure setEDG1MOD(thebits : TBits_1); inline;
  5706. procedure setEDG1POL(thebits : TBits_1); inline;
  5707. procedure setEDG1SEL(thebits : TBits_4); inline;
  5708. procedure setEDG1STAT(thebits : TBits_1); inline;
  5709. procedure setEDG2MOD(thebits : TBits_1); inline;
  5710. procedure setEDG2POL(thebits : TBits_1); inline;
  5711. procedure setEDG2SEL(thebits : TBits_4); inline;
  5712. procedure setEDG2STAT(thebits : TBits_1); inline;
  5713. procedure setEDGEN(thebits : TBits_1); inline;
  5714. procedure setEDGSEQEN(thebits : TBits_1); inline;
  5715. procedure setIDISSEN(thebits : TBits_1); inline;
  5716. procedure setIRNG(thebits : TBits_2); inline;
  5717. procedure setITRIM(thebits : TBits_6); inline;
  5718. procedure setON(thebits : TBits_1); inline;
  5719. procedure setTGEN(thebits : TBits_1); inline;
  5720. procedure setw(thebits : TBits_32); inline;
  5721. public
  5722. procedure clearCTMUSIDL; inline;
  5723. procedure clearCTTRIG; inline;
  5724. procedure clearEDG1MOD; inline;
  5725. procedure clearEDG1POL; inline;
  5726. procedure clearEDG1STAT; inline;
  5727. procedure clearEDG2MOD; inline;
  5728. procedure clearEDG2POL; inline;
  5729. procedure clearEDG2STAT; inline;
  5730. procedure clearEDGEN; inline;
  5731. procedure clearEDGSEQEN; inline;
  5732. procedure clearIDISSEN; inline;
  5733. procedure clearON; inline;
  5734. procedure clearTGEN; inline;
  5735. procedure setCTMUSIDL; inline;
  5736. procedure setCTTRIG; inline;
  5737. procedure setEDG1MOD; inline;
  5738. procedure setEDG1POL; inline;
  5739. procedure setEDG1STAT; inline;
  5740. procedure setEDG2MOD; inline;
  5741. procedure setEDG2POL; inline;
  5742. procedure setEDG2STAT; inline;
  5743. procedure setEDGEN; inline;
  5744. procedure setEDGSEQEN; inline;
  5745. procedure setIDISSEN; inline;
  5746. procedure setON; inline;
  5747. procedure setTGEN; inline;
  5748. property CTMUSIDL : TBits_1 read getCTMUSIDL write setCTMUSIDL;
  5749. property CTTRIG : TBits_1 read getCTTRIG write setCTTRIG;
  5750. property EDG1MOD : TBits_1 read getEDG1MOD write setEDG1MOD;
  5751. property EDG1POL : TBits_1 read getEDG1POL write setEDG1POL;
  5752. property EDG1SEL : TBits_4 read getEDG1SEL write setEDG1SEL;
  5753. property EDG1STAT : TBits_1 read getEDG1STAT write setEDG1STAT;
  5754. property EDG2MOD : TBits_1 read getEDG2MOD write setEDG2MOD;
  5755. property EDG2POL : TBits_1 read getEDG2POL write setEDG2POL;
  5756. property EDG2SEL : TBits_4 read getEDG2SEL write setEDG2SEL;
  5757. property EDG2STAT : TBits_1 read getEDG2STAT write setEDG2STAT;
  5758. property EDGEN : TBits_1 read getEDGEN write setEDGEN;
  5759. property EDGSEQEN : TBits_1 read getEDGSEQEN write setEDGSEQEN;
  5760. property IDISSEN : TBits_1 read getIDISSEN write setIDISSEN;
  5761. property IRNG : TBits_2 read getIRNG write setIRNG;
  5762. property ITRIM : TBits_6 read getITRIM write setITRIM;
  5763. property ON : TBits_1 read getON write setON;
  5764. property TGEN : TBits_1 read getTGEN write setTGEN;
  5765. property w : TBits_32 read getw write setw;
  5766. end;
  5767. type
  5768. TCMPRegisters = record
  5769. CM1CONbits : TCMP_CM1CON;
  5770. CM1CON : longWord;
  5771. CM1CONCLR : longWord;
  5772. CM1CONSET : longWord;
  5773. CM1CONINV : longWord;
  5774. CM2CONbits : TCMP_CM2CON;
  5775. CM2CON : longWord;
  5776. CM2CONCLR : longWord;
  5777. CM2CONSET : longWord;
  5778. CM2CONINV : longWord;
  5779. CMSTATbits : TCMP_CMSTAT;
  5780. CMSTAT : longWord;
  5781. CMSTATCLR : longWord;
  5782. CMSTATSET : longWord;
  5783. CMSTATINV : longWord;
  5784. CTMUCONbits : TCMP_CTMUCON;
  5785. CTMUCON : longWord;
  5786. CTMUCONCLR : longWord;
  5787. CTMUCONSET : longWord;
  5788. CTMUCONINV : longWord;
  5789. end;
  5790. TOSC_OSCCON = record
  5791. private
  5792. function getCF : TBits_1; inline;
  5793. function getCLKLOCK : TBits_1; inline;
  5794. function getCOSC : TBits_3; inline;
  5795. function getCOSC0 : TBits_1; inline;
  5796. function getCOSC1 : TBits_1; inline;
  5797. function getCOSC2 : TBits_1; inline;
  5798. function getFRCDIV : TBits_3; inline;
  5799. function getFRCDIV0 : TBits_1; inline;
  5800. function getFRCDIV1 : TBits_1; inline;
  5801. function getFRCDIV2 : TBits_1; inline;
  5802. function getNOSC : TBits_3; inline;
  5803. function getNOSC0 : TBits_1; inline;
  5804. function getNOSC1 : TBits_1; inline;
  5805. function getNOSC2 : TBits_1; inline;
  5806. function getOSWEN : TBits_1; inline;
  5807. function getPBDIV : TBits_2; inline;
  5808. function getPBDIV0 : TBits_1; inline;
  5809. function getPBDIV1 : TBits_1; inline;
  5810. function getPBDIVRDY : TBits_1; inline;
  5811. function getPLLMULT : TBits_3; inline;
  5812. function getPLLMULT0 : TBits_1; inline;
  5813. function getPLLMULT1 : TBits_1; inline;
  5814. function getPLLMULT2 : TBits_1; inline;
  5815. function getPLLODIV : TBits_3; inline;
  5816. function getPLLODIV0 : TBits_1; inline;
  5817. function getPLLODIV1 : TBits_1; inline;
  5818. function getPLLODIV2 : TBits_1; inline;
  5819. function getSLOCK : TBits_1; inline;
  5820. function getSLPEN : TBits_1; inline;
  5821. function getSOSCEN : TBits_1; inline;
  5822. function getSOSCRDY : TBits_1; inline;
  5823. function getUFRCEN : TBits_1; inline;
  5824. function getULOCK : TBits_1; inline;
  5825. function getw : TBits_32; inline;
  5826. procedure setCF(thebits : TBits_1); inline;
  5827. procedure setCLKLOCK(thebits : TBits_1); inline;
  5828. procedure setCOSC(thebits : TBits_3); inline;
  5829. procedure setCOSC0(thebits : TBits_1); inline;
  5830. procedure setCOSC1(thebits : TBits_1); inline;
  5831. procedure setCOSC2(thebits : TBits_1); inline;
  5832. procedure setFRCDIV(thebits : TBits_3); inline;
  5833. procedure setFRCDIV0(thebits : TBits_1); inline;
  5834. procedure setFRCDIV1(thebits : TBits_1); inline;
  5835. procedure setFRCDIV2(thebits : TBits_1); inline;
  5836. procedure setNOSC(thebits : TBits_3); inline;
  5837. procedure setNOSC0(thebits : TBits_1); inline;
  5838. procedure setNOSC1(thebits : TBits_1); inline;
  5839. procedure setNOSC2(thebits : TBits_1); inline;
  5840. procedure setOSWEN(thebits : TBits_1); inline;
  5841. procedure setPBDIV(thebits : TBits_2); inline;
  5842. procedure setPBDIV0(thebits : TBits_1); inline;
  5843. procedure setPBDIV1(thebits : TBits_1); inline;
  5844. procedure setPBDIVRDY(thebits : TBits_1); inline;
  5845. procedure setPLLMULT(thebits : TBits_3); inline;
  5846. procedure setPLLMULT0(thebits : TBits_1); inline;
  5847. procedure setPLLMULT1(thebits : TBits_1); inline;
  5848. procedure setPLLMULT2(thebits : TBits_1); inline;
  5849. procedure setPLLODIV(thebits : TBits_3); inline;
  5850. procedure setPLLODIV0(thebits : TBits_1); inline;
  5851. procedure setPLLODIV1(thebits : TBits_1); inline;
  5852. procedure setPLLODIV2(thebits : TBits_1); inline;
  5853. procedure setSLOCK(thebits : TBits_1); inline;
  5854. procedure setSLPEN(thebits : TBits_1); inline;
  5855. procedure setSOSCEN(thebits : TBits_1); inline;
  5856. procedure setSOSCRDY(thebits : TBits_1); inline;
  5857. procedure setUFRCEN(thebits : TBits_1); inline;
  5858. procedure setULOCK(thebits : TBits_1); inline;
  5859. procedure setw(thebits : TBits_32); inline;
  5860. public
  5861. procedure clearCF; inline;
  5862. procedure clearCLKLOCK; inline;
  5863. procedure clearCOSC0; inline;
  5864. procedure clearCOSC1; inline;
  5865. procedure clearCOSC2; inline;
  5866. procedure clearFRCDIV0; inline;
  5867. procedure clearFRCDIV1; inline;
  5868. procedure clearFRCDIV2; inline;
  5869. procedure clearNOSC0; inline;
  5870. procedure clearNOSC1; inline;
  5871. procedure clearNOSC2; inline;
  5872. procedure clearOSWEN; inline;
  5873. procedure clearPBDIV0; inline;
  5874. procedure clearPBDIV1; inline;
  5875. procedure clearPBDIVRDY; inline;
  5876. procedure clearPLLMULT0; inline;
  5877. procedure clearPLLMULT1; inline;
  5878. procedure clearPLLMULT2; inline;
  5879. procedure clearPLLODIV0; inline;
  5880. procedure clearPLLODIV1; inline;
  5881. procedure clearPLLODIV2; inline;
  5882. procedure clearSLOCK; inline;
  5883. procedure clearSLPEN; inline;
  5884. procedure clearSOSCEN; inline;
  5885. procedure clearSOSCRDY; inline;
  5886. procedure clearUFRCEN; inline;
  5887. procedure clearULOCK; inline;
  5888. procedure setCF; inline;
  5889. procedure setCLKLOCK; inline;
  5890. procedure setCOSC0; inline;
  5891. procedure setCOSC1; inline;
  5892. procedure setCOSC2; inline;
  5893. procedure setFRCDIV0; inline;
  5894. procedure setFRCDIV1; inline;
  5895. procedure setFRCDIV2; inline;
  5896. procedure setNOSC0; inline;
  5897. procedure setNOSC1; inline;
  5898. procedure setNOSC2; inline;
  5899. procedure setOSWEN; inline;
  5900. procedure setPBDIV0; inline;
  5901. procedure setPBDIV1; inline;
  5902. procedure setPBDIVRDY; inline;
  5903. procedure setPLLMULT0; inline;
  5904. procedure setPLLMULT1; inline;
  5905. procedure setPLLMULT2; inline;
  5906. procedure setPLLODIV0; inline;
  5907. procedure setPLLODIV1; inline;
  5908. procedure setPLLODIV2; inline;
  5909. procedure setSLOCK; inline;
  5910. procedure setSLPEN; inline;
  5911. procedure setSOSCEN; inline;
  5912. procedure setSOSCRDY; inline;
  5913. procedure setUFRCEN; inline;
  5914. procedure setULOCK; inline;
  5915. property CF : TBits_1 read getCF write setCF;
  5916. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  5917. property COSC : TBits_3 read getCOSC write setCOSC;
  5918. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  5919. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  5920. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  5921. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  5922. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  5923. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  5924. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  5925. property NOSC : TBits_3 read getNOSC write setNOSC;
  5926. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  5927. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  5928. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  5929. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  5930. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  5931. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  5932. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  5933. property PBDIVRDY : TBits_1 read getPBDIVRDY write setPBDIVRDY;
  5934. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  5935. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  5936. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  5937. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  5938. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  5939. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  5940. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  5941. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  5942. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  5943. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  5944. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  5945. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  5946. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  5947. property ULOCK : TBits_1 read getULOCK write setULOCK;
  5948. property w : TBits_32 read getw write setw;
  5949. end;
  5950. TOSC_OSCTUN = record
  5951. private
  5952. function getTUN : TBits_6; inline;
  5953. function getTUN0 : TBits_1; inline;
  5954. function getTUN1 : TBits_1; inline;
  5955. function getTUN2 : TBits_1; inline;
  5956. function getTUN3 : TBits_1; inline;
  5957. function getTUN4 : TBits_1; inline;
  5958. function getTUN5 : TBits_1; inline;
  5959. function getw : TBits_32; inline;
  5960. procedure setTUN(thebits : TBits_6); inline;
  5961. procedure setTUN0(thebits : TBits_1); inline;
  5962. procedure setTUN1(thebits : TBits_1); inline;
  5963. procedure setTUN2(thebits : TBits_1); inline;
  5964. procedure setTUN3(thebits : TBits_1); inline;
  5965. procedure setTUN4(thebits : TBits_1); inline;
  5966. procedure setTUN5(thebits : TBits_1); inline;
  5967. procedure setw(thebits : TBits_32); inline;
  5968. public
  5969. procedure clearTUN0; inline;
  5970. procedure clearTUN1; inline;
  5971. procedure clearTUN2; inline;
  5972. procedure clearTUN3; inline;
  5973. procedure clearTUN4; inline;
  5974. procedure clearTUN5; inline;
  5975. procedure setTUN0; inline;
  5976. procedure setTUN1; inline;
  5977. procedure setTUN2; inline;
  5978. procedure setTUN3; inline;
  5979. procedure setTUN4; inline;
  5980. procedure setTUN5; inline;
  5981. property TUN : TBits_6 read getTUN write setTUN;
  5982. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  5983. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  5984. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  5985. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  5986. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  5987. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  5988. property w : TBits_32 read getw write setw;
  5989. end;
  5990. TOSC_REFOCON = record
  5991. private
  5992. function getACTIVE : TBits_1; inline;
  5993. function getDIVSWEN : TBits_1; inline;
  5994. function getOE : TBits_1; inline;
  5995. function getON : TBits_1; inline;
  5996. function getRODIV : TBits_15; inline;
  5997. function getROSEL : TBits_4; inline;
  5998. function getRSLP : TBits_1; inline;
  5999. function getSIDL : TBits_1; inline;
  6000. function getw : TBits_32; inline;
  6001. procedure setACTIVE(thebits : TBits_1); inline;
  6002. procedure setDIVSWEN(thebits : TBits_1); inline;
  6003. procedure setOE(thebits : TBits_1); inline;
  6004. procedure setON(thebits : TBits_1); inline;
  6005. procedure setRODIV(thebits : TBits_15); inline;
  6006. procedure setROSEL(thebits : TBits_4); inline;
  6007. procedure setRSLP(thebits : TBits_1); inline;
  6008. procedure setSIDL(thebits : TBits_1); inline;
  6009. procedure setw(thebits : TBits_32); inline;
  6010. public
  6011. procedure clearACTIVE; inline;
  6012. procedure clearDIVSWEN; inline;
  6013. procedure clearOE; inline;
  6014. procedure clearON; inline;
  6015. procedure clearRSLP; inline;
  6016. procedure clearSIDL; inline;
  6017. procedure setACTIVE; inline;
  6018. procedure setDIVSWEN; inline;
  6019. procedure setOE; inline;
  6020. procedure setON; inline;
  6021. procedure setRSLP; inline;
  6022. procedure setSIDL; inline;
  6023. property ACTIVE : TBits_1 read getACTIVE write setACTIVE;
  6024. property DIVSWEN : TBits_1 read getDIVSWEN write setDIVSWEN;
  6025. property OE : TBits_1 read getOE write setOE;
  6026. property ON : TBits_1 read getON write setON;
  6027. property RODIV : TBits_15 read getRODIV write setRODIV;
  6028. property ROSEL : TBits_4 read getROSEL write setROSEL;
  6029. property RSLP : TBits_1 read getRSLP write setRSLP;
  6030. property SIDL : TBits_1 read getSIDL write setSIDL;
  6031. property w : TBits_32 read getw write setw;
  6032. end;
  6033. TOSC_REFOTRIM = record
  6034. private
  6035. function getROTRIM : TBits_9; inline;
  6036. function getw : TBits_32; inline;
  6037. procedure setROTRIM(thebits : TBits_9); inline;
  6038. procedure setw(thebits : TBits_32); inline;
  6039. public
  6040. property ROTRIM : TBits_9 read getROTRIM write setROTRIM;
  6041. property w : TBits_32 read getw write setw;
  6042. end;
  6043. type
  6044. TOSCRegisters = record
  6045. OSCCONbits : TOSC_OSCCON;
  6046. OSCCON : longWord;
  6047. OSCCONCLR : longWord;
  6048. OSCCONSET : longWord;
  6049. OSCCONINV : longWord;
  6050. OSCTUNbits : TOSC_OSCTUN;
  6051. OSCTUN : longWord;
  6052. OSCTUNCLR : longWord;
  6053. OSCTUNSET : longWord;
  6054. OSCTUNINV : longWord;
  6055. REFOCONbits : TOSC_REFOCON;
  6056. REFOCON : longWord;
  6057. REFOCONCLR : longWord;
  6058. REFOCONSET : longWord;
  6059. REFOCONINV : longWord;
  6060. REFOTRIMbits : TOSC_REFOTRIM;
  6061. REFOTRIM : longWord;
  6062. REFOTRIMCLR : longWord;
  6063. REFOTRIMSET : longWord;
  6064. REFOTRIMINV : longWord;
  6065. end;
  6066. type
  6067. TCFGRegisters = record
  6068. CFGCON : longWord;
  6069. DDPCON : longWord;
  6070. DEVID : longWord;
  6071. SYSKEY : longWord;
  6072. SYSKEYCLR : longWord;
  6073. SYSKEYSET : longWord;
  6074. SYSKEYINV : longWord;
  6075. PMD1 : longWord;
  6076. PMD1CLR : longWord;
  6077. PMD1SET : longWord;
  6078. PMD1INV : longWord;
  6079. PMD2 : longWord;
  6080. PMD2CLR : longWord;
  6081. PMD2SET : longWord;
  6082. PMD2INV : longWord;
  6083. PMD3 : longWord;
  6084. PMD3CLR : longWord;
  6085. PMD3SET : longWord;
  6086. PMD3INV : longWord;
  6087. PMD4 : longWord;
  6088. PMD4CLR : longWord;
  6089. PMD4SET : longWord;
  6090. PMD4INV : longWord;
  6091. PMD5 : longWord;
  6092. PMD5CLR : longWord;
  6093. PMD5SET : longWord;
  6094. PMD5INV : longWord;
  6095. PMD6 : longWord;
  6096. PMD6CLR : longWord;
  6097. PMD6SET : longWord;
  6098. PMD6INV : longWord;
  6099. end;
  6100. TNVM_NVMCON = record
  6101. private
  6102. function getLVDERR : TBits_1; inline;
  6103. function getLVDSTAT : TBits_1; inline;
  6104. function getNVMOP : TBits_4; inline;
  6105. function getNVMOP0 : TBits_1; inline;
  6106. function getNVMOP1 : TBits_1; inline;
  6107. function getNVMOP2 : TBits_1; inline;
  6108. function getNVMOP3 : TBits_1; inline;
  6109. function getPROGOP : TBits_4; inline;
  6110. function getPROGOP0 : TBits_1; inline;
  6111. function getPROGOP1 : TBits_1; inline;
  6112. function getPROGOP2 : TBits_1; inline;
  6113. function getPROGOP3 : TBits_1; inline;
  6114. function getWR : TBits_1; inline;
  6115. function getWREN : TBits_1; inline;
  6116. function getWRERR : TBits_1; inline;
  6117. function getw : TBits_32; inline;
  6118. procedure setLVDERR(thebits : TBits_1); inline;
  6119. procedure setLVDSTAT(thebits : TBits_1); inline;
  6120. procedure setNVMOP(thebits : TBits_4); inline;
  6121. procedure setNVMOP0(thebits : TBits_1); inline;
  6122. procedure setNVMOP1(thebits : TBits_1); inline;
  6123. procedure setNVMOP2(thebits : TBits_1); inline;
  6124. procedure setNVMOP3(thebits : TBits_1); inline;
  6125. procedure setPROGOP(thebits : TBits_4); inline;
  6126. procedure setPROGOP0(thebits : TBits_1); inline;
  6127. procedure setPROGOP1(thebits : TBits_1); inline;
  6128. procedure setPROGOP2(thebits : TBits_1); inline;
  6129. procedure setPROGOP3(thebits : TBits_1); inline;
  6130. procedure setWR(thebits : TBits_1); inline;
  6131. procedure setWREN(thebits : TBits_1); inline;
  6132. procedure setWRERR(thebits : TBits_1); inline;
  6133. procedure setw(thebits : TBits_32); inline;
  6134. public
  6135. procedure clearLVDERR; inline;
  6136. procedure clearLVDSTAT; inline;
  6137. procedure clearNVMOP0; inline;
  6138. procedure clearNVMOP1; inline;
  6139. procedure clearNVMOP2; inline;
  6140. procedure clearNVMOP3; inline;
  6141. procedure clearPROGOP0; inline;
  6142. procedure clearPROGOP1; inline;
  6143. procedure clearPROGOP2; inline;
  6144. procedure clearPROGOP3; inline;
  6145. procedure clearWR; inline;
  6146. procedure clearWREN; inline;
  6147. procedure clearWRERR; inline;
  6148. procedure setLVDERR; inline;
  6149. procedure setLVDSTAT; inline;
  6150. procedure setNVMOP0; inline;
  6151. procedure setNVMOP1; inline;
  6152. procedure setNVMOP2; inline;
  6153. procedure setNVMOP3; inline;
  6154. procedure setPROGOP0; inline;
  6155. procedure setPROGOP1; inline;
  6156. procedure setPROGOP2; inline;
  6157. procedure setPROGOP3; inline;
  6158. procedure setWR; inline;
  6159. procedure setWREN; inline;
  6160. procedure setWRERR; inline;
  6161. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  6162. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  6163. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  6164. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  6165. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  6166. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  6167. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  6168. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  6169. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  6170. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  6171. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  6172. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  6173. property WR : TBits_1 read getWR write setWR;
  6174. property WREN : TBits_1 read getWREN write setWREN;
  6175. property WRERR : TBits_1 read getWRERR write setWRERR;
  6176. property w : TBits_32 read getw write setw;
  6177. end;
  6178. type
  6179. TNVMRegisters = record
  6180. NVMCONbits : TNVM_NVMCON;
  6181. NVMCON : longWord;
  6182. NVMCONCLR : longWord;
  6183. NVMCONSET : longWord;
  6184. NVMCONINV : longWord;
  6185. NVMKEY : longWord;
  6186. NVMADDR : longWord;
  6187. NVMADDRCLR : longWord;
  6188. NVMADDRSET : longWord;
  6189. NVMADDRINV : longWord;
  6190. NVMDATA : longWord;
  6191. NVMSRCADDR : longWord;
  6192. end;
  6193. TRCON_RCON = record
  6194. private
  6195. function getBOR : TBits_1; inline;
  6196. function getCMR : TBits_1; inline;
  6197. function getEXTR : TBits_1; inline;
  6198. function getHVDR : TBits_1; inline;
  6199. function getIDLE : TBits_1; inline;
  6200. function getPOR : TBits_1; inline;
  6201. function getSLEEP : TBits_1; inline;
  6202. function getSWR : TBits_1; inline;
  6203. function getVREGS : TBits_1; inline;
  6204. function getWDTO : TBits_1; inline;
  6205. function getw : TBits_32; inline;
  6206. procedure setBOR(thebits : TBits_1); inline;
  6207. procedure setCMR(thebits : TBits_1); inline;
  6208. procedure setEXTR(thebits : TBits_1); inline;
  6209. procedure setHVDR(thebits : TBits_1); inline;
  6210. procedure setIDLE(thebits : TBits_1); inline;
  6211. procedure setPOR(thebits : TBits_1); inline;
  6212. procedure setSLEEP(thebits : TBits_1); inline;
  6213. procedure setSWR(thebits : TBits_1); inline;
  6214. procedure setVREGS(thebits : TBits_1); inline;
  6215. procedure setWDTO(thebits : TBits_1); inline;
  6216. procedure setw(thebits : TBits_32); inline;
  6217. public
  6218. procedure clearBOR; inline;
  6219. procedure clearCMR; inline;
  6220. procedure clearEXTR; inline;
  6221. procedure clearHVDR; inline;
  6222. procedure clearIDLE; inline;
  6223. procedure clearPOR; inline;
  6224. procedure clearSLEEP; inline;
  6225. procedure clearSWR; inline;
  6226. procedure clearVREGS; inline;
  6227. procedure clearWDTO; inline;
  6228. procedure setBOR; inline;
  6229. procedure setCMR; inline;
  6230. procedure setEXTR; inline;
  6231. procedure setHVDR; inline;
  6232. procedure setIDLE; inline;
  6233. procedure setPOR; inline;
  6234. procedure setSLEEP; inline;
  6235. procedure setSWR; inline;
  6236. procedure setVREGS; inline;
  6237. procedure setWDTO; inline;
  6238. property BOR : TBits_1 read getBOR write setBOR;
  6239. property CMR : TBits_1 read getCMR write setCMR;
  6240. property EXTR : TBits_1 read getEXTR write setEXTR;
  6241. property HVDR : TBits_1 read getHVDR write setHVDR;
  6242. property IDLE : TBits_1 read getIDLE write setIDLE;
  6243. property POR : TBits_1 read getPOR write setPOR;
  6244. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  6245. property SWR : TBits_1 read getSWR write setSWR;
  6246. property VREGS : TBits_1 read getVREGS write setVREGS;
  6247. property WDTO : TBits_1 read getWDTO write setWDTO;
  6248. property w : TBits_32 read getw write setw;
  6249. end;
  6250. TRCON_RSWRST = record
  6251. private
  6252. function getSWRST : TBits_1; inline;
  6253. function getw : TBits_32; inline;
  6254. procedure setSWRST(thebits : TBits_1); inline;
  6255. procedure setw(thebits : TBits_32); inline;
  6256. public
  6257. procedure clearSWRST; inline;
  6258. procedure setSWRST; inline;
  6259. property SWRST : TBits_1 read getSWRST write setSWRST;
  6260. property w : TBits_32 read getw write setw;
  6261. end;
  6262. type
  6263. TRCONRegisters = record
  6264. RCONbits : TRCON_RCON;
  6265. RCON : longWord;
  6266. RCONCLR : longWord;
  6267. RCONSET : longWord;
  6268. RCONINV : longWord;
  6269. RSWRSTbits : TRCON_RSWRST;
  6270. RSWRST : longWord;
  6271. RSWRSTCLR : longWord;
  6272. RSWRSTSET : longWord;
  6273. RSWRSTINV : longWord;
  6274. INT1R : longWord;
  6275. INT2R : longWord;
  6276. INT3R : longWord;
  6277. INT4R : longWord;
  6278. T2CKR : longWord;
  6279. T3CKR : longWord;
  6280. T4CKR : longWord;
  6281. T5CKR : longWord;
  6282. IC1R : longWord;
  6283. IC2R : longWord;
  6284. IC3R : longWord;
  6285. IC4R : longWord;
  6286. IC5R : longWord;
  6287. OCFAR : longWord;
  6288. U1RXR : longWord;
  6289. U1CTSR : longWord;
  6290. U2RXR : longWord;
  6291. U2CTSR : longWord;
  6292. U3RXR : longWord;
  6293. U3CTSR : longWord;
  6294. U4RXR : longWord;
  6295. U4CTSR : longWord;
  6296. U5RXR : longWord;
  6297. U5CTSR : longWord;
  6298. SDI1R : longWord;
  6299. SS1R : longWord;
  6300. SDI2R : longWord;
  6301. SS2R : longWord;
  6302. REFCLKIR : longWord;
  6303. RPB0R : longWord;
  6304. RPB1R : longWord;
  6305. RPB2R : longWord;
  6306. RPB3R : longWord;
  6307. RPB5R : longWord;
  6308. RPB6R : longWord;
  6309. RPB7R : longWord;
  6310. RPB8R : longWord;
  6311. RPB9R : longWord;
  6312. RPB10R : longWord;
  6313. RPB14R : longWord;
  6314. RPB15R : longWord;
  6315. RPC13R : longWord;
  6316. RPC14R : longWord;
  6317. RPD0R : longWord;
  6318. RPD1R : longWord;
  6319. RPD2R : longWord;
  6320. RPD3R : longWord;
  6321. RPD4R : longWord;
  6322. RPD5R : longWord;
  6323. RPD8R : longWord;
  6324. RPD9R : longWord;
  6325. RPD10R : longWord;
  6326. RPD11R : longWord;
  6327. RPE3R : longWord;
  6328. RPE5R : longWord;
  6329. RPF0R : longWord;
  6330. RPF1R : longWord;
  6331. RPF2R : longWord;
  6332. RPF3R : longWord;
  6333. RPF4R : longWord;
  6334. RPF5R : longWord;
  6335. RPF6R : longWord;
  6336. RPG6R : longWord;
  6337. RPG7R : longWord;
  6338. RPG8R : longWord;
  6339. RPG9R : longWord;
  6340. end;
  6341. TINT_INTCON = record
  6342. private
  6343. function getINT0EP : TBits_1; inline;
  6344. function getINT1EP : TBits_1; inline;
  6345. function getINT2EP : TBits_1; inline;
  6346. function getINT3EP : TBits_1; inline;
  6347. function getINT4EP : TBits_1; inline;
  6348. function getMVEC : TBits_1; inline;
  6349. function getSS0 : TBits_1; inline;
  6350. function getTPC : TBits_3; inline;
  6351. function getw : TBits_32; inline;
  6352. procedure setINT0EP(thebits : TBits_1); inline;
  6353. procedure setINT1EP(thebits : TBits_1); inline;
  6354. procedure setINT2EP(thebits : TBits_1); inline;
  6355. procedure setINT3EP(thebits : TBits_1); inline;
  6356. procedure setINT4EP(thebits : TBits_1); inline;
  6357. procedure setMVEC(thebits : TBits_1); inline;
  6358. procedure setSS0(thebits : TBits_1); inline;
  6359. procedure setTPC(thebits : TBits_3); inline;
  6360. procedure setw(thebits : TBits_32); inline;
  6361. public
  6362. procedure clearINT0EP; inline;
  6363. procedure clearINT1EP; inline;
  6364. procedure clearINT2EP; inline;
  6365. procedure clearINT3EP; inline;
  6366. procedure clearINT4EP; inline;
  6367. procedure clearMVEC; inline;
  6368. procedure clearSS0; inline;
  6369. procedure setINT0EP; inline;
  6370. procedure setINT1EP; inline;
  6371. procedure setINT2EP; inline;
  6372. procedure setINT3EP; inline;
  6373. procedure setINT4EP; inline;
  6374. procedure setMVEC; inline;
  6375. procedure setSS0; inline;
  6376. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  6377. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  6378. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  6379. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  6380. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  6381. property MVEC : TBits_1 read getMVEC write setMVEC;
  6382. property SS0 : TBits_1 read getSS0 write setSS0;
  6383. property TPC : TBits_3 read getTPC write setTPC;
  6384. property w : TBits_32 read getw write setw;
  6385. end;
  6386. TINT_IFS0 = record
  6387. private
  6388. function getAD1IF : TBits_1; inline;
  6389. function getCS0IF : TBits_1; inline;
  6390. function getCS1IF : TBits_1; inline;
  6391. function getCTIF : TBits_1; inline;
  6392. function getFCEIF : TBits_1; inline;
  6393. function getFSCMIF : TBits_1; inline;
  6394. function getIC1EIF : TBits_1; inline;
  6395. function getIC1IF : TBits_1; inline;
  6396. function getIC2EIF : TBits_1; inline;
  6397. function getIC2IF : TBits_1; inline;
  6398. function getIC3EIF : TBits_1; inline;
  6399. function getIC3IF : TBits_1; inline;
  6400. function getIC4EIF : TBits_1; inline;
  6401. function getIC4IF : TBits_1; inline;
  6402. function getIC5EIF : TBits_1; inline;
  6403. function getIC5IF : TBits_1; inline;
  6404. function getINT0IF : TBits_1; inline;
  6405. function getINT1IF : TBits_1; inline;
  6406. function getINT2IF : TBits_1; inline;
  6407. function getINT3IF : TBits_1; inline;
  6408. function getINT4IF : TBits_1; inline;
  6409. function getOC1IF : TBits_1; inline;
  6410. function getOC2IF : TBits_1; inline;
  6411. function getOC3IF : TBits_1; inline;
  6412. function getOC4IF : TBits_1; inline;
  6413. function getOC5IF : TBits_1; inline;
  6414. function getRTCCIF : TBits_1; inline;
  6415. function getT1IF : TBits_1; inline;
  6416. function getT2IF : TBits_1; inline;
  6417. function getT3IF : TBits_1; inline;
  6418. function getT4IF : TBits_1; inline;
  6419. function getT5IF : TBits_1; inline;
  6420. function getw : TBits_32; inline;
  6421. procedure setAD1IF(thebits : TBits_1); inline;
  6422. procedure setCS0IF(thebits : TBits_1); inline;
  6423. procedure setCS1IF(thebits : TBits_1); inline;
  6424. procedure setCTIF(thebits : TBits_1); inline;
  6425. procedure setFCEIF(thebits : TBits_1); inline;
  6426. procedure setFSCMIF(thebits : TBits_1); inline;
  6427. procedure setIC1EIF(thebits : TBits_1); inline;
  6428. procedure setIC1IF(thebits : TBits_1); inline;
  6429. procedure setIC2EIF(thebits : TBits_1); inline;
  6430. procedure setIC2IF(thebits : TBits_1); inline;
  6431. procedure setIC3EIF(thebits : TBits_1); inline;
  6432. procedure setIC3IF(thebits : TBits_1); inline;
  6433. procedure setIC4EIF(thebits : TBits_1); inline;
  6434. procedure setIC4IF(thebits : TBits_1); inline;
  6435. procedure setIC5EIF(thebits : TBits_1); inline;
  6436. procedure setIC5IF(thebits : TBits_1); inline;
  6437. procedure setINT0IF(thebits : TBits_1); inline;
  6438. procedure setINT1IF(thebits : TBits_1); inline;
  6439. procedure setINT2IF(thebits : TBits_1); inline;
  6440. procedure setINT3IF(thebits : TBits_1); inline;
  6441. procedure setINT4IF(thebits : TBits_1); inline;
  6442. procedure setOC1IF(thebits : TBits_1); inline;
  6443. procedure setOC2IF(thebits : TBits_1); inline;
  6444. procedure setOC3IF(thebits : TBits_1); inline;
  6445. procedure setOC4IF(thebits : TBits_1); inline;
  6446. procedure setOC5IF(thebits : TBits_1); inline;
  6447. procedure setRTCCIF(thebits : TBits_1); inline;
  6448. procedure setT1IF(thebits : TBits_1); inline;
  6449. procedure setT2IF(thebits : TBits_1); inline;
  6450. procedure setT3IF(thebits : TBits_1); inline;
  6451. procedure setT4IF(thebits : TBits_1); inline;
  6452. procedure setT5IF(thebits : TBits_1); inline;
  6453. procedure setw(thebits : TBits_32); inline;
  6454. public
  6455. procedure clearAD1IF; inline;
  6456. procedure clearCS0IF; inline;
  6457. procedure clearCS1IF; inline;
  6458. procedure clearCTIF; inline;
  6459. procedure clearFCEIF; inline;
  6460. procedure clearFSCMIF; inline;
  6461. procedure clearIC1EIF; inline;
  6462. procedure clearIC1IF; inline;
  6463. procedure clearIC2EIF; inline;
  6464. procedure clearIC2IF; inline;
  6465. procedure clearIC3EIF; inline;
  6466. procedure clearIC3IF; inline;
  6467. procedure clearIC4EIF; inline;
  6468. procedure clearIC4IF; inline;
  6469. procedure clearIC5EIF; inline;
  6470. procedure clearIC5IF; inline;
  6471. procedure clearINT0IF; inline;
  6472. procedure clearINT1IF; inline;
  6473. procedure clearINT2IF; inline;
  6474. procedure clearINT3IF; inline;
  6475. procedure clearINT4IF; inline;
  6476. procedure clearOC1IF; inline;
  6477. procedure clearOC2IF; inline;
  6478. procedure clearOC3IF; inline;
  6479. procedure clearOC4IF; inline;
  6480. procedure clearOC5IF; inline;
  6481. procedure clearRTCCIF; inline;
  6482. procedure clearT1IF; inline;
  6483. procedure clearT2IF; inline;
  6484. procedure clearT3IF; inline;
  6485. procedure clearT4IF; inline;
  6486. procedure clearT5IF; inline;
  6487. procedure setAD1IF; inline;
  6488. procedure setCS0IF; inline;
  6489. procedure setCS1IF; inline;
  6490. procedure setCTIF; inline;
  6491. procedure setFCEIF; inline;
  6492. procedure setFSCMIF; inline;
  6493. procedure setIC1EIF; inline;
  6494. procedure setIC1IF; inline;
  6495. procedure setIC2EIF; inline;
  6496. procedure setIC2IF; inline;
  6497. procedure setIC3EIF; inline;
  6498. procedure setIC3IF; inline;
  6499. procedure setIC4EIF; inline;
  6500. procedure setIC4IF; inline;
  6501. procedure setIC5EIF; inline;
  6502. procedure setIC5IF; inline;
  6503. procedure setINT0IF; inline;
  6504. procedure setINT1IF; inline;
  6505. procedure setINT2IF; inline;
  6506. procedure setINT3IF; inline;
  6507. procedure setINT4IF; inline;
  6508. procedure setOC1IF; inline;
  6509. procedure setOC2IF; inline;
  6510. procedure setOC3IF; inline;
  6511. procedure setOC4IF; inline;
  6512. procedure setOC5IF; inline;
  6513. procedure setRTCCIF; inline;
  6514. procedure setT1IF; inline;
  6515. procedure setT2IF; inline;
  6516. procedure setT3IF; inline;
  6517. procedure setT4IF; inline;
  6518. procedure setT5IF; inline;
  6519. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  6520. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  6521. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  6522. property CTIF : TBits_1 read getCTIF write setCTIF;
  6523. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  6524. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  6525. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  6526. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  6527. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  6528. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  6529. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  6530. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  6531. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  6532. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  6533. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  6534. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  6535. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  6536. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  6537. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  6538. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  6539. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  6540. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  6541. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  6542. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  6543. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  6544. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  6545. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  6546. property T1IF : TBits_1 read getT1IF write setT1IF;
  6547. property T2IF : TBits_1 read getT2IF write setT2IF;
  6548. property T3IF : TBits_1 read getT3IF write setT3IF;
  6549. property T4IF : TBits_1 read getT4IF write setT4IF;
  6550. property T5IF : TBits_1 read getT5IF write setT5IF;
  6551. property w : TBits_32 read getw write setw;
  6552. end;
  6553. TINT_IFS1 = record
  6554. private
  6555. function getCMP1IF : TBits_1; inline;
  6556. function getCMP2IF : TBits_1; inline;
  6557. function getCNAIF : TBits_1; inline;
  6558. function getCNBIF : TBits_1; inline;
  6559. function getCNCIF : TBits_1; inline;
  6560. function getCNDIF : TBits_1; inline;
  6561. function getCNEIF : TBits_1; inline;
  6562. function getCNFIF : TBits_1; inline;
  6563. function getCNGIF : TBits_1; inline;
  6564. function getI2C1BIF : TBits_1; inline;
  6565. function getI2C1MIF : TBits_1; inline;
  6566. function getI2C1SIF : TBits_1; inline;
  6567. function getI2C2BIF : TBits_1; inline;
  6568. function getI2C2MIF : TBits_1; inline;
  6569. function getI2C2SIF : TBits_1; inline;
  6570. function getPMPEIF : TBits_1; inline;
  6571. function getPMPIF : TBits_1; inline;
  6572. function getSPI1EIF : TBits_1; inline;
  6573. function getSPI1RXIF : TBits_1; inline;
  6574. function getSPI1TXIF : TBits_1; inline;
  6575. function getSPI2EIF : TBits_1; inline;
  6576. function getSPI2RXIF : TBits_1; inline;
  6577. function getSPI2TXIF : TBits_1; inline;
  6578. function getU1EIF : TBits_1; inline;
  6579. function getU1RXIF : TBits_1; inline;
  6580. function getU1TXIF : TBits_1; inline;
  6581. function getU2EIF : TBits_1; inline;
  6582. function getU2RXIF : TBits_1; inline;
  6583. function getU2TXIF : TBits_1; inline;
  6584. function getU3EIF : TBits_1; inline;
  6585. function getU3RXIF : TBits_1; inline;
  6586. function getw : TBits_32; inline;
  6587. procedure setCMP1IF(thebits : TBits_1); inline;
  6588. procedure setCMP2IF(thebits : TBits_1); inline;
  6589. procedure setCNAIF(thebits : TBits_1); inline;
  6590. procedure setCNBIF(thebits : TBits_1); inline;
  6591. procedure setCNCIF(thebits : TBits_1); inline;
  6592. procedure setCNDIF(thebits : TBits_1); inline;
  6593. procedure setCNEIF(thebits : TBits_1); inline;
  6594. procedure setCNFIF(thebits : TBits_1); inline;
  6595. procedure setCNGIF(thebits : TBits_1); inline;
  6596. procedure setI2C1BIF(thebits : TBits_1); inline;
  6597. procedure setI2C1MIF(thebits : TBits_1); inline;
  6598. procedure setI2C1SIF(thebits : TBits_1); inline;
  6599. procedure setI2C2BIF(thebits : TBits_1); inline;
  6600. procedure setI2C2MIF(thebits : TBits_1); inline;
  6601. procedure setI2C2SIF(thebits : TBits_1); inline;
  6602. procedure setPMPEIF(thebits : TBits_1); inline;
  6603. procedure setPMPIF(thebits : TBits_1); inline;
  6604. procedure setSPI1EIF(thebits : TBits_1); inline;
  6605. procedure setSPI1RXIF(thebits : TBits_1); inline;
  6606. procedure setSPI1TXIF(thebits : TBits_1); inline;
  6607. procedure setSPI2EIF(thebits : TBits_1); inline;
  6608. procedure setSPI2RXIF(thebits : TBits_1); inline;
  6609. procedure setSPI2TXIF(thebits : TBits_1); inline;
  6610. procedure setU1EIF(thebits : TBits_1); inline;
  6611. procedure setU1RXIF(thebits : TBits_1); inline;
  6612. procedure setU1TXIF(thebits : TBits_1); inline;
  6613. procedure setU2EIF(thebits : TBits_1); inline;
  6614. procedure setU2RXIF(thebits : TBits_1); inline;
  6615. procedure setU2TXIF(thebits : TBits_1); inline;
  6616. procedure setU3EIF(thebits : TBits_1); inline;
  6617. procedure setU3RXIF(thebits : TBits_1); inline;
  6618. procedure setw(thebits : TBits_32); inline;
  6619. public
  6620. procedure clearCMP1IF; inline;
  6621. procedure clearCMP2IF; inline;
  6622. procedure clearCNAIF; inline;
  6623. procedure clearCNBIF; inline;
  6624. procedure clearCNCIF; inline;
  6625. procedure clearCNDIF; inline;
  6626. procedure clearCNEIF; inline;
  6627. procedure clearCNFIF; inline;
  6628. procedure clearCNGIF; inline;
  6629. procedure clearI2C1BIF; inline;
  6630. procedure clearI2C1MIF; inline;
  6631. procedure clearI2C1SIF; inline;
  6632. procedure clearI2C2BIF; inline;
  6633. procedure clearI2C2MIF; inline;
  6634. procedure clearI2C2SIF; inline;
  6635. procedure clearPMPEIF; inline;
  6636. procedure clearPMPIF; inline;
  6637. procedure clearSPI1EIF; inline;
  6638. procedure clearSPI1RXIF; inline;
  6639. procedure clearSPI1TXIF; inline;
  6640. procedure clearSPI2EIF; inline;
  6641. procedure clearSPI2RXIF; inline;
  6642. procedure clearSPI2TXIF; inline;
  6643. procedure clearU1EIF; inline;
  6644. procedure clearU1RXIF; inline;
  6645. procedure clearU1TXIF; inline;
  6646. procedure clearU2EIF; inline;
  6647. procedure clearU2RXIF; inline;
  6648. procedure clearU2TXIF; inline;
  6649. procedure clearU3EIF; inline;
  6650. procedure clearU3RXIF; inline;
  6651. procedure setCMP1IF; inline;
  6652. procedure setCMP2IF; inline;
  6653. procedure setCNAIF; inline;
  6654. procedure setCNBIF; inline;
  6655. procedure setCNCIF; inline;
  6656. procedure setCNDIF; inline;
  6657. procedure setCNEIF; inline;
  6658. procedure setCNFIF; inline;
  6659. procedure setCNGIF; inline;
  6660. procedure setI2C1BIF; inline;
  6661. procedure setI2C1MIF; inline;
  6662. procedure setI2C1SIF; inline;
  6663. procedure setI2C2BIF; inline;
  6664. procedure setI2C2MIF; inline;
  6665. procedure setI2C2SIF; inline;
  6666. procedure setPMPEIF; inline;
  6667. procedure setPMPIF; inline;
  6668. procedure setSPI1EIF; inline;
  6669. procedure setSPI1RXIF; inline;
  6670. procedure setSPI1TXIF; inline;
  6671. procedure setSPI2EIF; inline;
  6672. procedure setSPI2RXIF; inline;
  6673. procedure setSPI2TXIF; inline;
  6674. procedure setU1EIF; inline;
  6675. procedure setU1RXIF; inline;
  6676. procedure setU1TXIF; inline;
  6677. procedure setU2EIF; inline;
  6678. procedure setU2RXIF; inline;
  6679. procedure setU2TXIF; inline;
  6680. procedure setU3EIF; inline;
  6681. procedure setU3RXIF; inline;
  6682. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  6683. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  6684. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  6685. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  6686. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  6687. property CNDIF : TBits_1 read getCNDIF write setCNDIF;
  6688. property CNEIF : TBits_1 read getCNEIF write setCNEIF;
  6689. property CNFIF : TBits_1 read getCNFIF write setCNFIF;
  6690. property CNGIF : TBits_1 read getCNGIF write setCNGIF;
  6691. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  6692. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  6693. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  6694. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  6695. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  6696. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  6697. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  6698. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  6699. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  6700. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  6701. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  6702. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  6703. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  6704. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  6705. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  6706. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  6707. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  6708. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  6709. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  6710. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  6711. property U3EIF : TBits_1 read getU3EIF write setU3EIF;
  6712. property U3RXIF : TBits_1 read getU3RXIF write setU3RXIF;
  6713. property w : TBits_32 read getw write setw;
  6714. end;
  6715. TINT_IEC0 = record
  6716. private
  6717. function getAD1IE : TBits_1; inline;
  6718. function getCS0IE : TBits_1; inline;
  6719. function getCS1IE : TBits_1; inline;
  6720. function getCTIE : TBits_1; inline;
  6721. function getFCEIE : TBits_1; inline;
  6722. function getFSCMIE : TBits_1; inline;
  6723. function getIC1EIE : TBits_1; inline;
  6724. function getIC1IE : TBits_1; inline;
  6725. function getIC2EIE : TBits_1; inline;
  6726. function getIC2IE : TBits_1; inline;
  6727. function getIC3EIE : TBits_1; inline;
  6728. function getIC3IE : TBits_1; inline;
  6729. function getIC4EIE : TBits_1; inline;
  6730. function getIC4IE : TBits_1; inline;
  6731. function getIC5EIE : TBits_1; inline;
  6732. function getIC5IE : TBits_1; inline;
  6733. function getINT0IE : TBits_1; inline;
  6734. function getINT1IE : TBits_1; inline;
  6735. function getINT2IE : TBits_1; inline;
  6736. function getINT3IE : TBits_1; inline;
  6737. function getINT4IE : TBits_1; inline;
  6738. function getOC1IE : TBits_1; inline;
  6739. function getOC2IE : TBits_1; inline;
  6740. function getOC3IE : TBits_1; inline;
  6741. function getOC4IE : TBits_1; inline;
  6742. function getOC5IE : TBits_1; inline;
  6743. function getRTCCIE : TBits_1; inline;
  6744. function getT1IE : TBits_1; inline;
  6745. function getT2IE : TBits_1; inline;
  6746. function getT3IE : TBits_1; inline;
  6747. function getT4IE : TBits_1; inline;
  6748. function getT5IE : TBits_1; inline;
  6749. function getw : TBits_32; inline;
  6750. procedure setAD1IE(thebits : TBits_1); inline;
  6751. procedure setCS0IE(thebits : TBits_1); inline;
  6752. procedure setCS1IE(thebits : TBits_1); inline;
  6753. procedure setCTIE(thebits : TBits_1); inline;
  6754. procedure setFCEIE(thebits : TBits_1); inline;
  6755. procedure setFSCMIE(thebits : TBits_1); inline;
  6756. procedure setIC1EIE(thebits : TBits_1); inline;
  6757. procedure setIC1IE(thebits : TBits_1); inline;
  6758. procedure setIC2EIE(thebits : TBits_1); inline;
  6759. procedure setIC2IE(thebits : TBits_1); inline;
  6760. procedure setIC3EIE(thebits : TBits_1); inline;
  6761. procedure setIC3IE(thebits : TBits_1); inline;
  6762. procedure setIC4EIE(thebits : TBits_1); inline;
  6763. procedure setIC4IE(thebits : TBits_1); inline;
  6764. procedure setIC5EIE(thebits : TBits_1); inline;
  6765. procedure setIC5IE(thebits : TBits_1); inline;
  6766. procedure setINT0IE(thebits : TBits_1); inline;
  6767. procedure setINT1IE(thebits : TBits_1); inline;
  6768. procedure setINT2IE(thebits : TBits_1); inline;
  6769. procedure setINT3IE(thebits : TBits_1); inline;
  6770. procedure setINT4IE(thebits : TBits_1); inline;
  6771. procedure setOC1IE(thebits : TBits_1); inline;
  6772. procedure setOC2IE(thebits : TBits_1); inline;
  6773. procedure setOC3IE(thebits : TBits_1); inline;
  6774. procedure setOC4IE(thebits : TBits_1); inline;
  6775. procedure setOC5IE(thebits : TBits_1); inline;
  6776. procedure setRTCCIE(thebits : TBits_1); inline;
  6777. procedure setT1IE(thebits : TBits_1); inline;
  6778. procedure setT2IE(thebits : TBits_1); inline;
  6779. procedure setT3IE(thebits : TBits_1); inline;
  6780. procedure setT4IE(thebits : TBits_1); inline;
  6781. procedure setT5IE(thebits : TBits_1); inline;
  6782. procedure setw(thebits : TBits_32); inline;
  6783. public
  6784. procedure clearAD1IE; inline;
  6785. procedure clearCS0IE; inline;
  6786. procedure clearCS1IE; inline;
  6787. procedure clearCTIE; inline;
  6788. procedure clearFCEIE; inline;
  6789. procedure clearFSCMIE; inline;
  6790. procedure clearIC1EIE; inline;
  6791. procedure clearIC1IE; inline;
  6792. procedure clearIC2EIE; inline;
  6793. procedure clearIC2IE; inline;
  6794. procedure clearIC3EIE; inline;
  6795. procedure clearIC3IE; inline;
  6796. procedure clearIC4EIE; inline;
  6797. procedure clearIC4IE; inline;
  6798. procedure clearIC5EIE; inline;
  6799. procedure clearIC5IE; inline;
  6800. procedure clearINT0IE; inline;
  6801. procedure clearINT1IE; inline;
  6802. procedure clearINT2IE; inline;
  6803. procedure clearINT3IE; inline;
  6804. procedure clearINT4IE; inline;
  6805. procedure clearOC1IE; inline;
  6806. procedure clearOC2IE; inline;
  6807. procedure clearOC3IE; inline;
  6808. procedure clearOC4IE; inline;
  6809. procedure clearOC5IE; inline;
  6810. procedure clearRTCCIE; inline;
  6811. procedure clearT1IE; inline;
  6812. procedure clearT2IE; inline;
  6813. procedure clearT3IE; inline;
  6814. procedure clearT4IE; inline;
  6815. procedure clearT5IE; inline;
  6816. procedure setAD1IE; inline;
  6817. procedure setCS0IE; inline;
  6818. procedure setCS1IE; inline;
  6819. procedure setCTIE; inline;
  6820. procedure setFCEIE; inline;
  6821. procedure setFSCMIE; inline;
  6822. procedure setIC1EIE; inline;
  6823. procedure setIC1IE; inline;
  6824. procedure setIC2EIE; inline;
  6825. procedure setIC2IE; inline;
  6826. procedure setIC3EIE; inline;
  6827. procedure setIC3IE; inline;
  6828. procedure setIC4EIE; inline;
  6829. procedure setIC4IE; inline;
  6830. procedure setIC5EIE; inline;
  6831. procedure setIC5IE; inline;
  6832. procedure setINT0IE; inline;
  6833. procedure setINT1IE; inline;
  6834. procedure setINT2IE; inline;
  6835. procedure setINT3IE; inline;
  6836. procedure setINT4IE; inline;
  6837. procedure setOC1IE; inline;
  6838. procedure setOC2IE; inline;
  6839. procedure setOC3IE; inline;
  6840. procedure setOC4IE; inline;
  6841. procedure setOC5IE; inline;
  6842. procedure setRTCCIE; inline;
  6843. procedure setT1IE; inline;
  6844. procedure setT2IE; inline;
  6845. procedure setT3IE; inline;
  6846. procedure setT4IE; inline;
  6847. procedure setT5IE; inline;
  6848. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  6849. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  6850. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  6851. property CTIE : TBits_1 read getCTIE write setCTIE;
  6852. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  6853. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  6854. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  6855. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  6856. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  6857. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  6858. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  6859. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  6860. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  6861. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  6862. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  6863. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  6864. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  6865. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  6866. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  6867. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  6868. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  6869. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  6870. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  6871. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  6872. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  6873. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  6874. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  6875. property T1IE : TBits_1 read getT1IE write setT1IE;
  6876. property T2IE : TBits_1 read getT2IE write setT2IE;
  6877. property T3IE : TBits_1 read getT3IE write setT3IE;
  6878. property T4IE : TBits_1 read getT4IE write setT4IE;
  6879. property T5IE : TBits_1 read getT5IE write setT5IE;
  6880. property w : TBits_32 read getw write setw;
  6881. end;
  6882. TINT_IEC1 = record
  6883. private
  6884. function getCMP1IE : TBits_1; inline;
  6885. function getCMP2IE : TBits_1; inline;
  6886. function getCNAIE : TBits_1; inline;
  6887. function getCNBIE : TBits_1; inline;
  6888. function getCNCIE : TBits_1; inline;
  6889. function getCNDIE : TBits_1; inline;
  6890. function getCNEIE : TBits_1; inline;
  6891. function getCNFIE : TBits_1; inline;
  6892. function getCNGIE : TBits_1; inline;
  6893. function getI2C1BIE : TBits_1; inline;
  6894. function getI2C1MIE : TBits_1; inline;
  6895. function getI2C1SIE : TBits_1; inline;
  6896. function getI2C2BIE : TBits_1; inline;
  6897. function getI2C2MIE : TBits_1; inline;
  6898. function getI2C2SIE : TBits_1; inline;
  6899. function getPMPEIE : TBits_1; inline;
  6900. function getPMPIE : TBits_1; inline;
  6901. function getSPI1EIE : TBits_1; inline;
  6902. function getSPI1RXIE : TBits_1; inline;
  6903. function getSPI1TXIE : TBits_1; inline;
  6904. function getSPI2EIE : TBits_1; inline;
  6905. function getSPI2RXIE : TBits_1; inline;
  6906. function getSPI2TXIE : TBits_1; inline;
  6907. function getU1EIE : TBits_1; inline;
  6908. function getU1RXIE : TBits_1; inline;
  6909. function getU1TXIE : TBits_1; inline;
  6910. function getU2EIE : TBits_1; inline;
  6911. function getU2RXIE : TBits_1; inline;
  6912. function getU2TXIE : TBits_1; inline;
  6913. function getU3EIE : TBits_1; inline;
  6914. function getU3RXIE : TBits_1; inline;
  6915. function getw : TBits_32; inline;
  6916. procedure setCMP1IE(thebits : TBits_1); inline;
  6917. procedure setCMP2IE(thebits : TBits_1); inline;
  6918. procedure setCNAIE(thebits : TBits_1); inline;
  6919. procedure setCNBIE(thebits : TBits_1); inline;
  6920. procedure setCNCIE(thebits : TBits_1); inline;
  6921. procedure setCNDIE(thebits : TBits_1); inline;
  6922. procedure setCNEIE(thebits : TBits_1); inline;
  6923. procedure setCNFIE(thebits : TBits_1); inline;
  6924. procedure setCNGIE(thebits : TBits_1); inline;
  6925. procedure setI2C1BIE(thebits : TBits_1); inline;
  6926. procedure setI2C1MIE(thebits : TBits_1); inline;
  6927. procedure setI2C1SIE(thebits : TBits_1); inline;
  6928. procedure setI2C2BIE(thebits : TBits_1); inline;
  6929. procedure setI2C2MIE(thebits : TBits_1); inline;
  6930. procedure setI2C2SIE(thebits : TBits_1); inline;
  6931. procedure setPMPEIE(thebits : TBits_1); inline;
  6932. procedure setPMPIE(thebits : TBits_1); inline;
  6933. procedure setSPI1EIE(thebits : TBits_1); inline;
  6934. procedure setSPI1RXIE(thebits : TBits_1); inline;
  6935. procedure setSPI1TXIE(thebits : TBits_1); inline;
  6936. procedure setSPI2EIE(thebits : TBits_1); inline;
  6937. procedure setSPI2RXIE(thebits : TBits_1); inline;
  6938. procedure setSPI2TXIE(thebits : TBits_1); inline;
  6939. procedure setU1EIE(thebits : TBits_1); inline;
  6940. procedure setU1RXIE(thebits : TBits_1); inline;
  6941. procedure setU1TXIE(thebits : TBits_1); inline;
  6942. procedure setU2EIE(thebits : TBits_1); inline;
  6943. procedure setU2RXIE(thebits : TBits_1); inline;
  6944. procedure setU2TXIE(thebits : TBits_1); inline;
  6945. procedure setU3EIE(thebits : TBits_1); inline;
  6946. procedure setU3RXIE(thebits : TBits_1); inline;
  6947. procedure setw(thebits : TBits_32); inline;
  6948. public
  6949. procedure clearCMP1IE; inline;
  6950. procedure clearCMP2IE; inline;
  6951. procedure clearCNAIE; inline;
  6952. procedure clearCNBIE; inline;
  6953. procedure clearCNCIE; inline;
  6954. procedure clearCNDIE; inline;
  6955. procedure clearCNEIE; inline;
  6956. procedure clearCNFIE; inline;
  6957. procedure clearCNGIE; inline;
  6958. procedure clearI2C1BIE; inline;
  6959. procedure clearI2C1MIE; inline;
  6960. procedure clearI2C1SIE; inline;
  6961. procedure clearI2C2BIE; inline;
  6962. procedure clearI2C2MIE; inline;
  6963. procedure clearI2C2SIE; inline;
  6964. procedure clearPMPEIE; inline;
  6965. procedure clearPMPIE; inline;
  6966. procedure clearSPI1EIE; inline;
  6967. procedure clearSPI1RXIE; inline;
  6968. procedure clearSPI1TXIE; inline;
  6969. procedure clearSPI2EIE; inline;
  6970. procedure clearSPI2RXIE; inline;
  6971. procedure clearSPI2TXIE; inline;
  6972. procedure clearU1EIE; inline;
  6973. procedure clearU1RXIE; inline;
  6974. procedure clearU1TXIE; inline;
  6975. procedure clearU2EIE; inline;
  6976. procedure clearU2RXIE; inline;
  6977. procedure clearU2TXIE; inline;
  6978. procedure clearU3EIE; inline;
  6979. procedure clearU3RXIE; inline;
  6980. procedure setCMP1IE; inline;
  6981. procedure setCMP2IE; inline;
  6982. procedure setCNAIE; inline;
  6983. procedure setCNBIE; inline;
  6984. procedure setCNCIE; inline;
  6985. procedure setCNDIE; inline;
  6986. procedure setCNEIE; inline;
  6987. procedure setCNFIE; inline;
  6988. procedure setCNGIE; inline;
  6989. procedure setI2C1BIE; inline;
  6990. procedure setI2C1MIE; inline;
  6991. procedure setI2C1SIE; inline;
  6992. procedure setI2C2BIE; inline;
  6993. procedure setI2C2MIE; inline;
  6994. procedure setI2C2SIE; inline;
  6995. procedure setPMPEIE; inline;
  6996. procedure setPMPIE; inline;
  6997. procedure setSPI1EIE; inline;
  6998. procedure setSPI1RXIE; inline;
  6999. procedure setSPI1TXIE; inline;
  7000. procedure setSPI2EIE; inline;
  7001. procedure setSPI2RXIE; inline;
  7002. procedure setSPI2TXIE; inline;
  7003. procedure setU1EIE; inline;
  7004. procedure setU1RXIE; inline;
  7005. procedure setU1TXIE; inline;
  7006. procedure setU2EIE; inline;
  7007. procedure setU2RXIE; inline;
  7008. procedure setU2TXIE; inline;
  7009. procedure setU3EIE; inline;
  7010. procedure setU3RXIE; inline;
  7011. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  7012. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  7013. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  7014. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  7015. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  7016. property CNDIE : TBits_1 read getCNDIE write setCNDIE;
  7017. property CNEIE : TBits_1 read getCNEIE write setCNEIE;
  7018. property CNFIE : TBits_1 read getCNFIE write setCNFIE;
  7019. property CNGIE : TBits_1 read getCNGIE write setCNGIE;
  7020. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  7021. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  7022. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  7023. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  7024. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  7025. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  7026. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  7027. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  7028. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  7029. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  7030. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  7031. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  7032. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  7033. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  7034. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  7035. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  7036. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  7037. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  7038. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  7039. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  7040. property U3EIE : TBits_1 read getU3EIE write setU3EIE;
  7041. property U3RXIE : TBits_1 read getU3RXIE write setU3RXIE;
  7042. property w : TBits_32 read getw write setw;
  7043. end;
  7044. TINT_IPC0 = record
  7045. private
  7046. function getCS0IP : TBits_3; inline;
  7047. function getCS0IS : TBits_2; inline;
  7048. function getCS1IP : TBits_3; inline;
  7049. function getCS1IS : TBits_2; inline;
  7050. function getCTIP : TBits_3; inline;
  7051. function getCTIS : TBits_2; inline;
  7052. function getINT0IP : TBits_3; inline;
  7053. function getINT0IS : TBits_2; inline;
  7054. function getw : TBits_32; inline;
  7055. procedure setCS0IP(thebits : TBits_3); inline;
  7056. procedure setCS0IS(thebits : TBits_2); inline;
  7057. procedure setCS1IP(thebits : TBits_3); inline;
  7058. procedure setCS1IS(thebits : TBits_2); inline;
  7059. procedure setCTIP(thebits : TBits_3); inline;
  7060. procedure setCTIS(thebits : TBits_2); inline;
  7061. procedure setINT0IP(thebits : TBits_3); inline;
  7062. procedure setINT0IS(thebits : TBits_2); inline;
  7063. procedure setw(thebits : TBits_32); inline;
  7064. public
  7065. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  7066. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  7067. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  7068. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  7069. property CTIP : TBits_3 read getCTIP write setCTIP;
  7070. property CTIS : TBits_2 read getCTIS write setCTIS;
  7071. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  7072. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  7073. property w : TBits_32 read getw write setw;
  7074. end;
  7075. TINT_IPC1 = record
  7076. private
  7077. function getIC1IP : TBits_3; inline;
  7078. function getIC1IS : TBits_2; inline;
  7079. function getINT1IP : TBits_3; inline;
  7080. function getINT1IS : TBits_2; inline;
  7081. function getOC1IP : TBits_3; inline;
  7082. function getOC1IS : TBits_2; inline;
  7083. function getT1IP : TBits_3; inline;
  7084. function getT1IS : TBits_2; inline;
  7085. function getw : TBits_32; inline;
  7086. procedure setIC1IP(thebits : TBits_3); inline;
  7087. procedure setIC1IS(thebits : TBits_2); inline;
  7088. procedure setINT1IP(thebits : TBits_3); inline;
  7089. procedure setINT1IS(thebits : TBits_2); inline;
  7090. procedure setOC1IP(thebits : TBits_3); inline;
  7091. procedure setOC1IS(thebits : TBits_2); inline;
  7092. procedure setT1IP(thebits : TBits_3); inline;
  7093. procedure setT1IS(thebits : TBits_2); inline;
  7094. procedure setw(thebits : TBits_32); inline;
  7095. public
  7096. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  7097. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  7098. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  7099. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  7100. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  7101. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  7102. property T1IP : TBits_3 read getT1IP write setT1IP;
  7103. property T1IS : TBits_2 read getT1IS write setT1IS;
  7104. property w : TBits_32 read getw write setw;
  7105. end;
  7106. TINT_IPC2 = record
  7107. private
  7108. function getIC2IP : TBits_3; inline;
  7109. function getIC2IS : TBits_2; inline;
  7110. function getINT2IP : TBits_3; inline;
  7111. function getINT2IS : TBits_2; inline;
  7112. function getOC2IP : TBits_3; inline;
  7113. function getOC2IS : TBits_2; inline;
  7114. function getT2IP : TBits_3; inline;
  7115. function getT2IS : TBits_2; inline;
  7116. function getw : TBits_32; inline;
  7117. procedure setIC2IP(thebits : TBits_3); inline;
  7118. procedure setIC2IS(thebits : TBits_2); inline;
  7119. procedure setINT2IP(thebits : TBits_3); inline;
  7120. procedure setINT2IS(thebits : TBits_2); inline;
  7121. procedure setOC2IP(thebits : TBits_3); inline;
  7122. procedure setOC2IS(thebits : TBits_2); inline;
  7123. procedure setT2IP(thebits : TBits_3); inline;
  7124. procedure setT2IS(thebits : TBits_2); inline;
  7125. procedure setw(thebits : TBits_32); inline;
  7126. public
  7127. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  7128. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  7129. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  7130. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  7131. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  7132. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  7133. property T2IP : TBits_3 read getT2IP write setT2IP;
  7134. property T2IS : TBits_2 read getT2IS write setT2IS;
  7135. property w : TBits_32 read getw write setw;
  7136. end;
  7137. TINT_IPC3 = record
  7138. private
  7139. function getIC3IP : TBits_3; inline;
  7140. function getIC3IS : TBits_2; inline;
  7141. function getINT3IP : TBits_3; inline;
  7142. function getINT3IS : TBits_2; inline;
  7143. function getOC3IP : TBits_3; inline;
  7144. function getOC3IS : TBits_2; inline;
  7145. function getT3IP : TBits_3; inline;
  7146. function getT3IS : TBits_2; inline;
  7147. function getw : TBits_32; inline;
  7148. procedure setIC3IP(thebits : TBits_3); inline;
  7149. procedure setIC3IS(thebits : TBits_2); inline;
  7150. procedure setINT3IP(thebits : TBits_3); inline;
  7151. procedure setINT3IS(thebits : TBits_2); inline;
  7152. procedure setOC3IP(thebits : TBits_3); inline;
  7153. procedure setOC3IS(thebits : TBits_2); inline;
  7154. procedure setT3IP(thebits : TBits_3); inline;
  7155. procedure setT3IS(thebits : TBits_2); inline;
  7156. procedure setw(thebits : TBits_32); inline;
  7157. public
  7158. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  7159. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  7160. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  7161. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  7162. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  7163. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  7164. property T3IP : TBits_3 read getT3IP write setT3IP;
  7165. property T3IS : TBits_2 read getT3IS write setT3IS;
  7166. property w : TBits_32 read getw write setw;
  7167. end;
  7168. TINT_IPC4 = record
  7169. private
  7170. function getIC4IP : TBits_3; inline;
  7171. function getIC4IS : TBits_2; inline;
  7172. function getINT4IP : TBits_3; inline;
  7173. function getINT4IS : TBits_2; inline;
  7174. function getOC4IP : TBits_3; inline;
  7175. function getOC4IS : TBits_2; inline;
  7176. function getT4IP : TBits_3; inline;
  7177. function getT4IS : TBits_2; inline;
  7178. function getw : TBits_32; inline;
  7179. procedure setIC4IP(thebits : TBits_3); inline;
  7180. procedure setIC4IS(thebits : TBits_2); inline;
  7181. procedure setINT4IP(thebits : TBits_3); inline;
  7182. procedure setINT4IS(thebits : TBits_2); inline;
  7183. procedure setOC4IP(thebits : TBits_3); inline;
  7184. procedure setOC4IS(thebits : TBits_2); inline;
  7185. procedure setT4IP(thebits : TBits_3); inline;
  7186. procedure setT4IS(thebits : TBits_2); inline;
  7187. procedure setw(thebits : TBits_32); inline;
  7188. public
  7189. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  7190. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  7191. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  7192. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  7193. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  7194. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  7195. property T4IP : TBits_3 read getT4IP write setT4IP;
  7196. property T4IS : TBits_2 read getT4IS write setT4IS;
  7197. property w : TBits_32 read getw write setw;
  7198. end;
  7199. TINT_IPC5 = record
  7200. private
  7201. function getAD1IP : TBits_3; inline;
  7202. function getAD1IS : TBits_2; inline;
  7203. function getIC5IP : TBits_3; inline;
  7204. function getIC5IS : TBits_2; inline;
  7205. function getOC5IP : TBits_3; inline;
  7206. function getOC5IS : TBits_2; inline;
  7207. function getT5IP : TBits_3; inline;
  7208. function getT5IS : TBits_2; inline;
  7209. function getw : TBits_32; inline;
  7210. procedure setAD1IP(thebits : TBits_3); inline;
  7211. procedure setAD1IS(thebits : TBits_2); inline;
  7212. procedure setIC5IP(thebits : TBits_3); inline;
  7213. procedure setIC5IS(thebits : TBits_2); inline;
  7214. procedure setOC5IP(thebits : TBits_3); inline;
  7215. procedure setOC5IS(thebits : TBits_2); inline;
  7216. procedure setT5IP(thebits : TBits_3); inline;
  7217. procedure setT5IS(thebits : TBits_2); inline;
  7218. procedure setw(thebits : TBits_32); inline;
  7219. public
  7220. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  7221. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  7222. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  7223. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  7224. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  7225. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  7226. property T5IP : TBits_3 read getT5IP write setT5IP;
  7227. property T5IS : TBits_2 read getT5IS write setT5IS;
  7228. property w : TBits_32 read getw write setw;
  7229. end;
  7230. TINT_IPC6 = record
  7231. private
  7232. function getCMP1IP : TBits_3; inline;
  7233. function getCMP1IS : TBits_2; inline;
  7234. function getFCEIP : TBits_3; inline;
  7235. function getFCEIS : TBits_2; inline;
  7236. function getFSCMIP : TBits_3; inline;
  7237. function getFSCMIS : TBits_2; inline;
  7238. function getRTCCIP : TBits_3; inline;
  7239. function getRTCCIS : TBits_2; inline;
  7240. function getw : TBits_32; inline;
  7241. procedure setCMP1IP(thebits : TBits_3); inline;
  7242. procedure setCMP1IS(thebits : TBits_2); inline;
  7243. procedure setFCEIP(thebits : TBits_3); inline;
  7244. procedure setFCEIS(thebits : TBits_2); inline;
  7245. procedure setFSCMIP(thebits : TBits_3); inline;
  7246. procedure setFSCMIS(thebits : TBits_2); inline;
  7247. procedure setRTCCIP(thebits : TBits_3); inline;
  7248. procedure setRTCCIS(thebits : TBits_2); inline;
  7249. procedure setw(thebits : TBits_32); inline;
  7250. public
  7251. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  7252. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  7253. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  7254. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  7255. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  7256. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  7257. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  7258. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  7259. property w : TBits_32 read getw write setw;
  7260. end;
  7261. TINT_IPC7 = record
  7262. private
  7263. function getCMP2IP : TBits_3; inline;
  7264. function getCMP2IS : TBits_2; inline;
  7265. function getSPI1IP : TBits_3; inline;
  7266. function getSPI1IS : TBits_2; inline;
  7267. function getU1IP : TBits_3; inline;
  7268. function getU1IS : TBits_2; inline;
  7269. function getw : TBits_32; inline;
  7270. procedure setCMP2IP(thebits : TBits_3); inline;
  7271. procedure setCMP2IS(thebits : TBits_2); inline;
  7272. procedure setSPI1IP(thebits : TBits_3); inline;
  7273. procedure setSPI1IS(thebits : TBits_2); inline;
  7274. procedure setU1IP(thebits : TBits_3); inline;
  7275. procedure setU1IS(thebits : TBits_2); inline;
  7276. procedure setw(thebits : TBits_32); inline;
  7277. public
  7278. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  7279. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  7280. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  7281. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  7282. property U1IP : TBits_3 read getU1IP write setU1IP;
  7283. property U1IS : TBits_2 read getU1IS write setU1IS;
  7284. property w : TBits_32 read getw write setw;
  7285. end;
  7286. TINT_IPC8 = record
  7287. private
  7288. function getCNIP : TBits_3; inline;
  7289. function getCNIS : TBits_2; inline;
  7290. function getI2C1IP : TBits_3; inline;
  7291. function getI2C1IS : TBits_2; inline;
  7292. function getPMPIP : TBits_3; inline;
  7293. function getPMPIS : TBits_2; inline;
  7294. function getSPI2IP : TBits_3; inline;
  7295. function getSPI2IS : TBits_2; inline;
  7296. function getw : TBits_32; inline;
  7297. procedure setCNIP(thebits : TBits_3); inline;
  7298. procedure setCNIS(thebits : TBits_2); inline;
  7299. procedure setI2C1IP(thebits : TBits_3); inline;
  7300. procedure setI2C1IS(thebits : TBits_2); inline;
  7301. procedure setPMPIP(thebits : TBits_3); inline;
  7302. procedure setPMPIS(thebits : TBits_2); inline;
  7303. procedure setSPI2IP(thebits : TBits_3); inline;
  7304. procedure setSPI2IS(thebits : TBits_2); inline;
  7305. procedure setw(thebits : TBits_32); inline;
  7306. public
  7307. property CNIP : TBits_3 read getCNIP write setCNIP;
  7308. property CNIS : TBits_2 read getCNIS write setCNIS;
  7309. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  7310. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  7311. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  7312. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  7313. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  7314. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  7315. property w : TBits_32 read getw write setw;
  7316. end;
  7317. TINT_IPC9 = record
  7318. private
  7319. function getI2C2IP : TBits_3; inline;
  7320. function getI2C2IS : TBits_2; inline;
  7321. function getU2IP : TBits_3; inline;
  7322. function getU2IS : TBits_2; inline;
  7323. function getU3IP : TBits_3; inline;
  7324. function getU3IS : TBits_2; inline;
  7325. function getU4IP : TBits_3; inline;
  7326. function getU4IS : TBits_2; inline;
  7327. function getw : TBits_32; inline;
  7328. procedure setI2C2IP(thebits : TBits_3); inline;
  7329. procedure setI2C2IS(thebits : TBits_2); inline;
  7330. procedure setU2IP(thebits : TBits_3); inline;
  7331. procedure setU2IS(thebits : TBits_2); inline;
  7332. procedure setU3IP(thebits : TBits_3); inline;
  7333. procedure setU3IS(thebits : TBits_2); inline;
  7334. procedure setU4IP(thebits : TBits_3); inline;
  7335. procedure setU4IS(thebits : TBits_2); inline;
  7336. procedure setw(thebits : TBits_32); inline;
  7337. public
  7338. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  7339. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  7340. property U2IP : TBits_3 read getU2IP write setU2IP;
  7341. property U2IS : TBits_2 read getU2IS write setU2IS;
  7342. property U3IP : TBits_3 read getU3IP write setU3IP;
  7343. property U3IS : TBits_2 read getU3IS write setU3IS;
  7344. property U4IP : TBits_3 read getU4IP write setU4IP;
  7345. property U4IS : TBits_2 read getU4IS write setU4IS;
  7346. property w : TBits_32 read getw write setw;
  7347. end;
  7348. TINT_IPC10 = record
  7349. private
  7350. function getCTMUIP : TBits_2; inline;
  7351. function getCTMUIS : TBits_3; inline;
  7352. function getDMA0IP : TBits_3; inline;
  7353. function getDMA0IS : TBits_2; inline;
  7354. function getDMA1IP : TBits_3; inline;
  7355. function getDMA1IS : TBits_2; inline;
  7356. function getw : TBits_32; inline;
  7357. procedure setCTMUIP(thebits : TBits_2); inline;
  7358. procedure setCTMUIS(thebits : TBits_3); inline;
  7359. procedure setDMA0IP(thebits : TBits_3); inline;
  7360. procedure setDMA0IS(thebits : TBits_2); inline;
  7361. procedure setDMA1IP(thebits : TBits_3); inline;
  7362. procedure setDMA1IS(thebits : TBits_2); inline;
  7363. procedure setw(thebits : TBits_32); inline;
  7364. public
  7365. property CTMUIP : TBits_2 read getCTMUIP write setCTMUIP;
  7366. property CTMUIS : TBits_3 read getCTMUIS write setCTMUIS;
  7367. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  7368. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  7369. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  7370. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  7371. property w : TBits_32 read getw write setw;
  7372. end;
  7373. TINT_IPC11 = record
  7374. private
  7375. function getDMA2IP : TBits_3; inline;
  7376. function getDMA2IS : TBits_2; inline;
  7377. function getDMA3IP : TBits_3; inline;
  7378. function getDMA3IS : TBits_2; inline;
  7379. function getw : TBits_32; inline;
  7380. procedure setDMA2IP(thebits : TBits_3); inline;
  7381. procedure setDMA2IS(thebits : TBits_2); inline;
  7382. procedure setDMA3IP(thebits : TBits_3); inline;
  7383. procedure setDMA3IS(thebits : TBits_2); inline;
  7384. procedure setw(thebits : TBits_32); inline;
  7385. public
  7386. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  7387. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  7388. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  7389. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  7390. property w : TBits_32 read getw write setw;
  7391. end;
  7392. type
  7393. TINTRegisters = record
  7394. INTCONbits : TINT_INTCON;
  7395. INTCON : longWord;
  7396. INTCONCLR : longWord;
  7397. INTCONSET : longWord;
  7398. INTCONINV : longWord;
  7399. INTSTAT : longWord;
  7400. IPTMR : longWord;
  7401. IPTMRCLR : longWord;
  7402. IPTMRSET : longWord;
  7403. IPTMRINV : longWord;
  7404. IFS0bits : TINT_IFS0;
  7405. IFS0 : longWord;
  7406. IFS0CLR : longWord;
  7407. IFS0SET : longWord;
  7408. IFS0INV : longWord;
  7409. IFS1bits : TINT_IFS1;
  7410. IFS1 : longWord;
  7411. IFS1CLR : longWord;
  7412. IFS1SET : longWord;
  7413. IFS1INV : longWord;
  7414. IFS2 : longWord;
  7415. IFS2CLR : longWord;
  7416. IFS2SET : longWord;
  7417. IFS2INV : longWord;
  7418. IEC0bits : TINT_IEC0;
  7419. IEC0 : longWord;
  7420. IEC0CLR : longWord;
  7421. IEC0SET : longWord;
  7422. IEC0INV : longWord;
  7423. IEC1bits : TINT_IEC1;
  7424. IEC1 : longWord;
  7425. IEC1CLR : longWord;
  7426. IEC1SET : longWord;
  7427. IEC1INV : longWord;
  7428. IEC2 : longWord;
  7429. IEC2CLR : longWord;
  7430. IEC2SET : longWord;
  7431. IEC2INV : longWord;
  7432. IPC0bits : TINT_IPC0;
  7433. IPC0 : longWord;
  7434. IPC0CLR : longWord;
  7435. IPC0SET : longWord;
  7436. IPC0INV : longWord;
  7437. IPC1bits : TINT_IPC1;
  7438. IPC1 : longWord;
  7439. IPC1CLR : longWord;
  7440. IPC1SET : longWord;
  7441. IPC1INV : longWord;
  7442. IPC2bits : TINT_IPC2;
  7443. IPC2 : longWord;
  7444. IPC2CLR : longWord;
  7445. IPC2SET : longWord;
  7446. IPC2INV : longWord;
  7447. IPC3bits : TINT_IPC3;
  7448. IPC3 : longWord;
  7449. IPC3CLR : longWord;
  7450. IPC3SET : longWord;
  7451. IPC3INV : longWord;
  7452. IPC4bits : TINT_IPC4;
  7453. IPC4 : longWord;
  7454. IPC4CLR : longWord;
  7455. IPC4SET : longWord;
  7456. IPC4INV : longWord;
  7457. IPC5bits : TINT_IPC5;
  7458. IPC5 : longWord;
  7459. IPC5CLR : longWord;
  7460. IPC5SET : longWord;
  7461. IPC5INV : longWord;
  7462. IPC6bits : TINT_IPC6;
  7463. IPC6 : longWord;
  7464. IPC6CLR : longWord;
  7465. IPC6SET : longWord;
  7466. IPC6INV : longWord;
  7467. IPC7bits : TINT_IPC7;
  7468. IPC7 : longWord;
  7469. IPC7CLR : longWord;
  7470. IPC7SET : longWord;
  7471. IPC7INV : longWord;
  7472. IPC8bits : TINT_IPC8;
  7473. IPC8 : longWord;
  7474. IPC8CLR : longWord;
  7475. IPC8SET : longWord;
  7476. IPC8INV : longWord;
  7477. IPC9bits : TINT_IPC9;
  7478. IPC9 : longWord;
  7479. IPC9CLR : longWord;
  7480. IPC9SET : longWord;
  7481. IPC9INV : longWord;
  7482. IPC10bits : TINT_IPC10;
  7483. IPC10 : longWord;
  7484. IPC10CLR : longWord;
  7485. IPC10SET : longWord;
  7486. IPC10INV : longWord;
  7487. IPC11bits : TINT_IPC11;
  7488. IPC11 : longWord;
  7489. IPC11CLR : longWord;
  7490. IPC11SET : longWord;
  7491. IPC11INV : longWord;
  7492. end;
  7493. TBMX_BMXCON = record
  7494. private
  7495. function getBMXARB : TBits_3; inline;
  7496. function getBMXCHEDMA : TBits_1; inline;
  7497. function getBMXERRDMA : TBits_1; inline;
  7498. function getBMXERRDS : TBits_1; inline;
  7499. function getBMXERRICD : TBits_1; inline;
  7500. function getBMXERRIS : TBits_1; inline;
  7501. function getBMXERRIXI : TBits_1; inline;
  7502. function getBMXWSDRM : TBits_1; inline;
  7503. function getw : TBits_32; inline;
  7504. procedure setBMXARB(thebits : TBits_3); inline;
  7505. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  7506. procedure setBMXERRDMA(thebits : TBits_1); inline;
  7507. procedure setBMXERRDS(thebits : TBits_1); inline;
  7508. procedure setBMXERRICD(thebits : TBits_1); inline;
  7509. procedure setBMXERRIS(thebits : TBits_1); inline;
  7510. procedure setBMXERRIXI(thebits : TBits_1); inline;
  7511. procedure setBMXWSDRM(thebits : TBits_1); inline;
  7512. procedure setw(thebits : TBits_32); inline;
  7513. public
  7514. procedure clearBMXCHEDMA; inline;
  7515. procedure clearBMXERRDMA; inline;
  7516. procedure clearBMXERRDS; inline;
  7517. procedure clearBMXERRICD; inline;
  7518. procedure clearBMXERRIS; inline;
  7519. procedure clearBMXERRIXI; inline;
  7520. procedure clearBMXWSDRM; inline;
  7521. procedure setBMXCHEDMA; inline;
  7522. procedure setBMXERRDMA; inline;
  7523. procedure setBMXERRDS; inline;
  7524. procedure setBMXERRICD; inline;
  7525. procedure setBMXERRIS; inline;
  7526. procedure setBMXERRIXI; inline;
  7527. procedure setBMXWSDRM; inline;
  7528. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  7529. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  7530. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  7531. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  7532. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  7533. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  7534. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  7535. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  7536. property w : TBits_32 read getw write setw;
  7537. end;
  7538. type
  7539. TBMXRegisters = record
  7540. BMXCONbits : TBMX_BMXCON;
  7541. BMXCON : longWord;
  7542. BMXCONCLR : longWord;
  7543. BMXCONSET : longWord;
  7544. BMXCONINV : longWord;
  7545. BMXDKPBA : longWord;
  7546. BMXDKPBACLR : longWord;
  7547. BMXDKPBASET : longWord;
  7548. BMXDKPBAINV : longWord;
  7549. BMXDUDBA : longWord;
  7550. BMXDUDBACLR : longWord;
  7551. BMXDUDBASET : longWord;
  7552. BMXDUDBAINV : longWord;
  7553. BMXDUPBA : longWord;
  7554. BMXDUPBACLR : longWord;
  7555. BMXDUPBASET : longWord;
  7556. BMXDUPBAINV : longWord;
  7557. BMXDRMSZ : longWord;
  7558. BMXPUPBA : longWord;
  7559. BMXPUPBACLR : longWord;
  7560. BMXPUPBASET : longWord;
  7561. BMXPUPBAINV : longWord;
  7562. BMXPFMSZ : longWord;
  7563. BMXBOOTSZ : longWord;
  7564. end;
  7565. TDMAC_DMACON = record
  7566. private
  7567. function getDMABUSY : TBits_1; inline;
  7568. function getON : TBits_1; inline;
  7569. function getSUSPEND : TBits_1; inline;
  7570. function getw : TBits_32; inline;
  7571. procedure setDMABUSY(thebits : TBits_1); inline;
  7572. procedure setON(thebits : TBits_1); inline;
  7573. procedure setSUSPEND(thebits : TBits_1); inline;
  7574. procedure setw(thebits : TBits_32); inline;
  7575. public
  7576. procedure clearDMABUSY; inline;
  7577. procedure clearON; inline;
  7578. procedure clearSUSPEND; inline;
  7579. procedure setDMABUSY; inline;
  7580. procedure setON; inline;
  7581. procedure setSUSPEND; inline;
  7582. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  7583. property ON : TBits_1 read getON write setON;
  7584. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  7585. property w : TBits_32 read getw write setw;
  7586. end;
  7587. TDMAC_DMASTAT = record
  7588. private
  7589. function getDMACH : TBits_3; inline;
  7590. function getRDWR : TBits_1; inline;
  7591. function getw : TBits_32; inline;
  7592. procedure setDMACH(thebits : TBits_3); inline;
  7593. procedure setRDWR(thebits : TBits_1); inline;
  7594. procedure setw(thebits : TBits_32); inline;
  7595. public
  7596. procedure clearRDWR; inline;
  7597. procedure setRDWR; inline;
  7598. property DMACH : TBits_3 read getDMACH write setDMACH;
  7599. property RDWR : TBits_1 read getRDWR write setRDWR;
  7600. property w : TBits_32 read getw write setw;
  7601. end;
  7602. TDMAC_DCRCCON = record
  7603. private
  7604. function getBITO : TBits_1; inline;
  7605. function getBYTO : TBits_2; inline;
  7606. function getCRCAPP : TBits_1; inline;
  7607. function getCRCCH : TBits_3; inline;
  7608. function getCRCEN : TBits_1; inline;
  7609. function getCRCTYP : TBits_1; inline;
  7610. function getPLEN : TBits_5; inline;
  7611. function getWBO : TBits_1; inline;
  7612. function getw : TBits_32; inline;
  7613. procedure setBITO(thebits : TBits_1); inline;
  7614. procedure setBYTO(thebits : TBits_2); inline;
  7615. procedure setCRCAPP(thebits : TBits_1); inline;
  7616. procedure setCRCCH(thebits : TBits_3); inline;
  7617. procedure setCRCEN(thebits : TBits_1); inline;
  7618. procedure setCRCTYP(thebits : TBits_1); inline;
  7619. procedure setPLEN(thebits : TBits_5); inline;
  7620. procedure setWBO(thebits : TBits_1); inline;
  7621. procedure setw(thebits : TBits_32); inline;
  7622. public
  7623. procedure clearBITO; inline;
  7624. procedure clearCRCAPP; inline;
  7625. procedure clearCRCEN; inline;
  7626. procedure clearCRCTYP; inline;
  7627. procedure clearWBO; inline;
  7628. procedure setBITO; inline;
  7629. procedure setCRCAPP; inline;
  7630. procedure setCRCEN; inline;
  7631. procedure setCRCTYP; inline;
  7632. procedure setWBO; inline;
  7633. property BITO : TBits_1 read getBITO write setBITO;
  7634. property BYTO : TBits_2 read getBYTO write setBYTO;
  7635. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  7636. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  7637. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  7638. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  7639. property PLEN : TBits_5 read getPLEN write setPLEN;
  7640. property WBO : TBits_1 read getWBO write setWBO;
  7641. property w : TBits_32 read getw write setw;
  7642. end;
  7643. type
  7644. TDMACRegisters = record
  7645. DMACONbits : TDMAC_DMACON;
  7646. DMACON : longWord;
  7647. DMACONCLR : longWord;
  7648. DMACONSET : longWord;
  7649. DMACONINV : longWord;
  7650. DMASTATbits : TDMAC_DMASTAT;
  7651. DMASTAT : longWord;
  7652. DMASTATCLR : longWord;
  7653. DMASTATSET : longWord;
  7654. DMASTATINV : longWord;
  7655. DMAADDR : longWord;
  7656. DMAADDRCLR : longWord;
  7657. DMAADDRSET : longWord;
  7658. DMAADDRINV : longWord;
  7659. DCRCCONbits : TDMAC_DCRCCON;
  7660. DCRCCON : longWord;
  7661. DCRCCONCLR : longWord;
  7662. DCRCCONSET : longWord;
  7663. DCRCCONINV : longWord;
  7664. DCRCDATA : longWord;
  7665. DCRCDATACLR : longWord;
  7666. DCRCDATASET : longWord;
  7667. DCRCDATAINV : longWord;
  7668. DCRCXOR : longWord;
  7669. DCRCXORCLR : longWord;
  7670. DCRCXORSET : longWord;
  7671. DCRCXORINV : longWord;
  7672. end;
  7673. TDMAC0_DCH0CON = record
  7674. private
  7675. function getCHAED : TBits_1; inline;
  7676. function getCHAEN : TBits_1; inline;
  7677. function getCHBUSY : TBits_1; inline;
  7678. function getCHCHN : TBits_1; inline;
  7679. function getCHCHNS : TBits_1; inline;
  7680. function getCHEDET : TBits_1; inline;
  7681. function getCHEN : TBits_1; inline;
  7682. function getCHPRI : TBits_2; inline;
  7683. function getw : TBits_32; inline;
  7684. procedure setCHAED(thebits : TBits_1); inline;
  7685. procedure setCHAEN(thebits : TBits_1); inline;
  7686. procedure setCHBUSY(thebits : TBits_1); inline;
  7687. procedure setCHCHN(thebits : TBits_1); inline;
  7688. procedure setCHCHNS(thebits : TBits_1); inline;
  7689. procedure setCHEDET(thebits : TBits_1); inline;
  7690. procedure setCHEN(thebits : TBits_1); inline;
  7691. procedure setCHPRI(thebits : TBits_2); inline;
  7692. procedure setw(thebits : TBits_32); inline;
  7693. public
  7694. procedure clearCHAED; inline;
  7695. procedure clearCHAEN; inline;
  7696. procedure clearCHBUSY; inline;
  7697. procedure clearCHCHN; inline;
  7698. procedure clearCHCHNS; inline;
  7699. procedure clearCHEDET; inline;
  7700. procedure clearCHEN; inline;
  7701. procedure setCHAED; inline;
  7702. procedure setCHAEN; inline;
  7703. procedure setCHBUSY; inline;
  7704. procedure setCHCHN; inline;
  7705. procedure setCHCHNS; inline;
  7706. procedure setCHEDET; inline;
  7707. procedure setCHEN; inline;
  7708. property CHAED : TBits_1 read getCHAED write setCHAED;
  7709. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7710. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7711. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7712. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7713. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7714. property CHEN : TBits_1 read getCHEN write setCHEN;
  7715. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7716. property w : TBits_32 read getw write setw;
  7717. end;
  7718. TDMAC0_DCH0ECON = record
  7719. private
  7720. function getAIRQEN : TBits_1; inline;
  7721. function getCABORT : TBits_1; inline;
  7722. function getCFORCE : TBits_1; inline;
  7723. function getCHAIRQ : TBits_8; inline;
  7724. function getCHSIRQ : TBits_8; inline;
  7725. function getPATEN : TBits_1; inline;
  7726. function getSIRQEN : TBits_1; inline;
  7727. function getw : TBits_32; inline;
  7728. procedure setAIRQEN(thebits : TBits_1); inline;
  7729. procedure setCABORT(thebits : TBits_1); inline;
  7730. procedure setCFORCE(thebits : TBits_1); inline;
  7731. procedure setCHAIRQ(thebits : TBits_8); inline;
  7732. procedure setCHSIRQ(thebits : TBits_8); inline;
  7733. procedure setPATEN(thebits : TBits_1); inline;
  7734. procedure setSIRQEN(thebits : TBits_1); inline;
  7735. procedure setw(thebits : TBits_32); inline;
  7736. public
  7737. procedure clearAIRQEN; inline;
  7738. procedure clearCABORT; inline;
  7739. procedure clearCFORCE; inline;
  7740. procedure clearPATEN; inline;
  7741. procedure clearSIRQEN; inline;
  7742. procedure setAIRQEN; inline;
  7743. procedure setCABORT; inline;
  7744. procedure setCFORCE; inline;
  7745. procedure setPATEN; inline;
  7746. procedure setSIRQEN; inline;
  7747. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7748. property CABORT : TBits_1 read getCABORT write setCABORT;
  7749. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7750. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7751. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7752. property PATEN : TBits_1 read getPATEN write setPATEN;
  7753. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7754. property w : TBits_32 read getw write setw;
  7755. end;
  7756. TDMAC0_DCH0INT = record
  7757. private
  7758. function getCHBCIE : TBits_1; inline;
  7759. function getCHBCIF : TBits_1; inline;
  7760. function getCHCCIE : TBits_1; inline;
  7761. function getCHCCIF : TBits_1; inline;
  7762. function getCHDDIE : TBits_1; inline;
  7763. function getCHDDIF : TBits_1; inline;
  7764. function getCHDHIE : TBits_1; inline;
  7765. function getCHDHIF : TBits_1; inline;
  7766. function getCHERIE : TBits_1; inline;
  7767. function getCHERIF : TBits_1; inline;
  7768. function getCHSDIE : TBits_1; inline;
  7769. function getCHSDIF : TBits_1; inline;
  7770. function getCHSHIE : TBits_1; inline;
  7771. function getCHSHIF : TBits_1; inline;
  7772. function getCHTAIE : TBits_1; inline;
  7773. function getCHTAIF : TBits_1; inline;
  7774. function getw : TBits_32; inline;
  7775. procedure setCHBCIE(thebits : TBits_1); inline;
  7776. procedure setCHBCIF(thebits : TBits_1); inline;
  7777. procedure setCHCCIE(thebits : TBits_1); inline;
  7778. procedure setCHCCIF(thebits : TBits_1); inline;
  7779. procedure setCHDDIE(thebits : TBits_1); inline;
  7780. procedure setCHDDIF(thebits : TBits_1); inline;
  7781. procedure setCHDHIE(thebits : TBits_1); inline;
  7782. procedure setCHDHIF(thebits : TBits_1); inline;
  7783. procedure setCHERIE(thebits : TBits_1); inline;
  7784. procedure setCHERIF(thebits : TBits_1); inline;
  7785. procedure setCHSDIE(thebits : TBits_1); inline;
  7786. procedure setCHSDIF(thebits : TBits_1); inline;
  7787. procedure setCHSHIE(thebits : TBits_1); inline;
  7788. procedure setCHSHIF(thebits : TBits_1); inline;
  7789. procedure setCHTAIE(thebits : TBits_1); inline;
  7790. procedure setCHTAIF(thebits : TBits_1); inline;
  7791. procedure setw(thebits : TBits_32); inline;
  7792. public
  7793. procedure clearCHBCIE; inline;
  7794. procedure clearCHBCIF; inline;
  7795. procedure clearCHCCIE; inline;
  7796. procedure clearCHCCIF; inline;
  7797. procedure clearCHDDIE; inline;
  7798. procedure clearCHDDIF; inline;
  7799. procedure clearCHDHIE; inline;
  7800. procedure clearCHDHIF; inline;
  7801. procedure clearCHERIE; inline;
  7802. procedure clearCHERIF; inline;
  7803. procedure clearCHSDIE; inline;
  7804. procedure clearCHSDIF; inline;
  7805. procedure clearCHSHIE; inline;
  7806. procedure clearCHSHIF; inline;
  7807. procedure clearCHTAIE; inline;
  7808. procedure clearCHTAIF; inline;
  7809. procedure setCHBCIE; inline;
  7810. procedure setCHBCIF; inline;
  7811. procedure setCHCCIE; inline;
  7812. procedure setCHCCIF; inline;
  7813. procedure setCHDDIE; inline;
  7814. procedure setCHDDIF; inline;
  7815. procedure setCHDHIE; inline;
  7816. procedure setCHDHIF; inline;
  7817. procedure setCHERIE; inline;
  7818. procedure setCHERIF; inline;
  7819. procedure setCHSDIE; inline;
  7820. procedure setCHSDIF; inline;
  7821. procedure setCHSHIE; inline;
  7822. procedure setCHSHIF; inline;
  7823. procedure setCHTAIE; inline;
  7824. procedure setCHTAIF; inline;
  7825. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7826. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7827. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7828. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7829. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7830. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7831. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7832. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7833. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7834. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7835. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7836. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7837. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7838. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7839. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7840. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7841. property w : TBits_32 read getw write setw;
  7842. end;
  7843. type
  7844. TDMAC0Registers = record
  7845. DCH0CONbits : TDMAC0_DCH0CON;
  7846. DCH0CON : longWord;
  7847. DCH0CONCLR : longWord;
  7848. DCH0CONSET : longWord;
  7849. DCH0CONINV : longWord;
  7850. DCH0ECONbits : TDMAC0_DCH0ECON;
  7851. DCH0ECON : longWord;
  7852. DCH0ECONCLR : longWord;
  7853. DCH0ECONSET : longWord;
  7854. DCH0ECONINV : longWord;
  7855. DCH0INTbits : TDMAC0_DCH0INT;
  7856. DCH0INT : longWord;
  7857. DCH0INTCLR : longWord;
  7858. DCH0INTSET : longWord;
  7859. DCH0INTINV : longWord;
  7860. DCH0SSA : longWord;
  7861. DCH0SSACLR : longWord;
  7862. DCH0SSASET : longWord;
  7863. DCH0SSAINV : longWord;
  7864. DCH0DSA : longWord;
  7865. DCH0DSACLR : longWord;
  7866. DCH0DSASET : longWord;
  7867. DCH0DSAINV : longWord;
  7868. DCH0SSIZ : longWord;
  7869. DCH0SSIZCLR : longWord;
  7870. DCH0SSIZSET : longWord;
  7871. DCH0SSIZINV : longWord;
  7872. DCH0DSIZ : longWord;
  7873. DCH0DSIZCLR : longWord;
  7874. DCH0DSIZSET : longWord;
  7875. DCH0DSIZINV : longWord;
  7876. DCH0SPTR : longWord;
  7877. DCH0SPTRCLR : longWord;
  7878. DCH0SPTRSET : longWord;
  7879. DCH0SPTRINV : longWord;
  7880. DCH0DPTR : longWord;
  7881. DCH0DPTRCLR : longWord;
  7882. DCH0DPTRSET : longWord;
  7883. DCH0DPTRINV : longWord;
  7884. DCH0CSIZ : longWord;
  7885. DCH0CSIZCLR : longWord;
  7886. DCH0CSIZSET : longWord;
  7887. DCH0CSIZINV : longWord;
  7888. DCH0CPTR : longWord;
  7889. DCH0CPTRCLR : longWord;
  7890. DCH0CPTRSET : longWord;
  7891. DCH0CPTRINV : longWord;
  7892. DCH0DAT : longWord;
  7893. DCH0DATCLR : longWord;
  7894. DCH0DATSET : longWord;
  7895. DCH0DATINV : longWord;
  7896. end;
  7897. TDMAC1_DCH1CON = record
  7898. private
  7899. function getCHAED : TBits_1; inline;
  7900. function getCHAEN : TBits_1; inline;
  7901. function getCHBUSY : TBits_1; inline;
  7902. function getCHCHN : TBits_1; inline;
  7903. function getCHCHNS : TBits_1; inline;
  7904. function getCHEDET : TBits_1; inline;
  7905. function getCHEN : TBits_1; inline;
  7906. function getCHPRI : TBits_2; inline;
  7907. function getw : TBits_32; inline;
  7908. procedure setCHAED(thebits : TBits_1); inline;
  7909. procedure setCHAEN(thebits : TBits_1); inline;
  7910. procedure setCHBUSY(thebits : TBits_1); inline;
  7911. procedure setCHCHN(thebits : TBits_1); inline;
  7912. procedure setCHCHNS(thebits : TBits_1); inline;
  7913. procedure setCHEDET(thebits : TBits_1); inline;
  7914. procedure setCHEN(thebits : TBits_1); inline;
  7915. procedure setCHPRI(thebits : TBits_2); inline;
  7916. procedure setw(thebits : TBits_32); inline;
  7917. public
  7918. procedure clearCHAED; inline;
  7919. procedure clearCHAEN; inline;
  7920. procedure clearCHBUSY; inline;
  7921. procedure clearCHCHN; inline;
  7922. procedure clearCHCHNS; inline;
  7923. procedure clearCHEDET; inline;
  7924. procedure clearCHEN; inline;
  7925. procedure setCHAED; inline;
  7926. procedure setCHAEN; inline;
  7927. procedure setCHBUSY; inline;
  7928. procedure setCHCHN; inline;
  7929. procedure setCHCHNS; inline;
  7930. procedure setCHEDET; inline;
  7931. procedure setCHEN; inline;
  7932. property CHAED : TBits_1 read getCHAED write setCHAED;
  7933. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7934. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7935. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7936. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7937. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7938. property CHEN : TBits_1 read getCHEN write setCHEN;
  7939. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7940. property w : TBits_32 read getw write setw;
  7941. end;
  7942. TDMAC1_DCH1ECON = record
  7943. private
  7944. function getAIRQEN : TBits_1; inline;
  7945. function getCABORT : TBits_1; inline;
  7946. function getCFORCE : TBits_1; inline;
  7947. function getCHAIRQ : TBits_8; inline;
  7948. function getCHSIRQ : TBits_8; inline;
  7949. function getPATEN : TBits_1; inline;
  7950. function getSIRQEN : TBits_1; inline;
  7951. function getw : TBits_32; inline;
  7952. procedure setAIRQEN(thebits : TBits_1); inline;
  7953. procedure setCABORT(thebits : TBits_1); inline;
  7954. procedure setCFORCE(thebits : TBits_1); inline;
  7955. procedure setCHAIRQ(thebits : TBits_8); inline;
  7956. procedure setCHSIRQ(thebits : TBits_8); inline;
  7957. procedure setPATEN(thebits : TBits_1); inline;
  7958. procedure setSIRQEN(thebits : TBits_1); inline;
  7959. procedure setw(thebits : TBits_32); inline;
  7960. public
  7961. procedure clearAIRQEN; inline;
  7962. procedure clearCABORT; inline;
  7963. procedure clearCFORCE; inline;
  7964. procedure clearPATEN; inline;
  7965. procedure clearSIRQEN; inline;
  7966. procedure setAIRQEN; inline;
  7967. procedure setCABORT; inline;
  7968. procedure setCFORCE; inline;
  7969. procedure setPATEN; inline;
  7970. procedure setSIRQEN; inline;
  7971. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7972. property CABORT : TBits_1 read getCABORT write setCABORT;
  7973. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7974. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7975. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7976. property PATEN : TBits_1 read getPATEN write setPATEN;
  7977. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7978. property w : TBits_32 read getw write setw;
  7979. end;
  7980. TDMAC1_DCH1INT = record
  7981. private
  7982. function getCHBCIE : TBits_1; inline;
  7983. function getCHBCIF : TBits_1; inline;
  7984. function getCHCCIE : TBits_1; inline;
  7985. function getCHCCIF : TBits_1; inline;
  7986. function getCHDDIE : TBits_1; inline;
  7987. function getCHDDIF : TBits_1; inline;
  7988. function getCHDHIE : TBits_1; inline;
  7989. function getCHDHIF : TBits_1; inline;
  7990. function getCHERIE : TBits_1; inline;
  7991. function getCHERIF : TBits_1; inline;
  7992. function getCHSDIE : TBits_1; inline;
  7993. function getCHSDIF : TBits_1; inline;
  7994. function getCHSHIE : TBits_1; inline;
  7995. function getCHSHIF : TBits_1; inline;
  7996. function getCHTAIE : TBits_1; inline;
  7997. function getCHTAIF : TBits_1; inline;
  7998. function getw : TBits_32; inline;
  7999. procedure setCHBCIE(thebits : TBits_1); inline;
  8000. procedure setCHBCIF(thebits : TBits_1); inline;
  8001. procedure setCHCCIE(thebits : TBits_1); inline;
  8002. procedure setCHCCIF(thebits : TBits_1); inline;
  8003. procedure setCHDDIE(thebits : TBits_1); inline;
  8004. procedure setCHDDIF(thebits : TBits_1); inline;
  8005. procedure setCHDHIE(thebits : TBits_1); inline;
  8006. procedure setCHDHIF(thebits : TBits_1); inline;
  8007. procedure setCHERIE(thebits : TBits_1); inline;
  8008. procedure setCHERIF(thebits : TBits_1); inline;
  8009. procedure setCHSDIE(thebits : TBits_1); inline;
  8010. procedure setCHSDIF(thebits : TBits_1); inline;
  8011. procedure setCHSHIE(thebits : TBits_1); inline;
  8012. procedure setCHSHIF(thebits : TBits_1); inline;
  8013. procedure setCHTAIE(thebits : TBits_1); inline;
  8014. procedure setCHTAIF(thebits : TBits_1); inline;
  8015. procedure setw(thebits : TBits_32); inline;
  8016. public
  8017. procedure clearCHBCIE; inline;
  8018. procedure clearCHBCIF; inline;
  8019. procedure clearCHCCIE; inline;
  8020. procedure clearCHCCIF; inline;
  8021. procedure clearCHDDIE; inline;
  8022. procedure clearCHDDIF; inline;
  8023. procedure clearCHDHIE; inline;
  8024. procedure clearCHDHIF; inline;
  8025. procedure clearCHERIE; inline;
  8026. procedure clearCHERIF; inline;
  8027. procedure clearCHSDIE; inline;
  8028. procedure clearCHSDIF; inline;
  8029. procedure clearCHSHIE; inline;
  8030. procedure clearCHSHIF; inline;
  8031. procedure clearCHTAIE; inline;
  8032. procedure clearCHTAIF; inline;
  8033. procedure setCHBCIE; inline;
  8034. procedure setCHBCIF; inline;
  8035. procedure setCHCCIE; inline;
  8036. procedure setCHCCIF; inline;
  8037. procedure setCHDDIE; inline;
  8038. procedure setCHDDIF; inline;
  8039. procedure setCHDHIE; inline;
  8040. procedure setCHDHIF; inline;
  8041. procedure setCHERIE; inline;
  8042. procedure setCHERIF; inline;
  8043. procedure setCHSDIE; inline;
  8044. procedure setCHSDIF; inline;
  8045. procedure setCHSHIE; inline;
  8046. procedure setCHSHIF; inline;
  8047. procedure setCHTAIE; inline;
  8048. procedure setCHTAIF; inline;
  8049. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8050. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8051. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8052. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8053. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8054. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8055. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8056. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8057. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8058. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8059. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8060. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8061. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8062. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8063. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8064. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8065. property w : TBits_32 read getw write setw;
  8066. end;
  8067. type
  8068. TDMAC1Registers = record
  8069. DCH1CONbits : TDMAC1_DCH1CON;
  8070. DCH1CON : longWord;
  8071. DCH1CONCLR : longWord;
  8072. DCH1CONSET : longWord;
  8073. DCH1CONINV : longWord;
  8074. DCH1ECONbits : TDMAC1_DCH1ECON;
  8075. DCH1ECON : longWord;
  8076. DCH1ECONCLR : longWord;
  8077. DCH1ECONSET : longWord;
  8078. DCH1ECONINV : longWord;
  8079. DCH1INTbits : TDMAC1_DCH1INT;
  8080. DCH1INT : longWord;
  8081. DCH1INTCLR : longWord;
  8082. DCH1INTSET : longWord;
  8083. DCH1INTINV : longWord;
  8084. DCH1SSA : longWord;
  8085. DCH1SSACLR : longWord;
  8086. DCH1SSASET : longWord;
  8087. DCH1SSAINV : longWord;
  8088. DCH1DSA : longWord;
  8089. DCH1DSACLR : longWord;
  8090. DCH1DSASET : longWord;
  8091. DCH1DSAINV : longWord;
  8092. DCH1SSIZ : longWord;
  8093. DCH1SSIZCLR : longWord;
  8094. DCH1SSIZSET : longWord;
  8095. DCH1SSIZINV : longWord;
  8096. DCH1DSIZ : longWord;
  8097. DCH1DSIZCLR : longWord;
  8098. DCH1DSIZSET : longWord;
  8099. DCH1DSIZINV : longWord;
  8100. DCH1SPTR : longWord;
  8101. DCH1SPTRCLR : longWord;
  8102. DCH1SPTRSET : longWord;
  8103. DCH1SPTRINV : longWord;
  8104. DCH1DPTR : longWord;
  8105. DCH1DPTRCLR : longWord;
  8106. DCH1DPTRSET : longWord;
  8107. DCH1DPTRINV : longWord;
  8108. DCH1CSIZ : longWord;
  8109. DCH1CSIZCLR : longWord;
  8110. DCH1CSIZSET : longWord;
  8111. DCH1CSIZINV : longWord;
  8112. DCH1CPTR : longWord;
  8113. DCH1CPTRCLR : longWord;
  8114. DCH1CPTRSET : longWord;
  8115. DCH1CPTRINV : longWord;
  8116. DCH1DAT : longWord;
  8117. DCH1DATCLR : longWord;
  8118. DCH1DATSET : longWord;
  8119. DCH1DATINV : longWord;
  8120. end;
  8121. TDMAC2_DCH2CON = record
  8122. private
  8123. function getCHAED : TBits_1; inline;
  8124. function getCHAEN : TBits_1; inline;
  8125. function getCHBUSY : TBits_1; inline;
  8126. function getCHCHN : TBits_1; inline;
  8127. function getCHCHNS : TBits_1; inline;
  8128. function getCHEDET : TBits_1; inline;
  8129. function getCHEN : TBits_1; inline;
  8130. function getCHPRI : TBits_2; inline;
  8131. function getw : TBits_32; inline;
  8132. procedure setCHAED(thebits : TBits_1); inline;
  8133. procedure setCHAEN(thebits : TBits_1); inline;
  8134. procedure setCHBUSY(thebits : TBits_1); inline;
  8135. procedure setCHCHN(thebits : TBits_1); inline;
  8136. procedure setCHCHNS(thebits : TBits_1); inline;
  8137. procedure setCHEDET(thebits : TBits_1); inline;
  8138. procedure setCHEN(thebits : TBits_1); inline;
  8139. procedure setCHPRI(thebits : TBits_2); inline;
  8140. procedure setw(thebits : TBits_32); inline;
  8141. public
  8142. procedure clearCHAED; inline;
  8143. procedure clearCHAEN; inline;
  8144. procedure clearCHBUSY; inline;
  8145. procedure clearCHCHN; inline;
  8146. procedure clearCHCHNS; inline;
  8147. procedure clearCHEDET; inline;
  8148. procedure clearCHEN; inline;
  8149. procedure setCHAED; inline;
  8150. procedure setCHAEN; inline;
  8151. procedure setCHBUSY; inline;
  8152. procedure setCHCHN; inline;
  8153. procedure setCHCHNS; inline;
  8154. procedure setCHEDET; inline;
  8155. procedure setCHEN; inline;
  8156. property CHAED : TBits_1 read getCHAED write setCHAED;
  8157. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8158. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8159. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8160. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8161. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8162. property CHEN : TBits_1 read getCHEN write setCHEN;
  8163. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8164. property w : TBits_32 read getw write setw;
  8165. end;
  8166. TDMAC2_DCH2ECON = record
  8167. private
  8168. function getAIRQEN : TBits_1; inline;
  8169. function getCABORT : TBits_1; inline;
  8170. function getCFORCE : TBits_1; inline;
  8171. function getCHAIRQ : TBits_8; inline;
  8172. function getCHSIRQ : TBits_8; inline;
  8173. function getPATEN : TBits_1; inline;
  8174. function getSIRQEN : TBits_1; inline;
  8175. function getw : TBits_32; inline;
  8176. procedure setAIRQEN(thebits : TBits_1); inline;
  8177. procedure setCABORT(thebits : TBits_1); inline;
  8178. procedure setCFORCE(thebits : TBits_1); inline;
  8179. procedure setCHAIRQ(thebits : TBits_8); inline;
  8180. procedure setCHSIRQ(thebits : TBits_8); inline;
  8181. procedure setPATEN(thebits : TBits_1); inline;
  8182. procedure setSIRQEN(thebits : TBits_1); inline;
  8183. procedure setw(thebits : TBits_32); inline;
  8184. public
  8185. procedure clearAIRQEN; inline;
  8186. procedure clearCABORT; inline;
  8187. procedure clearCFORCE; inline;
  8188. procedure clearPATEN; inline;
  8189. procedure clearSIRQEN; inline;
  8190. procedure setAIRQEN; inline;
  8191. procedure setCABORT; inline;
  8192. procedure setCFORCE; inline;
  8193. procedure setPATEN; inline;
  8194. procedure setSIRQEN; inline;
  8195. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8196. property CABORT : TBits_1 read getCABORT write setCABORT;
  8197. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8198. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8199. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8200. property PATEN : TBits_1 read getPATEN write setPATEN;
  8201. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8202. property w : TBits_32 read getw write setw;
  8203. end;
  8204. TDMAC2_DCH2INT = record
  8205. private
  8206. function getCHBCIE : TBits_1; inline;
  8207. function getCHBCIF : TBits_1; inline;
  8208. function getCHCCIE : TBits_1; inline;
  8209. function getCHCCIF : TBits_1; inline;
  8210. function getCHDDIE : TBits_1; inline;
  8211. function getCHDDIF : TBits_1; inline;
  8212. function getCHDHIE : TBits_1; inline;
  8213. function getCHDHIF : TBits_1; inline;
  8214. function getCHERIE : TBits_1; inline;
  8215. function getCHERIF : TBits_1; inline;
  8216. function getCHSDIE : TBits_1; inline;
  8217. function getCHSDIF : TBits_1; inline;
  8218. function getCHSHIE : TBits_1; inline;
  8219. function getCHSHIF : TBits_1; inline;
  8220. function getCHTAIE : TBits_1; inline;
  8221. function getCHTAIF : TBits_1; inline;
  8222. function getw : TBits_32; inline;
  8223. procedure setCHBCIE(thebits : TBits_1); inline;
  8224. procedure setCHBCIF(thebits : TBits_1); inline;
  8225. procedure setCHCCIE(thebits : TBits_1); inline;
  8226. procedure setCHCCIF(thebits : TBits_1); inline;
  8227. procedure setCHDDIE(thebits : TBits_1); inline;
  8228. procedure setCHDDIF(thebits : TBits_1); inline;
  8229. procedure setCHDHIE(thebits : TBits_1); inline;
  8230. procedure setCHDHIF(thebits : TBits_1); inline;
  8231. procedure setCHERIE(thebits : TBits_1); inline;
  8232. procedure setCHERIF(thebits : TBits_1); inline;
  8233. procedure setCHSDIE(thebits : TBits_1); inline;
  8234. procedure setCHSDIF(thebits : TBits_1); inline;
  8235. procedure setCHSHIE(thebits : TBits_1); inline;
  8236. procedure setCHSHIF(thebits : TBits_1); inline;
  8237. procedure setCHTAIE(thebits : TBits_1); inline;
  8238. procedure setCHTAIF(thebits : TBits_1); inline;
  8239. procedure setw(thebits : TBits_32); inline;
  8240. public
  8241. procedure clearCHBCIE; inline;
  8242. procedure clearCHBCIF; inline;
  8243. procedure clearCHCCIE; inline;
  8244. procedure clearCHCCIF; inline;
  8245. procedure clearCHDDIE; inline;
  8246. procedure clearCHDDIF; inline;
  8247. procedure clearCHDHIE; inline;
  8248. procedure clearCHDHIF; inline;
  8249. procedure clearCHERIE; inline;
  8250. procedure clearCHERIF; inline;
  8251. procedure clearCHSDIE; inline;
  8252. procedure clearCHSDIF; inline;
  8253. procedure clearCHSHIE; inline;
  8254. procedure clearCHSHIF; inline;
  8255. procedure clearCHTAIE; inline;
  8256. procedure clearCHTAIF; inline;
  8257. procedure setCHBCIE; inline;
  8258. procedure setCHBCIF; inline;
  8259. procedure setCHCCIE; inline;
  8260. procedure setCHCCIF; inline;
  8261. procedure setCHDDIE; inline;
  8262. procedure setCHDDIF; inline;
  8263. procedure setCHDHIE; inline;
  8264. procedure setCHDHIF; inline;
  8265. procedure setCHERIE; inline;
  8266. procedure setCHERIF; inline;
  8267. procedure setCHSDIE; inline;
  8268. procedure setCHSDIF; inline;
  8269. procedure setCHSHIE; inline;
  8270. procedure setCHSHIF; inline;
  8271. procedure setCHTAIE; inline;
  8272. procedure setCHTAIF; inline;
  8273. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8274. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8275. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8276. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8277. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8278. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8279. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8280. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8281. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8282. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8283. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8284. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8285. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8286. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8287. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8288. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8289. property w : TBits_32 read getw write setw;
  8290. end;
  8291. type
  8292. TDMAC2Registers = record
  8293. DCH2CONbits : TDMAC2_DCH2CON;
  8294. DCH2CON : longWord;
  8295. DCH2CONCLR : longWord;
  8296. DCH2CONSET : longWord;
  8297. DCH2CONINV : longWord;
  8298. DCH2ECONbits : TDMAC2_DCH2ECON;
  8299. DCH2ECON : longWord;
  8300. DCH2ECONCLR : longWord;
  8301. DCH2ECONSET : longWord;
  8302. DCH2ECONINV : longWord;
  8303. DCH2INTbits : TDMAC2_DCH2INT;
  8304. DCH2INT : longWord;
  8305. DCH2INTCLR : longWord;
  8306. DCH2INTSET : longWord;
  8307. DCH2INTINV : longWord;
  8308. DCH2SSA : longWord;
  8309. DCH2SSACLR : longWord;
  8310. DCH2SSASET : longWord;
  8311. DCH2SSAINV : longWord;
  8312. DCH2DSA : longWord;
  8313. DCH2DSACLR : longWord;
  8314. DCH2DSASET : longWord;
  8315. DCH2DSAINV : longWord;
  8316. DCH2SSIZ : longWord;
  8317. DCH2SSIZCLR : longWord;
  8318. DCH2SSIZSET : longWord;
  8319. DCH2SSIZINV : longWord;
  8320. DCH2DSIZ : longWord;
  8321. DCH2DSIZCLR : longWord;
  8322. DCH2DSIZSET : longWord;
  8323. DCH2DSIZINV : longWord;
  8324. DCH2SPTR : longWord;
  8325. DCH2SPTRCLR : longWord;
  8326. DCH2SPTRSET : longWord;
  8327. DCH2SPTRINV : longWord;
  8328. DCH2DPTR : longWord;
  8329. DCH2DPTRCLR : longWord;
  8330. DCH2DPTRSET : longWord;
  8331. DCH2DPTRINV : longWord;
  8332. DCH2CSIZ : longWord;
  8333. DCH2CSIZCLR : longWord;
  8334. DCH2CSIZSET : longWord;
  8335. DCH2CSIZINV : longWord;
  8336. DCH2CPTR : longWord;
  8337. DCH2CPTRCLR : longWord;
  8338. DCH2CPTRSET : longWord;
  8339. DCH2CPTRINV : longWord;
  8340. DCH2DAT : longWord;
  8341. DCH2DATCLR : longWord;
  8342. DCH2DATSET : longWord;
  8343. DCH2DATINV : longWord;
  8344. end;
  8345. TDMAC3_DCH3CON = record
  8346. private
  8347. function getCHAED : TBits_1; inline;
  8348. function getCHAEN : TBits_1; inline;
  8349. function getCHBUSY : TBits_1; inline;
  8350. function getCHCHN : TBits_1; inline;
  8351. function getCHCHNS : TBits_1; inline;
  8352. function getCHEDET : TBits_1; inline;
  8353. function getCHEN : TBits_1; inline;
  8354. function getCHPRI : TBits_2; inline;
  8355. function getw : TBits_32; inline;
  8356. procedure setCHAED(thebits : TBits_1); inline;
  8357. procedure setCHAEN(thebits : TBits_1); inline;
  8358. procedure setCHBUSY(thebits : TBits_1); inline;
  8359. procedure setCHCHN(thebits : TBits_1); inline;
  8360. procedure setCHCHNS(thebits : TBits_1); inline;
  8361. procedure setCHEDET(thebits : TBits_1); inline;
  8362. procedure setCHEN(thebits : TBits_1); inline;
  8363. procedure setCHPRI(thebits : TBits_2); inline;
  8364. procedure setw(thebits : TBits_32); inline;
  8365. public
  8366. procedure clearCHAED; inline;
  8367. procedure clearCHAEN; inline;
  8368. procedure clearCHBUSY; inline;
  8369. procedure clearCHCHN; inline;
  8370. procedure clearCHCHNS; inline;
  8371. procedure clearCHEDET; inline;
  8372. procedure clearCHEN; inline;
  8373. procedure setCHAED; inline;
  8374. procedure setCHAEN; inline;
  8375. procedure setCHBUSY; inline;
  8376. procedure setCHCHN; inline;
  8377. procedure setCHCHNS; inline;
  8378. procedure setCHEDET; inline;
  8379. procedure setCHEN; inline;
  8380. property CHAED : TBits_1 read getCHAED write setCHAED;
  8381. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8382. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8383. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8384. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8385. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8386. property CHEN : TBits_1 read getCHEN write setCHEN;
  8387. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8388. property w : TBits_32 read getw write setw;
  8389. end;
  8390. TDMAC3_DCH3ECON = record
  8391. private
  8392. function getAIRQEN : TBits_1; inline;
  8393. function getCABORT : TBits_1; inline;
  8394. function getCFORCE : TBits_1; inline;
  8395. function getCHAIRQ : TBits_8; inline;
  8396. function getCHSIRQ : TBits_8; inline;
  8397. function getPATEN : TBits_1; inline;
  8398. function getSIRQEN : TBits_1; inline;
  8399. function getw : TBits_32; inline;
  8400. procedure setAIRQEN(thebits : TBits_1); inline;
  8401. procedure setCABORT(thebits : TBits_1); inline;
  8402. procedure setCFORCE(thebits : TBits_1); inline;
  8403. procedure setCHAIRQ(thebits : TBits_8); inline;
  8404. procedure setCHSIRQ(thebits : TBits_8); inline;
  8405. procedure setPATEN(thebits : TBits_1); inline;
  8406. procedure setSIRQEN(thebits : TBits_1); inline;
  8407. procedure setw(thebits : TBits_32); inline;
  8408. public
  8409. procedure clearAIRQEN; inline;
  8410. procedure clearCABORT; inline;
  8411. procedure clearCFORCE; inline;
  8412. procedure clearPATEN; inline;
  8413. procedure clearSIRQEN; inline;
  8414. procedure setAIRQEN; inline;
  8415. procedure setCABORT; inline;
  8416. procedure setCFORCE; inline;
  8417. procedure setPATEN; inline;
  8418. procedure setSIRQEN; inline;
  8419. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8420. property CABORT : TBits_1 read getCABORT write setCABORT;
  8421. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8422. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8423. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8424. property PATEN : TBits_1 read getPATEN write setPATEN;
  8425. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8426. property w : TBits_32 read getw write setw;
  8427. end;
  8428. TDMAC3_DCH3INT = record
  8429. private
  8430. function getCHBCIE : TBits_1; inline;
  8431. function getCHBCIF : TBits_1; inline;
  8432. function getCHCCIE : TBits_1; inline;
  8433. function getCHCCIF : TBits_1; inline;
  8434. function getCHDDIE : TBits_1; inline;
  8435. function getCHDDIF : TBits_1; inline;
  8436. function getCHDHIE : TBits_1; inline;
  8437. function getCHDHIF : TBits_1; inline;
  8438. function getCHERIE : TBits_1; inline;
  8439. function getCHERIF : TBits_1; inline;
  8440. function getCHSDIE : TBits_1; inline;
  8441. function getCHSDIF : TBits_1; inline;
  8442. function getCHSHIE : TBits_1; inline;
  8443. function getCHSHIF : TBits_1; inline;
  8444. function getCHTAIE : TBits_1; inline;
  8445. function getCHTAIF : TBits_1; inline;
  8446. function getw : TBits_32; inline;
  8447. procedure setCHBCIE(thebits : TBits_1); inline;
  8448. procedure setCHBCIF(thebits : TBits_1); inline;
  8449. procedure setCHCCIE(thebits : TBits_1); inline;
  8450. procedure setCHCCIF(thebits : TBits_1); inline;
  8451. procedure setCHDDIE(thebits : TBits_1); inline;
  8452. procedure setCHDDIF(thebits : TBits_1); inline;
  8453. procedure setCHDHIE(thebits : TBits_1); inline;
  8454. procedure setCHDHIF(thebits : TBits_1); inline;
  8455. procedure setCHERIE(thebits : TBits_1); inline;
  8456. procedure setCHERIF(thebits : TBits_1); inline;
  8457. procedure setCHSDIE(thebits : TBits_1); inline;
  8458. procedure setCHSDIF(thebits : TBits_1); inline;
  8459. procedure setCHSHIE(thebits : TBits_1); inline;
  8460. procedure setCHSHIF(thebits : TBits_1); inline;
  8461. procedure setCHTAIE(thebits : TBits_1); inline;
  8462. procedure setCHTAIF(thebits : TBits_1); inline;
  8463. procedure setw(thebits : TBits_32); inline;
  8464. public
  8465. procedure clearCHBCIE; inline;
  8466. procedure clearCHBCIF; inline;
  8467. procedure clearCHCCIE; inline;
  8468. procedure clearCHCCIF; inline;
  8469. procedure clearCHDDIE; inline;
  8470. procedure clearCHDDIF; inline;
  8471. procedure clearCHDHIE; inline;
  8472. procedure clearCHDHIF; inline;
  8473. procedure clearCHERIE; inline;
  8474. procedure clearCHERIF; inline;
  8475. procedure clearCHSDIE; inline;
  8476. procedure clearCHSDIF; inline;
  8477. procedure clearCHSHIE; inline;
  8478. procedure clearCHSHIF; inline;
  8479. procedure clearCHTAIE; inline;
  8480. procedure clearCHTAIF; inline;
  8481. procedure setCHBCIE; inline;
  8482. procedure setCHBCIF; inline;
  8483. procedure setCHCCIE; inline;
  8484. procedure setCHCCIF; inline;
  8485. procedure setCHDDIE; inline;
  8486. procedure setCHDDIF; inline;
  8487. procedure setCHDHIE; inline;
  8488. procedure setCHDHIF; inline;
  8489. procedure setCHERIE; inline;
  8490. procedure setCHERIF; inline;
  8491. procedure setCHSDIE; inline;
  8492. procedure setCHSDIF; inline;
  8493. procedure setCHSHIE; inline;
  8494. procedure setCHSHIF; inline;
  8495. procedure setCHTAIE; inline;
  8496. procedure setCHTAIF; inline;
  8497. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8498. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8499. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8500. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8501. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8502. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8503. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8504. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8505. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8506. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8507. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8508. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8509. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8510. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8511. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8512. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8513. property w : TBits_32 read getw write setw;
  8514. end;
  8515. type
  8516. TDMAC3Registers = record
  8517. DCH3CONbits : TDMAC3_DCH3CON;
  8518. DCH3CON : longWord;
  8519. DCH3CONCLR : longWord;
  8520. DCH3CONSET : longWord;
  8521. DCH3CONINV : longWord;
  8522. DCH3ECONbits : TDMAC3_DCH3ECON;
  8523. DCH3ECON : longWord;
  8524. DCH3ECONCLR : longWord;
  8525. DCH3ECONSET : longWord;
  8526. DCH3ECONINV : longWord;
  8527. DCH3INTbits : TDMAC3_DCH3INT;
  8528. DCH3INT : longWord;
  8529. DCH3INTCLR : longWord;
  8530. DCH3INTSET : longWord;
  8531. DCH3INTINV : longWord;
  8532. DCH3SSA : longWord;
  8533. DCH3SSACLR : longWord;
  8534. DCH3SSASET : longWord;
  8535. DCH3SSAINV : longWord;
  8536. DCH3DSA : longWord;
  8537. DCH3DSACLR : longWord;
  8538. DCH3DSASET : longWord;
  8539. DCH3DSAINV : longWord;
  8540. DCH3SSIZ : longWord;
  8541. DCH3SSIZCLR : longWord;
  8542. DCH3SSIZSET : longWord;
  8543. DCH3SSIZINV : longWord;
  8544. DCH3DSIZ : longWord;
  8545. DCH3DSIZCLR : longWord;
  8546. DCH3DSIZSET : longWord;
  8547. DCH3DSIZINV : longWord;
  8548. DCH3SPTR : longWord;
  8549. DCH3SPTRCLR : longWord;
  8550. DCH3SPTRSET : longWord;
  8551. DCH3SPTRINV : longWord;
  8552. DCH3DPTR : longWord;
  8553. DCH3DPTRCLR : longWord;
  8554. DCH3DPTRSET : longWord;
  8555. DCH3DPTRINV : longWord;
  8556. DCH3CSIZ : longWord;
  8557. DCH3CSIZCLR : longWord;
  8558. DCH3CSIZSET : longWord;
  8559. DCH3CSIZINV : longWord;
  8560. DCH3CPTR : longWord;
  8561. DCH3CPTRCLR : longWord;
  8562. DCH3CPTRSET : longWord;
  8563. DCH3CPTRINV : longWord;
  8564. DCH3DAT : longWord;
  8565. DCH3DATCLR : longWord;
  8566. DCH3DATSET : longWord;
  8567. DCH3DATINV : longWord;
  8568. end;
  8569. TPCACHE_CHECON = record
  8570. private
  8571. function getCHECOH : TBits_1; inline;
  8572. function getDCSZ : TBits_2; inline;
  8573. function getPFMWS : TBits_3; inline;
  8574. function getPREFEN : TBits_2; inline;
  8575. function getw : TBits_32; inline;
  8576. procedure setCHECOH(thebits : TBits_1); inline;
  8577. procedure setDCSZ(thebits : TBits_2); inline;
  8578. procedure setPFMWS(thebits : TBits_3); inline;
  8579. procedure setPREFEN(thebits : TBits_2); inline;
  8580. procedure setw(thebits : TBits_32); inline;
  8581. public
  8582. procedure clearCHECOH; inline;
  8583. procedure setCHECOH; inline;
  8584. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  8585. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  8586. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  8587. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  8588. property w : TBits_32 read getw write setw;
  8589. end;
  8590. TPCACHE_CHETAG = record
  8591. private
  8592. function getLLOCK : TBits_1; inline;
  8593. function getLTAG : TBits_20; inline;
  8594. function getLTAGBOOT : TBits_1; inline;
  8595. function getLTYPE : TBits_1; inline;
  8596. function getLVALID : TBits_1; inline;
  8597. function getw : TBits_32; inline;
  8598. procedure setLLOCK(thebits : TBits_1); inline;
  8599. procedure setLTAG(thebits : TBits_20); inline;
  8600. procedure setLTAGBOOT(thebits : TBits_1); inline;
  8601. procedure setLTYPE(thebits : TBits_1); inline;
  8602. procedure setLVALID(thebits : TBits_1); inline;
  8603. procedure setw(thebits : TBits_32); inline;
  8604. public
  8605. procedure clearLLOCK; inline;
  8606. procedure clearLTAGBOOT; inline;
  8607. procedure clearLTYPE; inline;
  8608. procedure clearLVALID; inline;
  8609. procedure setLLOCK; inline;
  8610. procedure setLTAGBOOT; inline;
  8611. procedure setLTYPE; inline;
  8612. procedure setLVALID; inline;
  8613. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  8614. property LTAG : TBits_20 read getLTAG write setLTAG;
  8615. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  8616. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  8617. property LVALID : TBits_1 read getLVALID write setLVALID;
  8618. property w : TBits_32 read getw write setw;
  8619. end;
  8620. TPCACHE_ANSELB = record
  8621. private
  8622. function getANSB0 : TBits_1; inline;
  8623. function getANSB1 : TBits_1; inline;
  8624. function getANSB10 : TBits_1; inline;
  8625. function getANSB11 : TBits_1; inline;
  8626. function getANSB12 : TBits_1; inline;
  8627. function getANSB13 : TBits_1; inline;
  8628. function getANSB14 : TBits_1; inline;
  8629. function getANSB15 : TBits_1; inline;
  8630. function getANSB2 : TBits_1; inline;
  8631. function getANSB3 : TBits_1; inline;
  8632. function getANSB4 : TBits_1; inline;
  8633. function getANSB5 : TBits_1; inline;
  8634. function getANSB6 : TBits_1; inline;
  8635. function getANSB7 : TBits_1; inline;
  8636. function getANSB8 : TBits_1; inline;
  8637. function getANSB9 : TBits_1; inline;
  8638. function getw : TBits_32; inline;
  8639. procedure setANSB0(thebits : TBits_1); inline;
  8640. procedure setANSB1(thebits : TBits_1); inline;
  8641. procedure setANSB10(thebits : TBits_1); inline;
  8642. procedure setANSB11(thebits : TBits_1); inline;
  8643. procedure setANSB12(thebits : TBits_1); inline;
  8644. procedure setANSB13(thebits : TBits_1); inline;
  8645. procedure setANSB14(thebits : TBits_1); inline;
  8646. procedure setANSB15(thebits : TBits_1); inline;
  8647. procedure setANSB2(thebits : TBits_1); inline;
  8648. procedure setANSB3(thebits : TBits_1); inline;
  8649. procedure setANSB4(thebits : TBits_1); inline;
  8650. procedure setANSB5(thebits : TBits_1); inline;
  8651. procedure setANSB6(thebits : TBits_1); inline;
  8652. procedure setANSB7(thebits : TBits_1); inline;
  8653. procedure setANSB8(thebits : TBits_1); inline;
  8654. procedure setANSB9(thebits : TBits_1); inline;
  8655. procedure setw(thebits : TBits_32); inline;
  8656. public
  8657. procedure clearANSB0; inline;
  8658. procedure clearANSB10; inline;
  8659. procedure clearANSB11; inline;
  8660. procedure clearANSB12; inline;
  8661. procedure clearANSB13; inline;
  8662. procedure clearANSB14; inline;
  8663. procedure clearANSB15; inline;
  8664. procedure clearANSB1; inline;
  8665. procedure clearANSB2; inline;
  8666. procedure clearANSB3; inline;
  8667. procedure clearANSB4; inline;
  8668. procedure clearANSB5; inline;
  8669. procedure clearANSB6; inline;
  8670. procedure clearANSB7; inline;
  8671. procedure clearANSB8; inline;
  8672. procedure clearANSB9; inline;
  8673. procedure setANSB0; inline;
  8674. procedure setANSB10; inline;
  8675. procedure setANSB11; inline;
  8676. procedure setANSB12; inline;
  8677. procedure setANSB13; inline;
  8678. procedure setANSB14; inline;
  8679. procedure setANSB15; inline;
  8680. procedure setANSB1; inline;
  8681. procedure setANSB2; inline;
  8682. procedure setANSB3; inline;
  8683. procedure setANSB4; inline;
  8684. procedure setANSB5; inline;
  8685. procedure setANSB6; inline;
  8686. procedure setANSB7; inline;
  8687. procedure setANSB8; inline;
  8688. procedure setANSB9; inline;
  8689. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8690. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8691. property ANSB10 : TBits_1 read getANSB10 write setANSB10;
  8692. property ANSB11 : TBits_1 read getANSB11 write setANSB11;
  8693. property ANSB12 : TBits_1 read getANSB12 write setANSB12;
  8694. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8695. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8696. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8697. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8698. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8699. property ANSB4 : TBits_1 read getANSB4 write setANSB4;
  8700. property ANSB5 : TBits_1 read getANSB5 write setANSB5;
  8701. property ANSB6 : TBits_1 read getANSB6 write setANSB6;
  8702. property ANSB7 : TBits_1 read getANSB7 write setANSB7;
  8703. property ANSB8 : TBits_1 read getANSB8 write setANSB8;
  8704. property ANSB9 : TBits_1 read getANSB9 write setANSB9;
  8705. property w : TBits_32 read getw write setw;
  8706. end;
  8707. TPCACHE_TRISB = record
  8708. private
  8709. function getTRISB0 : TBits_1; inline;
  8710. function getTRISB1 : TBits_1; inline;
  8711. function getTRISB10 : TBits_1; inline;
  8712. function getTRISB11 : TBits_1; inline;
  8713. function getTRISB12 : TBits_1; inline;
  8714. function getTRISB13 : TBits_1; inline;
  8715. function getTRISB14 : TBits_1; inline;
  8716. function getTRISB15 : TBits_1; inline;
  8717. function getTRISB2 : TBits_1; inline;
  8718. function getTRISB3 : TBits_1; inline;
  8719. function getTRISB4 : TBits_1; inline;
  8720. function getTRISB5 : TBits_1; inline;
  8721. function getTRISB6 : TBits_1; inline;
  8722. function getTRISB7 : TBits_1; inline;
  8723. function getTRISB8 : TBits_1; inline;
  8724. function getTRISB9 : TBits_1; inline;
  8725. function getw : TBits_32; inline;
  8726. procedure setTRISB0(thebits : TBits_1); inline;
  8727. procedure setTRISB1(thebits : TBits_1); inline;
  8728. procedure setTRISB10(thebits : TBits_1); inline;
  8729. procedure setTRISB11(thebits : TBits_1); inline;
  8730. procedure setTRISB12(thebits : TBits_1); inline;
  8731. procedure setTRISB13(thebits : TBits_1); inline;
  8732. procedure setTRISB14(thebits : TBits_1); inline;
  8733. procedure setTRISB15(thebits : TBits_1); inline;
  8734. procedure setTRISB2(thebits : TBits_1); inline;
  8735. procedure setTRISB3(thebits : TBits_1); inline;
  8736. procedure setTRISB4(thebits : TBits_1); inline;
  8737. procedure setTRISB5(thebits : TBits_1); inline;
  8738. procedure setTRISB6(thebits : TBits_1); inline;
  8739. procedure setTRISB7(thebits : TBits_1); inline;
  8740. procedure setTRISB8(thebits : TBits_1); inline;
  8741. procedure setTRISB9(thebits : TBits_1); inline;
  8742. procedure setw(thebits : TBits_32); inline;
  8743. public
  8744. procedure clearTRISB0; inline;
  8745. procedure clearTRISB10; inline;
  8746. procedure clearTRISB11; inline;
  8747. procedure clearTRISB12; inline;
  8748. procedure clearTRISB13; inline;
  8749. procedure clearTRISB14; inline;
  8750. procedure clearTRISB15; inline;
  8751. procedure clearTRISB1; inline;
  8752. procedure clearTRISB2; inline;
  8753. procedure clearTRISB3; inline;
  8754. procedure clearTRISB4; inline;
  8755. procedure clearTRISB5; inline;
  8756. procedure clearTRISB6; inline;
  8757. procedure clearTRISB7; inline;
  8758. procedure clearTRISB8; inline;
  8759. procedure clearTRISB9; inline;
  8760. procedure setTRISB0; inline;
  8761. procedure setTRISB10; inline;
  8762. procedure setTRISB11; inline;
  8763. procedure setTRISB12; inline;
  8764. procedure setTRISB13; inline;
  8765. procedure setTRISB14; inline;
  8766. procedure setTRISB15; inline;
  8767. procedure setTRISB1; inline;
  8768. procedure setTRISB2; inline;
  8769. procedure setTRISB3; inline;
  8770. procedure setTRISB4; inline;
  8771. procedure setTRISB5; inline;
  8772. procedure setTRISB6; inline;
  8773. procedure setTRISB7; inline;
  8774. procedure setTRISB8; inline;
  8775. procedure setTRISB9; inline;
  8776. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8777. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8778. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8779. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8780. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  8781. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8782. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8783. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8784. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8785. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8786. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8787. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8788. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  8789. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8790. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8791. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8792. property w : TBits_32 read getw write setw;
  8793. end;
  8794. type
  8795. TPCACHERegisters = record
  8796. CHECONbits : TPCACHE_CHECON;
  8797. CHECON : longWord;
  8798. CHECONCLR : longWord;
  8799. CHECONSET : longWord;
  8800. CHECONINV : longWord;
  8801. CHEACC : longWord;
  8802. CHEACCCLR : longWord;
  8803. CHEACCSET : longWord;
  8804. CHEACCINV : longWord;
  8805. CHETAGbits : TPCACHE_CHETAG;
  8806. CHETAG : longWord;
  8807. CHETAGCLR : longWord;
  8808. CHETAGSET : longWord;
  8809. CHETAGINV : longWord;
  8810. CHEMSK : longWord;
  8811. CHEMSKCLR : longWord;
  8812. CHEMSKSET : longWord;
  8813. CHEMSKINV : longWord;
  8814. CHEW0 : longWord;
  8815. CHEW1 : longWord;
  8816. CHEW2 : longWord;
  8817. CHEW3 : longWord;
  8818. CHELRU : longWord;
  8819. CHEHIT : longWord;
  8820. CHEMIS : longWord;
  8821. RESERVED1 : longWord;
  8822. CHEPFABT : longWord;
  8823. ANSELBbits : TPCACHE_ANSELB;
  8824. ANSELB : longWord;
  8825. ANSELBCLR : longWord;
  8826. ANSELBSET : longWord;
  8827. ANSELBINV : longWord;
  8828. TRISBbits : TPCACHE_TRISB;
  8829. TRISB : longWord;
  8830. TRISBCLR : longWord;
  8831. TRISBSET : longWord;
  8832. TRISBINV : longWord;
  8833. end;
  8834. TPORTB_PORTB = record
  8835. private
  8836. function getRB0 : TBits_1; inline;
  8837. function getRB1 : TBits_1; inline;
  8838. function getRB10 : TBits_1; inline;
  8839. function getRB11 : TBits_1; inline;
  8840. function getRB12 : TBits_1; inline;
  8841. function getRB13 : TBits_1; inline;
  8842. function getRB14 : TBits_1; inline;
  8843. function getRB15 : TBits_1; inline;
  8844. function getRB2 : TBits_1; inline;
  8845. function getRB3 : TBits_1; inline;
  8846. function getRB4 : TBits_1; inline;
  8847. function getRB5 : TBits_1; inline;
  8848. function getRB6 : TBits_1; inline;
  8849. function getRB7 : TBits_1; inline;
  8850. function getRB8 : TBits_1; inline;
  8851. function getRB9 : TBits_1; inline;
  8852. function getw : TBits_32; inline;
  8853. procedure setRB0(thebits : TBits_1); inline;
  8854. procedure setRB1(thebits : TBits_1); inline;
  8855. procedure setRB10(thebits : TBits_1); inline;
  8856. procedure setRB11(thebits : TBits_1); inline;
  8857. procedure setRB12(thebits : TBits_1); inline;
  8858. procedure setRB13(thebits : TBits_1); inline;
  8859. procedure setRB14(thebits : TBits_1); inline;
  8860. procedure setRB15(thebits : TBits_1); inline;
  8861. procedure setRB2(thebits : TBits_1); inline;
  8862. procedure setRB3(thebits : TBits_1); inline;
  8863. procedure setRB4(thebits : TBits_1); inline;
  8864. procedure setRB5(thebits : TBits_1); inline;
  8865. procedure setRB6(thebits : TBits_1); inline;
  8866. procedure setRB7(thebits : TBits_1); inline;
  8867. procedure setRB8(thebits : TBits_1); inline;
  8868. procedure setRB9(thebits : TBits_1); inline;
  8869. procedure setw(thebits : TBits_32); inline;
  8870. public
  8871. procedure clearRB0; inline;
  8872. procedure clearRB10; inline;
  8873. procedure clearRB11; inline;
  8874. procedure clearRB12; inline;
  8875. procedure clearRB13; inline;
  8876. procedure clearRB14; inline;
  8877. procedure clearRB15; inline;
  8878. procedure clearRB1; inline;
  8879. procedure clearRB2; inline;
  8880. procedure clearRB3; inline;
  8881. procedure clearRB4; inline;
  8882. procedure clearRB5; inline;
  8883. procedure clearRB6; inline;
  8884. procedure clearRB7; inline;
  8885. procedure clearRB8; inline;
  8886. procedure clearRB9; inline;
  8887. procedure setRB0; inline;
  8888. procedure setRB10; inline;
  8889. procedure setRB11; inline;
  8890. procedure setRB12; inline;
  8891. procedure setRB13; inline;
  8892. procedure setRB14; inline;
  8893. procedure setRB15; inline;
  8894. procedure setRB1; inline;
  8895. procedure setRB2; inline;
  8896. procedure setRB3; inline;
  8897. procedure setRB4; inline;
  8898. procedure setRB5; inline;
  8899. procedure setRB6; inline;
  8900. procedure setRB7; inline;
  8901. procedure setRB8; inline;
  8902. procedure setRB9; inline;
  8903. property RB0 : TBits_1 read getRB0 write setRB0;
  8904. property RB1 : TBits_1 read getRB1 write setRB1;
  8905. property RB10 : TBits_1 read getRB10 write setRB10;
  8906. property RB11 : TBits_1 read getRB11 write setRB11;
  8907. property RB12 : TBits_1 read getRB12 write setRB12;
  8908. property RB13 : TBits_1 read getRB13 write setRB13;
  8909. property RB14 : TBits_1 read getRB14 write setRB14;
  8910. property RB15 : TBits_1 read getRB15 write setRB15;
  8911. property RB2 : TBits_1 read getRB2 write setRB2;
  8912. property RB3 : TBits_1 read getRB3 write setRB3;
  8913. property RB4 : TBits_1 read getRB4 write setRB4;
  8914. property RB5 : TBits_1 read getRB5 write setRB5;
  8915. property RB6 : TBits_1 read getRB6 write setRB6;
  8916. property RB7 : TBits_1 read getRB7 write setRB7;
  8917. property RB8 : TBits_1 read getRB8 write setRB8;
  8918. property RB9 : TBits_1 read getRB9 write setRB9;
  8919. property w : TBits_32 read getw write setw;
  8920. end;
  8921. 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);
  8922. TPortB_bitset = set of TPortB_bits;
  8923. TPORTB_LATB = record
  8924. private
  8925. function getLATB0 : TBits_1; inline;
  8926. function getLATB1 : TBits_1; inline;
  8927. function getLATB10 : TBits_1; inline;
  8928. function getLATB11 : TBits_1; inline;
  8929. function getLATB12 : TBits_1; inline;
  8930. function getLATB13 : TBits_1; inline;
  8931. function getLATB14 : TBits_1; inline;
  8932. function getLATB15 : TBits_1; inline;
  8933. function getLATB2 : TBits_1; inline;
  8934. function getLATB3 : TBits_1; inline;
  8935. function getLATB4 : TBits_1; inline;
  8936. function getLATB5 : TBits_1; inline;
  8937. function getLATB6 : TBits_1; inline;
  8938. function getLATB7 : TBits_1; inline;
  8939. function getLATB8 : TBits_1; inline;
  8940. function getLATB9 : TBits_1; inline;
  8941. function getw : TBits_32; inline;
  8942. procedure setLATB0(thebits : TBits_1); inline;
  8943. procedure setLATB1(thebits : TBits_1); inline;
  8944. procedure setLATB10(thebits : TBits_1); inline;
  8945. procedure setLATB11(thebits : TBits_1); inline;
  8946. procedure setLATB12(thebits : TBits_1); inline;
  8947. procedure setLATB13(thebits : TBits_1); inline;
  8948. procedure setLATB14(thebits : TBits_1); inline;
  8949. procedure setLATB15(thebits : TBits_1); inline;
  8950. procedure setLATB2(thebits : TBits_1); inline;
  8951. procedure setLATB3(thebits : TBits_1); inline;
  8952. procedure setLATB4(thebits : TBits_1); inline;
  8953. procedure setLATB5(thebits : TBits_1); inline;
  8954. procedure setLATB6(thebits : TBits_1); inline;
  8955. procedure setLATB7(thebits : TBits_1); inline;
  8956. procedure setLATB8(thebits : TBits_1); inline;
  8957. procedure setLATB9(thebits : TBits_1); inline;
  8958. procedure setw(thebits : TBits_32); inline;
  8959. public
  8960. procedure clearLATB0; inline;
  8961. procedure clearLATB10; inline;
  8962. procedure clearLATB11; inline;
  8963. procedure clearLATB12; inline;
  8964. procedure clearLATB13; inline;
  8965. procedure clearLATB14; inline;
  8966. procedure clearLATB15; inline;
  8967. procedure clearLATB1; inline;
  8968. procedure clearLATB2; inline;
  8969. procedure clearLATB3; inline;
  8970. procedure clearLATB4; inline;
  8971. procedure clearLATB5; inline;
  8972. procedure clearLATB6; inline;
  8973. procedure clearLATB7; inline;
  8974. procedure clearLATB8; inline;
  8975. procedure clearLATB9; inline;
  8976. procedure setLATB0; inline;
  8977. procedure setLATB10; inline;
  8978. procedure setLATB11; inline;
  8979. procedure setLATB12; inline;
  8980. procedure setLATB13; inline;
  8981. procedure setLATB14; inline;
  8982. procedure setLATB15; inline;
  8983. procedure setLATB1; inline;
  8984. procedure setLATB2; inline;
  8985. procedure setLATB3; inline;
  8986. procedure setLATB4; inline;
  8987. procedure setLATB5; inline;
  8988. procedure setLATB6; inline;
  8989. procedure setLATB7; inline;
  8990. procedure setLATB8; inline;
  8991. procedure setLATB9; inline;
  8992. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  8993. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  8994. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  8995. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  8996. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  8997. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  8998. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  8999. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  9000. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  9001. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  9002. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  9003. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  9004. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  9005. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  9006. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  9007. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  9008. property w : TBits_32 read getw write setw;
  9009. end;
  9010. TPORTB_ODCB = record
  9011. private
  9012. function getODCB0 : TBits_1; inline;
  9013. function getODCB1 : TBits_1; inline;
  9014. function getODCB10 : TBits_1; inline;
  9015. function getODCB11 : TBits_1; inline;
  9016. function getODCB12 : TBits_1; inline;
  9017. function getODCB13 : TBits_1; inline;
  9018. function getODCB14 : TBits_1; inline;
  9019. function getODCB15 : TBits_1; inline;
  9020. function getODCB2 : TBits_1; inline;
  9021. function getODCB3 : TBits_1; inline;
  9022. function getODCB4 : TBits_1; inline;
  9023. function getODCB5 : TBits_1; inline;
  9024. function getODCB6 : TBits_1; inline;
  9025. function getODCB7 : TBits_1; inline;
  9026. function getODCB8 : TBits_1; inline;
  9027. function getODCB9 : TBits_1; inline;
  9028. function getw : TBits_32; inline;
  9029. procedure setODCB0(thebits : TBits_1); inline;
  9030. procedure setODCB1(thebits : TBits_1); inline;
  9031. procedure setODCB10(thebits : TBits_1); inline;
  9032. procedure setODCB11(thebits : TBits_1); inline;
  9033. procedure setODCB12(thebits : TBits_1); inline;
  9034. procedure setODCB13(thebits : TBits_1); inline;
  9035. procedure setODCB14(thebits : TBits_1); inline;
  9036. procedure setODCB15(thebits : TBits_1); inline;
  9037. procedure setODCB2(thebits : TBits_1); inline;
  9038. procedure setODCB3(thebits : TBits_1); inline;
  9039. procedure setODCB4(thebits : TBits_1); inline;
  9040. procedure setODCB5(thebits : TBits_1); inline;
  9041. procedure setODCB6(thebits : TBits_1); inline;
  9042. procedure setODCB7(thebits : TBits_1); inline;
  9043. procedure setODCB8(thebits : TBits_1); inline;
  9044. procedure setODCB9(thebits : TBits_1); inline;
  9045. procedure setw(thebits : TBits_32); inline;
  9046. public
  9047. procedure clearODCB0; inline;
  9048. procedure clearODCB10; inline;
  9049. procedure clearODCB11; inline;
  9050. procedure clearODCB12; inline;
  9051. procedure clearODCB13; inline;
  9052. procedure clearODCB14; inline;
  9053. procedure clearODCB15; inline;
  9054. procedure clearODCB1; inline;
  9055. procedure clearODCB2; inline;
  9056. procedure clearODCB3; inline;
  9057. procedure clearODCB4; inline;
  9058. procedure clearODCB5; inline;
  9059. procedure clearODCB6; inline;
  9060. procedure clearODCB7; inline;
  9061. procedure clearODCB8; inline;
  9062. procedure clearODCB9; inline;
  9063. procedure setODCB0; inline;
  9064. procedure setODCB10; inline;
  9065. procedure setODCB11; inline;
  9066. procedure setODCB12; inline;
  9067. procedure setODCB13; inline;
  9068. procedure setODCB14; inline;
  9069. procedure setODCB15; inline;
  9070. procedure setODCB1; inline;
  9071. procedure setODCB2; inline;
  9072. procedure setODCB3; inline;
  9073. procedure setODCB4; inline;
  9074. procedure setODCB5; inline;
  9075. procedure setODCB6; inline;
  9076. procedure setODCB7; inline;
  9077. procedure setODCB8; inline;
  9078. procedure setODCB9; inline;
  9079. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  9080. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  9081. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  9082. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  9083. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  9084. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  9085. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  9086. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  9087. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  9088. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  9089. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  9090. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  9091. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  9092. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  9093. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  9094. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  9095. property w : TBits_32 read getw write setw;
  9096. end;
  9097. TPORTB_CNPUB = record
  9098. private
  9099. function getCNPUB0 : TBits_1; inline;
  9100. function getCNPUB1 : TBits_1; inline;
  9101. function getCNPUB10 : TBits_1; inline;
  9102. function getCNPUB11 : TBits_1; inline;
  9103. function getCNPUB12 : TBits_1; inline;
  9104. function getCNPUB13 : TBits_1; inline;
  9105. function getCNPUB14 : TBits_1; inline;
  9106. function getCNPUB15 : TBits_1; inline;
  9107. function getCNPUB2 : TBits_1; inline;
  9108. function getCNPUB3 : TBits_1; inline;
  9109. function getCNPUB4 : TBits_1; inline;
  9110. function getCNPUB5 : TBits_1; inline;
  9111. function getCNPUB6 : TBits_1; inline;
  9112. function getCNPUB7 : TBits_1; inline;
  9113. function getCNPUB8 : TBits_1; inline;
  9114. function getCNPUB9 : TBits_1; inline;
  9115. function getw : TBits_32; inline;
  9116. procedure setCNPUB0(thebits : TBits_1); inline;
  9117. procedure setCNPUB1(thebits : TBits_1); inline;
  9118. procedure setCNPUB10(thebits : TBits_1); inline;
  9119. procedure setCNPUB11(thebits : TBits_1); inline;
  9120. procedure setCNPUB12(thebits : TBits_1); inline;
  9121. procedure setCNPUB13(thebits : TBits_1); inline;
  9122. procedure setCNPUB14(thebits : TBits_1); inline;
  9123. procedure setCNPUB15(thebits : TBits_1); inline;
  9124. procedure setCNPUB2(thebits : TBits_1); inline;
  9125. procedure setCNPUB3(thebits : TBits_1); inline;
  9126. procedure setCNPUB4(thebits : TBits_1); inline;
  9127. procedure setCNPUB5(thebits : TBits_1); inline;
  9128. procedure setCNPUB6(thebits : TBits_1); inline;
  9129. procedure setCNPUB7(thebits : TBits_1); inline;
  9130. procedure setCNPUB8(thebits : TBits_1); inline;
  9131. procedure setCNPUB9(thebits : TBits_1); inline;
  9132. procedure setw(thebits : TBits_32); inline;
  9133. public
  9134. procedure clearCNPUB0; inline;
  9135. procedure clearCNPUB10; inline;
  9136. procedure clearCNPUB11; inline;
  9137. procedure clearCNPUB12; inline;
  9138. procedure clearCNPUB13; inline;
  9139. procedure clearCNPUB14; inline;
  9140. procedure clearCNPUB15; inline;
  9141. procedure clearCNPUB1; inline;
  9142. procedure clearCNPUB2; inline;
  9143. procedure clearCNPUB3; inline;
  9144. procedure clearCNPUB4; inline;
  9145. procedure clearCNPUB5; inline;
  9146. procedure clearCNPUB6; inline;
  9147. procedure clearCNPUB7; inline;
  9148. procedure clearCNPUB8; inline;
  9149. procedure clearCNPUB9; inline;
  9150. procedure setCNPUB0; inline;
  9151. procedure setCNPUB10; inline;
  9152. procedure setCNPUB11; inline;
  9153. procedure setCNPUB12; inline;
  9154. procedure setCNPUB13; inline;
  9155. procedure setCNPUB14; inline;
  9156. procedure setCNPUB15; inline;
  9157. procedure setCNPUB1; inline;
  9158. procedure setCNPUB2; inline;
  9159. procedure setCNPUB3; inline;
  9160. procedure setCNPUB4; inline;
  9161. procedure setCNPUB5; inline;
  9162. procedure setCNPUB6; inline;
  9163. procedure setCNPUB7; inline;
  9164. procedure setCNPUB8; inline;
  9165. procedure setCNPUB9; inline;
  9166. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  9167. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  9168. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  9169. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  9170. property CNPUB12 : TBits_1 read getCNPUB12 write setCNPUB12;
  9171. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  9172. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  9173. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  9174. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  9175. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  9176. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  9177. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  9178. property CNPUB6 : TBits_1 read getCNPUB6 write setCNPUB6;
  9179. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9180. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9181. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9182. property w : TBits_32 read getw write setw;
  9183. end;
  9184. TPORTB_CNPDB = record
  9185. private
  9186. function getCNPDB0 : TBits_1; inline;
  9187. function getCNPDB1 : TBits_1; inline;
  9188. function getCNPDB10 : TBits_1; inline;
  9189. function getCNPDB11 : TBits_1; inline;
  9190. function getCNPDB12 : TBits_1; inline;
  9191. function getCNPDB13 : TBits_1; inline;
  9192. function getCNPDB14 : TBits_1; inline;
  9193. function getCNPDB15 : TBits_1; inline;
  9194. function getCNPDB2 : TBits_1; inline;
  9195. function getCNPDB3 : TBits_1; inline;
  9196. function getCNPDB4 : TBits_1; inline;
  9197. function getCNPDB5 : TBits_1; inline;
  9198. function getCNPDB6 : TBits_1; inline;
  9199. function getCNPDB7 : TBits_1; inline;
  9200. function getCNPDB8 : TBits_1; inline;
  9201. function getCNPDB9 : TBits_1; inline;
  9202. function getw : TBits_32; inline;
  9203. procedure setCNPDB0(thebits : TBits_1); inline;
  9204. procedure setCNPDB1(thebits : TBits_1); inline;
  9205. procedure setCNPDB10(thebits : TBits_1); inline;
  9206. procedure setCNPDB11(thebits : TBits_1); inline;
  9207. procedure setCNPDB12(thebits : TBits_1); inline;
  9208. procedure setCNPDB13(thebits : TBits_1); inline;
  9209. procedure setCNPDB14(thebits : TBits_1); inline;
  9210. procedure setCNPDB15(thebits : TBits_1); inline;
  9211. procedure setCNPDB2(thebits : TBits_1); inline;
  9212. procedure setCNPDB3(thebits : TBits_1); inline;
  9213. procedure setCNPDB4(thebits : TBits_1); inline;
  9214. procedure setCNPDB5(thebits : TBits_1); inline;
  9215. procedure setCNPDB6(thebits : TBits_1); inline;
  9216. procedure setCNPDB7(thebits : TBits_1); inline;
  9217. procedure setCNPDB8(thebits : TBits_1); inline;
  9218. procedure setCNPDB9(thebits : TBits_1); inline;
  9219. procedure setw(thebits : TBits_32); inline;
  9220. public
  9221. procedure clearCNPDB0; inline;
  9222. procedure clearCNPDB10; inline;
  9223. procedure clearCNPDB11; inline;
  9224. procedure clearCNPDB12; inline;
  9225. procedure clearCNPDB13; inline;
  9226. procedure clearCNPDB14; inline;
  9227. procedure clearCNPDB15; inline;
  9228. procedure clearCNPDB1; inline;
  9229. procedure clearCNPDB2; inline;
  9230. procedure clearCNPDB3; inline;
  9231. procedure clearCNPDB4; inline;
  9232. procedure clearCNPDB5; inline;
  9233. procedure clearCNPDB6; inline;
  9234. procedure clearCNPDB7; inline;
  9235. procedure clearCNPDB8; inline;
  9236. procedure clearCNPDB9; inline;
  9237. procedure setCNPDB0; inline;
  9238. procedure setCNPDB10; inline;
  9239. procedure setCNPDB11; inline;
  9240. procedure setCNPDB12; inline;
  9241. procedure setCNPDB13; inline;
  9242. procedure setCNPDB14; inline;
  9243. procedure setCNPDB15; inline;
  9244. procedure setCNPDB1; inline;
  9245. procedure setCNPDB2; inline;
  9246. procedure setCNPDB3; inline;
  9247. procedure setCNPDB4; inline;
  9248. procedure setCNPDB5; inline;
  9249. procedure setCNPDB6; inline;
  9250. procedure setCNPDB7; inline;
  9251. procedure setCNPDB8; inline;
  9252. procedure setCNPDB9; inline;
  9253. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9254. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9255. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9256. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9257. property CNPDB12 : TBits_1 read getCNPDB12 write setCNPDB12;
  9258. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9259. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9260. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9261. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9262. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9263. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9264. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9265. property CNPDB6 : TBits_1 read getCNPDB6 write setCNPDB6;
  9266. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9267. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9268. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9269. property w : TBits_32 read getw write setw;
  9270. end;
  9271. TPORTB_CNCONB = record
  9272. private
  9273. function getON : TBits_1; inline;
  9274. function getSIDL : TBits_1; inline;
  9275. function getw : TBits_32; inline;
  9276. procedure setON(thebits : TBits_1); inline;
  9277. procedure setSIDL(thebits : TBits_1); inline;
  9278. procedure setw(thebits : TBits_32); inline;
  9279. public
  9280. procedure clearON; inline;
  9281. procedure clearSIDL; inline;
  9282. procedure setON; inline;
  9283. procedure setSIDL; inline;
  9284. property ON : TBits_1 read getON write setON;
  9285. property SIDL : TBits_1 read getSIDL write setSIDL;
  9286. property w : TBits_32 read getw write setw;
  9287. end;
  9288. TPORTB_CNENB = record
  9289. private
  9290. function getCNIEB0 : TBits_1; inline;
  9291. function getCNIEB1 : TBits_1; inline;
  9292. function getCNIEB10 : TBits_1; inline;
  9293. function getCNIEB11 : TBits_1; inline;
  9294. function getCNIEB12 : TBits_1; inline;
  9295. function getCNIEB13 : TBits_1; inline;
  9296. function getCNIEB14 : TBits_1; inline;
  9297. function getCNIEB15 : TBits_1; inline;
  9298. function getCNIEB2 : TBits_1; inline;
  9299. function getCNIEB3 : TBits_1; inline;
  9300. function getCNIEB4 : TBits_1; inline;
  9301. function getCNIEB5 : TBits_1; inline;
  9302. function getCNIEB6 : TBits_1; inline;
  9303. function getCNIEB7 : TBits_1; inline;
  9304. function getCNIEB8 : TBits_1; inline;
  9305. function getCNIEB9 : TBits_1; inline;
  9306. function getw : TBits_32; inline;
  9307. procedure setCNIEB0(thebits : TBits_1); inline;
  9308. procedure setCNIEB1(thebits : TBits_1); inline;
  9309. procedure setCNIEB10(thebits : TBits_1); inline;
  9310. procedure setCNIEB11(thebits : TBits_1); inline;
  9311. procedure setCNIEB12(thebits : TBits_1); inline;
  9312. procedure setCNIEB13(thebits : TBits_1); inline;
  9313. procedure setCNIEB14(thebits : TBits_1); inline;
  9314. procedure setCNIEB15(thebits : TBits_1); inline;
  9315. procedure setCNIEB2(thebits : TBits_1); inline;
  9316. procedure setCNIEB3(thebits : TBits_1); inline;
  9317. procedure setCNIEB4(thebits : TBits_1); inline;
  9318. procedure setCNIEB5(thebits : TBits_1); inline;
  9319. procedure setCNIEB6(thebits : TBits_1); inline;
  9320. procedure setCNIEB7(thebits : TBits_1); inline;
  9321. procedure setCNIEB8(thebits : TBits_1); inline;
  9322. procedure setCNIEB9(thebits : TBits_1); inline;
  9323. procedure setw(thebits : TBits_32); inline;
  9324. public
  9325. procedure clearCNIEB0; inline;
  9326. procedure clearCNIEB10; inline;
  9327. procedure clearCNIEB11; inline;
  9328. procedure clearCNIEB12; inline;
  9329. procedure clearCNIEB13; inline;
  9330. procedure clearCNIEB14; inline;
  9331. procedure clearCNIEB15; inline;
  9332. procedure clearCNIEB1; inline;
  9333. procedure clearCNIEB2; inline;
  9334. procedure clearCNIEB3; inline;
  9335. procedure clearCNIEB4; inline;
  9336. procedure clearCNIEB5; inline;
  9337. procedure clearCNIEB6; inline;
  9338. procedure clearCNIEB7; inline;
  9339. procedure clearCNIEB8; inline;
  9340. procedure clearCNIEB9; inline;
  9341. procedure setCNIEB0; inline;
  9342. procedure setCNIEB10; inline;
  9343. procedure setCNIEB11; inline;
  9344. procedure setCNIEB12; inline;
  9345. procedure setCNIEB13; inline;
  9346. procedure setCNIEB14; inline;
  9347. procedure setCNIEB15; inline;
  9348. procedure setCNIEB1; inline;
  9349. procedure setCNIEB2; inline;
  9350. procedure setCNIEB3; inline;
  9351. procedure setCNIEB4; inline;
  9352. procedure setCNIEB5; inline;
  9353. procedure setCNIEB6; inline;
  9354. procedure setCNIEB7; inline;
  9355. procedure setCNIEB8; inline;
  9356. procedure setCNIEB9; inline;
  9357. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9358. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9359. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9360. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9361. property CNIEB12 : TBits_1 read getCNIEB12 write setCNIEB12;
  9362. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9363. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9364. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9365. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9366. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9367. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9368. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9369. property CNIEB6 : TBits_1 read getCNIEB6 write setCNIEB6;
  9370. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9371. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9372. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9373. property w : TBits_32 read getw write setw;
  9374. end;
  9375. TPORTB_CNSTATB = record
  9376. private
  9377. function getCNSTATB0 : TBits_1; inline;
  9378. function getCNSTATB1 : TBits_1; inline;
  9379. function getCNSTATB10 : TBits_1; inline;
  9380. function getCNSTATB11 : TBits_1; inline;
  9381. function getCNSTATB12 : TBits_1; inline;
  9382. function getCNSTATB13 : TBits_1; inline;
  9383. function getCNSTATB14 : TBits_1; inline;
  9384. function getCNSTATB15 : TBits_1; inline;
  9385. function getCNSTATB2 : TBits_1; inline;
  9386. function getCNSTATB3 : TBits_1; inline;
  9387. function getCNSTATB4 : TBits_1; inline;
  9388. function getCNSTATB5 : TBits_1; inline;
  9389. function getCNSTATB6 : TBits_1; inline;
  9390. function getCNSTATB7 : TBits_1; inline;
  9391. function getCNSTATB8 : TBits_1; inline;
  9392. function getCNSTATB9 : TBits_1; inline;
  9393. function getw : TBits_32; inline;
  9394. procedure setCNSTATB0(thebits : TBits_1); inline;
  9395. procedure setCNSTATB1(thebits : TBits_1); inline;
  9396. procedure setCNSTATB10(thebits : TBits_1); inline;
  9397. procedure setCNSTATB11(thebits : TBits_1); inline;
  9398. procedure setCNSTATB12(thebits : TBits_1); inline;
  9399. procedure setCNSTATB13(thebits : TBits_1); inline;
  9400. procedure setCNSTATB14(thebits : TBits_1); inline;
  9401. procedure setCNSTATB15(thebits : TBits_1); inline;
  9402. procedure setCNSTATB2(thebits : TBits_1); inline;
  9403. procedure setCNSTATB3(thebits : TBits_1); inline;
  9404. procedure setCNSTATB4(thebits : TBits_1); inline;
  9405. procedure setCNSTATB5(thebits : TBits_1); inline;
  9406. procedure setCNSTATB6(thebits : TBits_1); inline;
  9407. procedure setCNSTATB7(thebits : TBits_1); inline;
  9408. procedure setCNSTATB8(thebits : TBits_1); inline;
  9409. procedure setCNSTATB9(thebits : TBits_1); inline;
  9410. procedure setw(thebits : TBits_32); inline;
  9411. public
  9412. procedure clearCNSTATB0; inline;
  9413. procedure clearCNSTATB10; inline;
  9414. procedure clearCNSTATB11; inline;
  9415. procedure clearCNSTATB12; inline;
  9416. procedure clearCNSTATB13; inline;
  9417. procedure clearCNSTATB14; inline;
  9418. procedure clearCNSTATB15; inline;
  9419. procedure clearCNSTATB1; inline;
  9420. procedure clearCNSTATB2; inline;
  9421. procedure clearCNSTATB3; inline;
  9422. procedure clearCNSTATB4; inline;
  9423. procedure clearCNSTATB5; inline;
  9424. procedure clearCNSTATB6; inline;
  9425. procedure clearCNSTATB7; inline;
  9426. procedure clearCNSTATB8; inline;
  9427. procedure clearCNSTATB9; inline;
  9428. procedure setCNSTATB0; inline;
  9429. procedure setCNSTATB10; inline;
  9430. procedure setCNSTATB11; inline;
  9431. procedure setCNSTATB12; inline;
  9432. procedure setCNSTATB13; inline;
  9433. procedure setCNSTATB14; inline;
  9434. procedure setCNSTATB15; inline;
  9435. procedure setCNSTATB1; inline;
  9436. procedure setCNSTATB2; inline;
  9437. procedure setCNSTATB3; inline;
  9438. procedure setCNSTATB4; inline;
  9439. procedure setCNSTATB5; inline;
  9440. procedure setCNSTATB6; inline;
  9441. procedure setCNSTATB7; inline;
  9442. procedure setCNSTATB8; inline;
  9443. procedure setCNSTATB9; inline;
  9444. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9445. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9446. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9447. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9448. property CNSTATB12 : TBits_1 read getCNSTATB12 write setCNSTATB12;
  9449. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9450. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9451. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9452. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9453. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9454. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9455. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9456. property CNSTATB6 : TBits_1 read getCNSTATB6 write setCNSTATB6;
  9457. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9458. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9459. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9460. property w : TBits_32 read getw write setw;
  9461. end;
  9462. TPORTB_TRISC = record
  9463. private
  9464. function getTRISC12 : TBits_1; inline;
  9465. function getTRISC13 : TBits_1; inline;
  9466. function getTRISC14 : TBits_1; inline;
  9467. function getTRISC15 : TBits_1; inline;
  9468. function getw : TBits_32; inline;
  9469. procedure setTRISC12(thebits : TBits_1); inline;
  9470. procedure setTRISC13(thebits : TBits_1); inline;
  9471. procedure setTRISC14(thebits : TBits_1); inline;
  9472. procedure setTRISC15(thebits : TBits_1); inline;
  9473. procedure setw(thebits : TBits_32); inline;
  9474. public
  9475. procedure clearTRISC12; inline;
  9476. procedure clearTRISC13; inline;
  9477. procedure clearTRISC14; inline;
  9478. procedure clearTRISC15; inline;
  9479. procedure setTRISC12; inline;
  9480. procedure setTRISC13; inline;
  9481. procedure setTRISC14; inline;
  9482. procedure setTRISC15; inline;
  9483. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  9484. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  9485. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  9486. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  9487. property w : TBits_32 read getw write setw;
  9488. end;
  9489. type
  9490. TPORTBRegisters = record
  9491. PORTBbits : TPORTB_PORTB;
  9492. PORTB : longWord;
  9493. PORTBCLR : longWord;
  9494. PORTBSET : longWord;
  9495. PORTBINV : longWord;
  9496. LATBbits : TPORTB_LATB;
  9497. LATB : longWord;
  9498. LATBCLR : longWord;
  9499. LATBSET : longWord;
  9500. LATBINV : longWord;
  9501. ODCBbits : TPORTB_ODCB;
  9502. ODCB : longWord;
  9503. ODCBCLR : longWord;
  9504. ODCBSET : longWord;
  9505. ODCBINV : longWord;
  9506. CNPUBbits : TPORTB_CNPUB;
  9507. CNPUB : longWord;
  9508. CNPUBCLR : longWord;
  9509. CNPUBSET : longWord;
  9510. CNPUBINV : longWord;
  9511. CNPDBbits : TPORTB_CNPDB;
  9512. CNPDB : longWord;
  9513. CNPDBCLR : longWord;
  9514. CNPDBSET : longWord;
  9515. CNPDBINV : longWord;
  9516. CNCONBbits : TPORTB_CNCONB;
  9517. CNCONB : longWord;
  9518. CNCONBCLR : longWord;
  9519. CNCONBSET : longWord;
  9520. CNCONBINV : longWord;
  9521. CNENBbits : TPORTB_CNENB;
  9522. CNENB : longWord;
  9523. CNENBCLR : longWord;
  9524. CNENBSET : longWord;
  9525. CNENBINV : longWord;
  9526. CNSTATBbits : TPORTB_CNSTATB;
  9527. CNSTATB : longWord;
  9528. CNSTATBCLR : longWord;
  9529. CNSTATBSET : longWord;
  9530. CNSTATBINV : longWord;
  9531. ANSELC : longWord;
  9532. ANSELCCLR : longWord;
  9533. ANSELCSET : longWord;
  9534. ANSELCINV : longWord;
  9535. TRISCbits : TPORTB_TRISC;
  9536. TRISC : longWord;
  9537. TRISCCLR : longWord;
  9538. TRISCSET : longWord;
  9539. TRISCINV : longWord;
  9540. end;
  9541. TPORTC_PORTC = record
  9542. private
  9543. function getRC12 : TBits_1; inline;
  9544. function getRC13 : TBits_1; inline;
  9545. function getRC14 : TBits_1; inline;
  9546. function getRC15 : TBits_1; inline;
  9547. function getw : TBits_32; inline;
  9548. procedure setRC12(thebits : TBits_1); inline;
  9549. procedure setRC13(thebits : TBits_1); inline;
  9550. procedure setRC14(thebits : TBits_1); inline;
  9551. procedure setRC15(thebits : TBits_1); inline;
  9552. procedure setw(thebits : TBits_32); inline;
  9553. public
  9554. procedure clearRC12; inline;
  9555. procedure clearRC13; inline;
  9556. procedure clearRC14; inline;
  9557. procedure clearRC15; inline;
  9558. procedure setRC12; inline;
  9559. procedure setRC13; inline;
  9560. procedure setRC14; inline;
  9561. procedure setRC15; inline;
  9562. property RC12 : TBits_1 read getRC12 write setRC12;
  9563. property RC13 : TBits_1 read getRC13 write setRC13;
  9564. property RC14 : TBits_1 read getRC14 write setRC14;
  9565. property RC15 : TBits_1 read getRC15 write setRC15;
  9566. property w : TBits_32 read getw write setw;
  9567. end;
  9568. TPortC_bits=(RC12=12,RC13=13,RC14=14,RC15=15);
  9569. TPortC_bitset = set of TPortC_bits;
  9570. TPORTC_LATC = record
  9571. private
  9572. function getLATC12 : TBits_1; inline;
  9573. function getLATC13 : TBits_1; inline;
  9574. function getLATC14 : TBits_1; inline;
  9575. function getLATC15 : TBits_1; inline;
  9576. function getw : TBits_32; inline;
  9577. procedure setLATC12(thebits : TBits_1); inline;
  9578. procedure setLATC13(thebits : TBits_1); inline;
  9579. procedure setLATC14(thebits : TBits_1); inline;
  9580. procedure setLATC15(thebits : TBits_1); inline;
  9581. procedure setw(thebits : TBits_32); inline;
  9582. public
  9583. procedure clearLATC12; inline;
  9584. procedure clearLATC13; inline;
  9585. procedure clearLATC14; inline;
  9586. procedure clearLATC15; inline;
  9587. procedure setLATC12; inline;
  9588. procedure setLATC13; inline;
  9589. procedure setLATC14; inline;
  9590. procedure setLATC15; inline;
  9591. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  9592. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  9593. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  9594. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  9595. property w : TBits_32 read getw write setw;
  9596. end;
  9597. TPORTC_ODCC = record
  9598. private
  9599. function getODCC12 : TBits_1; inline;
  9600. function getODCC13 : TBits_1; inline;
  9601. function getODCC14 : TBits_1; inline;
  9602. function getODCC15 : TBits_1; inline;
  9603. function getw : TBits_32; inline;
  9604. procedure setODCC12(thebits : TBits_1); inline;
  9605. procedure setODCC13(thebits : TBits_1); inline;
  9606. procedure setODCC14(thebits : TBits_1); inline;
  9607. procedure setODCC15(thebits : TBits_1); inline;
  9608. procedure setw(thebits : TBits_32); inline;
  9609. public
  9610. procedure clearODCC12; inline;
  9611. procedure clearODCC13; inline;
  9612. procedure clearODCC14; inline;
  9613. procedure clearODCC15; inline;
  9614. procedure setODCC12; inline;
  9615. procedure setODCC13; inline;
  9616. procedure setODCC14; inline;
  9617. procedure setODCC15; inline;
  9618. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  9619. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  9620. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  9621. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  9622. property w : TBits_32 read getw write setw;
  9623. end;
  9624. TPORTC_CNPUC = record
  9625. private
  9626. function getCNPUC12 : TBits_1; inline;
  9627. function getCNPUC13 : TBits_1; inline;
  9628. function getCNPUC14 : TBits_1; inline;
  9629. function getCNPUC15 : TBits_1; inline;
  9630. function getw : TBits_32; inline;
  9631. procedure setCNPUC12(thebits : TBits_1); inline;
  9632. procedure setCNPUC13(thebits : TBits_1); inline;
  9633. procedure setCNPUC14(thebits : TBits_1); inline;
  9634. procedure setCNPUC15(thebits : TBits_1); inline;
  9635. procedure setw(thebits : TBits_32); inline;
  9636. public
  9637. procedure clearCNPUC12; inline;
  9638. procedure clearCNPUC13; inline;
  9639. procedure clearCNPUC14; inline;
  9640. procedure clearCNPUC15; inline;
  9641. procedure setCNPUC12; inline;
  9642. procedure setCNPUC13; inline;
  9643. procedure setCNPUC14; inline;
  9644. procedure setCNPUC15; inline;
  9645. property CNPUC12 : TBits_1 read getCNPUC12 write setCNPUC12;
  9646. property CNPUC13 : TBits_1 read getCNPUC13 write setCNPUC13;
  9647. property CNPUC14 : TBits_1 read getCNPUC14 write setCNPUC14;
  9648. property CNPUC15 : TBits_1 read getCNPUC15 write setCNPUC15;
  9649. property w : TBits_32 read getw write setw;
  9650. end;
  9651. TPORTC_CNPDC = record
  9652. private
  9653. function getCNPDC12 : TBits_1; inline;
  9654. function getCNPDC13 : TBits_1; inline;
  9655. function getCNPDC14 : TBits_1; inline;
  9656. function getCNPDC15 : TBits_1; inline;
  9657. function getw : TBits_32; inline;
  9658. procedure setCNPDC12(thebits : TBits_1); inline;
  9659. procedure setCNPDC13(thebits : TBits_1); inline;
  9660. procedure setCNPDC14(thebits : TBits_1); inline;
  9661. procedure setCNPDC15(thebits : TBits_1); inline;
  9662. procedure setw(thebits : TBits_32); inline;
  9663. public
  9664. procedure clearCNPDC12; inline;
  9665. procedure clearCNPDC13; inline;
  9666. procedure clearCNPDC14; inline;
  9667. procedure clearCNPDC15; inline;
  9668. procedure setCNPDC12; inline;
  9669. procedure setCNPDC13; inline;
  9670. procedure setCNPDC14; inline;
  9671. procedure setCNPDC15; inline;
  9672. property CNPDC12 : TBits_1 read getCNPDC12 write setCNPDC12;
  9673. property CNPDC13 : TBits_1 read getCNPDC13 write setCNPDC13;
  9674. property CNPDC14 : TBits_1 read getCNPDC14 write setCNPDC14;
  9675. property CNPDC15 : TBits_1 read getCNPDC15 write setCNPDC15;
  9676. property w : TBits_32 read getw write setw;
  9677. end;
  9678. TPORTC_CNCONC = record
  9679. private
  9680. function getON : TBits_1; inline;
  9681. function getSIDL : TBits_1; inline;
  9682. function getw : TBits_32; inline;
  9683. procedure setON(thebits : TBits_1); inline;
  9684. procedure setSIDL(thebits : TBits_1); inline;
  9685. procedure setw(thebits : TBits_32); inline;
  9686. public
  9687. procedure clearON; inline;
  9688. procedure clearSIDL; inline;
  9689. procedure setON; inline;
  9690. procedure setSIDL; inline;
  9691. property ON : TBits_1 read getON write setON;
  9692. property SIDL : TBits_1 read getSIDL write setSIDL;
  9693. property w : TBits_32 read getw write setw;
  9694. end;
  9695. TPORTC_CNENC = record
  9696. private
  9697. function getCNIEC12 : TBits_1; inline;
  9698. function getCNIEC13 : TBits_1; inline;
  9699. function getCNIEC14 : TBits_1; inline;
  9700. function getCNIEC15 : TBits_1; inline;
  9701. function getw : TBits_32; inline;
  9702. procedure setCNIEC12(thebits : TBits_1); inline;
  9703. procedure setCNIEC13(thebits : TBits_1); inline;
  9704. procedure setCNIEC14(thebits : TBits_1); inline;
  9705. procedure setCNIEC15(thebits : TBits_1); inline;
  9706. procedure setw(thebits : TBits_32); inline;
  9707. public
  9708. procedure clearCNIEC12; inline;
  9709. procedure clearCNIEC13; inline;
  9710. procedure clearCNIEC14; inline;
  9711. procedure clearCNIEC15; inline;
  9712. procedure setCNIEC12; inline;
  9713. procedure setCNIEC13; inline;
  9714. procedure setCNIEC14; inline;
  9715. procedure setCNIEC15; inline;
  9716. property CNIEC12 : TBits_1 read getCNIEC12 write setCNIEC12;
  9717. property CNIEC13 : TBits_1 read getCNIEC13 write setCNIEC13;
  9718. property CNIEC14 : TBits_1 read getCNIEC14 write setCNIEC14;
  9719. property CNIEC15 : TBits_1 read getCNIEC15 write setCNIEC15;
  9720. property w : TBits_32 read getw write setw;
  9721. end;
  9722. TPORTC_CNSTATC = record
  9723. private
  9724. function getCNSTATC12 : TBits_1; inline;
  9725. function getCNSTATC13 : TBits_1; inline;
  9726. function getCNSTATC14 : TBits_1; inline;
  9727. function getCNSTATC15 : TBits_1; inline;
  9728. function getw : TBits_32; inline;
  9729. procedure setCNSTATC12(thebits : TBits_1); inline;
  9730. procedure setCNSTATC13(thebits : TBits_1); inline;
  9731. procedure setCNSTATC14(thebits : TBits_1); inline;
  9732. procedure setCNSTATC15(thebits : TBits_1); inline;
  9733. procedure setw(thebits : TBits_32); inline;
  9734. public
  9735. procedure clearCNSTATC12; inline;
  9736. procedure clearCNSTATC13; inline;
  9737. procedure clearCNSTATC14; inline;
  9738. procedure clearCNSTATC15; inline;
  9739. procedure setCNSTATC12; inline;
  9740. procedure setCNSTATC13; inline;
  9741. procedure setCNSTATC14; inline;
  9742. procedure setCNSTATC15; inline;
  9743. property CNSTATC12 : TBits_1 read getCNSTATC12 write setCNSTATC12;
  9744. property CNSTATC13 : TBits_1 read getCNSTATC13 write setCNSTATC13;
  9745. property CNSTATC14 : TBits_1 read getCNSTATC14 write setCNSTATC14;
  9746. property CNSTATC15 : TBits_1 read getCNSTATC15 write setCNSTATC15;
  9747. property w : TBits_32 read getw write setw;
  9748. end;
  9749. TPORTC_ANSELD = record
  9750. private
  9751. function getANSD1 : TBits_1; inline;
  9752. function getANSD2 : TBits_1; inline;
  9753. function getANSD3 : TBits_1; inline;
  9754. function getw : TBits_32; inline;
  9755. procedure setANSD1(thebits : TBits_1); inline;
  9756. procedure setANSD2(thebits : TBits_1); inline;
  9757. procedure setANSD3(thebits : TBits_1); inline;
  9758. procedure setw(thebits : TBits_32); inline;
  9759. public
  9760. procedure clearANSD1; inline;
  9761. procedure clearANSD2; inline;
  9762. procedure clearANSD3; inline;
  9763. procedure setANSD1; inline;
  9764. procedure setANSD2; inline;
  9765. procedure setANSD3; inline;
  9766. property ANSD1 : TBits_1 read getANSD1 write setANSD1;
  9767. property ANSD2 : TBits_1 read getANSD2 write setANSD2;
  9768. property ANSD3 : TBits_1 read getANSD3 write setANSD3;
  9769. property w : TBits_32 read getw write setw;
  9770. end;
  9771. TPORTC_TRISD = record
  9772. private
  9773. function getTRISD0 : TBits_1; inline;
  9774. function getTRISD1 : TBits_1; inline;
  9775. function getTRISD10 : TBits_1; inline;
  9776. function getTRISD11 : TBits_1; inline;
  9777. function getTRISD2 : TBits_1; inline;
  9778. function getTRISD3 : TBits_1; inline;
  9779. function getTRISD4 : TBits_1; inline;
  9780. function getTRISD5 : TBits_1; inline;
  9781. function getTRISD6 : TBits_1; inline;
  9782. function getTRISD7 : TBits_1; inline;
  9783. function getTRISD8 : TBits_1; inline;
  9784. function getTRISD9 : TBits_1; inline;
  9785. function getw : TBits_32; inline;
  9786. procedure setTRISD0(thebits : TBits_1); inline;
  9787. procedure setTRISD1(thebits : TBits_1); inline;
  9788. procedure setTRISD10(thebits : TBits_1); inline;
  9789. procedure setTRISD11(thebits : TBits_1); inline;
  9790. procedure setTRISD2(thebits : TBits_1); inline;
  9791. procedure setTRISD3(thebits : TBits_1); inline;
  9792. procedure setTRISD4(thebits : TBits_1); inline;
  9793. procedure setTRISD5(thebits : TBits_1); inline;
  9794. procedure setTRISD6(thebits : TBits_1); inline;
  9795. procedure setTRISD7(thebits : TBits_1); inline;
  9796. procedure setTRISD8(thebits : TBits_1); inline;
  9797. procedure setTRISD9(thebits : TBits_1); inline;
  9798. procedure setw(thebits : TBits_32); inline;
  9799. public
  9800. procedure clearTRISD0; inline;
  9801. procedure clearTRISD10; inline;
  9802. procedure clearTRISD11; inline;
  9803. procedure clearTRISD1; inline;
  9804. procedure clearTRISD2; inline;
  9805. procedure clearTRISD3; inline;
  9806. procedure clearTRISD4; inline;
  9807. procedure clearTRISD5; inline;
  9808. procedure clearTRISD6; inline;
  9809. procedure clearTRISD7; inline;
  9810. procedure clearTRISD8; inline;
  9811. procedure clearTRISD9; inline;
  9812. procedure setTRISD0; inline;
  9813. procedure setTRISD10; inline;
  9814. procedure setTRISD11; inline;
  9815. procedure setTRISD1; inline;
  9816. procedure setTRISD2; inline;
  9817. procedure setTRISD3; inline;
  9818. procedure setTRISD4; inline;
  9819. procedure setTRISD5; inline;
  9820. procedure setTRISD6; inline;
  9821. procedure setTRISD7; inline;
  9822. procedure setTRISD8; inline;
  9823. procedure setTRISD9; inline;
  9824. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  9825. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  9826. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  9827. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  9828. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  9829. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  9830. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  9831. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  9832. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  9833. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  9834. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  9835. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  9836. property w : TBits_32 read getw write setw;
  9837. end;
  9838. type
  9839. TPORTCRegisters = record
  9840. PORTCbits : TPORTC_PORTC;
  9841. PORTC : longWord;
  9842. PORTCCLR : longWord;
  9843. PORTCSET : longWord;
  9844. PORTCINV : longWord;
  9845. LATCbits : TPORTC_LATC;
  9846. LATC : longWord;
  9847. LATCCLR : longWord;
  9848. LATCSET : longWord;
  9849. LATCINV : longWord;
  9850. ODCCbits : TPORTC_ODCC;
  9851. ODCC : longWord;
  9852. ODCCCLR : longWord;
  9853. ODCCSET : longWord;
  9854. ODCCINV : longWord;
  9855. CNPUCbits : TPORTC_CNPUC;
  9856. CNPUC : longWord;
  9857. CNPUCCLR : longWord;
  9858. CNPUCSET : longWord;
  9859. CNPUCINV : longWord;
  9860. CNPDCbits : TPORTC_CNPDC;
  9861. CNPDC : longWord;
  9862. CNPDCCLR : longWord;
  9863. CNPDCSET : longWord;
  9864. CNPDCINV : longWord;
  9865. CNCONCbits : TPORTC_CNCONC;
  9866. CNCONC : longWord;
  9867. CNCONCCLR : longWord;
  9868. CNCONCSET : longWord;
  9869. CNCONCINV : longWord;
  9870. CNENCbits : TPORTC_CNENC;
  9871. CNENC : longWord;
  9872. CNENCCLR : longWord;
  9873. CNENCSET : longWord;
  9874. CNENCINV : longWord;
  9875. CNSTATCbits : TPORTC_CNSTATC;
  9876. CNSTATC : longWord;
  9877. CNSTATCCLR : longWord;
  9878. CNSTATCSET : longWord;
  9879. CNSTATCINV : longWord;
  9880. ANSELDbits : TPORTC_ANSELD;
  9881. ANSELD : longWord;
  9882. ANSELDCLR : longWord;
  9883. ANSELDSET : longWord;
  9884. ANSELDINV : longWord;
  9885. TRISDbits : TPORTC_TRISD;
  9886. TRISD : longWord;
  9887. TRISDCLR : longWord;
  9888. TRISDSET : longWord;
  9889. TRISDINV : longWord;
  9890. end;
  9891. TPORTD_PORTD = record
  9892. private
  9893. function getRD0 : TBits_1; inline;
  9894. function getRD1 : TBits_1; inline;
  9895. function getRD10 : TBits_1; inline;
  9896. function getRD11 : TBits_1; inline;
  9897. function getRD2 : TBits_1; inline;
  9898. function getRD3 : TBits_1; inline;
  9899. function getRD4 : TBits_1; inline;
  9900. function getRD5 : TBits_1; inline;
  9901. function getRD6 : TBits_1; inline;
  9902. function getRD7 : TBits_1; inline;
  9903. function getRD8 : TBits_1; inline;
  9904. function getRD9 : TBits_1; inline;
  9905. function getw : TBits_32; inline;
  9906. procedure setRD0(thebits : TBits_1); inline;
  9907. procedure setRD1(thebits : TBits_1); inline;
  9908. procedure setRD10(thebits : TBits_1); inline;
  9909. procedure setRD11(thebits : TBits_1); inline;
  9910. procedure setRD2(thebits : TBits_1); inline;
  9911. procedure setRD3(thebits : TBits_1); inline;
  9912. procedure setRD4(thebits : TBits_1); inline;
  9913. procedure setRD5(thebits : TBits_1); inline;
  9914. procedure setRD6(thebits : TBits_1); inline;
  9915. procedure setRD7(thebits : TBits_1); inline;
  9916. procedure setRD8(thebits : TBits_1); inline;
  9917. procedure setRD9(thebits : TBits_1); inline;
  9918. procedure setw(thebits : TBits_32); inline;
  9919. public
  9920. procedure clearRD0; inline;
  9921. procedure clearRD10; inline;
  9922. procedure clearRD11; inline;
  9923. procedure clearRD1; inline;
  9924. procedure clearRD2; inline;
  9925. procedure clearRD3; inline;
  9926. procedure clearRD4; inline;
  9927. procedure clearRD5; inline;
  9928. procedure clearRD6; inline;
  9929. procedure clearRD7; inline;
  9930. procedure clearRD8; inline;
  9931. procedure clearRD9; inline;
  9932. procedure setRD0; inline;
  9933. procedure setRD10; inline;
  9934. procedure setRD11; inline;
  9935. procedure setRD1; inline;
  9936. procedure setRD2; inline;
  9937. procedure setRD3; inline;
  9938. procedure setRD4; inline;
  9939. procedure setRD5; inline;
  9940. procedure setRD6; inline;
  9941. procedure setRD7; inline;
  9942. procedure setRD8; inline;
  9943. procedure setRD9; inline;
  9944. property RD0 : TBits_1 read getRD0 write setRD0;
  9945. property RD1 : TBits_1 read getRD1 write setRD1;
  9946. property RD10 : TBits_1 read getRD10 write setRD10;
  9947. property RD11 : TBits_1 read getRD11 write setRD11;
  9948. property RD2 : TBits_1 read getRD2 write setRD2;
  9949. property RD3 : TBits_1 read getRD3 write setRD3;
  9950. property RD4 : TBits_1 read getRD4 write setRD4;
  9951. property RD5 : TBits_1 read getRD5 write setRD5;
  9952. property RD6 : TBits_1 read getRD6 write setRD6;
  9953. property RD7 : TBits_1 read getRD7 write setRD7;
  9954. property RD8 : TBits_1 read getRD8 write setRD8;
  9955. property RD9 : TBits_1 read getRD9 write setRD9;
  9956. property w : TBits_32 read getw write setw;
  9957. end;
  9958. 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);
  9959. TPortD_bitset = set of TPortD_bits;
  9960. TPORTD_LATD = record
  9961. private
  9962. function getLATD0 : TBits_1; inline;
  9963. function getLATD1 : TBits_1; inline;
  9964. function getLATD10 : TBits_1; inline;
  9965. function getLATD11 : TBits_1; inline;
  9966. function getLATD2 : TBits_1; inline;
  9967. function getLATD3 : TBits_1; inline;
  9968. function getLATD4 : TBits_1; inline;
  9969. function getLATD5 : TBits_1; inline;
  9970. function getLATD6 : TBits_1; inline;
  9971. function getLATD7 : TBits_1; inline;
  9972. function getLATD8 : TBits_1; inline;
  9973. function getLATD9 : TBits_1; inline;
  9974. function getw : TBits_32; inline;
  9975. procedure setLATD0(thebits : TBits_1); inline;
  9976. procedure setLATD1(thebits : TBits_1); inline;
  9977. procedure setLATD10(thebits : TBits_1); inline;
  9978. procedure setLATD11(thebits : TBits_1); inline;
  9979. procedure setLATD2(thebits : TBits_1); inline;
  9980. procedure setLATD3(thebits : TBits_1); inline;
  9981. procedure setLATD4(thebits : TBits_1); inline;
  9982. procedure setLATD5(thebits : TBits_1); inline;
  9983. procedure setLATD6(thebits : TBits_1); inline;
  9984. procedure setLATD7(thebits : TBits_1); inline;
  9985. procedure setLATD8(thebits : TBits_1); inline;
  9986. procedure setLATD9(thebits : TBits_1); inline;
  9987. procedure setw(thebits : TBits_32); inline;
  9988. public
  9989. procedure clearLATD0; inline;
  9990. procedure clearLATD10; inline;
  9991. procedure clearLATD11; inline;
  9992. procedure clearLATD1; inline;
  9993. procedure clearLATD2; inline;
  9994. procedure clearLATD3; inline;
  9995. procedure clearLATD4; inline;
  9996. procedure clearLATD5; inline;
  9997. procedure clearLATD6; inline;
  9998. procedure clearLATD7; inline;
  9999. procedure clearLATD8; inline;
  10000. procedure clearLATD9; inline;
  10001. procedure setLATD0; inline;
  10002. procedure setLATD10; inline;
  10003. procedure setLATD11; inline;
  10004. procedure setLATD1; inline;
  10005. procedure setLATD2; inline;
  10006. procedure setLATD3; inline;
  10007. procedure setLATD4; inline;
  10008. procedure setLATD5; inline;
  10009. procedure setLATD6; inline;
  10010. procedure setLATD7; inline;
  10011. procedure setLATD8; inline;
  10012. procedure setLATD9; inline;
  10013. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  10014. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  10015. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  10016. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  10017. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  10018. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  10019. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  10020. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  10021. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  10022. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  10023. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  10024. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  10025. property w : TBits_32 read getw write setw;
  10026. end;
  10027. TPORTD_ODCD = record
  10028. private
  10029. function getODCD0 : TBits_1; inline;
  10030. function getODCD1 : TBits_1; inline;
  10031. function getODCD10 : TBits_1; inline;
  10032. function getODCD11 : TBits_1; inline;
  10033. function getODCD2 : TBits_1; inline;
  10034. function getODCD3 : TBits_1; inline;
  10035. function getODCD4 : TBits_1; inline;
  10036. function getODCD5 : TBits_1; inline;
  10037. function getODCD6 : TBits_1; inline;
  10038. function getODCD7 : TBits_1; inline;
  10039. function getODCD8 : TBits_1; inline;
  10040. function getODCD9 : TBits_1; inline;
  10041. function getw : TBits_32; inline;
  10042. procedure setODCD0(thebits : TBits_1); inline;
  10043. procedure setODCD1(thebits : TBits_1); inline;
  10044. procedure setODCD10(thebits : TBits_1); inline;
  10045. procedure setODCD11(thebits : TBits_1); inline;
  10046. procedure setODCD2(thebits : TBits_1); inline;
  10047. procedure setODCD3(thebits : TBits_1); inline;
  10048. procedure setODCD4(thebits : TBits_1); inline;
  10049. procedure setODCD5(thebits : TBits_1); inline;
  10050. procedure setODCD6(thebits : TBits_1); inline;
  10051. procedure setODCD7(thebits : TBits_1); inline;
  10052. procedure setODCD8(thebits : TBits_1); inline;
  10053. procedure setODCD9(thebits : TBits_1); inline;
  10054. procedure setw(thebits : TBits_32); inline;
  10055. public
  10056. procedure clearODCD0; inline;
  10057. procedure clearODCD10; inline;
  10058. procedure clearODCD11; inline;
  10059. procedure clearODCD1; inline;
  10060. procedure clearODCD2; inline;
  10061. procedure clearODCD3; inline;
  10062. procedure clearODCD4; inline;
  10063. procedure clearODCD5; inline;
  10064. procedure clearODCD6; inline;
  10065. procedure clearODCD7; inline;
  10066. procedure clearODCD8; inline;
  10067. procedure clearODCD9; inline;
  10068. procedure setODCD0; inline;
  10069. procedure setODCD10; inline;
  10070. procedure setODCD11; inline;
  10071. procedure setODCD1; inline;
  10072. procedure setODCD2; inline;
  10073. procedure setODCD3; inline;
  10074. procedure setODCD4; inline;
  10075. procedure setODCD5; inline;
  10076. procedure setODCD6; inline;
  10077. procedure setODCD7; inline;
  10078. procedure setODCD8; inline;
  10079. procedure setODCD9; inline;
  10080. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  10081. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  10082. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  10083. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  10084. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  10085. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  10086. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  10087. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  10088. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  10089. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  10090. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  10091. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  10092. property w : TBits_32 read getw write setw;
  10093. end;
  10094. TPORTD_CNPUD = record
  10095. private
  10096. function getCNPUD0 : TBits_1; inline;
  10097. function getCNPUD1 : TBits_1; inline;
  10098. function getCNPUD10 : TBits_1; inline;
  10099. function getCNPUD11 : TBits_1; inline;
  10100. function getCNPUD2 : TBits_1; inline;
  10101. function getCNPUD3 : TBits_1; inline;
  10102. function getCNPUD4 : TBits_1; inline;
  10103. function getCNPUD5 : TBits_1; inline;
  10104. function getCNPUD6 : TBits_1; inline;
  10105. function getCNPUD7 : TBits_1; inline;
  10106. function getCNPUD8 : TBits_1; inline;
  10107. function getCNPUD9 : TBits_1; inline;
  10108. function getw : TBits_32; inline;
  10109. procedure setCNPUD0(thebits : TBits_1); inline;
  10110. procedure setCNPUD1(thebits : TBits_1); inline;
  10111. procedure setCNPUD10(thebits : TBits_1); inline;
  10112. procedure setCNPUD11(thebits : TBits_1); inline;
  10113. procedure setCNPUD2(thebits : TBits_1); inline;
  10114. procedure setCNPUD3(thebits : TBits_1); inline;
  10115. procedure setCNPUD4(thebits : TBits_1); inline;
  10116. procedure setCNPUD5(thebits : TBits_1); inline;
  10117. procedure setCNPUD6(thebits : TBits_1); inline;
  10118. procedure setCNPUD7(thebits : TBits_1); inline;
  10119. procedure setCNPUD8(thebits : TBits_1); inline;
  10120. procedure setCNPUD9(thebits : TBits_1); inline;
  10121. procedure setw(thebits : TBits_32); inline;
  10122. public
  10123. procedure clearCNPUD0; inline;
  10124. procedure clearCNPUD10; inline;
  10125. procedure clearCNPUD11; inline;
  10126. procedure clearCNPUD1; inline;
  10127. procedure clearCNPUD2; inline;
  10128. procedure clearCNPUD3; inline;
  10129. procedure clearCNPUD4; inline;
  10130. procedure clearCNPUD5; inline;
  10131. procedure clearCNPUD6; inline;
  10132. procedure clearCNPUD7; inline;
  10133. procedure clearCNPUD8; inline;
  10134. procedure clearCNPUD9; inline;
  10135. procedure setCNPUD0; inline;
  10136. procedure setCNPUD10; inline;
  10137. procedure setCNPUD11; inline;
  10138. procedure setCNPUD1; inline;
  10139. procedure setCNPUD2; inline;
  10140. procedure setCNPUD3; inline;
  10141. procedure setCNPUD4; inline;
  10142. procedure setCNPUD5; inline;
  10143. procedure setCNPUD6; inline;
  10144. procedure setCNPUD7; inline;
  10145. procedure setCNPUD8; inline;
  10146. procedure setCNPUD9; inline;
  10147. property CNPUD0 : TBits_1 read getCNPUD0 write setCNPUD0;
  10148. property CNPUD1 : TBits_1 read getCNPUD1 write setCNPUD1;
  10149. property CNPUD10 : TBits_1 read getCNPUD10 write setCNPUD10;
  10150. property CNPUD11 : TBits_1 read getCNPUD11 write setCNPUD11;
  10151. property CNPUD2 : TBits_1 read getCNPUD2 write setCNPUD2;
  10152. property CNPUD3 : TBits_1 read getCNPUD3 write setCNPUD3;
  10153. property CNPUD4 : TBits_1 read getCNPUD4 write setCNPUD4;
  10154. property CNPUD5 : TBits_1 read getCNPUD5 write setCNPUD5;
  10155. property CNPUD6 : TBits_1 read getCNPUD6 write setCNPUD6;
  10156. property CNPUD7 : TBits_1 read getCNPUD7 write setCNPUD7;
  10157. property CNPUD8 : TBits_1 read getCNPUD8 write setCNPUD8;
  10158. property CNPUD9 : TBits_1 read getCNPUD9 write setCNPUD9;
  10159. property w : TBits_32 read getw write setw;
  10160. end;
  10161. TPORTD_CNPDD = record
  10162. private
  10163. function getCNPDD0 : TBits_1; inline;
  10164. function getCNPDD1 : TBits_1; inline;
  10165. function getCNPDD10 : TBits_1; inline;
  10166. function getCNPDD11 : TBits_1; inline;
  10167. function getCNPDD2 : TBits_1; inline;
  10168. function getCNPDD3 : TBits_1; inline;
  10169. function getCNPDD4 : TBits_1; inline;
  10170. function getCNPDD5 : TBits_1; inline;
  10171. function getCNPDD6 : TBits_1; inline;
  10172. function getCNPDD7 : TBits_1; inline;
  10173. function getCNPDD8 : TBits_1; inline;
  10174. function getCNPDD9 : TBits_1; inline;
  10175. function getw : TBits_32; inline;
  10176. procedure setCNPDD0(thebits : TBits_1); inline;
  10177. procedure setCNPDD1(thebits : TBits_1); inline;
  10178. procedure setCNPDD10(thebits : TBits_1); inline;
  10179. procedure setCNPDD11(thebits : TBits_1); inline;
  10180. procedure setCNPDD2(thebits : TBits_1); inline;
  10181. procedure setCNPDD3(thebits : TBits_1); inline;
  10182. procedure setCNPDD4(thebits : TBits_1); inline;
  10183. procedure setCNPDD5(thebits : TBits_1); inline;
  10184. procedure setCNPDD6(thebits : TBits_1); inline;
  10185. procedure setCNPDD7(thebits : TBits_1); inline;
  10186. procedure setCNPDD8(thebits : TBits_1); inline;
  10187. procedure setCNPDD9(thebits : TBits_1); inline;
  10188. procedure setw(thebits : TBits_32); inline;
  10189. public
  10190. procedure clearCNPDD0; inline;
  10191. procedure clearCNPDD10; inline;
  10192. procedure clearCNPDD11; inline;
  10193. procedure clearCNPDD1; inline;
  10194. procedure clearCNPDD2; inline;
  10195. procedure clearCNPDD3; inline;
  10196. procedure clearCNPDD4; inline;
  10197. procedure clearCNPDD5; inline;
  10198. procedure clearCNPDD6; inline;
  10199. procedure clearCNPDD7; inline;
  10200. procedure clearCNPDD8; inline;
  10201. procedure clearCNPDD9; inline;
  10202. procedure setCNPDD0; inline;
  10203. procedure setCNPDD10; inline;
  10204. procedure setCNPDD11; inline;
  10205. procedure setCNPDD1; inline;
  10206. procedure setCNPDD2; inline;
  10207. procedure setCNPDD3; inline;
  10208. procedure setCNPDD4; inline;
  10209. procedure setCNPDD5; inline;
  10210. procedure setCNPDD6; inline;
  10211. procedure setCNPDD7; inline;
  10212. procedure setCNPDD8; inline;
  10213. procedure setCNPDD9; inline;
  10214. property CNPDD0 : TBits_1 read getCNPDD0 write setCNPDD0;
  10215. property CNPDD1 : TBits_1 read getCNPDD1 write setCNPDD1;
  10216. property CNPDD10 : TBits_1 read getCNPDD10 write setCNPDD10;
  10217. property CNPDD11 : TBits_1 read getCNPDD11 write setCNPDD11;
  10218. property CNPDD2 : TBits_1 read getCNPDD2 write setCNPDD2;
  10219. property CNPDD3 : TBits_1 read getCNPDD3 write setCNPDD3;
  10220. property CNPDD4 : TBits_1 read getCNPDD4 write setCNPDD4;
  10221. property CNPDD5 : TBits_1 read getCNPDD5 write setCNPDD5;
  10222. property CNPDD6 : TBits_1 read getCNPDD6 write setCNPDD6;
  10223. property CNPDD7 : TBits_1 read getCNPDD7 write setCNPDD7;
  10224. property CNPDD8 : TBits_1 read getCNPDD8 write setCNPDD8;
  10225. property CNPDD9 : TBits_1 read getCNPDD9 write setCNPDD9;
  10226. property w : TBits_32 read getw write setw;
  10227. end;
  10228. TPORTD_CNCOND = record
  10229. private
  10230. function getON : TBits_1; inline;
  10231. function getSIDL : TBits_1; inline;
  10232. function getw : TBits_32; inline;
  10233. procedure setON(thebits : TBits_1); inline;
  10234. procedure setSIDL(thebits : TBits_1); inline;
  10235. procedure setw(thebits : TBits_32); inline;
  10236. public
  10237. procedure clearON; inline;
  10238. procedure clearSIDL; inline;
  10239. procedure setON; inline;
  10240. procedure setSIDL; inline;
  10241. property ON : TBits_1 read getON write setON;
  10242. property SIDL : TBits_1 read getSIDL write setSIDL;
  10243. property w : TBits_32 read getw write setw;
  10244. end;
  10245. TPORTD_CNEND = record
  10246. private
  10247. function getCNIED0 : TBits_1; inline;
  10248. function getCNIED1 : TBits_1; inline;
  10249. function getCNIED10 : TBits_1; inline;
  10250. function getCNIED11 : TBits_1; inline;
  10251. function getCNIED2 : TBits_1; inline;
  10252. function getCNIED3 : TBits_1; inline;
  10253. function getCNIED4 : TBits_1; inline;
  10254. function getCNIED5 : TBits_1; inline;
  10255. function getCNIED6 : TBits_1; inline;
  10256. function getCNIED7 : TBits_1; inline;
  10257. function getCNIED8 : TBits_1; inline;
  10258. function getCNIED9 : TBits_1; inline;
  10259. function getw : TBits_32; inline;
  10260. procedure setCNIED0(thebits : TBits_1); inline;
  10261. procedure setCNIED1(thebits : TBits_1); inline;
  10262. procedure setCNIED10(thebits : TBits_1); inline;
  10263. procedure setCNIED11(thebits : TBits_1); inline;
  10264. procedure setCNIED2(thebits : TBits_1); inline;
  10265. procedure setCNIED3(thebits : TBits_1); inline;
  10266. procedure setCNIED4(thebits : TBits_1); inline;
  10267. procedure setCNIED5(thebits : TBits_1); inline;
  10268. procedure setCNIED6(thebits : TBits_1); inline;
  10269. procedure setCNIED7(thebits : TBits_1); inline;
  10270. procedure setCNIED8(thebits : TBits_1); inline;
  10271. procedure setCNIED9(thebits : TBits_1); inline;
  10272. procedure setw(thebits : TBits_32); inline;
  10273. public
  10274. procedure clearCNIED0; inline;
  10275. procedure clearCNIED10; inline;
  10276. procedure clearCNIED11; inline;
  10277. procedure clearCNIED1; inline;
  10278. procedure clearCNIED2; inline;
  10279. procedure clearCNIED3; inline;
  10280. procedure clearCNIED4; inline;
  10281. procedure clearCNIED5; inline;
  10282. procedure clearCNIED6; inline;
  10283. procedure clearCNIED7; inline;
  10284. procedure clearCNIED8; inline;
  10285. procedure clearCNIED9; inline;
  10286. procedure setCNIED0; inline;
  10287. procedure setCNIED10; inline;
  10288. procedure setCNIED11; inline;
  10289. procedure setCNIED1; inline;
  10290. procedure setCNIED2; inline;
  10291. procedure setCNIED3; inline;
  10292. procedure setCNIED4; inline;
  10293. procedure setCNIED5; inline;
  10294. procedure setCNIED6; inline;
  10295. procedure setCNIED7; inline;
  10296. procedure setCNIED8; inline;
  10297. procedure setCNIED9; inline;
  10298. property CNIED0 : TBits_1 read getCNIED0 write setCNIED0;
  10299. property CNIED1 : TBits_1 read getCNIED1 write setCNIED1;
  10300. property CNIED10 : TBits_1 read getCNIED10 write setCNIED10;
  10301. property CNIED11 : TBits_1 read getCNIED11 write setCNIED11;
  10302. property CNIED2 : TBits_1 read getCNIED2 write setCNIED2;
  10303. property CNIED3 : TBits_1 read getCNIED3 write setCNIED3;
  10304. property CNIED4 : TBits_1 read getCNIED4 write setCNIED4;
  10305. property CNIED5 : TBits_1 read getCNIED5 write setCNIED5;
  10306. property CNIED6 : TBits_1 read getCNIED6 write setCNIED6;
  10307. property CNIED7 : TBits_1 read getCNIED7 write setCNIED7;
  10308. property CNIED8 : TBits_1 read getCNIED8 write setCNIED8;
  10309. property CNIED9 : TBits_1 read getCNIED9 write setCNIED9;
  10310. property w : TBits_32 read getw write setw;
  10311. end;
  10312. TPORTD_CNSTATD = record
  10313. private
  10314. function getCNSTATD0 : TBits_1; inline;
  10315. function getCNSTATD1 : TBits_1; inline;
  10316. function getCNSTATD10 : TBits_1; inline;
  10317. function getCNSTATD11 : TBits_1; inline;
  10318. function getCNSTATD2 : TBits_1; inline;
  10319. function getCNSTATD3 : TBits_1; inline;
  10320. function getCNSTATD4 : TBits_1; inline;
  10321. function getCNSTATD5 : TBits_1; inline;
  10322. function getCNSTATD6 : TBits_1; inline;
  10323. function getCNSTATD7 : TBits_1; inline;
  10324. function getCNSTATD8 : TBits_1; inline;
  10325. function getCNSTATD9 : TBits_1; inline;
  10326. function getw : TBits_32; inline;
  10327. procedure setCNSTATD0(thebits : TBits_1); inline;
  10328. procedure setCNSTATD1(thebits : TBits_1); inline;
  10329. procedure setCNSTATD10(thebits : TBits_1); inline;
  10330. procedure setCNSTATD11(thebits : TBits_1); inline;
  10331. procedure setCNSTATD2(thebits : TBits_1); inline;
  10332. procedure setCNSTATD3(thebits : TBits_1); inline;
  10333. procedure setCNSTATD4(thebits : TBits_1); inline;
  10334. procedure setCNSTATD5(thebits : TBits_1); inline;
  10335. procedure setCNSTATD6(thebits : TBits_1); inline;
  10336. procedure setCNSTATD7(thebits : TBits_1); inline;
  10337. procedure setCNSTATD8(thebits : TBits_1); inline;
  10338. procedure setCNSTATD9(thebits : TBits_1); inline;
  10339. procedure setw(thebits : TBits_32); inline;
  10340. public
  10341. procedure clearCNSTATD0; inline;
  10342. procedure clearCNSTATD10; inline;
  10343. procedure clearCNSTATD11; inline;
  10344. procedure clearCNSTATD1; inline;
  10345. procedure clearCNSTATD2; inline;
  10346. procedure clearCNSTATD3; inline;
  10347. procedure clearCNSTATD4; inline;
  10348. procedure clearCNSTATD5; inline;
  10349. procedure clearCNSTATD6; inline;
  10350. procedure clearCNSTATD7; inline;
  10351. procedure clearCNSTATD8; inline;
  10352. procedure clearCNSTATD9; inline;
  10353. procedure setCNSTATD0; inline;
  10354. procedure setCNSTATD10; inline;
  10355. procedure setCNSTATD11; inline;
  10356. procedure setCNSTATD1; inline;
  10357. procedure setCNSTATD2; inline;
  10358. procedure setCNSTATD3; inline;
  10359. procedure setCNSTATD4; inline;
  10360. procedure setCNSTATD5; inline;
  10361. procedure setCNSTATD6; inline;
  10362. procedure setCNSTATD7; inline;
  10363. procedure setCNSTATD8; inline;
  10364. procedure setCNSTATD9; inline;
  10365. property CNSTATD0 : TBits_1 read getCNSTATD0 write setCNSTATD0;
  10366. property CNSTATD1 : TBits_1 read getCNSTATD1 write setCNSTATD1;
  10367. property CNSTATD10 : TBits_1 read getCNSTATD10 write setCNSTATD10;
  10368. property CNSTATD11 : TBits_1 read getCNSTATD11 write setCNSTATD11;
  10369. property CNSTATD2 : TBits_1 read getCNSTATD2 write setCNSTATD2;
  10370. property CNSTATD3 : TBits_1 read getCNSTATD3 write setCNSTATD3;
  10371. property CNSTATD4 : TBits_1 read getCNSTATD4 write setCNSTATD4;
  10372. property CNSTATD5 : TBits_1 read getCNSTATD5 write setCNSTATD5;
  10373. property CNSTATD6 : TBits_1 read getCNSTATD6 write setCNSTATD6;
  10374. property CNSTATD7 : TBits_1 read getCNSTATD7 write setCNSTATD7;
  10375. property CNSTATD8 : TBits_1 read getCNSTATD8 write setCNSTATD8;
  10376. property CNSTATD9 : TBits_1 read getCNSTATD9 write setCNSTATD9;
  10377. property w : TBits_32 read getw write setw;
  10378. end;
  10379. TPORTD_ANSELE = record
  10380. private
  10381. function getANSE2 : TBits_1; inline;
  10382. function getANSE4 : TBits_1; inline;
  10383. function getANSE5 : TBits_1; inline;
  10384. function getANSE6 : TBits_1; inline;
  10385. function getANSE7 : TBits_1; inline;
  10386. function getw : TBits_32; inline;
  10387. procedure setANSE2(thebits : TBits_1); inline;
  10388. procedure setANSE4(thebits : TBits_1); inline;
  10389. procedure setANSE5(thebits : TBits_1); inline;
  10390. procedure setANSE6(thebits : TBits_1); inline;
  10391. procedure setANSE7(thebits : TBits_1); inline;
  10392. procedure setw(thebits : TBits_32); inline;
  10393. public
  10394. procedure clearANSE2; inline;
  10395. procedure clearANSE4; inline;
  10396. procedure clearANSE5; inline;
  10397. procedure clearANSE6; inline;
  10398. procedure clearANSE7; inline;
  10399. procedure setANSE2; inline;
  10400. procedure setANSE4; inline;
  10401. procedure setANSE5; inline;
  10402. procedure setANSE6; inline;
  10403. procedure setANSE7; inline;
  10404. property ANSE2 : TBits_1 read getANSE2 write setANSE2;
  10405. property ANSE4 : TBits_1 read getANSE4 write setANSE4;
  10406. property ANSE5 : TBits_1 read getANSE5 write setANSE5;
  10407. property ANSE6 : TBits_1 read getANSE6 write setANSE6;
  10408. property ANSE7 : TBits_1 read getANSE7 write setANSE7;
  10409. property w : TBits_32 read getw write setw;
  10410. end;
  10411. TPORTD_TRISE = record
  10412. private
  10413. function getTRISE0 : TBits_1; inline;
  10414. function getTRISE1 : TBits_1; inline;
  10415. function getTRISE2 : TBits_1; inline;
  10416. function getTRISE3 : TBits_1; inline;
  10417. function getTRISE4 : TBits_1; inline;
  10418. function getTRISE5 : TBits_1; inline;
  10419. function getTRISE6 : TBits_1; inline;
  10420. function getTRISE7 : TBits_1; inline;
  10421. function getw : TBits_32; inline;
  10422. procedure setTRISE0(thebits : TBits_1); inline;
  10423. procedure setTRISE1(thebits : TBits_1); inline;
  10424. procedure setTRISE2(thebits : TBits_1); inline;
  10425. procedure setTRISE3(thebits : TBits_1); inline;
  10426. procedure setTRISE4(thebits : TBits_1); inline;
  10427. procedure setTRISE5(thebits : TBits_1); inline;
  10428. procedure setTRISE6(thebits : TBits_1); inline;
  10429. procedure setTRISE7(thebits : TBits_1); inline;
  10430. procedure setw(thebits : TBits_32); inline;
  10431. public
  10432. procedure clearTRISE0; inline;
  10433. procedure clearTRISE1; inline;
  10434. procedure clearTRISE2; inline;
  10435. procedure clearTRISE3; inline;
  10436. procedure clearTRISE4; inline;
  10437. procedure clearTRISE5; inline;
  10438. procedure clearTRISE6; inline;
  10439. procedure clearTRISE7; inline;
  10440. procedure setTRISE0; inline;
  10441. procedure setTRISE1; inline;
  10442. procedure setTRISE2; inline;
  10443. procedure setTRISE3; inline;
  10444. procedure setTRISE4; inline;
  10445. procedure setTRISE5; inline;
  10446. procedure setTRISE6; inline;
  10447. procedure setTRISE7; inline;
  10448. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  10449. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  10450. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  10451. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  10452. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  10453. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  10454. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  10455. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  10456. property w : TBits_32 read getw write setw;
  10457. end;
  10458. type
  10459. TPORTDRegisters = record
  10460. PORTDbits : TPORTD_PORTD;
  10461. PORTD : longWord;
  10462. PORTDCLR : longWord;
  10463. PORTDSET : longWord;
  10464. PORTDINV : longWord;
  10465. LATDbits : TPORTD_LATD;
  10466. LATD : longWord;
  10467. LATDCLR : longWord;
  10468. LATDSET : longWord;
  10469. LATDINV : longWord;
  10470. ODCDbits : TPORTD_ODCD;
  10471. ODCD : longWord;
  10472. ODCDCLR : longWord;
  10473. ODCDSET : longWord;
  10474. ODCDINV : longWord;
  10475. CNPUDbits : TPORTD_CNPUD;
  10476. CNPUD : longWord;
  10477. CNPUDCLR : longWord;
  10478. CNPUDSET : longWord;
  10479. CNPUDINV : longWord;
  10480. CNPDDbits : TPORTD_CNPDD;
  10481. CNPDD : longWord;
  10482. CNPDDCLR : longWord;
  10483. CNPDDSET : longWord;
  10484. CNPDDINV : longWord;
  10485. CNCONDbits : TPORTD_CNCOND;
  10486. CNCOND : longWord;
  10487. CNCONDCLR : longWord;
  10488. CNCONDSET : longWord;
  10489. CNCONDINV : longWord;
  10490. CNENDbits : TPORTD_CNEND;
  10491. CNEND : longWord;
  10492. CNENDCLR : longWord;
  10493. CNENDSET : longWord;
  10494. CNENDINV : longWord;
  10495. CNSTATDbits : TPORTD_CNSTATD;
  10496. CNSTATD : longWord;
  10497. CNSTATDCLR : longWord;
  10498. CNSTATDSET : longWord;
  10499. CNSTATDINV : longWord;
  10500. ANSELEbits : TPORTD_ANSELE;
  10501. ANSELE : longWord;
  10502. ANSELECLR : longWord;
  10503. ANSELESET : longWord;
  10504. ANSELEINV : longWord;
  10505. TRISEbits : TPORTD_TRISE;
  10506. TRISE : longWord;
  10507. TRISECLR : longWord;
  10508. TRISESET : longWord;
  10509. TRISEINV : longWord;
  10510. end;
  10511. TPORTE_PORTE = record
  10512. private
  10513. function getRE0 : TBits_1; inline;
  10514. function getRE1 : TBits_1; inline;
  10515. function getRE2 : TBits_1; inline;
  10516. function getRE3 : TBits_1; inline;
  10517. function getRE4 : TBits_1; inline;
  10518. function getRE5 : TBits_1; inline;
  10519. function getRE6 : TBits_1; inline;
  10520. function getRE7 : TBits_1; inline;
  10521. function getw : TBits_32; inline;
  10522. procedure setRE0(thebits : TBits_1); inline;
  10523. procedure setRE1(thebits : TBits_1); inline;
  10524. procedure setRE2(thebits : TBits_1); inline;
  10525. procedure setRE3(thebits : TBits_1); inline;
  10526. procedure setRE4(thebits : TBits_1); inline;
  10527. procedure setRE5(thebits : TBits_1); inline;
  10528. procedure setRE6(thebits : TBits_1); inline;
  10529. procedure setRE7(thebits : TBits_1); inline;
  10530. procedure setw(thebits : TBits_32); inline;
  10531. public
  10532. procedure clearRE0; inline;
  10533. procedure clearRE1; inline;
  10534. procedure clearRE2; inline;
  10535. procedure clearRE3; inline;
  10536. procedure clearRE4; inline;
  10537. procedure clearRE5; inline;
  10538. procedure clearRE6; inline;
  10539. procedure clearRE7; inline;
  10540. procedure setRE0; inline;
  10541. procedure setRE1; inline;
  10542. procedure setRE2; inline;
  10543. procedure setRE3; inline;
  10544. procedure setRE4; inline;
  10545. procedure setRE5; inline;
  10546. procedure setRE6; inline;
  10547. procedure setRE7; inline;
  10548. property RE0 : TBits_1 read getRE0 write setRE0;
  10549. property RE1 : TBits_1 read getRE1 write setRE1;
  10550. property RE2 : TBits_1 read getRE2 write setRE2;
  10551. property RE3 : TBits_1 read getRE3 write setRE3;
  10552. property RE4 : TBits_1 read getRE4 write setRE4;
  10553. property RE5 : TBits_1 read getRE5 write setRE5;
  10554. property RE6 : TBits_1 read getRE6 write setRE6;
  10555. property RE7 : TBits_1 read getRE7 write setRE7;
  10556. property w : TBits_32 read getw write setw;
  10557. end;
  10558. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7);
  10559. TPortE_bitset = set of TPortE_bits;
  10560. TPORTE_LATE = record
  10561. private
  10562. function getLATE0 : TBits_1; inline;
  10563. function getLATE1 : TBits_1; inline;
  10564. function getLATE2 : TBits_1; inline;
  10565. function getLATE3 : TBits_1; inline;
  10566. function getLATE4 : TBits_1; inline;
  10567. function getLATE5 : TBits_1; inline;
  10568. function getLATE6 : TBits_1; inline;
  10569. function getLATE7 : TBits_1; inline;
  10570. function getw : TBits_32; inline;
  10571. procedure setLATE0(thebits : TBits_1); inline;
  10572. procedure setLATE1(thebits : TBits_1); inline;
  10573. procedure setLATE2(thebits : TBits_1); inline;
  10574. procedure setLATE3(thebits : TBits_1); inline;
  10575. procedure setLATE4(thebits : TBits_1); inline;
  10576. procedure setLATE5(thebits : TBits_1); inline;
  10577. procedure setLATE6(thebits : TBits_1); inline;
  10578. procedure setLATE7(thebits : TBits_1); inline;
  10579. procedure setw(thebits : TBits_32); inline;
  10580. public
  10581. procedure clearLATE0; inline;
  10582. procedure clearLATE1; inline;
  10583. procedure clearLATE2; inline;
  10584. procedure clearLATE3; inline;
  10585. procedure clearLATE4; inline;
  10586. procedure clearLATE5; inline;
  10587. procedure clearLATE6; inline;
  10588. procedure clearLATE7; inline;
  10589. procedure setLATE0; inline;
  10590. procedure setLATE1; inline;
  10591. procedure setLATE2; inline;
  10592. procedure setLATE3; inline;
  10593. procedure setLATE4; inline;
  10594. procedure setLATE5; inline;
  10595. procedure setLATE6; inline;
  10596. procedure setLATE7; inline;
  10597. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  10598. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  10599. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  10600. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  10601. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  10602. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  10603. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  10604. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  10605. property w : TBits_32 read getw write setw;
  10606. end;
  10607. TPORTE_ODCE = record
  10608. private
  10609. function getODCE0 : TBits_1; inline;
  10610. function getODCE1 : TBits_1; inline;
  10611. function getODCE2 : TBits_1; inline;
  10612. function getODCE3 : TBits_1; inline;
  10613. function getODCE4 : TBits_1; inline;
  10614. function getODCE5 : TBits_1; inline;
  10615. function getODCE6 : TBits_1; inline;
  10616. function getODCE7 : TBits_1; inline;
  10617. function getw : TBits_32; inline;
  10618. procedure setODCE0(thebits : TBits_1); inline;
  10619. procedure setODCE1(thebits : TBits_1); inline;
  10620. procedure setODCE2(thebits : TBits_1); inline;
  10621. procedure setODCE3(thebits : TBits_1); inline;
  10622. procedure setODCE4(thebits : TBits_1); inline;
  10623. procedure setODCE5(thebits : TBits_1); inline;
  10624. procedure setODCE6(thebits : TBits_1); inline;
  10625. procedure setODCE7(thebits : TBits_1); inline;
  10626. procedure setw(thebits : TBits_32); inline;
  10627. public
  10628. procedure clearODCE0; inline;
  10629. procedure clearODCE1; inline;
  10630. procedure clearODCE2; inline;
  10631. procedure clearODCE3; inline;
  10632. procedure clearODCE4; inline;
  10633. procedure clearODCE5; inline;
  10634. procedure clearODCE6; inline;
  10635. procedure clearODCE7; inline;
  10636. procedure setODCE0; inline;
  10637. procedure setODCE1; inline;
  10638. procedure setODCE2; inline;
  10639. procedure setODCE3; inline;
  10640. procedure setODCE4; inline;
  10641. procedure setODCE5; inline;
  10642. procedure setODCE6; inline;
  10643. procedure setODCE7; inline;
  10644. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  10645. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  10646. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  10647. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  10648. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  10649. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  10650. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  10651. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  10652. property w : TBits_32 read getw write setw;
  10653. end;
  10654. TPORTE_CNPUE = record
  10655. private
  10656. function getCNPUE0 : TBits_1; inline;
  10657. function getCNPUE1 : TBits_1; inline;
  10658. function getCNPUE2 : TBits_1; inline;
  10659. function getCNPUE3 : TBits_1; inline;
  10660. function getCNPUE4 : TBits_1; inline;
  10661. function getCNPUE5 : TBits_1; inline;
  10662. function getCNPUE6 : TBits_1; inline;
  10663. function getCNPUE7 : TBits_1; inline;
  10664. function getw : TBits_32; inline;
  10665. procedure setCNPUE0(thebits : TBits_1); inline;
  10666. procedure setCNPUE1(thebits : TBits_1); inline;
  10667. procedure setCNPUE2(thebits : TBits_1); inline;
  10668. procedure setCNPUE3(thebits : TBits_1); inline;
  10669. procedure setCNPUE4(thebits : TBits_1); inline;
  10670. procedure setCNPUE5(thebits : TBits_1); inline;
  10671. procedure setCNPUE6(thebits : TBits_1); inline;
  10672. procedure setCNPUE7(thebits : TBits_1); inline;
  10673. procedure setw(thebits : TBits_32); inline;
  10674. public
  10675. procedure clearCNPUE0; inline;
  10676. procedure clearCNPUE1; inline;
  10677. procedure clearCNPUE2; inline;
  10678. procedure clearCNPUE3; inline;
  10679. procedure clearCNPUE4; inline;
  10680. procedure clearCNPUE5; inline;
  10681. procedure clearCNPUE6; inline;
  10682. procedure clearCNPUE7; inline;
  10683. procedure setCNPUE0; inline;
  10684. procedure setCNPUE1; inline;
  10685. procedure setCNPUE2; inline;
  10686. procedure setCNPUE3; inline;
  10687. procedure setCNPUE4; inline;
  10688. procedure setCNPUE5; inline;
  10689. procedure setCNPUE6; inline;
  10690. procedure setCNPUE7; inline;
  10691. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  10692. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  10693. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  10694. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  10695. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  10696. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  10697. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  10698. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  10699. property w : TBits_32 read getw write setw;
  10700. end;
  10701. TPORTE_CNPDE = record
  10702. private
  10703. function getCNPDE0 : TBits_1; inline;
  10704. function getCNPDE1 : TBits_1; inline;
  10705. function getCNPDE2 : TBits_1; inline;
  10706. function getCNPDE3 : TBits_1; inline;
  10707. function getCNPDE4 : TBits_1; inline;
  10708. function getCNPDE5 : TBits_1; inline;
  10709. function getCNPDE6 : TBits_1; inline;
  10710. function getCNPDE7 : TBits_1; inline;
  10711. function getw : TBits_32; inline;
  10712. procedure setCNPDE0(thebits : TBits_1); inline;
  10713. procedure setCNPDE1(thebits : TBits_1); inline;
  10714. procedure setCNPDE2(thebits : TBits_1); inline;
  10715. procedure setCNPDE3(thebits : TBits_1); inline;
  10716. procedure setCNPDE4(thebits : TBits_1); inline;
  10717. procedure setCNPDE5(thebits : TBits_1); inline;
  10718. procedure setCNPDE6(thebits : TBits_1); inline;
  10719. procedure setCNPDE7(thebits : TBits_1); inline;
  10720. procedure setw(thebits : TBits_32); inline;
  10721. public
  10722. procedure clearCNPDE0; inline;
  10723. procedure clearCNPDE1; inline;
  10724. procedure clearCNPDE2; inline;
  10725. procedure clearCNPDE3; inline;
  10726. procedure clearCNPDE4; inline;
  10727. procedure clearCNPDE5; inline;
  10728. procedure clearCNPDE6; inline;
  10729. procedure clearCNPDE7; inline;
  10730. procedure setCNPDE0; inline;
  10731. procedure setCNPDE1; inline;
  10732. procedure setCNPDE2; inline;
  10733. procedure setCNPDE3; inline;
  10734. procedure setCNPDE4; inline;
  10735. procedure setCNPDE5; inline;
  10736. procedure setCNPDE6; inline;
  10737. procedure setCNPDE7; inline;
  10738. property CNPDE0 : TBits_1 read getCNPDE0 write setCNPDE0;
  10739. property CNPDE1 : TBits_1 read getCNPDE1 write setCNPDE1;
  10740. property CNPDE2 : TBits_1 read getCNPDE2 write setCNPDE2;
  10741. property CNPDE3 : TBits_1 read getCNPDE3 write setCNPDE3;
  10742. property CNPDE4 : TBits_1 read getCNPDE4 write setCNPDE4;
  10743. property CNPDE5 : TBits_1 read getCNPDE5 write setCNPDE5;
  10744. property CNPDE6 : TBits_1 read getCNPDE6 write setCNPDE6;
  10745. property CNPDE7 : TBits_1 read getCNPDE7 write setCNPDE7;
  10746. property w : TBits_32 read getw write setw;
  10747. end;
  10748. TPORTE_CNCONE = record
  10749. private
  10750. function getON : TBits_1; inline;
  10751. function getSIDL : TBits_1; inline;
  10752. function getw : TBits_32; inline;
  10753. procedure setON(thebits : TBits_1); inline;
  10754. procedure setSIDL(thebits : TBits_1); inline;
  10755. procedure setw(thebits : TBits_32); inline;
  10756. public
  10757. procedure clearON; inline;
  10758. procedure clearSIDL; inline;
  10759. procedure setON; inline;
  10760. procedure setSIDL; inline;
  10761. property ON : TBits_1 read getON write setON;
  10762. property SIDL : TBits_1 read getSIDL write setSIDL;
  10763. property w : TBits_32 read getw write setw;
  10764. end;
  10765. TPORTE_CNENE = record
  10766. private
  10767. function getCNIEE0 : TBits_1; inline;
  10768. function getCNIEE1 : TBits_1; inline;
  10769. function getCNIEE2 : TBits_1; inline;
  10770. function getCNIEE3 : TBits_1; inline;
  10771. function getCNIEE4 : TBits_1; inline;
  10772. function getCNIEE5 : TBits_1; inline;
  10773. function getCNIEE6 : TBits_1; inline;
  10774. function getCNIEE7 : TBits_1; inline;
  10775. function getw : TBits_32; inline;
  10776. procedure setCNIEE0(thebits : TBits_1); inline;
  10777. procedure setCNIEE1(thebits : TBits_1); inline;
  10778. procedure setCNIEE2(thebits : TBits_1); inline;
  10779. procedure setCNIEE3(thebits : TBits_1); inline;
  10780. procedure setCNIEE4(thebits : TBits_1); inline;
  10781. procedure setCNIEE5(thebits : TBits_1); inline;
  10782. procedure setCNIEE6(thebits : TBits_1); inline;
  10783. procedure setCNIEE7(thebits : TBits_1); inline;
  10784. procedure setw(thebits : TBits_32); inline;
  10785. public
  10786. procedure clearCNIEE0; inline;
  10787. procedure clearCNIEE1; inline;
  10788. procedure clearCNIEE2; inline;
  10789. procedure clearCNIEE3; inline;
  10790. procedure clearCNIEE4; inline;
  10791. procedure clearCNIEE5; inline;
  10792. procedure clearCNIEE6; inline;
  10793. procedure clearCNIEE7; inline;
  10794. procedure setCNIEE0; inline;
  10795. procedure setCNIEE1; inline;
  10796. procedure setCNIEE2; inline;
  10797. procedure setCNIEE3; inline;
  10798. procedure setCNIEE4; inline;
  10799. procedure setCNIEE5; inline;
  10800. procedure setCNIEE6; inline;
  10801. procedure setCNIEE7; inline;
  10802. property CNIEE0 : TBits_1 read getCNIEE0 write setCNIEE0;
  10803. property CNIEE1 : TBits_1 read getCNIEE1 write setCNIEE1;
  10804. property CNIEE2 : TBits_1 read getCNIEE2 write setCNIEE2;
  10805. property CNIEE3 : TBits_1 read getCNIEE3 write setCNIEE3;
  10806. property CNIEE4 : TBits_1 read getCNIEE4 write setCNIEE4;
  10807. property CNIEE5 : TBits_1 read getCNIEE5 write setCNIEE5;
  10808. property CNIEE6 : TBits_1 read getCNIEE6 write setCNIEE6;
  10809. property CNIEE7 : TBits_1 read getCNIEE7 write setCNIEE7;
  10810. property w : TBits_32 read getw write setw;
  10811. end;
  10812. TPORTE_CNSTATE = record
  10813. private
  10814. function getCNSTATE0 : TBits_1; inline;
  10815. function getCNSTATE1 : TBits_1; inline;
  10816. function getCNSTATE2 : TBits_1; inline;
  10817. function getCNSTATE3 : TBits_1; inline;
  10818. function getCNSTATE4 : TBits_1; inline;
  10819. function getCNSTATE5 : TBits_1; inline;
  10820. function getCNSTATE6 : TBits_1; inline;
  10821. function getCNSTATE7 : TBits_1; inline;
  10822. function getw : TBits_32; inline;
  10823. procedure setCNSTATE0(thebits : TBits_1); inline;
  10824. procedure setCNSTATE1(thebits : TBits_1); inline;
  10825. procedure setCNSTATE2(thebits : TBits_1); inline;
  10826. procedure setCNSTATE3(thebits : TBits_1); inline;
  10827. procedure setCNSTATE4(thebits : TBits_1); inline;
  10828. procedure setCNSTATE5(thebits : TBits_1); inline;
  10829. procedure setCNSTATE6(thebits : TBits_1); inline;
  10830. procedure setCNSTATE7(thebits : TBits_1); inline;
  10831. procedure setw(thebits : TBits_32); inline;
  10832. public
  10833. procedure clearCNSTATE0; inline;
  10834. procedure clearCNSTATE1; inline;
  10835. procedure clearCNSTATE2; inline;
  10836. procedure clearCNSTATE3; inline;
  10837. procedure clearCNSTATE4; inline;
  10838. procedure clearCNSTATE5; inline;
  10839. procedure clearCNSTATE6; inline;
  10840. procedure clearCNSTATE7; inline;
  10841. procedure setCNSTATE0; inline;
  10842. procedure setCNSTATE1; inline;
  10843. procedure setCNSTATE2; inline;
  10844. procedure setCNSTATE3; inline;
  10845. procedure setCNSTATE4; inline;
  10846. procedure setCNSTATE5; inline;
  10847. procedure setCNSTATE6; inline;
  10848. procedure setCNSTATE7; inline;
  10849. property CNSTATE0 : TBits_1 read getCNSTATE0 write setCNSTATE0;
  10850. property CNSTATE1 : TBits_1 read getCNSTATE1 write setCNSTATE1;
  10851. property CNSTATE2 : TBits_1 read getCNSTATE2 write setCNSTATE2;
  10852. property CNSTATE3 : TBits_1 read getCNSTATE3 write setCNSTATE3;
  10853. property CNSTATE4 : TBits_1 read getCNSTATE4 write setCNSTATE4;
  10854. property CNSTATE5 : TBits_1 read getCNSTATE5 write setCNSTATE5;
  10855. property CNSTATE6 : TBits_1 read getCNSTATE6 write setCNSTATE6;
  10856. property CNSTATE7 : TBits_1 read getCNSTATE7 write setCNSTATE7;
  10857. property w : TBits_32 read getw write setw;
  10858. end;
  10859. TPORTE_TRISF = record
  10860. private
  10861. function getTRISF0 : TBits_1; inline;
  10862. function getTRISF1 : TBits_1; inline;
  10863. function getTRISF2 : TBits_1; inline;
  10864. function getTRISF3 : TBits_1; inline;
  10865. function getTRISF4 : TBits_1; inline;
  10866. function getTRISF5 : TBits_1; inline;
  10867. function getTRISF6 : TBits_1; inline;
  10868. function getw : TBits_32; inline;
  10869. procedure setTRISF0(thebits : TBits_1); inline;
  10870. procedure setTRISF1(thebits : TBits_1); inline;
  10871. procedure setTRISF2(thebits : TBits_1); inline;
  10872. procedure setTRISF3(thebits : TBits_1); inline;
  10873. procedure setTRISF4(thebits : TBits_1); inline;
  10874. procedure setTRISF5(thebits : TBits_1); inline;
  10875. procedure setTRISF6(thebits : TBits_1); inline;
  10876. procedure setw(thebits : TBits_32); inline;
  10877. public
  10878. procedure clearTRISF0; inline;
  10879. procedure clearTRISF1; inline;
  10880. procedure clearTRISF2; inline;
  10881. procedure clearTRISF3; inline;
  10882. procedure clearTRISF4; inline;
  10883. procedure clearTRISF5; inline;
  10884. procedure clearTRISF6; inline;
  10885. procedure setTRISF0; inline;
  10886. procedure setTRISF1; inline;
  10887. procedure setTRISF2; inline;
  10888. procedure setTRISF3; inline;
  10889. procedure setTRISF4; inline;
  10890. procedure setTRISF5; inline;
  10891. procedure setTRISF6; inline;
  10892. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  10893. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  10894. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  10895. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  10896. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  10897. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  10898. property TRISF6 : TBits_1 read getTRISF6 write setTRISF6;
  10899. property w : TBits_32 read getw write setw;
  10900. end;
  10901. type
  10902. TPORTERegisters = record
  10903. PORTEbits : TPORTE_PORTE;
  10904. PORTE : longWord;
  10905. PORTECLR : longWord;
  10906. PORTESET : longWord;
  10907. PORTEINV : longWord;
  10908. LATEbits : TPORTE_LATE;
  10909. LATE : longWord;
  10910. LATECLR : longWord;
  10911. LATESET : longWord;
  10912. LATEINV : longWord;
  10913. ODCEbits : TPORTE_ODCE;
  10914. ODCE : longWord;
  10915. ODCECLR : longWord;
  10916. ODCESET : longWord;
  10917. ODCEINV : longWord;
  10918. CNPUEbits : TPORTE_CNPUE;
  10919. CNPUE : longWord;
  10920. CNPUECLR : longWord;
  10921. CNPUESET : longWord;
  10922. CNPUEINV : longWord;
  10923. CNPDEbits : TPORTE_CNPDE;
  10924. CNPDE : longWord;
  10925. CNPDECLR : longWord;
  10926. CNPDESET : longWord;
  10927. CNPDEINV : longWord;
  10928. CNCONEbits : TPORTE_CNCONE;
  10929. CNCONE : longWord;
  10930. CNCONECLR : longWord;
  10931. CNCONESET : longWord;
  10932. CNCONEINV : longWord;
  10933. CNENEbits : TPORTE_CNENE;
  10934. CNENE : longWord;
  10935. CNENECLR : longWord;
  10936. CNENESET : longWord;
  10937. CNENEINV : longWord;
  10938. CNSTATEbits : TPORTE_CNSTATE;
  10939. CNSTATE : longWord;
  10940. CNSTATECLR : longWord;
  10941. CNSTATESET : longWord;
  10942. CNSTATEINV : longWord;
  10943. ANSELF : longWord;
  10944. ANSELFCLR : longWord;
  10945. ANSELFSET : longWord;
  10946. ANSELFINV : longWord;
  10947. TRISFbits : TPORTE_TRISF;
  10948. TRISF : longWord;
  10949. TRISFCLR : longWord;
  10950. TRISFSET : longWord;
  10951. TRISFINV : longWord;
  10952. end;
  10953. TPORTF_PORTF = record
  10954. private
  10955. function getRF0 : TBits_1; inline;
  10956. function getRF1 : TBits_1; inline;
  10957. function getRF2 : TBits_1; inline;
  10958. function getRF3 : TBits_1; inline;
  10959. function getRF4 : TBits_1; inline;
  10960. function getRF5 : TBits_1; inline;
  10961. function getRF6 : TBits_1; inline;
  10962. function getw : TBits_32; inline;
  10963. procedure setRF0(thebits : TBits_1); inline;
  10964. procedure setRF1(thebits : TBits_1); inline;
  10965. procedure setRF2(thebits : TBits_1); inline;
  10966. procedure setRF3(thebits : TBits_1); inline;
  10967. procedure setRF4(thebits : TBits_1); inline;
  10968. procedure setRF5(thebits : TBits_1); inline;
  10969. procedure setRF6(thebits : TBits_1); inline;
  10970. procedure setw(thebits : TBits_32); inline;
  10971. public
  10972. procedure clearRF0; inline;
  10973. procedure clearRF1; inline;
  10974. procedure clearRF2; inline;
  10975. procedure clearRF3; inline;
  10976. procedure clearRF4; inline;
  10977. procedure clearRF5; inline;
  10978. procedure clearRF6; inline;
  10979. procedure setRF0; inline;
  10980. procedure setRF1; inline;
  10981. procedure setRF2; inline;
  10982. procedure setRF3; inline;
  10983. procedure setRF4; inline;
  10984. procedure setRF5; inline;
  10985. procedure setRF6; inline;
  10986. property RF0 : TBits_1 read getRF0 write setRF0;
  10987. property RF1 : TBits_1 read getRF1 write setRF1;
  10988. property RF2 : TBits_1 read getRF2 write setRF2;
  10989. property RF3 : TBits_1 read getRF3 write setRF3;
  10990. property RF4 : TBits_1 read getRF4 write setRF4;
  10991. property RF5 : TBits_1 read getRF5 write setRF5;
  10992. property RF6 : TBits_1 read getRF6 write setRF6;
  10993. property w : TBits_32 read getw write setw;
  10994. end;
  10995. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF6=6);
  10996. TPortF_bitset = set of TPortF_bits;
  10997. TPORTF_LATF = record
  10998. private
  10999. function getLATF0 : TBits_1; inline;
  11000. function getLATF1 : TBits_1; inline;
  11001. function getLATF2 : TBits_1; inline;
  11002. function getLATF3 : TBits_1; inline;
  11003. function getLATF4 : TBits_1; inline;
  11004. function getLATF5 : TBits_1; inline;
  11005. function getLATF6 : TBits_1; inline;
  11006. function getw : TBits_32; inline;
  11007. procedure setLATF0(thebits : TBits_1); inline;
  11008. procedure setLATF1(thebits : TBits_1); inline;
  11009. procedure setLATF2(thebits : TBits_1); inline;
  11010. procedure setLATF3(thebits : TBits_1); inline;
  11011. procedure setLATF4(thebits : TBits_1); inline;
  11012. procedure setLATF5(thebits : TBits_1); inline;
  11013. procedure setLATF6(thebits : TBits_1); inline;
  11014. procedure setw(thebits : TBits_32); inline;
  11015. public
  11016. procedure clearLATF0; inline;
  11017. procedure clearLATF1; inline;
  11018. procedure clearLATF2; inline;
  11019. procedure clearLATF3; inline;
  11020. procedure clearLATF4; inline;
  11021. procedure clearLATF5; inline;
  11022. procedure clearLATF6; inline;
  11023. procedure setLATF0; inline;
  11024. procedure setLATF1; inline;
  11025. procedure setLATF2; inline;
  11026. procedure setLATF3; inline;
  11027. procedure setLATF4; inline;
  11028. procedure setLATF5; inline;
  11029. procedure setLATF6; inline;
  11030. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  11031. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  11032. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  11033. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  11034. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  11035. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  11036. property LATF6 : TBits_1 read getLATF6 write setLATF6;
  11037. property w : TBits_32 read getw write setw;
  11038. end;
  11039. TPORTF_ODCF = record
  11040. private
  11041. function getODCF0 : TBits_1; inline;
  11042. function getODCF1 : TBits_1; inline;
  11043. function getODCF2 : TBits_1; inline;
  11044. function getODCF3 : TBits_1; inline;
  11045. function getODCF4 : TBits_1; inline;
  11046. function getODCF5 : TBits_1; inline;
  11047. function getODCF6 : TBits_1; inline;
  11048. function getw : TBits_32; inline;
  11049. procedure setODCF0(thebits : TBits_1); inline;
  11050. procedure setODCF1(thebits : TBits_1); inline;
  11051. procedure setODCF2(thebits : TBits_1); inline;
  11052. procedure setODCF3(thebits : TBits_1); inline;
  11053. procedure setODCF4(thebits : TBits_1); inline;
  11054. procedure setODCF5(thebits : TBits_1); inline;
  11055. procedure setODCF6(thebits : TBits_1); inline;
  11056. procedure setw(thebits : TBits_32); inline;
  11057. public
  11058. procedure clearODCF0; inline;
  11059. procedure clearODCF1; inline;
  11060. procedure clearODCF2; inline;
  11061. procedure clearODCF3; inline;
  11062. procedure clearODCF4; inline;
  11063. procedure clearODCF5; inline;
  11064. procedure clearODCF6; inline;
  11065. procedure setODCF0; inline;
  11066. procedure setODCF1; inline;
  11067. procedure setODCF2; inline;
  11068. procedure setODCF3; inline;
  11069. procedure setODCF4; inline;
  11070. procedure setODCF5; inline;
  11071. procedure setODCF6; inline;
  11072. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  11073. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  11074. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  11075. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  11076. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  11077. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  11078. property ODCF6 : TBits_1 read getODCF6 write setODCF6;
  11079. property w : TBits_32 read getw write setw;
  11080. end;
  11081. TPORTF_CNPUF = record
  11082. private
  11083. function getCNPUF0 : TBits_1; inline;
  11084. function getCNPUF1 : TBits_1; inline;
  11085. function getCNPUF2 : TBits_1; inline;
  11086. function getCNPUF3 : TBits_1; inline;
  11087. function getCNPUF4 : TBits_1; inline;
  11088. function getCNPUF5 : TBits_1; inline;
  11089. function getCNPUF6 : TBits_1; inline;
  11090. function getw : TBits_32; inline;
  11091. procedure setCNPUF0(thebits : TBits_1); inline;
  11092. procedure setCNPUF1(thebits : TBits_1); inline;
  11093. procedure setCNPUF2(thebits : TBits_1); inline;
  11094. procedure setCNPUF3(thebits : TBits_1); inline;
  11095. procedure setCNPUF4(thebits : TBits_1); inline;
  11096. procedure setCNPUF5(thebits : TBits_1); inline;
  11097. procedure setCNPUF6(thebits : TBits_1); inline;
  11098. procedure setw(thebits : TBits_32); inline;
  11099. public
  11100. procedure clearCNPUF0; inline;
  11101. procedure clearCNPUF1; inline;
  11102. procedure clearCNPUF2; inline;
  11103. procedure clearCNPUF3; inline;
  11104. procedure clearCNPUF4; inline;
  11105. procedure clearCNPUF5; inline;
  11106. procedure clearCNPUF6; inline;
  11107. procedure setCNPUF0; inline;
  11108. procedure setCNPUF1; inline;
  11109. procedure setCNPUF2; inline;
  11110. procedure setCNPUF3; inline;
  11111. procedure setCNPUF4; inline;
  11112. procedure setCNPUF5; inline;
  11113. procedure setCNPUF6; inline;
  11114. property CNPUF0 : TBits_1 read getCNPUF0 write setCNPUF0;
  11115. property CNPUF1 : TBits_1 read getCNPUF1 write setCNPUF1;
  11116. property CNPUF2 : TBits_1 read getCNPUF2 write setCNPUF2;
  11117. property CNPUF3 : TBits_1 read getCNPUF3 write setCNPUF3;
  11118. property CNPUF4 : TBits_1 read getCNPUF4 write setCNPUF4;
  11119. property CNPUF5 : TBits_1 read getCNPUF5 write setCNPUF5;
  11120. property CNPUF6 : TBits_1 read getCNPUF6 write setCNPUF6;
  11121. property w : TBits_32 read getw write setw;
  11122. end;
  11123. TPORTF_CNPDF = record
  11124. private
  11125. function getCNPDF0 : TBits_1; inline;
  11126. function getCNPDF1 : TBits_1; inline;
  11127. function getCNPDF2 : TBits_1; inline;
  11128. function getCNPDF3 : TBits_1; inline;
  11129. function getCNPDF4 : TBits_1; inline;
  11130. function getCNPDF5 : TBits_1; inline;
  11131. function getCNPDF6 : TBits_1; inline;
  11132. function getw : TBits_32; inline;
  11133. procedure setCNPDF0(thebits : TBits_1); inline;
  11134. procedure setCNPDF1(thebits : TBits_1); inline;
  11135. procedure setCNPDF2(thebits : TBits_1); inline;
  11136. procedure setCNPDF3(thebits : TBits_1); inline;
  11137. procedure setCNPDF4(thebits : TBits_1); inline;
  11138. procedure setCNPDF5(thebits : TBits_1); inline;
  11139. procedure setCNPDF6(thebits : TBits_1); inline;
  11140. procedure setw(thebits : TBits_32); inline;
  11141. public
  11142. procedure clearCNPDF0; inline;
  11143. procedure clearCNPDF1; inline;
  11144. procedure clearCNPDF2; inline;
  11145. procedure clearCNPDF3; inline;
  11146. procedure clearCNPDF4; inline;
  11147. procedure clearCNPDF5; inline;
  11148. procedure clearCNPDF6; inline;
  11149. procedure setCNPDF0; inline;
  11150. procedure setCNPDF1; inline;
  11151. procedure setCNPDF2; inline;
  11152. procedure setCNPDF3; inline;
  11153. procedure setCNPDF4; inline;
  11154. procedure setCNPDF5; inline;
  11155. procedure setCNPDF6; inline;
  11156. property CNPDF0 : TBits_1 read getCNPDF0 write setCNPDF0;
  11157. property CNPDF1 : TBits_1 read getCNPDF1 write setCNPDF1;
  11158. property CNPDF2 : TBits_1 read getCNPDF2 write setCNPDF2;
  11159. property CNPDF3 : TBits_1 read getCNPDF3 write setCNPDF3;
  11160. property CNPDF4 : TBits_1 read getCNPDF4 write setCNPDF4;
  11161. property CNPDF5 : TBits_1 read getCNPDF5 write setCNPDF5;
  11162. property CNPDF6 : TBits_1 read getCNPDF6 write setCNPDF6;
  11163. property w : TBits_32 read getw write setw;
  11164. end;
  11165. TPORTF_CNCONF = record
  11166. private
  11167. function getON : TBits_1; inline;
  11168. function getSIDL : TBits_1; inline;
  11169. function getw : TBits_32; inline;
  11170. procedure setON(thebits : TBits_1); inline;
  11171. procedure setSIDL(thebits : TBits_1); inline;
  11172. procedure setw(thebits : TBits_32); inline;
  11173. public
  11174. procedure clearON; inline;
  11175. procedure clearSIDL; inline;
  11176. procedure setON; inline;
  11177. procedure setSIDL; inline;
  11178. property ON : TBits_1 read getON write setON;
  11179. property SIDL : TBits_1 read getSIDL write setSIDL;
  11180. property w : TBits_32 read getw write setw;
  11181. end;
  11182. TPORTF_CNENF = record
  11183. private
  11184. function getCNIEF0 : TBits_1; inline;
  11185. function getCNIEF1 : TBits_1; inline;
  11186. function getCNIEF2 : TBits_1; inline;
  11187. function getCNIEF3 : TBits_1; inline;
  11188. function getCNIEF4 : TBits_1; inline;
  11189. function getCNIEF5 : TBits_1; inline;
  11190. function getCNIEF6 : TBits_1; inline;
  11191. function getw : TBits_32; inline;
  11192. procedure setCNIEF0(thebits : TBits_1); inline;
  11193. procedure setCNIEF1(thebits : TBits_1); inline;
  11194. procedure setCNIEF2(thebits : TBits_1); inline;
  11195. procedure setCNIEF3(thebits : TBits_1); inline;
  11196. procedure setCNIEF4(thebits : TBits_1); inline;
  11197. procedure setCNIEF5(thebits : TBits_1); inline;
  11198. procedure setCNIEF6(thebits : TBits_1); inline;
  11199. procedure setw(thebits : TBits_32); inline;
  11200. public
  11201. procedure clearCNIEF0; inline;
  11202. procedure clearCNIEF1; inline;
  11203. procedure clearCNIEF2; inline;
  11204. procedure clearCNIEF3; inline;
  11205. procedure clearCNIEF4; inline;
  11206. procedure clearCNIEF5; inline;
  11207. procedure clearCNIEF6; inline;
  11208. procedure setCNIEF0; inline;
  11209. procedure setCNIEF1; inline;
  11210. procedure setCNIEF2; inline;
  11211. procedure setCNIEF3; inline;
  11212. procedure setCNIEF4; inline;
  11213. procedure setCNIEF5; inline;
  11214. procedure setCNIEF6; inline;
  11215. property CNIEF0 : TBits_1 read getCNIEF0 write setCNIEF0;
  11216. property CNIEF1 : TBits_1 read getCNIEF1 write setCNIEF1;
  11217. property CNIEF2 : TBits_1 read getCNIEF2 write setCNIEF2;
  11218. property CNIEF3 : TBits_1 read getCNIEF3 write setCNIEF3;
  11219. property CNIEF4 : TBits_1 read getCNIEF4 write setCNIEF4;
  11220. property CNIEF5 : TBits_1 read getCNIEF5 write setCNIEF5;
  11221. property CNIEF6 : TBits_1 read getCNIEF6 write setCNIEF6;
  11222. property w : TBits_32 read getw write setw;
  11223. end;
  11224. TPORTF_CNSTATF = record
  11225. private
  11226. function getCNSTATF0 : TBits_1; inline;
  11227. function getCNSTATF1 : TBits_1; inline;
  11228. function getCNSTATF2 : TBits_1; inline;
  11229. function getCNSTATF3 : TBits_1; inline;
  11230. function getCNSTATF4 : TBits_1; inline;
  11231. function getCNSTATF5 : TBits_1; inline;
  11232. function getCNSTATF6 : TBits_1; inline;
  11233. function getw : TBits_32; inline;
  11234. procedure setCNSTATF0(thebits : TBits_1); inline;
  11235. procedure setCNSTATF1(thebits : TBits_1); inline;
  11236. procedure setCNSTATF2(thebits : TBits_1); inline;
  11237. procedure setCNSTATF3(thebits : TBits_1); inline;
  11238. procedure setCNSTATF4(thebits : TBits_1); inline;
  11239. procedure setCNSTATF5(thebits : TBits_1); inline;
  11240. procedure setCNSTATF6(thebits : TBits_1); inline;
  11241. procedure setw(thebits : TBits_32); inline;
  11242. public
  11243. procedure clearCNSTATF0; inline;
  11244. procedure clearCNSTATF1; inline;
  11245. procedure clearCNSTATF2; inline;
  11246. procedure clearCNSTATF3; inline;
  11247. procedure clearCNSTATF4; inline;
  11248. procedure clearCNSTATF5; inline;
  11249. procedure clearCNSTATF6; inline;
  11250. procedure setCNSTATF0; inline;
  11251. procedure setCNSTATF1; inline;
  11252. procedure setCNSTATF2; inline;
  11253. procedure setCNSTATF3; inline;
  11254. procedure setCNSTATF4; inline;
  11255. procedure setCNSTATF5; inline;
  11256. procedure setCNSTATF6; inline;
  11257. property CNSTATF0 : TBits_1 read getCNSTATF0 write setCNSTATF0;
  11258. property CNSTATF1 : TBits_1 read getCNSTATF1 write setCNSTATF1;
  11259. property CNSTATF2 : TBits_1 read getCNSTATF2 write setCNSTATF2;
  11260. property CNSTATF3 : TBits_1 read getCNSTATF3 write setCNSTATF3;
  11261. property CNSTATF4 : TBits_1 read getCNSTATF4 write setCNSTATF4;
  11262. property CNSTATF5 : TBits_1 read getCNSTATF5 write setCNSTATF5;
  11263. property CNSTATF6 : TBits_1 read getCNSTATF6 write setCNSTATF6;
  11264. property w : TBits_32 read getw write setw;
  11265. end;
  11266. TPORTF_ANSELG = record
  11267. private
  11268. function getANSG6 : TBits_1; inline;
  11269. function getANSG7 : TBits_1; inline;
  11270. function getANSG8 : TBits_1; inline;
  11271. function getANSG9 : TBits_1; inline;
  11272. function getw : TBits_32; inline;
  11273. procedure setANSG6(thebits : TBits_1); inline;
  11274. procedure setANSG7(thebits : TBits_1); inline;
  11275. procedure setANSG8(thebits : TBits_1); inline;
  11276. procedure setANSG9(thebits : TBits_1); inline;
  11277. procedure setw(thebits : TBits_32); inline;
  11278. public
  11279. procedure clearANSG6; inline;
  11280. procedure clearANSG7; inline;
  11281. procedure clearANSG8; inline;
  11282. procedure clearANSG9; inline;
  11283. procedure setANSG6; inline;
  11284. procedure setANSG7; inline;
  11285. procedure setANSG8; inline;
  11286. procedure setANSG9; inline;
  11287. property ANSG6 : TBits_1 read getANSG6 write setANSG6;
  11288. property ANSG7 : TBits_1 read getANSG7 write setANSG7;
  11289. property ANSG8 : TBits_1 read getANSG8 write setANSG8;
  11290. property ANSG9 : TBits_1 read getANSG9 write setANSG9;
  11291. property w : TBits_32 read getw write setw;
  11292. end;
  11293. TPORTF_TRISG = record
  11294. private
  11295. function getTRISG2 : TBits_1; inline;
  11296. function getTRISG3 : TBits_1; inline;
  11297. function getTRISG6 : TBits_1; inline;
  11298. function getTRISG7 : TBits_1; inline;
  11299. function getTRISG8 : TBits_1; inline;
  11300. function getTRISG9 : TBits_1; inline;
  11301. function getw : TBits_32; inline;
  11302. procedure setTRISG2(thebits : TBits_1); inline;
  11303. procedure setTRISG3(thebits : TBits_1); inline;
  11304. procedure setTRISG6(thebits : TBits_1); inline;
  11305. procedure setTRISG7(thebits : TBits_1); inline;
  11306. procedure setTRISG8(thebits : TBits_1); inline;
  11307. procedure setTRISG9(thebits : TBits_1); inline;
  11308. procedure setw(thebits : TBits_32); inline;
  11309. public
  11310. procedure clearTRISG2; inline;
  11311. procedure clearTRISG3; inline;
  11312. procedure clearTRISG6; inline;
  11313. procedure clearTRISG7; inline;
  11314. procedure clearTRISG8; inline;
  11315. procedure clearTRISG9; inline;
  11316. procedure setTRISG2; inline;
  11317. procedure setTRISG3; inline;
  11318. procedure setTRISG6; inline;
  11319. procedure setTRISG7; inline;
  11320. procedure setTRISG8; inline;
  11321. procedure setTRISG9; inline;
  11322. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  11323. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  11324. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  11325. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  11326. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  11327. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  11328. property w : TBits_32 read getw write setw;
  11329. end;
  11330. type
  11331. TPORTFRegisters = record
  11332. PORTFbits : TPORTF_PORTF;
  11333. PORTF : longWord;
  11334. PORTFCLR : longWord;
  11335. PORTFSET : longWord;
  11336. PORTFINV : longWord;
  11337. LATFbits : TPORTF_LATF;
  11338. LATF : longWord;
  11339. LATFCLR : longWord;
  11340. LATFSET : longWord;
  11341. LATFINV : longWord;
  11342. ODCFbits : TPORTF_ODCF;
  11343. ODCF : longWord;
  11344. ODCFCLR : longWord;
  11345. ODCFSET : longWord;
  11346. ODCFINV : longWord;
  11347. CNPUFbits : TPORTF_CNPUF;
  11348. CNPUF : longWord;
  11349. CNPUFCLR : longWord;
  11350. CNPUFSET : longWord;
  11351. CNPUFINV : longWord;
  11352. CNPDFbits : TPORTF_CNPDF;
  11353. CNPDF : longWord;
  11354. CNPDFCLR : longWord;
  11355. CNPDFSET : longWord;
  11356. CNPDFINV : longWord;
  11357. CNCONFbits : TPORTF_CNCONF;
  11358. CNCONF : longWord;
  11359. CNCONFCLR : longWord;
  11360. CNCONFSET : longWord;
  11361. CNCONFINV : longWord;
  11362. CNENFbits : TPORTF_CNENF;
  11363. CNENF : longWord;
  11364. CNENFCLR : longWord;
  11365. CNENFSET : longWord;
  11366. CNENFINV : longWord;
  11367. CNSTATFbits : TPORTF_CNSTATF;
  11368. CNSTATF : longWord;
  11369. CNSTATFCLR : longWord;
  11370. CNSTATFSET : longWord;
  11371. CNSTATFINV : longWord;
  11372. ANSELGbits : TPORTF_ANSELG;
  11373. ANSELG : longWord;
  11374. ANSELGCLR : longWord;
  11375. ANSELGSET : longWord;
  11376. ANSELGINV : longWord;
  11377. TRISGbits : TPORTF_TRISG;
  11378. TRISG : longWord;
  11379. TRISGCLR : longWord;
  11380. TRISGSET : longWord;
  11381. TRISGINV : longWord;
  11382. end;
  11383. TPORTG_PORTG = record
  11384. private
  11385. function getRG2 : TBits_1; inline;
  11386. function getRG3 : TBits_1; inline;
  11387. function getRG6 : TBits_1; inline;
  11388. function getRG7 : TBits_1; inline;
  11389. function getRG8 : TBits_1; inline;
  11390. function getRG9 : TBits_1; inline;
  11391. function getw : TBits_32; inline;
  11392. procedure setRG2(thebits : TBits_1); inline;
  11393. procedure setRG3(thebits : TBits_1); inline;
  11394. procedure setRG6(thebits : TBits_1); inline;
  11395. procedure setRG7(thebits : TBits_1); inline;
  11396. procedure setRG8(thebits : TBits_1); inline;
  11397. procedure setRG9(thebits : TBits_1); inline;
  11398. procedure setw(thebits : TBits_32); inline;
  11399. public
  11400. procedure clearRG2; inline;
  11401. procedure clearRG3; inline;
  11402. procedure clearRG6; inline;
  11403. procedure clearRG7; inline;
  11404. procedure clearRG8; inline;
  11405. procedure clearRG9; inline;
  11406. procedure setRG2; inline;
  11407. procedure setRG3; inline;
  11408. procedure setRG6; inline;
  11409. procedure setRG7; inline;
  11410. procedure setRG8; inline;
  11411. procedure setRG9; inline;
  11412. property RG2 : TBits_1 read getRG2 write setRG2;
  11413. property RG3 : TBits_1 read getRG3 write setRG3;
  11414. property RG6 : TBits_1 read getRG6 write setRG6;
  11415. property RG7 : TBits_1 read getRG7 write setRG7;
  11416. property RG8 : TBits_1 read getRG8 write setRG8;
  11417. property RG9 : TBits_1 read getRG9 write setRG9;
  11418. property w : TBits_32 read getw write setw;
  11419. end;
  11420. TPortG_bits=(RG2=2,RG3=3,RG6=6,RG7=7,RG8=8,RG9=9);
  11421. TPortG_bitset = set of TPortG_bits;
  11422. TPORTG_LATG = record
  11423. private
  11424. function getLATG2 : TBits_1; inline;
  11425. function getLATG3 : TBits_1; inline;
  11426. function getLATG6 : TBits_1; inline;
  11427. function getLATG7 : TBits_1; inline;
  11428. function getLATG8 : TBits_1; inline;
  11429. function getLATG9 : TBits_1; inline;
  11430. function getw : TBits_32; inline;
  11431. procedure setLATG2(thebits : TBits_1); inline;
  11432. procedure setLATG3(thebits : TBits_1); inline;
  11433. procedure setLATG6(thebits : TBits_1); inline;
  11434. procedure setLATG7(thebits : TBits_1); inline;
  11435. procedure setLATG8(thebits : TBits_1); inline;
  11436. procedure setLATG9(thebits : TBits_1); inline;
  11437. procedure setw(thebits : TBits_32); inline;
  11438. public
  11439. procedure clearLATG2; inline;
  11440. procedure clearLATG3; inline;
  11441. procedure clearLATG6; inline;
  11442. procedure clearLATG7; inline;
  11443. procedure clearLATG8; inline;
  11444. procedure clearLATG9; inline;
  11445. procedure setLATG2; inline;
  11446. procedure setLATG3; inline;
  11447. procedure setLATG6; inline;
  11448. procedure setLATG7; inline;
  11449. procedure setLATG8; inline;
  11450. procedure setLATG9; inline;
  11451. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  11452. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  11453. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  11454. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  11455. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  11456. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  11457. property w : TBits_32 read getw write setw;
  11458. end;
  11459. TPORTG_ODCG = record
  11460. private
  11461. function getODCG2 : TBits_1; inline;
  11462. function getODCG3 : TBits_1; inline;
  11463. function getODCG6 : TBits_1; inline;
  11464. function getODCG7 : TBits_1; inline;
  11465. function getODCG8 : TBits_1; inline;
  11466. function getODCG9 : TBits_1; inline;
  11467. function getw : TBits_32; inline;
  11468. procedure setODCG2(thebits : TBits_1); inline;
  11469. procedure setODCG3(thebits : TBits_1); inline;
  11470. procedure setODCG6(thebits : TBits_1); inline;
  11471. procedure setODCG7(thebits : TBits_1); inline;
  11472. procedure setODCG8(thebits : TBits_1); inline;
  11473. procedure setODCG9(thebits : TBits_1); inline;
  11474. procedure setw(thebits : TBits_32); inline;
  11475. public
  11476. procedure clearODCG2; inline;
  11477. procedure clearODCG3; inline;
  11478. procedure clearODCG6; inline;
  11479. procedure clearODCG7; inline;
  11480. procedure clearODCG8; inline;
  11481. procedure clearODCG9; inline;
  11482. procedure setODCG2; inline;
  11483. procedure setODCG3; inline;
  11484. procedure setODCG6; inline;
  11485. procedure setODCG7; inline;
  11486. procedure setODCG8; inline;
  11487. procedure setODCG9; inline;
  11488. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  11489. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  11490. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  11491. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  11492. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  11493. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  11494. property w : TBits_32 read getw write setw;
  11495. end;
  11496. TPORTG_CNPUG = record
  11497. private
  11498. function getCNPUG2 : TBits_1; inline;
  11499. function getCNPUG3 : TBits_1; inline;
  11500. function getCNPUG6 : TBits_1; inline;
  11501. function getCNPUG7 : TBits_1; inline;
  11502. function getCNPUG8 : TBits_1; inline;
  11503. function getCNPUG9 : TBits_1; inline;
  11504. function getw : TBits_32; inline;
  11505. procedure setCNPUG2(thebits : TBits_1); inline;
  11506. procedure setCNPUG3(thebits : TBits_1); inline;
  11507. procedure setCNPUG6(thebits : TBits_1); inline;
  11508. procedure setCNPUG7(thebits : TBits_1); inline;
  11509. procedure setCNPUG8(thebits : TBits_1); inline;
  11510. procedure setCNPUG9(thebits : TBits_1); inline;
  11511. procedure setw(thebits : TBits_32); inline;
  11512. public
  11513. procedure clearCNPUG2; inline;
  11514. procedure clearCNPUG3; inline;
  11515. procedure clearCNPUG6; inline;
  11516. procedure clearCNPUG7; inline;
  11517. procedure clearCNPUG8; inline;
  11518. procedure clearCNPUG9; inline;
  11519. procedure setCNPUG2; inline;
  11520. procedure setCNPUG3; inline;
  11521. procedure setCNPUG6; inline;
  11522. procedure setCNPUG7; inline;
  11523. procedure setCNPUG8; inline;
  11524. procedure setCNPUG9; inline;
  11525. property CNPUG2 : TBits_1 read getCNPUG2 write setCNPUG2;
  11526. property CNPUG3 : TBits_1 read getCNPUG3 write setCNPUG3;
  11527. property CNPUG6 : TBits_1 read getCNPUG6 write setCNPUG6;
  11528. property CNPUG7 : TBits_1 read getCNPUG7 write setCNPUG7;
  11529. property CNPUG8 : TBits_1 read getCNPUG8 write setCNPUG8;
  11530. property CNPUG9 : TBits_1 read getCNPUG9 write setCNPUG9;
  11531. property w : TBits_32 read getw write setw;
  11532. end;
  11533. TPORTG_CNPDG = record
  11534. private
  11535. function getCNPDG2 : TBits_1; inline;
  11536. function getCNPDG3 : TBits_1; inline;
  11537. function getCNPDG6 : TBits_1; inline;
  11538. function getCNPDG7 : TBits_1; inline;
  11539. function getCNPDG8 : TBits_1; inline;
  11540. function getCNPDG9 : TBits_1; inline;
  11541. function getw : TBits_32; inline;
  11542. procedure setCNPDG2(thebits : TBits_1); inline;
  11543. procedure setCNPDG3(thebits : TBits_1); inline;
  11544. procedure setCNPDG6(thebits : TBits_1); inline;
  11545. procedure setCNPDG7(thebits : TBits_1); inline;
  11546. procedure setCNPDG8(thebits : TBits_1); inline;
  11547. procedure setCNPDG9(thebits : TBits_1); inline;
  11548. procedure setw(thebits : TBits_32); inline;
  11549. public
  11550. procedure clearCNPDG2; inline;
  11551. procedure clearCNPDG3; inline;
  11552. procedure clearCNPDG6; inline;
  11553. procedure clearCNPDG7; inline;
  11554. procedure clearCNPDG8; inline;
  11555. procedure clearCNPDG9; inline;
  11556. procedure setCNPDG2; inline;
  11557. procedure setCNPDG3; inline;
  11558. procedure setCNPDG6; inline;
  11559. procedure setCNPDG7; inline;
  11560. procedure setCNPDG8; inline;
  11561. procedure setCNPDG9; inline;
  11562. property CNPDG2 : TBits_1 read getCNPDG2 write setCNPDG2;
  11563. property CNPDG3 : TBits_1 read getCNPDG3 write setCNPDG3;
  11564. property CNPDG6 : TBits_1 read getCNPDG6 write setCNPDG6;
  11565. property CNPDG7 : TBits_1 read getCNPDG7 write setCNPDG7;
  11566. property CNPDG8 : TBits_1 read getCNPDG8 write setCNPDG8;
  11567. property CNPDG9 : TBits_1 read getCNPDG9 write setCNPDG9;
  11568. property w : TBits_32 read getw write setw;
  11569. end;
  11570. TPORTG_CNCONG = record
  11571. private
  11572. function getON : TBits_1; inline;
  11573. function getSIDL : TBits_1; inline;
  11574. function getw : TBits_32; inline;
  11575. procedure setON(thebits : TBits_1); inline;
  11576. procedure setSIDL(thebits : TBits_1); inline;
  11577. procedure setw(thebits : TBits_32); inline;
  11578. public
  11579. procedure clearON; inline;
  11580. procedure clearSIDL; inline;
  11581. procedure setON; inline;
  11582. procedure setSIDL; inline;
  11583. property ON : TBits_1 read getON write setON;
  11584. property SIDL : TBits_1 read getSIDL write setSIDL;
  11585. property w : TBits_32 read getw write setw;
  11586. end;
  11587. TPORTG_CNENG = record
  11588. private
  11589. function getCNIEG2 : TBits_1; inline;
  11590. function getCNIEG3 : TBits_1; inline;
  11591. function getCNIEG6 : TBits_1; inline;
  11592. function getCNIEG7 : TBits_1; inline;
  11593. function getCNIEG8 : TBits_1; inline;
  11594. function getCNIEG9 : TBits_1; inline;
  11595. function getw : TBits_32; inline;
  11596. procedure setCNIEG2(thebits : TBits_1); inline;
  11597. procedure setCNIEG3(thebits : TBits_1); inline;
  11598. procedure setCNIEG6(thebits : TBits_1); inline;
  11599. procedure setCNIEG7(thebits : TBits_1); inline;
  11600. procedure setCNIEG8(thebits : TBits_1); inline;
  11601. procedure setCNIEG9(thebits : TBits_1); inline;
  11602. procedure setw(thebits : TBits_32); inline;
  11603. public
  11604. procedure clearCNIEG2; inline;
  11605. procedure clearCNIEG3; inline;
  11606. procedure clearCNIEG6; inline;
  11607. procedure clearCNIEG7; inline;
  11608. procedure clearCNIEG8; inline;
  11609. procedure clearCNIEG9; inline;
  11610. procedure setCNIEG2; inline;
  11611. procedure setCNIEG3; inline;
  11612. procedure setCNIEG6; inline;
  11613. procedure setCNIEG7; inline;
  11614. procedure setCNIEG8; inline;
  11615. procedure setCNIEG9; inline;
  11616. property CNIEG2 : TBits_1 read getCNIEG2 write setCNIEG2;
  11617. property CNIEG3 : TBits_1 read getCNIEG3 write setCNIEG3;
  11618. property CNIEG6 : TBits_1 read getCNIEG6 write setCNIEG6;
  11619. property CNIEG7 : TBits_1 read getCNIEG7 write setCNIEG7;
  11620. property CNIEG8 : TBits_1 read getCNIEG8 write setCNIEG8;
  11621. property CNIEG9 : TBits_1 read getCNIEG9 write setCNIEG9;
  11622. property w : TBits_32 read getw write setw;
  11623. end;
  11624. TPORTG_CNSTATG = record
  11625. private
  11626. function getCNSTATG2 : TBits_1; inline;
  11627. function getCNSTATG3 : TBits_1; inline;
  11628. function getCNSTATG6 : TBits_1; inline;
  11629. function getCNSTATG7 : TBits_1; inline;
  11630. function getCNSTATG8 : TBits_1; inline;
  11631. function getCNSTATG9 : TBits_1; inline;
  11632. function getw : TBits_32; inline;
  11633. procedure setCNSTATG2(thebits : TBits_1); inline;
  11634. procedure setCNSTATG3(thebits : TBits_1); inline;
  11635. procedure setCNSTATG6(thebits : TBits_1); inline;
  11636. procedure setCNSTATG7(thebits : TBits_1); inline;
  11637. procedure setCNSTATG8(thebits : TBits_1); inline;
  11638. procedure setCNSTATG9(thebits : TBits_1); inline;
  11639. procedure setw(thebits : TBits_32); inline;
  11640. public
  11641. procedure clearCNSTATG2; inline;
  11642. procedure clearCNSTATG3; inline;
  11643. procedure clearCNSTATG6; inline;
  11644. procedure clearCNSTATG7; inline;
  11645. procedure clearCNSTATG8; inline;
  11646. procedure clearCNSTATG9; inline;
  11647. procedure setCNSTATG2; inline;
  11648. procedure setCNSTATG3; inline;
  11649. procedure setCNSTATG6; inline;
  11650. procedure setCNSTATG7; inline;
  11651. procedure setCNSTATG8; inline;
  11652. procedure setCNSTATG9; inline;
  11653. property CNSTATG2 : TBits_1 read getCNSTATG2 write setCNSTATG2;
  11654. property CNSTATG3 : TBits_1 read getCNSTATG3 write setCNSTATG3;
  11655. property CNSTATG6 : TBits_1 read getCNSTATG6 write setCNSTATG6;
  11656. property CNSTATG7 : TBits_1 read getCNSTATG7 write setCNSTATG7;
  11657. property CNSTATG8 : TBits_1 read getCNSTATG8 write setCNSTATG8;
  11658. property CNSTATG9 : TBits_1 read getCNSTATG9 write setCNSTATG9;
  11659. property w : TBits_32 read getw write setw;
  11660. end;
  11661. type
  11662. TPORTGRegisters = record
  11663. PORTGbits : TPORTG_PORTG;
  11664. PORTG : longWord;
  11665. PORTGCLR : longWord;
  11666. PORTGSET : longWord;
  11667. PORTGINV : longWord;
  11668. LATGbits : TPORTG_LATG;
  11669. LATG : longWord;
  11670. LATGCLR : longWord;
  11671. LATGSET : longWord;
  11672. LATGINV : longWord;
  11673. ODCGbits : TPORTG_ODCG;
  11674. ODCG : longWord;
  11675. ODCGCLR : longWord;
  11676. ODCGSET : longWord;
  11677. ODCGINV : longWord;
  11678. CNPUGbits : TPORTG_CNPUG;
  11679. CNPUG : longWord;
  11680. CNPUGCLR : longWord;
  11681. CNPUGSET : longWord;
  11682. CNPUGINV : longWord;
  11683. CNPDGbits : TPORTG_CNPDG;
  11684. CNPDG : longWord;
  11685. CNPDGCLR : longWord;
  11686. CNPDGSET : longWord;
  11687. CNPDGINV : longWord;
  11688. CNCONGbits : TPORTG_CNCONG;
  11689. CNCONG : longWord;
  11690. CNCONGCLR : longWord;
  11691. CNCONGSET : longWord;
  11692. CNCONGINV : longWord;
  11693. CNENGbits : TPORTG_CNENG;
  11694. CNENG : longWord;
  11695. CNENGCLR : longWord;
  11696. CNENGSET : longWord;
  11697. CNENGINV : longWord;
  11698. CNSTATGbits : TPORTG_CNSTATG;
  11699. CNSTATG : longWord;
  11700. CNSTATGCLR : longWord;
  11701. CNSTATGSET : longWord;
  11702. CNSTATGINV : longWord;
  11703. end;
  11704. TDEVCFG_DEVCFG3 = record
  11705. private
  11706. function getFSRSSEL : TBits_3; inline;
  11707. function getIOL1WAY : TBits_1; inline;
  11708. function getPMDL1WAY : TBits_1; inline;
  11709. function getUSERID : TBits_16; inline;
  11710. function getw : TBits_32; inline;
  11711. procedure setFSRSSEL(thebits : TBits_3); inline;
  11712. procedure setIOL1WAY(thebits : TBits_1); inline;
  11713. procedure setPMDL1WAY(thebits : TBits_1); inline;
  11714. procedure setUSERID(thebits : TBits_16); inline;
  11715. procedure setw(thebits : TBits_32); inline;
  11716. public
  11717. procedure clearIOL1WAY; inline;
  11718. procedure clearPMDL1WAY; inline;
  11719. procedure setIOL1WAY; inline;
  11720. procedure setPMDL1WAY; inline;
  11721. property FSRSSEL : TBits_3 read getFSRSSEL write setFSRSSEL;
  11722. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  11723. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  11724. property USERID : TBits_16 read getUSERID write setUSERID;
  11725. property w : TBits_32 read getw write setw;
  11726. end;
  11727. TDEVCFG_DEVCFG2 = record
  11728. private
  11729. function getFPLLIDIV : TBits_3; inline;
  11730. function getFPLLMUL : TBits_3; inline;
  11731. function getFPLLODIV : TBits_3; inline;
  11732. function getw : TBits_32; inline;
  11733. procedure setFPLLIDIV(thebits : TBits_3); inline;
  11734. procedure setFPLLMUL(thebits : TBits_3); inline;
  11735. procedure setFPLLODIV(thebits : TBits_3); inline;
  11736. procedure setw(thebits : TBits_32); inline;
  11737. public
  11738. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  11739. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  11740. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  11741. property w : TBits_32 read getw write setw;
  11742. end;
  11743. TDEVCFG_DEVCFG1 = record
  11744. private
  11745. function getFCKSM : TBits_2; inline;
  11746. function getFNOSC : TBits_3; inline;
  11747. function getFPBDIV : TBits_2; inline;
  11748. function getFSOSCEN : TBits_1; inline;
  11749. function getFWDTEN : TBits_1; inline;
  11750. function getFWDTWINSZ : TBits_2; inline;
  11751. function getIESO : TBits_1; inline;
  11752. function getOSCIOFNC : TBits_1; inline;
  11753. function getPOSCMOD : TBits_2; inline;
  11754. function getWDTPS : TBits_5; inline;
  11755. function getWINDIS : TBits_1; inline;
  11756. function getw : TBits_32; inline;
  11757. procedure setFCKSM(thebits : TBits_2); inline;
  11758. procedure setFNOSC(thebits : TBits_3); inline;
  11759. procedure setFPBDIV(thebits : TBits_2); inline;
  11760. procedure setFSOSCEN(thebits : TBits_1); inline;
  11761. procedure setFWDTEN(thebits : TBits_1); inline;
  11762. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  11763. procedure setIESO(thebits : TBits_1); inline;
  11764. procedure setOSCIOFNC(thebits : TBits_1); inline;
  11765. procedure setPOSCMOD(thebits : TBits_2); inline;
  11766. procedure setWDTPS(thebits : TBits_5); inline;
  11767. procedure setWINDIS(thebits : TBits_1); inline;
  11768. procedure setw(thebits : TBits_32); inline;
  11769. public
  11770. procedure clearFSOSCEN; inline;
  11771. procedure clearFWDTEN; inline;
  11772. procedure clearIESO; inline;
  11773. procedure clearOSCIOFNC; inline;
  11774. procedure clearWINDIS; inline;
  11775. procedure setFSOSCEN; inline;
  11776. procedure setFWDTEN; inline;
  11777. procedure setIESO; inline;
  11778. procedure setOSCIOFNC; inline;
  11779. procedure setWINDIS; inline;
  11780. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  11781. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  11782. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  11783. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  11784. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  11785. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  11786. property IESO : TBits_1 read getIESO write setIESO;
  11787. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  11788. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  11789. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  11790. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  11791. property w : TBits_32 read getw write setw;
  11792. end;
  11793. TDEVCFG_DEVCFG0 = record
  11794. private
  11795. function getBWP : TBits_1; inline;
  11796. function getCP : TBits_1; inline;
  11797. function getDEBUG : TBits_2; inline;
  11798. function getFDEBUG : TBits_2; inline;
  11799. function getICESEL : TBits_2; inline;
  11800. function getJTAGEN : TBits_1; inline;
  11801. function getPWP : TBits_8; inline;
  11802. function getw : TBits_32; inline;
  11803. procedure setBWP(thebits : TBits_1); inline;
  11804. procedure setCP(thebits : TBits_1); inline;
  11805. procedure setDEBUG(thebits : TBits_2); inline;
  11806. procedure setFDEBUG(thebits : TBits_2); inline;
  11807. procedure setICESEL(thebits : TBits_2); inline;
  11808. procedure setJTAGEN(thebits : TBits_1); inline;
  11809. procedure setPWP(thebits : TBits_8); inline;
  11810. procedure setw(thebits : TBits_32); inline;
  11811. public
  11812. procedure clearBWP; inline;
  11813. procedure clearCP; inline;
  11814. procedure clearJTAGEN; inline;
  11815. procedure setBWP; inline;
  11816. procedure setCP; inline;
  11817. procedure setJTAGEN; inline;
  11818. property BWP : TBits_1 read getBWP write setBWP;
  11819. property CP : TBits_1 read getCP write setCP;
  11820. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  11821. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  11822. property ICESEL : TBits_2 read getICESEL write setICESEL;
  11823. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  11824. property PWP : TBits_8 read getPWP write setPWP;
  11825. property w : TBits_32 read getw write setw;
  11826. end;
  11827. const
  11828. _CORE_TIMER_IRQ = 0;
  11829. _CORE_SOFTWARE_0_IRQ = 1;
  11830. _CORE_SOFTWARE_1_IRQ = 2;
  11831. _EXTERNAL_0_IRQ = 3;
  11832. _TIMER_1_IRQ = 4;
  11833. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  11834. _INPUT_CAPTURE_1_IRQ = 6;
  11835. _OUTPUT_COMPARE_1_IRQ = 7;
  11836. _EXTERNAL_1_IRQ = 8;
  11837. _TIMER_2_IRQ = 9;
  11838. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  11839. _INPUT_CAPTURE_2_IRQ = 11;
  11840. _OUTPUT_COMPARE_2_IRQ = 12;
  11841. _EXTERNAL_2_IRQ = 13;
  11842. _TIMER_3_IRQ = 14;
  11843. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  11844. _INPUT_CAPTURE_3_IRQ = 16;
  11845. _OUTPUT_COMPARE_3_IRQ = 17;
  11846. _EXTERNAL_3_IRQ = 18;
  11847. _TIMER_4_IRQ = 19;
  11848. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  11849. _INPUT_CAPTURE_4_IRQ = 21;
  11850. _OUTPUT_COMPARE_4_IRQ = 22;
  11851. _EXTERNAL_4_IRQ = 23;
  11852. _TIMER_5_IRQ = 24;
  11853. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  11854. _INPUT_CAPTURE_5_IRQ = 26;
  11855. _OUTPUT_COMPARE_5_IRQ = 27;
  11856. _ADC_IRQ = 28;
  11857. _FAIL_SAFE_MONITOR_IRQ = 29;
  11858. _RTCC_IRQ = 30;
  11859. _FLASH_CONTROL_IRQ = 31;
  11860. _COMPARATOR_1_IRQ = 32;
  11861. _COMPARATOR_2_IRQ = 33;
  11862. _SPI1_ERR_IRQ = 35;
  11863. _SPI1_RX_IRQ = 36;
  11864. _SPI1_TX_IRQ = 37;
  11865. _UART1_ERR_IRQ = 38;
  11866. _UART1_RX_IRQ = 39;
  11867. _UART1_TX_IRQ = 40;
  11868. _I2C1_BUS_IRQ = 41;
  11869. _I2C1_SLAVE_IRQ = 42;
  11870. _I2C1_MASTER_IRQ = 43;
  11871. _CHANGE_NOTICE_A_IRQ = 44;
  11872. _CHANGE_NOTICE_B_IRQ = 45;
  11873. _CHANGE_NOTICE_C_IRQ = 46;
  11874. _CHANGE_NOTICE_D_IRQ = 47;
  11875. _CHANGE_NOTICE_E_IRQ = 48;
  11876. _CHANGE_NOTICE_F_IRQ = 49;
  11877. _CHANGE_NOTICE_G_IRQ = 50;
  11878. _PMP_IRQ = 51;
  11879. _PMP_ERROR_IRQ = 52;
  11880. _SPI2_ERR_IRQ = 53;
  11881. _SPI2_RX_IRQ = 54;
  11882. _SPI2_TX_IRQ = 55;
  11883. _UART2_ERR_IRQ = 56;
  11884. _UART2_RX_IRQ = 57;
  11885. _UART2_TX_IRQ = 58;
  11886. _I2C2_BUS_IRQ = 59;
  11887. _I2C2_SLAVE_IRQ = 60;
  11888. _I2C2_MASTER_IRQ = 61;
  11889. _UART3_ERR_IRQ = 62;
  11890. _UART3_RX_IRQ = 63;
  11891. _UART3_TX_IRQ = 64;
  11892. _UART4_ERR_IRQ = 65;
  11893. _UART4_RX_IRQ = 66;
  11894. _UART4_TX_IRQ = 67;
  11895. _CTMU_IRQ = 71;
  11896. _DMA0_IRQ = 72;
  11897. _DMA1_IRQ = 73;
  11898. _DMA2_IRQ = 74;
  11899. _DMA3_IRQ = 75;
  11900. const
  11901. ADC10_BASE_ADDRESS = $BF809000;
  11902. var
  11903. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  11904. const
  11905. BMX_BASE_ADDRESS = $BF882000;
  11906. var
  11907. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  11908. const
  11909. CFG_BASE_ADDRESS = $BF80F200;
  11910. var
  11911. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  11912. const
  11913. CMP_BASE_ADDRESS = $BF80A000;
  11914. var
  11915. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  11916. const
  11917. CVR_BASE_ADDRESS = $BF809800;
  11918. var
  11919. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  11920. const
  11921. DMAC_BASE_ADDRESS = $BF883000;
  11922. var
  11923. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  11924. const
  11925. DMAC0_BASE_ADDRESS = $BF883060;
  11926. var
  11927. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  11928. const
  11929. DMAC1_BASE_ADDRESS = $BF883120;
  11930. var
  11931. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  11932. const
  11933. DMAC2_BASE_ADDRESS = $BF8831E0;
  11934. var
  11935. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  11936. const
  11937. DMAC3_BASE_ADDRESS = $BF8832A0;
  11938. var
  11939. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  11940. const
  11941. I2C1_BASE_ADDRESS = $BF805000;
  11942. var
  11943. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  11944. const
  11945. I2C2_BASE_ADDRESS = $BF805100;
  11946. var
  11947. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  11948. const
  11949. ICAP1_BASE_ADDRESS = $BF802000;
  11950. var
  11951. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  11952. const
  11953. ICAP2_BASE_ADDRESS = $BF802200;
  11954. var
  11955. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  11956. const
  11957. ICAP3_BASE_ADDRESS = $BF802400;
  11958. var
  11959. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  11960. const
  11961. ICAP4_BASE_ADDRESS = $BF802600;
  11962. var
  11963. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  11964. const
  11965. ICAP5_BASE_ADDRESS = $BF802800;
  11966. var
  11967. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  11968. const
  11969. INT_BASE_ADDRESS = $BF881000;
  11970. var
  11971. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  11972. const
  11973. NVM_BASE_ADDRESS = $BF80F400;
  11974. var
  11975. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  11976. const
  11977. OCMP1_BASE_ADDRESS = $BF803000;
  11978. var
  11979. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  11980. const
  11981. OCMP2_BASE_ADDRESS = $BF803200;
  11982. var
  11983. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  11984. const
  11985. OCMP3_BASE_ADDRESS = $BF803400;
  11986. var
  11987. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  11988. const
  11989. OCMP4_BASE_ADDRESS = $BF803600;
  11990. var
  11991. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  11992. const
  11993. OCMP5_BASE_ADDRESS = $BF803800;
  11994. var
  11995. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  11996. const
  11997. OSC_BASE_ADDRESS = $BF80F000;
  11998. var
  11999. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  12000. const
  12001. PCACHE_BASE_ADDRESS = $BF884000;
  12002. var
  12003. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  12004. const
  12005. PMP_BASE_ADDRESS = $BF807000;
  12006. var
  12007. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  12008. const
  12009. PORTB_BASE_ADDRESS = $BF886120;
  12010. var
  12011. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  12012. const
  12013. PORTC_BASE_ADDRESS = $BF886220;
  12014. var
  12015. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  12016. const
  12017. PORTD_BASE_ADDRESS = $BF886320;
  12018. var
  12019. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  12020. const
  12021. PORTE_BASE_ADDRESS = $BF886420;
  12022. var
  12023. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  12024. const
  12025. PORTF_BASE_ADDRESS = $BF886520;
  12026. var
  12027. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  12028. const
  12029. PORTG_BASE_ADDRESS = $BF886620;
  12030. var
  12031. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  12032. const
  12033. RCON_BASE_ADDRESS = $BF80F600;
  12034. var
  12035. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  12036. const
  12037. RTCC_BASE_ADDRESS = $BF800200;
  12038. var
  12039. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  12040. const
  12041. SPI1_BASE_ADDRESS = $BF805800;
  12042. var
  12043. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  12044. const
  12045. SPI2_BASE_ADDRESS = $BF805A00;
  12046. var
  12047. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  12048. const
  12049. TMR1_BASE_ADDRESS = $BF800600;
  12050. var
  12051. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  12052. const
  12053. TMR2_BASE_ADDRESS = $BF800800;
  12054. var
  12055. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  12056. const
  12057. TMR3_BASE_ADDRESS = $BF800A00;
  12058. var
  12059. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  12060. const
  12061. TMR4_BASE_ADDRESS = $BF800C00;
  12062. var
  12063. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  12064. const
  12065. TMR5_BASE_ADDRESS = $BF800E00;
  12066. var
  12067. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  12068. const
  12069. UART1_BASE_ADDRESS = $BF806000;
  12070. var
  12071. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  12072. const
  12073. UART2_BASE_ADDRESS = $BF806200;
  12074. var
  12075. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  12076. const
  12077. UART3_BASE_ADDRESS = $BF806400;
  12078. var
  12079. UART3 : TUART3Registers absolute UART3_BASE_ADDRESS;
  12080. const
  12081. UART4_BASE_ADDRESS = $BF806600;
  12082. var
  12083. UART4 : TUART4Registers absolute UART4_BASE_ADDRESS;
  12084. const
  12085. WDT_BASE_ADDRESS = $BF800000;
  12086. var
  12087. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  12088. implementation
  12089. type
  12090. TDefRegMap = record
  12091. val : longWord;
  12092. clr : longWord;
  12093. &set : longWord;
  12094. inv : longWord;
  12095. end;
  12096. pTDefRegMap = ^TDefRegMap;
  12097. procedure TWDT_WDTCON.setWDTCLR; inline;
  12098. begin
  12099. pTDefRegMap(@Self)^.&set := $00000001;
  12100. end;
  12101. procedure TWDT_WDTCON.clearWDTCLR; inline;
  12102. begin
  12103. pTDefRegMap(@Self)^.clr := $00000001;
  12104. end;
  12105. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  12106. begin
  12107. if thebits = 0 then
  12108. pTDefRegMap(@Self)^.clr := $00000001
  12109. else
  12110. pTDefRegMap(@Self)^.&set := $00000001;
  12111. end;
  12112. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  12113. begin
  12114. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12115. end;
  12116. procedure TWDT_WDTCON.setWDTWINEN; inline;
  12117. begin
  12118. pTDefRegMap(@Self)^.&set := $00000002;
  12119. end;
  12120. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  12121. begin
  12122. pTDefRegMap(@Self)^.clr := $00000002;
  12123. end;
  12124. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  12125. begin
  12126. if thebits = 0 then
  12127. pTDefRegMap(@Self)^.clr := $00000002
  12128. else
  12129. pTDefRegMap(@Self)^.&set := $00000002;
  12130. end;
  12131. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  12132. begin
  12133. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12134. end;
  12135. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  12136. begin
  12137. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  12138. end;
  12139. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  12140. begin
  12141. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  12142. end;
  12143. procedure TWDT_WDTCON.setON; inline;
  12144. begin
  12145. pTDefRegMap(@Self)^.&set := $00008000;
  12146. end;
  12147. procedure TWDT_WDTCON.clearON; inline;
  12148. begin
  12149. pTDefRegMap(@Self)^.clr := $00008000;
  12150. end;
  12151. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  12152. begin
  12153. if thebits = 0 then
  12154. pTDefRegMap(@Self)^.clr := $00008000
  12155. else
  12156. pTDefRegMap(@Self)^.&set := $00008000;
  12157. end;
  12158. function TWDT_WDTCON.getON : TBits_1; inline;
  12159. begin
  12160. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12161. end;
  12162. procedure TWDT_WDTCON.setSWDTPS0; inline;
  12163. begin
  12164. pTDefRegMap(@Self)^.&set := $00000004;
  12165. end;
  12166. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  12167. begin
  12168. pTDefRegMap(@Self)^.clr := $00000004;
  12169. end;
  12170. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  12171. begin
  12172. if thebits = 0 then
  12173. pTDefRegMap(@Self)^.clr := $00000004
  12174. else
  12175. pTDefRegMap(@Self)^.&set := $00000004;
  12176. end;
  12177. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  12178. begin
  12179. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12180. end;
  12181. procedure TWDT_WDTCON.setSWDTPS1; inline;
  12182. begin
  12183. pTDefRegMap(@Self)^.&set := $00000008;
  12184. end;
  12185. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  12186. begin
  12187. pTDefRegMap(@Self)^.clr := $00000008;
  12188. end;
  12189. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  12190. begin
  12191. if thebits = 0 then
  12192. pTDefRegMap(@Self)^.clr := $00000008
  12193. else
  12194. pTDefRegMap(@Self)^.&set := $00000008;
  12195. end;
  12196. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  12197. begin
  12198. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12199. end;
  12200. procedure TWDT_WDTCON.setSWDTPS2; inline;
  12201. begin
  12202. pTDefRegMap(@Self)^.&set := $00000010;
  12203. end;
  12204. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  12205. begin
  12206. pTDefRegMap(@Self)^.clr := $00000010;
  12207. end;
  12208. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  12209. begin
  12210. if thebits = 0 then
  12211. pTDefRegMap(@Self)^.clr := $00000010
  12212. else
  12213. pTDefRegMap(@Self)^.&set := $00000010;
  12214. end;
  12215. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  12216. begin
  12217. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12218. end;
  12219. procedure TWDT_WDTCON.setSWDTPS3; inline;
  12220. begin
  12221. pTDefRegMap(@Self)^.&set := $00000020;
  12222. end;
  12223. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  12224. begin
  12225. pTDefRegMap(@Self)^.clr := $00000020;
  12226. end;
  12227. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  12228. begin
  12229. if thebits = 0 then
  12230. pTDefRegMap(@Self)^.clr := $00000020
  12231. else
  12232. pTDefRegMap(@Self)^.&set := $00000020;
  12233. end;
  12234. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  12235. begin
  12236. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12237. end;
  12238. procedure TWDT_WDTCON.setSWDTPS4; inline;
  12239. begin
  12240. pTDefRegMap(@Self)^.&set := $00000040;
  12241. end;
  12242. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  12243. begin
  12244. pTDefRegMap(@Self)^.clr := $00000040;
  12245. end;
  12246. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  12247. begin
  12248. if thebits = 0 then
  12249. pTDefRegMap(@Self)^.clr := $00000040
  12250. else
  12251. pTDefRegMap(@Self)^.&set := $00000040;
  12252. end;
  12253. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  12254. begin
  12255. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12256. end;
  12257. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  12258. begin
  12259. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  12260. end;
  12261. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  12262. begin
  12263. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  12264. end;
  12265. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  12266. begin
  12267. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  12268. end;
  12269. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  12270. begin
  12271. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  12272. end;
  12273. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  12274. begin
  12275. pTDefRegMap(@Self)^.val := thebits;
  12276. end;
  12277. function TWDT_WDTCON.getw : TBits_32; inline;
  12278. begin
  12279. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12280. end;
  12281. procedure TRTCC_RTCCON.setRTCOE; inline;
  12282. begin
  12283. pTDefRegMap(@Self)^.&set := $00000001;
  12284. end;
  12285. procedure TRTCC_RTCCON.clearRTCOE; inline;
  12286. begin
  12287. pTDefRegMap(@Self)^.clr := $00000001;
  12288. end;
  12289. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  12290. begin
  12291. if thebits = 0 then
  12292. pTDefRegMap(@Self)^.clr := $00000001
  12293. else
  12294. pTDefRegMap(@Self)^.&set := $00000001;
  12295. end;
  12296. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  12297. begin
  12298. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12299. end;
  12300. procedure TRTCC_RTCCON.setHALFSEC; inline;
  12301. begin
  12302. pTDefRegMap(@Self)^.&set := $00000002;
  12303. end;
  12304. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  12305. begin
  12306. pTDefRegMap(@Self)^.clr := $00000002;
  12307. end;
  12308. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  12309. begin
  12310. if thebits = 0 then
  12311. pTDefRegMap(@Self)^.clr := $00000002
  12312. else
  12313. pTDefRegMap(@Self)^.&set := $00000002;
  12314. end;
  12315. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  12316. begin
  12317. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12318. end;
  12319. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  12320. begin
  12321. pTDefRegMap(@Self)^.&set := $00000004;
  12322. end;
  12323. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  12324. begin
  12325. pTDefRegMap(@Self)^.clr := $00000004;
  12326. end;
  12327. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  12328. begin
  12329. if thebits = 0 then
  12330. pTDefRegMap(@Self)^.clr := $00000004
  12331. else
  12332. pTDefRegMap(@Self)^.&set := $00000004;
  12333. end;
  12334. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  12335. begin
  12336. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12337. end;
  12338. procedure TRTCC_RTCCON.setRTCWREN; inline;
  12339. begin
  12340. pTDefRegMap(@Self)^.&set := $00000008;
  12341. end;
  12342. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  12343. begin
  12344. pTDefRegMap(@Self)^.clr := $00000008;
  12345. end;
  12346. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  12347. begin
  12348. if thebits = 0 then
  12349. pTDefRegMap(@Self)^.clr := $00000008
  12350. else
  12351. pTDefRegMap(@Self)^.&set := $00000008;
  12352. end;
  12353. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  12354. begin
  12355. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12356. end;
  12357. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  12358. begin
  12359. pTDefRegMap(@Self)^.&set := $00000040;
  12360. end;
  12361. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  12362. begin
  12363. pTDefRegMap(@Self)^.clr := $00000040;
  12364. end;
  12365. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  12366. begin
  12367. if thebits = 0 then
  12368. pTDefRegMap(@Self)^.clr := $00000040
  12369. else
  12370. pTDefRegMap(@Self)^.&set := $00000040;
  12371. end;
  12372. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  12373. begin
  12374. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12375. end;
  12376. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  12377. begin
  12378. pTDefRegMap(@Self)^.&set := $00000080;
  12379. end;
  12380. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  12381. begin
  12382. pTDefRegMap(@Self)^.clr := $00000080;
  12383. end;
  12384. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  12385. begin
  12386. if thebits = 0 then
  12387. pTDefRegMap(@Self)^.clr := $00000080
  12388. else
  12389. pTDefRegMap(@Self)^.&set := $00000080;
  12390. end;
  12391. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  12392. begin
  12393. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12394. end;
  12395. procedure TRTCC_RTCCON.setSIDL; inline;
  12396. begin
  12397. pTDefRegMap(@Self)^.&set := $00002000;
  12398. end;
  12399. procedure TRTCC_RTCCON.clearSIDL; inline;
  12400. begin
  12401. pTDefRegMap(@Self)^.clr := $00002000;
  12402. end;
  12403. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  12404. begin
  12405. if thebits = 0 then
  12406. pTDefRegMap(@Self)^.clr := $00002000
  12407. else
  12408. pTDefRegMap(@Self)^.&set := $00002000;
  12409. end;
  12410. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  12411. begin
  12412. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12413. end;
  12414. procedure TRTCC_RTCCON.setON; inline;
  12415. begin
  12416. pTDefRegMap(@Self)^.&set := $00008000;
  12417. end;
  12418. procedure TRTCC_RTCCON.clearON; inline;
  12419. begin
  12420. pTDefRegMap(@Self)^.clr := $00008000;
  12421. end;
  12422. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  12423. begin
  12424. if thebits = 0 then
  12425. pTDefRegMap(@Self)^.clr := $00008000
  12426. else
  12427. pTDefRegMap(@Self)^.&set := $00008000;
  12428. end;
  12429. function TRTCC_RTCCON.getON : TBits_1; inline;
  12430. begin
  12431. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12432. end;
  12433. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  12434. begin
  12435. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  12436. end;
  12437. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  12438. begin
  12439. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  12440. end;
  12441. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  12442. begin
  12443. pTDefRegMap(@Self)^.val := thebits;
  12444. end;
  12445. function TRTCC_RTCCON.getw : TBits_32; inline;
  12446. begin
  12447. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12448. end;
  12449. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  12450. begin
  12451. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  12452. end;
  12453. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  12454. begin
  12455. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  12456. end;
  12457. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  12458. begin
  12459. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  12460. end;
  12461. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  12462. begin
  12463. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  12464. end;
  12465. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  12466. begin
  12467. pTDefRegMap(@Self)^.&set := $00001000;
  12468. end;
  12469. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  12470. begin
  12471. pTDefRegMap(@Self)^.clr := $00001000;
  12472. end;
  12473. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  12474. begin
  12475. if thebits = 0 then
  12476. pTDefRegMap(@Self)^.clr := $00001000
  12477. else
  12478. pTDefRegMap(@Self)^.&set := $00001000;
  12479. end;
  12480. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  12481. begin
  12482. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12483. end;
  12484. procedure TRTCC_RTCALRM.setPIV; inline;
  12485. begin
  12486. pTDefRegMap(@Self)^.&set := $00002000;
  12487. end;
  12488. procedure TRTCC_RTCALRM.clearPIV; inline;
  12489. begin
  12490. pTDefRegMap(@Self)^.clr := $00002000;
  12491. end;
  12492. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  12493. begin
  12494. if thebits = 0 then
  12495. pTDefRegMap(@Self)^.clr := $00002000
  12496. else
  12497. pTDefRegMap(@Self)^.&set := $00002000;
  12498. end;
  12499. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  12500. begin
  12501. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12502. end;
  12503. procedure TRTCC_RTCALRM.setCHIME; inline;
  12504. begin
  12505. pTDefRegMap(@Self)^.&set := $00004000;
  12506. end;
  12507. procedure TRTCC_RTCALRM.clearCHIME; inline;
  12508. begin
  12509. pTDefRegMap(@Self)^.clr := $00004000;
  12510. end;
  12511. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  12512. begin
  12513. if thebits = 0 then
  12514. pTDefRegMap(@Self)^.clr := $00004000
  12515. else
  12516. pTDefRegMap(@Self)^.&set := $00004000;
  12517. end;
  12518. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  12519. begin
  12520. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  12521. end;
  12522. procedure TRTCC_RTCALRM.setALRMEN; inline;
  12523. begin
  12524. pTDefRegMap(@Self)^.&set := $00008000;
  12525. end;
  12526. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  12527. begin
  12528. pTDefRegMap(@Self)^.clr := $00008000;
  12529. end;
  12530. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  12531. begin
  12532. if thebits = 0 then
  12533. pTDefRegMap(@Self)^.clr := $00008000
  12534. else
  12535. pTDefRegMap(@Self)^.&set := $00008000;
  12536. end;
  12537. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  12538. begin
  12539. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12540. end;
  12541. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  12542. begin
  12543. pTDefRegMap(@Self)^.val := thebits;
  12544. end;
  12545. function TRTCC_RTCALRM.getw : TBits_32; inline;
  12546. begin
  12547. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12548. end;
  12549. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  12550. begin
  12551. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  12552. end;
  12553. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  12554. begin
  12555. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  12556. end;
  12557. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  12558. begin
  12559. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  12560. end;
  12561. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  12562. begin
  12563. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  12564. end;
  12565. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  12566. begin
  12567. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  12568. end;
  12569. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  12570. begin
  12571. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  12572. end;
  12573. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  12574. begin
  12575. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  12576. end;
  12577. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  12578. begin
  12579. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  12580. end;
  12581. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  12582. begin
  12583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  12584. end;
  12585. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  12586. begin
  12587. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  12588. end;
  12589. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  12590. begin
  12591. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  12592. end;
  12593. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  12594. begin
  12595. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  12596. end;
  12597. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  12598. begin
  12599. pTDefRegMap(@Self)^.val := thebits;
  12600. end;
  12601. function TRTCC_RTCTIME.getw : TBits_32; inline;
  12602. begin
  12603. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12604. end;
  12605. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  12606. begin
  12607. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  12608. end;
  12609. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  12610. begin
  12611. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  12612. end;
  12613. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  12614. begin
  12615. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  12616. end;
  12617. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  12618. begin
  12619. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  12620. end;
  12621. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  12622. begin
  12623. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  12624. end;
  12625. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  12626. begin
  12627. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  12628. end;
  12629. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  12630. begin
  12631. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  12632. end;
  12633. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  12634. begin
  12635. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  12636. end;
  12637. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  12638. begin
  12639. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  12640. end;
  12641. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  12642. begin
  12643. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  12644. end;
  12645. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  12646. begin
  12647. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  12648. end;
  12649. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  12650. begin
  12651. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  12652. end;
  12653. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  12654. begin
  12655. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  12656. end;
  12657. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  12658. begin
  12659. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  12660. end;
  12661. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  12662. begin
  12663. pTDefRegMap(@Self)^.val := thebits;
  12664. end;
  12665. function TRTCC_RTCDATE.getw : TBits_32; inline;
  12666. begin
  12667. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12668. end;
  12669. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  12670. begin
  12671. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  12672. end;
  12673. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  12674. begin
  12675. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  12676. end;
  12677. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  12678. begin
  12679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  12680. end;
  12681. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  12682. begin
  12683. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  12684. end;
  12685. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  12686. begin
  12687. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  12688. end;
  12689. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  12690. begin
  12691. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  12692. end;
  12693. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  12694. begin
  12695. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  12696. end;
  12697. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  12698. begin
  12699. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  12700. end;
  12701. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  12702. begin
  12703. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  12704. end;
  12705. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  12706. begin
  12707. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  12708. end;
  12709. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  12710. begin
  12711. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  12712. end;
  12713. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  12714. begin
  12715. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  12716. end;
  12717. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  12718. begin
  12719. pTDefRegMap(@Self)^.val := thebits;
  12720. end;
  12721. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  12722. begin
  12723. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12724. end;
  12725. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  12726. begin
  12727. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  12728. end;
  12729. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  12730. begin
  12731. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  12732. end;
  12733. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  12734. begin
  12735. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  12736. end;
  12737. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  12738. begin
  12739. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  12740. end;
  12741. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  12742. begin
  12743. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  12744. end;
  12745. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  12746. begin
  12747. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  12748. end;
  12749. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  12750. begin
  12751. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  12752. end;
  12753. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  12754. begin
  12755. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  12756. end;
  12757. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  12758. begin
  12759. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  12760. end;
  12761. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  12762. begin
  12763. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  12764. end;
  12765. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  12766. begin
  12767. pTDefRegMap(@Self)^.val := thebits;
  12768. end;
  12769. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  12770. begin
  12771. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12772. end;
  12773. procedure TTMR1_T1CON.setTCS; inline;
  12774. begin
  12775. pTDefRegMap(@Self)^.&set := $00000002;
  12776. end;
  12777. procedure TTMR1_T1CON.clearTCS; inline;
  12778. begin
  12779. pTDefRegMap(@Self)^.clr := $00000002;
  12780. end;
  12781. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  12782. begin
  12783. if thebits = 0 then
  12784. pTDefRegMap(@Self)^.clr := $00000002
  12785. else
  12786. pTDefRegMap(@Self)^.&set := $00000002;
  12787. end;
  12788. function TTMR1_T1CON.getTCS : TBits_1; inline;
  12789. begin
  12790. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12791. end;
  12792. procedure TTMR1_T1CON.setTSYNC; inline;
  12793. begin
  12794. pTDefRegMap(@Self)^.&set := $00000004;
  12795. end;
  12796. procedure TTMR1_T1CON.clearTSYNC; inline;
  12797. begin
  12798. pTDefRegMap(@Self)^.clr := $00000004;
  12799. end;
  12800. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  12801. begin
  12802. if thebits = 0 then
  12803. pTDefRegMap(@Self)^.clr := $00000004
  12804. else
  12805. pTDefRegMap(@Self)^.&set := $00000004;
  12806. end;
  12807. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  12808. begin
  12809. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12810. end;
  12811. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  12812. begin
  12813. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  12814. end;
  12815. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  12816. begin
  12817. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  12818. end;
  12819. procedure TTMR1_T1CON.setTGATE; inline;
  12820. begin
  12821. pTDefRegMap(@Self)^.&set := $00000080;
  12822. end;
  12823. procedure TTMR1_T1CON.clearTGATE; inline;
  12824. begin
  12825. pTDefRegMap(@Self)^.clr := $00000080;
  12826. end;
  12827. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  12828. begin
  12829. if thebits = 0 then
  12830. pTDefRegMap(@Self)^.clr := $00000080
  12831. else
  12832. pTDefRegMap(@Self)^.&set := $00000080;
  12833. end;
  12834. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  12835. begin
  12836. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12837. end;
  12838. procedure TTMR1_T1CON.setTWIP; inline;
  12839. begin
  12840. pTDefRegMap(@Self)^.&set := $00000800;
  12841. end;
  12842. procedure TTMR1_T1CON.clearTWIP; inline;
  12843. begin
  12844. pTDefRegMap(@Self)^.clr := $00000800;
  12845. end;
  12846. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  12847. begin
  12848. if thebits = 0 then
  12849. pTDefRegMap(@Self)^.clr := $00000800
  12850. else
  12851. pTDefRegMap(@Self)^.&set := $00000800;
  12852. end;
  12853. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  12854. begin
  12855. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12856. end;
  12857. procedure TTMR1_T1CON.setTWDIS; inline;
  12858. begin
  12859. pTDefRegMap(@Self)^.&set := $00001000;
  12860. end;
  12861. procedure TTMR1_T1CON.clearTWDIS; inline;
  12862. begin
  12863. pTDefRegMap(@Self)^.clr := $00001000;
  12864. end;
  12865. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  12866. begin
  12867. if thebits = 0 then
  12868. pTDefRegMap(@Self)^.clr := $00001000
  12869. else
  12870. pTDefRegMap(@Self)^.&set := $00001000;
  12871. end;
  12872. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  12873. begin
  12874. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12875. end;
  12876. procedure TTMR1_T1CON.setSIDL; inline;
  12877. begin
  12878. pTDefRegMap(@Self)^.&set := $00002000;
  12879. end;
  12880. procedure TTMR1_T1CON.clearSIDL; inline;
  12881. begin
  12882. pTDefRegMap(@Self)^.clr := $00002000;
  12883. end;
  12884. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  12885. begin
  12886. if thebits = 0 then
  12887. pTDefRegMap(@Self)^.clr := $00002000
  12888. else
  12889. pTDefRegMap(@Self)^.&set := $00002000;
  12890. end;
  12891. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  12892. begin
  12893. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12894. end;
  12895. procedure TTMR1_T1CON.setON; inline;
  12896. begin
  12897. pTDefRegMap(@Self)^.&set := $00008000;
  12898. end;
  12899. procedure TTMR1_T1CON.clearON; inline;
  12900. begin
  12901. pTDefRegMap(@Self)^.clr := $00008000;
  12902. end;
  12903. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  12904. begin
  12905. if thebits = 0 then
  12906. pTDefRegMap(@Self)^.clr := $00008000
  12907. else
  12908. pTDefRegMap(@Self)^.&set := $00008000;
  12909. end;
  12910. function TTMR1_T1CON.getON : TBits_1; inline;
  12911. begin
  12912. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12913. end;
  12914. procedure TTMR1_T1CON.setTCKPS0; inline;
  12915. begin
  12916. pTDefRegMap(@Self)^.&set := $00000010;
  12917. end;
  12918. procedure TTMR1_T1CON.clearTCKPS0; inline;
  12919. begin
  12920. pTDefRegMap(@Self)^.clr := $00000010;
  12921. end;
  12922. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  12923. begin
  12924. if thebits = 0 then
  12925. pTDefRegMap(@Self)^.clr := $00000010
  12926. else
  12927. pTDefRegMap(@Self)^.&set := $00000010;
  12928. end;
  12929. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  12930. begin
  12931. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12932. end;
  12933. procedure TTMR1_T1CON.setTCKPS1; inline;
  12934. begin
  12935. pTDefRegMap(@Self)^.&set := $00000020;
  12936. end;
  12937. procedure TTMR1_T1CON.clearTCKPS1; inline;
  12938. begin
  12939. pTDefRegMap(@Self)^.clr := $00000020;
  12940. end;
  12941. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  12942. begin
  12943. if thebits = 0 then
  12944. pTDefRegMap(@Self)^.clr := $00000020
  12945. else
  12946. pTDefRegMap(@Self)^.&set := $00000020;
  12947. end;
  12948. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  12949. begin
  12950. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12951. end;
  12952. procedure TTMR1_T1CON.setTSIDL; inline;
  12953. begin
  12954. pTDefRegMap(@Self)^.&set := $00002000;
  12955. end;
  12956. procedure TTMR1_T1CON.clearTSIDL; inline;
  12957. begin
  12958. pTDefRegMap(@Self)^.clr := $00002000;
  12959. end;
  12960. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  12961. begin
  12962. if thebits = 0 then
  12963. pTDefRegMap(@Self)^.clr := $00002000
  12964. else
  12965. pTDefRegMap(@Self)^.&set := $00002000;
  12966. end;
  12967. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  12968. begin
  12969. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12970. end;
  12971. procedure TTMR1_T1CON.setTON; inline;
  12972. begin
  12973. pTDefRegMap(@Self)^.&set := $00008000;
  12974. end;
  12975. procedure TTMR1_T1CON.clearTON; inline;
  12976. begin
  12977. pTDefRegMap(@Self)^.clr := $00008000;
  12978. end;
  12979. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  12980. begin
  12981. if thebits = 0 then
  12982. pTDefRegMap(@Self)^.clr := $00008000
  12983. else
  12984. pTDefRegMap(@Self)^.&set := $00008000;
  12985. end;
  12986. function TTMR1_T1CON.getTON : TBits_1; inline;
  12987. begin
  12988. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12989. end;
  12990. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  12991. begin
  12992. pTDefRegMap(@Self)^.val := thebits;
  12993. end;
  12994. function TTMR1_T1CON.getw : TBits_32; inline;
  12995. begin
  12996. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12997. end;
  12998. procedure TTMR2_T2CON.setTCS; inline;
  12999. begin
  13000. pTDefRegMap(@Self)^.&set := $00000002;
  13001. end;
  13002. procedure TTMR2_T2CON.clearTCS; inline;
  13003. begin
  13004. pTDefRegMap(@Self)^.clr := $00000002;
  13005. end;
  13006. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  13007. begin
  13008. if thebits = 0 then
  13009. pTDefRegMap(@Self)^.clr := $00000002
  13010. else
  13011. pTDefRegMap(@Self)^.&set := $00000002;
  13012. end;
  13013. function TTMR2_T2CON.getTCS : TBits_1; inline;
  13014. begin
  13015. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13016. end;
  13017. procedure TTMR2_T2CON.setT32; inline;
  13018. begin
  13019. pTDefRegMap(@Self)^.&set := $00000008;
  13020. end;
  13021. procedure TTMR2_T2CON.clearT32; inline;
  13022. begin
  13023. pTDefRegMap(@Self)^.clr := $00000008;
  13024. end;
  13025. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  13026. begin
  13027. if thebits = 0 then
  13028. pTDefRegMap(@Self)^.clr := $00000008
  13029. else
  13030. pTDefRegMap(@Self)^.&set := $00000008;
  13031. end;
  13032. function TTMR2_T2CON.getT32 : TBits_1; inline;
  13033. begin
  13034. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13035. end;
  13036. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  13037. begin
  13038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  13039. end;
  13040. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  13041. begin
  13042. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  13043. end;
  13044. procedure TTMR2_T2CON.setTGATE; inline;
  13045. begin
  13046. pTDefRegMap(@Self)^.&set := $00000080;
  13047. end;
  13048. procedure TTMR2_T2CON.clearTGATE; inline;
  13049. begin
  13050. pTDefRegMap(@Self)^.clr := $00000080;
  13051. end;
  13052. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  13053. begin
  13054. if thebits = 0 then
  13055. pTDefRegMap(@Self)^.clr := $00000080
  13056. else
  13057. pTDefRegMap(@Self)^.&set := $00000080;
  13058. end;
  13059. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  13060. begin
  13061. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13062. end;
  13063. procedure TTMR2_T2CON.setSIDL; inline;
  13064. begin
  13065. pTDefRegMap(@Self)^.&set := $00002000;
  13066. end;
  13067. procedure TTMR2_T2CON.clearSIDL; inline;
  13068. begin
  13069. pTDefRegMap(@Self)^.clr := $00002000;
  13070. end;
  13071. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  13072. begin
  13073. if thebits = 0 then
  13074. pTDefRegMap(@Self)^.clr := $00002000
  13075. else
  13076. pTDefRegMap(@Self)^.&set := $00002000;
  13077. end;
  13078. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  13079. begin
  13080. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13081. end;
  13082. procedure TTMR2_T2CON.setON; inline;
  13083. begin
  13084. pTDefRegMap(@Self)^.&set := $00008000;
  13085. end;
  13086. procedure TTMR2_T2CON.clearON; inline;
  13087. begin
  13088. pTDefRegMap(@Self)^.clr := $00008000;
  13089. end;
  13090. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  13091. begin
  13092. if thebits = 0 then
  13093. pTDefRegMap(@Self)^.clr := $00008000
  13094. else
  13095. pTDefRegMap(@Self)^.&set := $00008000;
  13096. end;
  13097. function TTMR2_T2CON.getON : TBits_1; inline;
  13098. begin
  13099. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13100. end;
  13101. procedure TTMR2_T2CON.setTCKPS0; inline;
  13102. begin
  13103. pTDefRegMap(@Self)^.&set := $00000010;
  13104. end;
  13105. procedure TTMR2_T2CON.clearTCKPS0; inline;
  13106. begin
  13107. pTDefRegMap(@Self)^.clr := $00000010;
  13108. end;
  13109. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  13110. begin
  13111. if thebits = 0 then
  13112. pTDefRegMap(@Self)^.clr := $00000010
  13113. else
  13114. pTDefRegMap(@Self)^.&set := $00000010;
  13115. end;
  13116. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  13117. begin
  13118. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13119. end;
  13120. procedure TTMR2_T2CON.setTCKPS1; inline;
  13121. begin
  13122. pTDefRegMap(@Self)^.&set := $00000020;
  13123. end;
  13124. procedure TTMR2_T2CON.clearTCKPS1; inline;
  13125. begin
  13126. pTDefRegMap(@Self)^.clr := $00000020;
  13127. end;
  13128. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  13129. begin
  13130. if thebits = 0 then
  13131. pTDefRegMap(@Self)^.clr := $00000020
  13132. else
  13133. pTDefRegMap(@Self)^.&set := $00000020;
  13134. end;
  13135. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  13136. begin
  13137. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13138. end;
  13139. procedure TTMR2_T2CON.setTCKPS2; inline;
  13140. begin
  13141. pTDefRegMap(@Self)^.&set := $00000040;
  13142. end;
  13143. procedure TTMR2_T2CON.clearTCKPS2; inline;
  13144. begin
  13145. pTDefRegMap(@Self)^.clr := $00000040;
  13146. end;
  13147. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  13148. begin
  13149. if thebits = 0 then
  13150. pTDefRegMap(@Self)^.clr := $00000040
  13151. else
  13152. pTDefRegMap(@Self)^.&set := $00000040;
  13153. end;
  13154. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  13155. begin
  13156. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13157. end;
  13158. procedure TTMR2_T2CON.setTSIDL; inline;
  13159. begin
  13160. pTDefRegMap(@Self)^.&set := $00002000;
  13161. end;
  13162. procedure TTMR2_T2CON.clearTSIDL; inline;
  13163. begin
  13164. pTDefRegMap(@Self)^.clr := $00002000;
  13165. end;
  13166. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  13167. begin
  13168. if thebits = 0 then
  13169. pTDefRegMap(@Self)^.clr := $00002000
  13170. else
  13171. pTDefRegMap(@Self)^.&set := $00002000;
  13172. end;
  13173. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  13174. begin
  13175. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13176. end;
  13177. procedure TTMR2_T2CON.setTON; inline;
  13178. begin
  13179. pTDefRegMap(@Self)^.&set := $00008000;
  13180. end;
  13181. procedure TTMR2_T2CON.clearTON; inline;
  13182. begin
  13183. pTDefRegMap(@Self)^.clr := $00008000;
  13184. end;
  13185. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  13186. begin
  13187. if thebits = 0 then
  13188. pTDefRegMap(@Self)^.clr := $00008000
  13189. else
  13190. pTDefRegMap(@Self)^.&set := $00008000;
  13191. end;
  13192. function TTMR2_T2CON.getTON : TBits_1; inline;
  13193. begin
  13194. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13195. end;
  13196. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  13197. begin
  13198. pTDefRegMap(@Self)^.val := thebits;
  13199. end;
  13200. function TTMR2_T2CON.getw : TBits_32; inline;
  13201. begin
  13202. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13203. end;
  13204. procedure TTMR3_T3CON.setTCS; inline;
  13205. begin
  13206. pTDefRegMap(@Self)^.&set := $00000002;
  13207. end;
  13208. procedure TTMR3_T3CON.clearTCS; inline;
  13209. begin
  13210. pTDefRegMap(@Self)^.clr := $00000002;
  13211. end;
  13212. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  13213. begin
  13214. if thebits = 0 then
  13215. pTDefRegMap(@Self)^.clr := $00000002
  13216. else
  13217. pTDefRegMap(@Self)^.&set := $00000002;
  13218. end;
  13219. function TTMR3_T3CON.getTCS : TBits_1; inline;
  13220. begin
  13221. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13222. end;
  13223. procedure TTMR3_T3CON.setT32; inline;
  13224. begin
  13225. pTDefRegMap(@Self)^.&set := $00000008;
  13226. end;
  13227. procedure TTMR3_T3CON.clearT32; inline;
  13228. begin
  13229. pTDefRegMap(@Self)^.clr := $00000008;
  13230. end;
  13231. procedure TTMR3_T3CON.setT32(thebits : TBits_1); inline;
  13232. begin
  13233. if thebits = 0 then
  13234. pTDefRegMap(@Self)^.clr := $00000008
  13235. else
  13236. pTDefRegMap(@Self)^.&set := $00000008;
  13237. end;
  13238. function TTMR3_T3CON.getT32 : TBits_1; inline;
  13239. begin
  13240. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13241. end;
  13242. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  13243. begin
  13244. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  13245. end;
  13246. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  13247. begin
  13248. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  13249. end;
  13250. procedure TTMR3_T3CON.setTGATE; inline;
  13251. begin
  13252. pTDefRegMap(@Self)^.&set := $00000080;
  13253. end;
  13254. procedure TTMR3_T3CON.clearTGATE; inline;
  13255. begin
  13256. pTDefRegMap(@Self)^.clr := $00000080;
  13257. end;
  13258. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  13259. begin
  13260. if thebits = 0 then
  13261. pTDefRegMap(@Self)^.clr := $00000080
  13262. else
  13263. pTDefRegMap(@Self)^.&set := $00000080;
  13264. end;
  13265. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  13266. begin
  13267. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13268. end;
  13269. procedure TTMR3_T3CON.setSIDL; inline;
  13270. begin
  13271. pTDefRegMap(@Self)^.&set := $00002000;
  13272. end;
  13273. procedure TTMR3_T3CON.clearSIDL; inline;
  13274. begin
  13275. pTDefRegMap(@Self)^.clr := $00002000;
  13276. end;
  13277. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  13278. begin
  13279. if thebits = 0 then
  13280. pTDefRegMap(@Self)^.clr := $00002000
  13281. else
  13282. pTDefRegMap(@Self)^.&set := $00002000;
  13283. end;
  13284. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  13285. begin
  13286. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13287. end;
  13288. procedure TTMR3_T3CON.setON; inline;
  13289. begin
  13290. pTDefRegMap(@Self)^.&set := $00008000;
  13291. end;
  13292. procedure TTMR3_T3CON.clearON; inline;
  13293. begin
  13294. pTDefRegMap(@Self)^.clr := $00008000;
  13295. end;
  13296. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  13297. begin
  13298. if thebits = 0 then
  13299. pTDefRegMap(@Self)^.clr := $00008000
  13300. else
  13301. pTDefRegMap(@Self)^.&set := $00008000;
  13302. end;
  13303. function TTMR3_T3CON.getON : TBits_1; inline;
  13304. begin
  13305. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13306. end;
  13307. procedure TTMR3_T3CON.setTCKPS0; inline;
  13308. begin
  13309. pTDefRegMap(@Self)^.&set := $00000010;
  13310. end;
  13311. procedure TTMR3_T3CON.clearTCKPS0; inline;
  13312. begin
  13313. pTDefRegMap(@Self)^.clr := $00000010;
  13314. end;
  13315. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  13316. begin
  13317. if thebits = 0 then
  13318. pTDefRegMap(@Self)^.clr := $00000010
  13319. else
  13320. pTDefRegMap(@Self)^.&set := $00000010;
  13321. end;
  13322. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  13323. begin
  13324. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13325. end;
  13326. procedure TTMR3_T3CON.setTCKPS1; inline;
  13327. begin
  13328. pTDefRegMap(@Self)^.&set := $00000020;
  13329. end;
  13330. procedure TTMR3_T3CON.clearTCKPS1; inline;
  13331. begin
  13332. pTDefRegMap(@Self)^.clr := $00000020;
  13333. end;
  13334. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  13335. begin
  13336. if thebits = 0 then
  13337. pTDefRegMap(@Self)^.clr := $00000020
  13338. else
  13339. pTDefRegMap(@Self)^.&set := $00000020;
  13340. end;
  13341. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  13342. begin
  13343. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13344. end;
  13345. procedure TTMR3_T3CON.setTCKPS2; inline;
  13346. begin
  13347. pTDefRegMap(@Self)^.&set := $00000040;
  13348. end;
  13349. procedure TTMR3_T3CON.clearTCKPS2; inline;
  13350. begin
  13351. pTDefRegMap(@Self)^.clr := $00000040;
  13352. end;
  13353. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  13354. begin
  13355. if thebits = 0 then
  13356. pTDefRegMap(@Self)^.clr := $00000040
  13357. else
  13358. pTDefRegMap(@Self)^.&set := $00000040;
  13359. end;
  13360. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  13361. begin
  13362. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13363. end;
  13364. procedure TTMR3_T3CON.setTSIDL; inline;
  13365. begin
  13366. pTDefRegMap(@Self)^.&set := $00002000;
  13367. end;
  13368. procedure TTMR3_T3CON.clearTSIDL; inline;
  13369. begin
  13370. pTDefRegMap(@Self)^.clr := $00002000;
  13371. end;
  13372. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  13373. begin
  13374. if thebits = 0 then
  13375. pTDefRegMap(@Self)^.clr := $00002000
  13376. else
  13377. pTDefRegMap(@Self)^.&set := $00002000;
  13378. end;
  13379. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  13380. begin
  13381. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13382. end;
  13383. procedure TTMR3_T3CON.setTON; inline;
  13384. begin
  13385. pTDefRegMap(@Self)^.&set := $00008000;
  13386. end;
  13387. procedure TTMR3_T3CON.clearTON; inline;
  13388. begin
  13389. pTDefRegMap(@Self)^.clr := $00008000;
  13390. end;
  13391. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  13392. begin
  13393. if thebits = 0 then
  13394. pTDefRegMap(@Self)^.clr := $00008000
  13395. else
  13396. pTDefRegMap(@Self)^.&set := $00008000;
  13397. end;
  13398. function TTMR3_T3CON.getTON : TBits_1; inline;
  13399. begin
  13400. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13401. end;
  13402. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  13403. begin
  13404. pTDefRegMap(@Self)^.val := thebits;
  13405. end;
  13406. function TTMR3_T3CON.getw : TBits_32; inline;
  13407. begin
  13408. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13409. end;
  13410. procedure TTMR4_T4CON.setTCS; inline;
  13411. begin
  13412. pTDefRegMap(@Self)^.&set := $00000002;
  13413. end;
  13414. procedure TTMR4_T4CON.clearTCS; inline;
  13415. begin
  13416. pTDefRegMap(@Self)^.clr := $00000002;
  13417. end;
  13418. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  13419. begin
  13420. if thebits = 0 then
  13421. pTDefRegMap(@Self)^.clr := $00000002
  13422. else
  13423. pTDefRegMap(@Self)^.&set := $00000002;
  13424. end;
  13425. function TTMR4_T4CON.getTCS : TBits_1; inline;
  13426. begin
  13427. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13428. end;
  13429. procedure TTMR4_T4CON.setT32; inline;
  13430. begin
  13431. pTDefRegMap(@Self)^.&set := $00000008;
  13432. end;
  13433. procedure TTMR4_T4CON.clearT32; inline;
  13434. begin
  13435. pTDefRegMap(@Self)^.clr := $00000008;
  13436. end;
  13437. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  13438. begin
  13439. if thebits = 0 then
  13440. pTDefRegMap(@Self)^.clr := $00000008
  13441. else
  13442. pTDefRegMap(@Self)^.&set := $00000008;
  13443. end;
  13444. function TTMR4_T4CON.getT32 : TBits_1; inline;
  13445. begin
  13446. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13447. end;
  13448. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  13449. begin
  13450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  13451. end;
  13452. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  13453. begin
  13454. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  13455. end;
  13456. procedure TTMR4_T4CON.setTGATE; inline;
  13457. begin
  13458. pTDefRegMap(@Self)^.&set := $00000080;
  13459. end;
  13460. procedure TTMR4_T4CON.clearTGATE; inline;
  13461. begin
  13462. pTDefRegMap(@Self)^.clr := $00000080;
  13463. end;
  13464. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  13465. begin
  13466. if thebits = 0 then
  13467. pTDefRegMap(@Self)^.clr := $00000080
  13468. else
  13469. pTDefRegMap(@Self)^.&set := $00000080;
  13470. end;
  13471. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  13472. begin
  13473. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13474. end;
  13475. procedure TTMR4_T4CON.setSIDL; inline;
  13476. begin
  13477. pTDefRegMap(@Self)^.&set := $00002000;
  13478. end;
  13479. procedure TTMR4_T4CON.clearSIDL; inline;
  13480. begin
  13481. pTDefRegMap(@Self)^.clr := $00002000;
  13482. end;
  13483. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  13484. begin
  13485. if thebits = 0 then
  13486. pTDefRegMap(@Self)^.clr := $00002000
  13487. else
  13488. pTDefRegMap(@Self)^.&set := $00002000;
  13489. end;
  13490. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  13491. begin
  13492. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13493. end;
  13494. procedure TTMR4_T4CON.setON; inline;
  13495. begin
  13496. pTDefRegMap(@Self)^.&set := $00008000;
  13497. end;
  13498. procedure TTMR4_T4CON.clearON; inline;
  13499. begin
  13500. pTDefRegMap(@Self)^.clr := $00008000;
  13501. end;
  13502. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  13503. begin
  13504. if thebits = 0 then
  13505. pTDefRegMap(@Self)^.clr := $00008000
  13506. else
  13507. pTDefRegMap(@Self)^.&set := $00008000;
  13508. end;
  13509. function TTMR4_T4CON.getON : TBits_1; inline;
  13510. begin
  13511. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13512. end;
  13513. procedure TTMR4_T4CON.setTCKPS0; inline;
  13514. begin
  13515. pTDefRegMap(@Self)^.&set := $00000010;
  13516. end;
  13517. procedure TTMR4_T4CON.clearTCKPS0; inline;
  13518. begin
  13519. pTDefRegMap(@Self)^.clr := $00000010;
  13520. end;
  13521. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  13522. begin
  13523. if thebits = 0 then
  13524. pTDefRegMap(@Self)^.clr := $00000010
  13525. else
  13526. pTDefRegMap(@Self)^.&set := $00000010;
  13527. end;
  13528. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  13529. begin
  13530. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13531. end;
  13532. procedure TTMR4_T4CON.setTCKPS1; inline;
  13533. begin
  13534. pTDefRegMap(@Self)^.&set := $00000020;
  13535. end;
  13536. procedure TTMR4_T4CON.clearTCKPS1; inline;
  13537. begin
  13538. pTDefRegMap(@Self)^.clr := $00000020;
  13539. end;
  13540. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  13541. begin
  13542. if thebits = 0 then
  13543. pTDefRegMap(@Self)^.clr := $00000020
  13544. else
  13545. pTDefRegMap(@Self)^.&set := $00000020;
  13546. end;
  13547. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  13548. begin
  13549. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13550. end;
  13551. procedure TTMR4_T4CON.setTCKPS2; inline;
  13552. begin
  13553. pTDefRegMap(@Self)^.&set := $00000040;
  13554. end;
  13555. procedure TTMR4_T4CON.clearTCKPS2; inline;
  13556. begin
  13557. pTDefRegMap(@Self)^.clr := $00000040;
  13558. end;
  13559. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  13560. begin
  13561. if thebits = 0 then
  13562. pTDefRegMap(@Self)^.clr := $00000040
  13563. else
  13564. pTDefRegMap(@Self)^.&set := $00000040;
  13565. end;
  13566. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  13567. begin
  13568. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13569. end;
  13570. procedure TTMR4_T4CON.setTSIDL; inline;
  13571. begin
  13572. pTDefRegMap(@Self)^.&set := $00002000;
  13573. end;
  13574. procedure TTMR4_T4CON.clearTSIDL; inline;
  13575. begin
  13576. pTDefRegMap(@Self)^.clr := $00002000;
  13577. end;
  13578. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  13579. begin
  13580. if thebits = 0 then
  13581. pTDefRegMap(@Self)^.clr := $00002000
  13582. else
  13583. pTDefRegMap(@Self)^.&set := $00002000;
  13584. end;
  13585. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  13586. begin
  13587. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13588. end;
  13589. procedure TTMR4_T4CON.setTON; inline;
  13590. begin
  13591. pTDefRegMap(@Self)^.&set := $00008000;
  13592. end;
  13593. procedure TTMR4_T4CON.clearTON; inline;
  13594. begin
  13595. pTDefRegMap(@Self)^.clr := $00008000;
  13596. end;
  13597. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  13598. begin
  13599. if thebits = 0 then
  13600. pTDefRegMap(@Self)^.clr := $00008000
  13601. else
  13602. pTDefRegMap(@Self)^.&set := $00008000;
  13603. end;
  13604. function TTMR4_T4CON.getTON : TBits_1; inline;
  13605. begin
  13606. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13607. end;
  13608. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  13609. begin
  13610. pTDefRegMap(@Self)^.val := thebits;
  13611. end;
  13612. function TTMR4_T4CON.getw : TBits_32; inline;
  13613. begin
  13614. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13615. end;
  13616. procedure TTMR5_T5CON.setTCS; inline;
  13617. begin
  13618. pTDefRegMap(@Self)^.&set := $00000002;
  13619. end;
  13620. procedure TTMR5_T5CON.clearTCS; inline;
  13621. begin
  13622. pTDefRegMap(@Self)^.clr := $00000002;
  13623. end;
  13624. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  13625. begin
  13626. if thebits = 0 then
  13627. pTDefRegMap(@Self)^.clr := $00000002
  13628. else
  13629. pTDefRegMap(@Self)^.&set := $00000002;
  13630. end;
  13631. function TTMR5_T5CON.getTCS : TBits_1; inline;
  13632. begin
  13633. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13634. end;
  13635. procedure TTMR5_T5CON.setT32; inline;
  13636. begin
  13637. pTDefRegMap(@Self)^.&set := $00000008;
  13638. end;
  13639. procedure TTMR5_T5CON.clearT32; inline;
  13640. begin
  13641. pTDefRegMap(@Self)^.clr := $00000008;
  13642. end;
  13643. procedure TTMR5_T5CON.setT32(thebits : TBits_1); inline;
  13644. begin
  13645. if thebits = 0 then
  13646. pTDefRegMap(@Self)^.clr := $00000008
  13647. else
  13648. pTDefRegMap(@Self)^.&set := $00000008;
  13649. end;
  13650. function TTMR5_T5CON.getT32 : TBits_1; inline;
  13651. begin
  13652. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13653. end;
  13654. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  13655. begin
  13656. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  13657. end;
  13658. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  13659. begin
  13660. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  13661. end;
  13662. procedure TTMR5_T5CON.setTGATE; inline;
  13663. begin
  13664. pTDefRegMap(@Self)^.&set := $00000080;
  13665. end;
  13666. procedure TTMR5_T5CON.clearTGATE; inline;
  13667. begin
  13668. pTDefRegMap(@Self)^.clr := $00000080;
  13669. end;
  13670. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  13671. begin
  13672. if thebits = 0 then
  13673. pTDefRegMap(@Self)^.clr := $00000080
  13674. else
  13675. pTDefRegMap(@Self)^.&set := $00000080;
  13676. end;
  13677. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  13678. begin
  13679. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13680. end;
  13681. procedure TTMR5_T5CON.setSIDL; inline;
  13682. begin
  13683. pTDefRegMap(@Self)^.&set := $00002000;
  13684. end;
  13685. procedure TTMR5_T5CON.clearSIDL; inline;
  13686. begin
  13687. pTDefRegMap(@Self)^.clr := $00002000;
  13688. end;
  13689. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  13690. begin
  13691. if thebits = 0 then
  13692. pTDefRegMap(@Self)^.clr := $00002000
  13693. else
  13694. pTDefRegMap(@Self)^.&set := $00002000;
  13695. end;
  13696. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  13697. begin
  13698. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13699. end;
  13700. procedure TTMR5_T5CON.setON; inline;
  13701. begin
  13702. pTDefRegMap(@Self)^.&set := $00008000;
  13703. end;
  13704. procedure TTMR5_T5CON.clearON; inline;
  13705. begin
  13706. pTDefRegMap(@Self)^.clr := $00008000;
  13707. end;
  13708. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  13709. begin
  13710. if thebits = 0 then
  13711. pTDefRegMap(@Self)^.clr := $00008000
  13712. else
  13713. pTDefRegMap(@Self)^.&set := $00008000;
  13714. end;
  13715. function TTMR5_T5CON.getON : TBits_1; inline;
  13716. begin
  13717. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13718. end;
  13719. procedure TTMR5_T5CON.setTCKPS0; inline;
  13720. begin
  13721. pTDefRegMap(@Self)^.&set := $00000010;
  13722. end;
  13723. procedure TTMR5_T5CON.clearTCKPS0; inline;
  13724. begin
  13725. pTDefRegMap(@Self)^.clr := $00000010;
  13726. end;
  13727. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  13728. begin
  13729. if thebits = 0 then
  13730. pTDefRegMap(@Self)^.clr := $00000010
  13731. else
  13732. pTDefRegMap(@Self)^.&set := $00000010;
  13733. end;
  13734. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  13735. begin
  13736. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13737. end;
  13738. procedure TTMR5_T5CON.setTCKPS1; inline;
  13739. begin
  13740. pTDefRegMap(@Self)^.&set := $00000020;
  13741. end;
  13742. procedure TTMR5_T5CON.clearTCKPS1; inline;
  13743. begin
  13744. pTDefRegMap(@Self)^.clr := $00000020;
  13745. end;
  13746. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  13747. begin
  13748. if thebits = 0 then
  13749. pTDefRegMap(@Self)^.clr := $00000020
  13750. else
  13751. pTDefRegMap(@Self)^.&set := $00000020;
  13752. end;
  13753. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  13754. begin
  13755. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13756. end;
  13757. procedure TTMR5_T5CON.setTCKPS2; inline;
  13758. begin
  13759. pTDefRegMap(@Self)^.&set := $00000040;
  13760. end;
  13761. procedure TTMR5_T5CON.clearTCKPS2; inline;
  13762. begin
  13763. pTDefRegMap(@Self)^.clr := $00000040;
  13764. end;
  13765. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  13766. begin
  13767. if thebits = 0 then
  13768. pTDefRegMap(@Self)^.clr := $00000040
  13769. else
  13770. pTDefRegMap(@Self)^.&set := $00000040;
  13771. end;
  13772. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  13773. begin
  13774. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13775. end;
  13776. procedure TTMR5_T5CON.setTSIDL; inline;
  13777. begin
  13778. pTDefRegMap(@Self)^.&set := $00002000;
  13779. end;
  13780. procedure TTMR5_T5CON.clearTSIDL; inline;
  13781. begin
  13782. pTDefRegMap(@Self)^.clr := $00002000;
  13783. end;
  13784. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  13785. begin
  13786. if thebits = 0 then
  13787. pTDefRegMap(@Self)^.clr := $00002000
  13788. else
  13789. pTDefRegMap(@Self)^.&set := $00002000;
  13790. end;
  13791. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  13792. begin
  13793. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13794. end;
  13795. procedure TTMR5_T5CON.setTON; inline;
  13796. begin
  13797. pTDefRegMap(@Self)^.&set := $00008000;
  13798. end;
  13799. procedure TTMR5_T5CON.clearTON; inline;
  13800. begin
  13801. pTDefRegMap(@Self)^.clr := $00008000;
  13802. end;
  13803. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  13804. begin
  13805. if thebits = 0 then
  13806. pTDefRegMap(@Self)^.clr := $00008000
  13807. else
  13808. pTDefRegMap(@Self)^.&set := $00008000;
  13809. end;
  13810. function TTMR5_T5CON.getTON : TBits_1; inline;
  13811. begin
  13812. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13813. end;
  13814. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  13815. begin
  13816. pTDefRegMap(@Self)^.val := thebits;
  13817. end;
  13818. function TTMR5_T5CON.getw : TBits_32; inline;
  13819. begin
  13820. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13821. end;
  13822. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  13823. begin
  13824. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13825. end;
  13826. function TICAP1_IC1CON.getICM : TBits_3; inline;
  13827. begin
  13828. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13829. end;
  13830. procedure TICAP1_IC1CON.setICBNE; inline;
  13831. begin
  13832. pTDefRegMap(@Self)^.&set := $00000008;
  13833. end;
  13834. procedure TICAP1_IC1CON.clearICBNE; inline;
  13835. begin
  13836. pTDefRegMap(@Self)^.clr := $00000008;
  13837. end;
  13838. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  13839. begin
  13840. if thebits = 0 then
  13841. pTDefRegMap(@Self)^.clr := $00000008
  13842. else
  13843. pTDefRegMap(@Self)^.&set := $00000008;
  13844. end;
  13845. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  13846. begin
  13847. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13848. end;
  13849. procedure TICAP1_IC1CON.setICOV; inline;
  13850. begin
  13851. pTDefRegMap(@Self)^.&set := $00000010;
  13852. end;
  13853. procedure TICAP1_IC1CON.clearICOV; inline;
  13854. begin
  13855. pTDefRegMap(@Self)^.clr := $00000010;
  13856. end;
  13857. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  13858. begin
  13859. if thebits = 0 then
  13860. pTDefRegMap(@Self)^.clr := $00000010
  13861. else
  13862. pTDefRegMap(@Self)^.&set := $00000010;
  13863. end;
  13864. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  13865. begin
  13866. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13867. end;
  13868. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  13869. begin
  13870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  13871. end;
  13872. function TICAP1_IC1CON.getICI : TBits_2; inline;
  13873. begin
  13874. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  13875. end;
  13876. procedure TICAP1_IC1CON.setICTMR; inline;
  13877. begin
  13878. pTDefRegMap(@Self)^.&set := $00000080;
  13879. end;
  13880. procedure TICAP1_IC1CON.clearICTMR; inline;
  13881. begin
  13882. pTDefRegMap(@Self)^.clr := $00000080;
  13883. end;
  13884. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  13885. begin
  13886. if thebits = 0 then
  13887. pTDefRegMap(@Self)^.clr := $00000080
  13888. else
  13889. pTDefRegMap(@Self)^.&set := $00000080;
  13890. end;
  13891. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  13892. begin
  13893. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13894. end;
  13895. procedure TICAP1_IC1CON.setC32; inline;
  13896. begin
  13897. pTDefRegMap(@Self)^.&set := $00000100;
  13898. end;
  13899. procedure TICAP1_IC1CON.clearC32; inline;
  13900. begin
  13901. pTDefRegMap(@Self)^.clr := $00000100;
  13902. end;
  13903. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  13904. begin
  13905. if thebits = 0 then
  13906. pTDefRegMap(@Self)^.clr := $00000100
  13907. else
  13908. pTDefRegMap(@Self)^.&set := $00000100;
  13909. end;
  13910. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  13911. begin
  13912. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13913. end;
  13914. procedure TICAP1_IC1CON.setFEDGE; inline;
  13915. begin
  13916. pTDefRegMap(@Self)^.&set := $00000200;
  13917. end;
  13918. procedure TICAP1_IC1CON.clearFEDGE; inline;
  13919. begin
  13920. pTDefRegMap(@Self)^.clr := $00000200;
  13921. end;
  13922. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  13923. begin
  13924. if thebits = 0 then
  13925. pTDefRegMap(@Self)^.clr := $00000200
  13926. else
  13927. pTDefRegMap(@Self)^.&set := $00000200;
  13928. end;
  13929. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  13930. begin
  13931. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13932. end;
  13933. procedure TICAP1_IC1CON.setSIDL; inline;
  13934. begin
  13935. pTDefRegMap(@Self)^.&set := $00002000;
  13936. end;
  13937. procedure TICAP1_IC1CON.clearSIDL; inline;
  13938. begin
  13939. pTDefRegMap(@Self)^.clr := $00002000;
  13940. end;
  13941. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  13942. begin
  13943. if thebits = 0 then
  13944. pTDefRegMap(@Self)^.clr := $00002000
  13945. else
  13946. pTDefRegMap(@Self)^.&set := $00002000;
  13947. end;
  13948. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  13949. begin
  13950. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13951. end;
  13952. procedure TICAP1_IC1CON.setON; inline;
  13953. begin
  13954. pTDefRegMap(@Self)^.&set := $00008000;
  13955. end;
  13956. procedure TICAP1_IC1CON.clearON; inline;
  13957. begin
  13958. pTDefRegMap(@Self)^.clr := $00008000;
  13959. end;
  13960. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  13961. begin
  13962. if thebits = 0 then
  13963. pTDefRegMap(@Self)^.clr := $00008000
  13964. else
  13965. pTDefRegMap(@Self)^.&set := $00008000;
  13966. end;
  13967. function TICAP1_IC1CON.getON : TBits_1; inline;
  13968. begin
  13969. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13970. end;
  13971. procedure TICAP1_IC1CON.setICM0; inline;
  13972. begin
  13973. pTDefRegMap(@Self)^.&set := $00000001;
  13974. end;
  13975. procedure TICAP1_IC1CON.clearICM0; inline;
  13976. begin
  13977. pTDefRegMap(@Self)^.clr := $00000001;
  13978. end;
  13979. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  13980. begin
  13981. if thebits = 0 then
  13982. pTDefRegMap(@Self)^.clr := $00000001
  13983. else
  13984. pTDefRegMap(@Self)^.&set := $00000001;
  13985. end;
  13986. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  13987. begin
  13988. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13989. end;
  13990. procedure TICAP1_IC1CON.setICM1; inline;
  13991. begin
  13992. pTDefRegMap(@Self)^.&set := $00000002;
  13993. end;
  13994. procedure TICAP1_IC1CON.clearICM1; inline;
  13995. begin
  13996. pTDefRegMap(@Self)^.clr := $00000002;
  13997. end;
  13998. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  13999. begin
  14000. if thebits = 0 then
  14001. pTDefRegMap(@Self)^.clr := $00000002
  14002. else
  14003. pTDefRegMap(@Self)^.&set := $00000002;
  14004. end;
  14005. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  14006. begin
  14007. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14008. end;
  14009. procedure TICAP1_IC1CON.setICM2; inline;
  14010. begin
  14011. pTDefRegMap(@Self)^.&set := $00000004;
  14012. end;
  14013. procedure TICAP1_IC1CON.clearICM2; inline;
  14014. begin
  14015. pTDefRegMap(@Self)^.clr := $00000004;
  14016. end;
  14017. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  14018. begin
  14019. if thebits = 0 then
  14020. pTDefRegMap(@Self)^.clr := $00000004
  14021. else
  14022. pTDefRegMap(@Self)^.&set := $00000004;
  14023. end;
  14024. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  14025. begin
  14026. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14027. end;
  14028. procedure TICAP1_IC1CON.setICI0; inline;
  14029. begin
  14030. pTDefRegMap(@Self)^.&set := $00000020;
  14031. end;
  14032. procedure TICAP1_IC1CON.clearICI0; inline;
  14033. begin
  14034. pTDefRegMap(@Self)^.clr := $00000020;
  14035. end;
  14036. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  14037. begin
  14038. if thebits = 0 then
  14039. pTDefRegMap(@Self)^.clr := $00000020
  14040. else
  14041. pTDefRegMap(@Self)^.&set := $00000020;
  14042. end;
  14043. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  14044. begin
  14045. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14046. end;
  14047. procedure TICAP1_IC1CON.setICI1; inline;
  14048. begin
  14049. pTDefRegMap(@Self)^.&set := $00000040;
  14050. end;
  14051. procedure TICAP1_IC1CON.clearICI1; inline;
  14052. begin
  14053. pTDefRegMap(@Self)^.clr := $00000040;
  14054. end;
  14055. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  14056. begin
  14057. if thebits = 0 then
  14058. pTDefRegMap(@Self)^.clr := $00000040
  14059. else
  14060. pTDefRegMap(@Self)^.&set := $00000040;
  14061. end;
  14062. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  14063. begin
  14064. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14065. end;
  14066. procedure TICAP1_IC1CON.setICSIDL; inline;
  14067. begin
  14068. pTDefRegMap(@Self)^.&set := $00002000;
  14069. end;
  14070. procedure TICAP1_IC1CON.clearICSIDL; inline;
  14071. begin
  14072. pTDefRegMap(@Self)^.clr := $00002000;
  14073. end;
  14074. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  14075. begin
  14076. if thebits = 0 then
  14077. pTDefRegMap(@Self)^.clr := $00002000
  14078. else
  14079. pTDefRegMap(@Self)^.&set := $00002000;
  14080. end;
  14081. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  14082. begin
  14083. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14084. end;
  14085. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  14086. begin
  14087. pTDefRegMap(@Self)^.val := thebits;
  14088. end;
  14089. function TICAP1_IC1CON.getw : TBits_32; inline;
  14090. begin
  14091. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14092. end;
  14093. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  14094. begin
  14095. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14096. end;
  14097. function TICAP2_IC2CON.getICM : TBits_3; inline;
  14098. begin
  14099. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14100. end;
  14101. procedure TICAP2_IC2CON.setICBNE; inline;
  14102. begin
  14103. pTDefRegMap(@Self)^.&set := $00000008;
  14104. end;
  14105. procedure TICAP2_IC2CON.clearICBNE; inline;
  14106. begin
  14107. pTDefRegMap(@Self)^.clr := $00000008;
  14108. end;
  14109. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  14110. begin
  14111. if thebits = 0 then
  14112. pTDefRegMap(@Self)^.clr := $00000008
  14113. else
  14114. pTDefRegMap(@Self)^.&set := $00000008;
  14115. end;
  14116. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  14117. begin
  14118. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14119. end;
  14120. procedure TICAP2_IC2CON.setICOV; inline;
  14121. begin
  14122. pTDefRegMap(@Self)^.&set := $00000010;
  14123. end;
  14124. procedure TICAP2_IC2CON.clearICOV; inline;
  14125. begin
  14126. pTDefRegMap(@Self)^.clr := $00000010;
  14127. end;
  14128. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  14129. begin
  14130. if thebits = 0 then
  14131. pTDefRegMap(@Self)^.clr := $00000010
  14132. else
  14133. pTDefRegMap(@Self)^.&set := $00000010;
  14134. end;
  14135. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  14136. begin
  14137. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14138. end;
  14139. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  14140. begin
  14141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  14142. end;
  14143. function TICAP2_IC2CON.getICI : TBits_2; inline;
  14144. begin
  14145. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  14146. end;
  14147. procedure TICAP2_IC2CON.setICTMR; inline;
  14148. begin
  14149. pTDefRegMap(@Self)^.&set := $00000080;
  14150. end;
  14151. procedure TICAP2_IC2CON.clearICTMR; inline;
  14152. begin
  14153. pTDefRegMap(@Self)^.clr := $00000080;
  14154. end;
  14155. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  14156. begin
  14157. if thebits = 0 then
  14158. pTDefRegMap(@Self)^.clr := $00000080
  14159. else
  14160. pTDefRegMap(@Self)^.&set := $00000080;
  14161. end;
  14162. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  14163. begin
  14164. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14165. end;
  14166. procedure TICAP2_IC2CON.setC32; inline;
  14167. begin
  14168. pTDefRegMap(@Self)^.&set := $00000100;
  14169. end;
  14170. procedure TICAP2_IC2CON.clearC32; inline;
  14171. begin
  14172. pTDefRegMap(@Self)^.clr := $00000100;
  14173. end;
  14174. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  14175. begin
  14176. if thebits = 0 then
  14177. pTDefRegMap(@Self)^.clr := $00000100
  14178. else
  14179. pTDefRegMap(@Self)^.&set := $00000100;
  14180. end;
  14181. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  14182. begin
  14183. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14184. end;
  14185. procedure TICAP2_IC2CON.setFEDGE; inline;
  14186. begin
  14187. pTDefRegMap(@Self)^.&set := $00000200;
  14188. end;
  14189. procedure TICAP2_IC2CON.clearFEDGE; inline;
  14190. begin
  14191. pTDefRegMap(@Self)^.clr := $00000200;
  14192. end;
  14193. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  14194. begin
  14195. if thebits = 0 then
  14196. pTDefRegMap(@Self)^.clr := $00000200
  14197. else
  14198. pTDefRegMap(@Self)^.&set := $00000200;
  14199. end;
  14200. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  14201. begin
  14202. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14203. end;
  14204. procedure TICAP2_IC2CON.setSIDL; inline;
  14205. begin
  14206. pTDefRegMap(@Self)^.&set := $00002000;
  14207. end;
  14208. procedure TICAP2_IC2CON.clearSIDL; inline;
  14209. begin
  14210. pTDefRegMap(@Self)^.clr := $00002000;
  14211. end;
  14212. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  14213. begin
  14214. if thebits = 0 then
  14215. pTDefRegMap(@Self)^.clr := $00002000
  14216. else
  14217. pTDefRegMap(@Self)^.&set := $00002000;
  14218. end;
  14219. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  14220. begin
  14221. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14222. end;
  14223. procedure TICAP2_IC2CON.setON; inline;
  14224. begin
  14225. pTDefRegMap(@Self)^.&set := $00008000;
  14226. end;
  14227. procedure TICAP2_IC2CON.clearON; inline;
  14228. begin
  14229. pTDefRegMap(@Self)^.clr := $00008000;
  14230. end;
  14231. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  14232. begin
  14233. if thebits = 0 then
  14234. pTDefRegMap(@Self)^.clr := $00008000
  14235. else
  14236. pTDefRegMap(@Self)^.&set := $00008000;
  14237. end;
  14238. function TICAP2_IC2CON.getON : TBits_1; inline;
  14239. begin
  14240. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14241. end;
  14242. procedure TICAP2_IC2CON.setICM0; inline;
  14243. begin
  14244. pTDefRegMap(@Self)^.&set := $00000001;
  14245. end;
  14246. procedure TICAP2_IC2CON.clearICM0; inline;
  14247. begin
  14248. pTDefRegMap(@Self)^.clr := $00000001;
  14249. end;
  14250. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  14251. begin
  14252. if thebits = 0 then
  14253. pTDefRegMap(@Self)^.clr := $00000001
  14254. else
  14255. pTDefRegMap(@Self)^.&set := $00000001;
  14256. end;
  14257. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  14258. begin
  14259. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14260. end;
  14261. procedure TICAP2_IC2CON.setICM1; inline;
  14262. begin
  14263. pTDefRegMap(@Self)^.&set := $00000002;
  14264. end;
  14265. procedure TICAP2_IC2CON.clearICM1; inline;
  14266. begin
  14267. pTDefRegMap(@Self)^.clr := $00000002;
  14268. end;
  14269. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  14270. begin
  14271. if thebits = 0 then
  14272. pTDefRegMap(@Self)^.clr := $00000002
  14273. else
  14274. pTDefRegMap(@Self)^.&set := $00000002;
  14275. end;
  14276. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  14277. begin
  14278. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14279. end;
  14280. procedure TICAP2_IC2CON.setICM2; inline;
  14281. begin
  14282. pTDefRegMap(@Self)^.&set := $00000004;
  14283. end;
  14284. procedure TICAP2_IC2CON.clearICM2; inline;
  14285. begin
  14286. pTDefRegMap(@Self)^.clr := $00000004;
  14287. end;
  14288. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  14289. begin
  14290. if thebits = 0 then
  14291. pTDefRegMap(@Self)^.clr := $00000004
  14292. else
  14293. pTDefRegMap(@Self)^.&set := $00000004;
  14294. end;
  14295. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  14296. begin
  14297. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14298. end;
  14299. procedure TICAP2_IC2CON.setICI0; inline;
  14300. begin
  14301. pTDefRegMap(@Self)^.&set := $00000020;
  14302. end;
  14303. procedure TICAP2_IC2CON.clearICI0; inline;
  14304. begin
  14305. pTDefRegMap(@Self)^.clr := $00000020;
  14306. end;
  14307. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  14308. begin
  14309. if thebits = 0 then
  14310. pTDefRegMap(@Self)^.clr := $00000020
  14311. else
  14312. pTDefRegMap(@Self)^.&set := $00000020;
  14313. end;
  14314. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  14315. begin
  14316. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14317. end;
  14318. procedure TICAP2_IC2CON.setICI1; inline;
  14319. begin
  14320. pTDefRegMap(@Self)^.&set := $00000040;
  14321. end;
  14322. procedure TICAP2_IC2CON.clearICI1; inline;
  14323. begin
  14324. pTDefRegMap(@Self)^.clr := $00000040;
  14325. end;
  14326. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  14327. begin
  14328. if thebits = 0 then
  14329. pTDefRegMap(@Self)^.clr := $00000040
  14330. else
  14331. pTDefRegMap(@Self)^.&set := $00000040;
  14332. end;
  14333. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  14334. begin
  14335. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14336. end;
  14337. procedure TICAP2_IC2CON.setICSIDL; inline;
  14338. begin
  14339. pTDefRegMap(@Self)^.&set := $00002000;
  14340. end;
  14341. procedure TICAP2_IC2CON.clearICSIDL; inline;
  14342. begin
  14343. pTDefRegMap(@Self)^.clr := $00002000;
  14344. end;
  14345. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  14346. begin
  14347. if thebits = 0 then
  14348. pTDefRegMap(@Self)^.clr := $00002000
  14349. else
  14350. pTDefRegMap(@Self)^.&set := $00002000;
  14351. end;
  14352. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  14353. begin
  14354. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14355. end;
  14356. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  14357. begin
  14358. pTDefRegMap(@Self)^.val := thebits;
  14359. end;
  14360. function TICAP2_IC2CON.getw : TBits_32; inline;
  14361. begin
  14362. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14363. end;
  14364. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  14365. begin
  14366. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14367. end;
  14368. function TICAP3_IC3CON.getICM : TBits_3; inline;
  14369. begin
  14370. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14371. end;
  14372. procedure TICAP3_IC3CON.setICBNE; inline;
  14373. begin
  14374. pTDefRegMap(@Self)^.&set := $00000008;
  14375. end;
  14376. procedure TICAP3_IC3CON.clearICBNE; inline;
  14377. begin
  14378. pTDefRegMap(@Self)^.clr := $00000008;
  14379. end;
  14380. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  14381. begin
  14382. if thebits = 0 then
  14383. pTDefRegMap(@Self)^.clr := $00000008
  14384. else
  14385. pTDefRegMap(@Self)^.&set := $00000008;
  14386. end;
  14387. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  14388. begin
  14389. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14390. end;
  14391. procedure TICAP3_IC3CON.setICOV; inline;
  14392. begin
  14393. pTDefRegMap(@Self)^.&set := $00000010;
  14394. end;
  14395. procedure TICAP3_IC3CON.clearICOV; inline;
  14396. begin
  14397. pTDefRegMap(@Self)^.clr := $00000010;
  14398. end;
  14399. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  14400. begin
  14401. if thebits = 0 then
  14402. pTDefRegMap(@Self)^.clr := $00000010
  14403. else
  14404. pTDefRegMap(@Self)^.&set := $00000010;
  14405. end;
  14406. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  14407. begin
  14408. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14409. end;
  14410. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  14411. begin
  14412. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  14413. end;
  14414. function TICAP3_IC3CON.getICI : TBits_2; inline;
  14415. begin
  14416. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  14417. end;
  14418. procedure TICAP3_IC3CON.setICTMR; inline;
  14419. begin
  14420. pTDefRegMap(@Self)^.&set := $00000080;
  14421. end;
  14422. procedure TICAP3_IC3CON.clearICTMR; inline;
  14423. begin
  14424. pTDefRegMap(@Self)^.clr := $00000080;
  14425. end;
  14426. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  14427. begin
  14428. if thebits = 0 then
  14429. pTDefRegMap(@Self)^.clr := $00000080
  14430. else
  14431. pTDefRegMap(@Self)^.&set := $00000080;
  14432. end;
  14433. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  14434. begin
  14435. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14436. end;
  14437. procedure TICAP3_IC3CON.setC32; inline;
  14438. begin
  14439. pTDefRegMap(@Self)^.&set := $00000100;
  14440. end;
  14441. procedure TICAP3_IC3CON.clearC32; inline;
  14442. begin
  14443. pTDefRegMap(@Self)^.clr := $00000100;
  14444. end;
  14445. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  14446. begin
  14447. if thebits = 0 then
  14448. pTDefRegMap(@Self)^.clr := $00000100
  14449. else
  14450. pTDefRegMap(@Self)^.&set := $00000100;
  14451. end;
  14452. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  14453. begin
  14454. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14455. end;
  14456. procedure TICAP3_IC3CON.setFEDGE; inline;
  14457. begin
  14458. pTDefRegMap(@Self)^.&set := $00000200;
  14459. end;
  14460. procedure TICAP3_IC3CON.clearFEDGE; inline;
  14461. begin
  14462. pTDefRegMap(@Self)^.clr := $00000200;
  14463. end;
  14464. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  14465. begin
  14466. if thebits = 0 then
  14467. pTDefRegMap(@Self)^.clr := $00000200
  14468. else
  14469. pTDefRegMap(@Self)^.&set := $00000200;
  14470. end;
  14471. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  14472. begin
  14473. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14474. end;
  14475. procedure TICAP3_IC3CON.setSIDL; inline;
  14476. begin
  14477. pTDefRegMap(@Self)^.&set := $00002000;
  14478. end;
  14479. procedure TICAP3_IC3CON.clearSIDL; inline;
  14480. begin
  14481. pTDefRegMap(@Self)^.clr := $00002000;
  14482. end;
  14483. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  14484. begin
  14485. if thebits = 0 then
  14486. pTDefRegMap(@Self)^.clr := $00002000
  14487. else
  14488. pTDefRegMap(@Self)^.&set := $00002000;
  14489. end;
  14490. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  14491. begin
  14492. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14493. end;
  14494. procedure TICAP3_IC3CON.setON; inline;
  14495. begin
  14496. pTDefRegMap(@Self)^.&set := $00008000;
  14497. end;
  14498. procedure TICAP3_IC3CON.clearON; inline;
  14499. begin
  14500. pTDefRegMap(@Self)^.clr := $00008000;
  14501. end;
  14502. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  14503. begin
  14504. if thebits = 0 then
  14505. pTDefRegMap(@Self)^.clr := $00008000
  14506. else
  14507. pTDefRegMap(@Self)^.&set := $00008000;
  14508. end;
  14509. function TICAP3_IC3CON.getON : TBits_1; inline;
  14510. begin
  14511. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14512. end;
  14513. procedure TICAP3_IC3CON.setICM0; inline;
  14514. begin
  14515. pTDefRegMap(@Self)^.&set := $00000001;
  14516. end;
  14517. procedure TICAP3_IC3CON.clearICM0; inline;
  14518. begin
  14519. pTDefRegMap(@Self)^.clr := $00000001;
  14520. end;
  14521. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  14522. begin
  14523. if thebits = 0 then
  14524. pTDefRegMap(@Self)^.clr := $00000001
  14525. else
  14526. pTDefRegMap(@Self)^.&set := $00000001;
  14527. end;
  14528. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  14529. begin
  14530. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14531. end;
  14532. procedure TICAP3_IC3CON.setICM1; inline;
  14533. begin
  14534. pTDefRegMap(@Self)^.&set := $00000002;
  14535. end;
  14536. procedure TICAP3_IC3CON.clearICM1; inline;
  14537. begin
  14538. pTDefRegMap(@Self)^.clr := $00000002;
  14539. end;
  14540. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  14541. begin
  14542. if thebits = 0 then
  14543. pTDefRegMap(@Self)^.clr := $00000002
  14544. else
  14545. pTDefRegMap(@Self)^.&set := $00000002;
  14546. end;
  14547. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  14548. begin
  14549. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14550. end;
  14551. procedure TICAP3_IC3CON.setICM2; inline;
  14552. begin
  14553. pTDefRegMap(@Self)^.&set := $00000004;
  14554. end;
  14555. procedure TICAP3_IC3CON.clearICM2; inline;
  14556. begin
  14557. pTDefRegMap(@Self)^.clr := $00000004;
  14558. end;
  14559. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  14560. begin
  14561. if thebits = 0 then
  14562. pTDefRegMap(@Self)^.clr := $00000004
  14563. else
  14564. pTDefRegMap(@Self)^.&set := $00000004;
  14565. end;
  14566. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  14567. begin
  14568. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14569. end;
  14570. procedure TICAP3_IC3CON.setICI0; inline;
  14571. begin
  14572. pTDefRegMap(@Self)^.&set := $00000020;
  14573. end;
  14574. procedure TICAP3_IC3CON.clearICI0; inline;
  14575. begin
  14576. pTDefRegMap(@Self)^.clr := $00000020;
  14577. end;
  14578. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  14579. begin
  14580. if thebits = 0 then
  14581. pTDefRegMap(@Self)^.clr := $00000020
  14582. else
  14583. pTDefRegMap(@Self)^.&set := $00000020;
  14584. end;
  14585. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  14586. begin
  14587. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14588. end;
  14589. procedure TICAP3_IC3CON.setICI1; inline;
  14590. begin
  14591. pTDefRegMap(@Self)^.&set := $00000040;
  14592. end;
  14593. procedure TICAP3_IC3CON.clearICI1; inline;
  14594. begin
  14595. pTDefRegMap(@Self)^.clr := $00000040;
  14596. end;
  14597. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  14598. begin
  14599. if thebits = 0 then
  14600. pTDefRegMap(@Self)^.clr := $00000040
  14601. else
  14602. pTDefRegMap(@Self)^.&set := $00000040;
  14603. end;
  14604. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  14605. begin
  14606. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14607. end;
  14608. procedure TICAP3_IC3CON.setICSIDL; inline;
  14609. begin
  14610. pTDefRegMap(@Self)^.&set := $00002000;
  14611. end;
  14612. procedure TICAP3_IC3CON.clearICSIDL; inline;
  14613. begin
  14614. pTDefRegMap(@Self)^.clr := $00002000;
  14615. end;
  14616. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  14617. begin
  14618. if thebits = 0 then
  14619. pTDefRegMap(@Self)^.clr := $00002000
  14620. else
  14621. pTDefRegMap(@Self)^.&set := $00002000;
  14622. end;
  14623. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  14624. begin
  14625. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14626. end;
  14627. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  14628. begin
  14629. pTDefRegMap(@Self)^.val := thebits;
  14630. end;
  14631. function TICAP3_IC3CON.getw : TBits_32; inline;
  14632. begin
  14633. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14634. end;
  14635. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  14636. begin
  14637. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14638. end;
  14639. function TICAP4_IC4CON.getICM : TBits_3; inline;
  14640. begin
  14641. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14642. end;
  14643. procedure TICAP4_IC4CON.setICBNE; inline;
  14644. begin
  14645. pTDefRegMap(@Self)^.&set := $00000008;
  14646. end;
  14647. procedure TICAP4_IC4CON.clearICBNE; inline;
  14648. begin
  14649. pTDefRegMap(@Self)^.clr := $00000008;
  14650. end;
  14651. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  14652. begin
  14653. if thebits = 0 then
  14654. pTDefRegMap(@Self)^.clr := $00000008
  14655. else
  14656. pTDefRegMap(@Self)^.&set := $00000008;
  14657. end;
  14658. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  14659. begin
  14660. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14661. end;
  14662. procedure TICAP4_IC4CON.setICOV; inline;
  14663. begin
  14664. pTDefRegMap(@Self)^.&set := $00000010;
  14665. end;
  14666. procedure TICAP4_IC4CON.clearICOV; inline;
  14667. begin
  14668. pTDefRegMap(@Self)^.clr := $00000010;
  14669. end;
  14670. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  14671. begin
  14672. if thebits = 0 then
  14673. pTDefRegMap(@Self)^.clr := $00000010
  14674. else
  14675. pTDefRegMap(@Self)^.&set := $00000010;
  14676. end;
  14677. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  14678. begin
  14679. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14680. end;
  14681. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  14682. begin
  14683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  14684. end;
  14685. function TICAP4_IC4CON.getICI : TBits_2; inline;
  14686. begin
  14687. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  14688. end;
  14689. procedure TICAP4_IC4CON.setICTMR; inline;
  14690. begin
  14691. pTDefRegMap(@Self)^.&set := $00000080;
  14692. end;
  14693. procedure TICAP4_IC4CON.clearICTMR; inline;
  14694. begin
  14695. pTDefRegMap(@Self)^.clr := $00000080;
  14696. end;
  14697. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  14698. begin
  14699. if thebits = 0 then
  14700. pTDefRegMap(@Self)^.clr := $00000080
  14701. else
  14702. pTDefRegMap(@Self)^.&set := $00000080;
  14703. end;
  14704. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  14705. begin
  14706. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14707. end;
  14708. procedure TICAP4_IC4CON.setC32; inline;
  14709. begin
  14710. pTDefRegMap(@Self)^.&set := $00000100;
  14711. end;
  14712. procedure TICAP4_IC4CON.clearC32; inline;
  14713. begin
  14714. pTDefRegMap(@Self)^.clr := $00000100;
  14715. end;
  14716. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  14717. begin
  14718. if thebits = 0 then
  14719. pTDefRegMap(@Self)^.clr := $00000100
  14720. else
  14721. pTDefRegMap(@Self)^.&set := $00000100;
  14722. end;
  14723. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  14724. begin
  14725. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14726. end;
  14727. procedure TICAP4_IC4CON.setFEDGE; inline;
  14728. begin
  14729. pTDefRegMap(@Self)^.&set := $00000200;
  14730. end;
  14731. procedure TICAP4_IC4CON.clearFEDGE; inline;
  14732. begin
  14733. pTDefRegMap(@Self)^.clr := $00000200;
  14734. end;
  14735. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  14736. begin
  14737. if thebits = 0 then
  14738. pTDefRegMap(@Self)^.clr := $00000200
  14739. else
  14740. pTDefRegMap(@Self)^.&set := $00000200;
  14741. end;
  14742. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  14743. begin
  14744. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14745. end;
  14746. procedure TICAP4_IC4CON.setSIDL; inline;
  14747. begin
  14748. pTDefRegMap(@Self)^.&set := $00002000;
  14749. end;
  14750. procedure TICAP4_IC4CON.clearSIDL; inline;
  14751. begin
  14752. pTDefRegMap(@Self)^.clr := $00002000;
  14753. end;
  14754. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  14755. begin
  14756. if thebits = 0 then
  14757. pTDefRegMap(@Self)^.clr := $00002000
  14758. else
  14759. pTDefRegMap(@Self)^.&set := $00002000;
  14760. end;
  14761. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  14762. begin
  14763. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14764. end;
  14765. procedure TICAP4_IC4CON.setON; inline;
  14766. begin
  14767. pTDefRegMap(@Self)^.&set := $00008000;
  14768. end;
  14769. procedure TICAP4_IC4CON.clearON; inline;
  14770. begin
  14771. pTDefRegMap(@Self)^.clr := $00008000;
  14772. end;
  14773. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  14774. begin
  14775. if thebits = 0 then
  14776. pTDefRegMap(@Self)^.clr := $00008000
  14777. else
  14778. pTDefRegMap(@Self)^.&set := $00008000;
  14779. end;
  14780. function TICAP4_IC4CON.getON : TBits_1; inline;
  14781. begin
  14782. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14783. end;
  14784. procedure TICAP4_IC4CON.setICM0; inline;
  14785. begin
  14786. pTDefRegMap(@Self)^.&set := $00000001;
  14787. end;
  14788. procedure TICAP4_IC4CON.clearICM0; inline;
  14789. begin
  14790. pTDefRegMap(@Self)^.clr := $00000001;
  14791. end;
  14792. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  14793. begin
  14794. if thebits = 0 then
  14795. pTDefRegMap(@Self)^.clr := $00000001
  14796. else
  14797. pTDefRegMap(@Self)^.&set := $00000001;
  14798. end;
  14799. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  14800. begin
  14801. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14802. end;
  14803. procedure TICAP4_IC4CON.setICM1; inline;
  14804. begin
  14805. pTDefRegMap(@Self)^.&set := $00000002;
  14806. end;
  14807. procedure TICAP4_IC4CON.clearICM1; inline;
  14808. begin
  14809. pTDefRegMap(@Self)^.clr := $00000002;
  14810. end;
  14811. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  14812. begin
  14813. if thebits = 0 then
  14814. pTDefRegMap(@Self)^.clr := $00000002
  14815. else
  14816. pTDefRegMap(@Self)^.&set := $00000002;
  14817. end;
  14818. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  14819. begin
  14820. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14821. end;
  14822. procedure TICAP4_IC4CON.setICM2; inline;
  14823. begin
  14824. pTDefRegMap(@Self)^.&set := $00000004;
  14825. end;
  14826. procedure TICAP4_IC4CON.clearICM2; inline;
  14827. begin
  14828. pTDefRegMap(@Self)^.clr := $00000004;
  14829. end;
  14830. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  14831. begin
  14832. if thebits = 0 then
  14833. pTDefRegMap(@Self)^.clr := $00000004
  14834. else
  14835. pTDefRegMap(@Self)^.&set := $00000004;
  14836. end;
  14837. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  14838. begin
  14839. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14840. end;
  14841. procedure TICAP4_IC4CON.setICI0; inline;
  14842. begin
  14843. pTDefRegMap(@Self)^.&set := $00000020;
  14844. end;
  14845. procedure TICAP4_IC4CON.clearICI0; inline;
  14846. begin
  14847. pTDefRegMap(@Self)^.clr := $00000020;
  14848. end;
  14849. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  14850. begin
  14851. if thebits = 0 then
  14852. pTDefRegMap(@Self)^.clr := $00000020
  14853. else
  14854. pTDefRegMap(@Self)^.&set := $00000020;
  14855. end;
  14856. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  14857. begin
  14858. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14859. end;
  14860. procedure TICAP4_IC4CON.setICI1; inline;
  14861. begin
  14862. pTDefRegMap(@Self)^.&set := $00000040;
  14863. end;
  14864. procedure TICAP4_IC4CON.clearICI1; inline;
  14865. begin
  14866. pTDefRegMap(@Self)^.clr := $00000040;
  14867. end;
  14868. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  14869. begin
  14870. if thebits = 0 then
  14871. pTDefRegMap(@Self)^.clr := $00000040
  14872. else
  14873. pTDefRegMap(@Self)^.&set := $00000040;
  14874. end;
  14875. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  14876. begin
  14877. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14878. end;
  14879. procedure TICAP4_IC4CON.setICSIDL; inline;
  14880. begin
  14881. pTDefRegMap(@Self)^.&set := $00002000;
  14882. end;
  14883. procedure TICAP4_IC4CON.clearICSIDL; inline;
  14884. begin
  14885. pTDefRegMap(@Self)^.clr := $00002000;
  14886. end;
  14887. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  14888. begin
  14889. if thebits = 0 then
  14890. pTDefRegMap(@Self)^.clr := $00002000
  14891. else
  14892. pTDefRegMap(@Self)^.&set := $00002000;
  14893. end;
  14894. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  14895. begin
  14896. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14897. end;
  14898. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  14899. begin
  14900. pTDefRegMap(@Self)^.val := thebits;
  14901. end;
  14902. function TICAP4_IC4CON.getw : TBits_32; inline;
  14903. begin
  14904. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14905. end;
  14906. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  14907. begin
  14908. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14909. end;
  14910. function TICAP5_IC5CON.getICM : TBits_3; inline;
  14911. begin
  14912. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14913. end;
  14914. procedure TICAP5_IC5CON.setICBNE; inline;
  14915. begin
  14916. pTDefRegMap(@Self)^.&set := $00000008;
  14917. end;
  14918. procedure TICAP5_IC5CON.clearICBNE; inline;
  14919. begin
  14920. pTDefRegMap(@Self)^.clr := $00000008;
  14921. end;
  14922. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  14923. begin
  14924. if thebits = 0 then
  14925. pTDefRegMap(@Self)^.clr := $00000008
  14926. else
  14927. pTDefRegMap(@Self)^.&set := $00000008;
  14928. end;
  14929. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  14930. begin
  14931. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14932. end;
  14933. procedure TICAP5_IC5CON.setICOV; inline;
  14934. begin
  14935. pTDefRegMap(@Self)^.&set := $00000010;
  14936. end;
  14937. procedure TICAP5_IC5CON.clearICOV; inline;
  14938. begin
  14939. pTDefRegMap(@Self)^.clr := $00000010;
  14940. end;
  14941. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  14942. begin
  14943. if thebits = 0 then
  14944. pTDefRegMap(@Self)^.clr := $00000010
  14945. else
  14946. pTDefRegMap(@Self)^.&set := $00000010;
  14947. end;
  14948. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  14949. begin
  14950. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14951. end;
  14952. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  14953. begin
  14954. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  14955. end;
  14956. function TICAP5_IC5CON.getICI : TBits_2; inline;
  14957. begin
  14958. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  14959. end;
  14960. procedure TICAP5_IC5CON.setICTMR; inline;
  14961. begin
  14962. pTDefRegMap(@Self)^.&set := $00000080;
  14963. end;
  14964. procedure TICAP5_IC5CON.clearICTMR; inline;
  14965. begin
  14966. pTDefRegMap(@Self)^.clr := $00000080;
  14967. end;
  14968. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  14969. begin
  14970. if thebits = 0 then
  14971. pTDefRegMap(@Self)^.clr := $00000080
  14972. else
  14973. pTDefRegMap(@Self)^.&set := $00000080;
  14974. end;
  14975. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  14976. begin
  14977. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14978. end;
  14979. procedure TICAP5_IC5CON.setC32; inline;
  14980. begin
  14981. pTDefRegMap(@Self)^.&set := $00000100;
  14982. end;
  14983. procedure TICAP5_IC5CON.clearC32; inline;
  14984. begin
  14985. pTDefRegMap(@Self)^.clr := $00000100;
  14986. end;
  14987. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  14988. begin
  14989. if thebits = 0 then
  14990. pTDefRegMap(@Self)^.clr := $00000100
  14991. else
  14992. pTDefRegMap(@Self)^.&set := $00000100;
  14993. end;
  14994. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  14995. begin
  14996. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14997. end;
  14998. procedure TICAP5_IC5CON.setFEDGE; inline;
  14999. begin
  15000. pTDefRegMap(@Self)^.&set := $00000200;
  15001. end;
  15002. procedure TICAP5_IC5CON.clearFEDGE; inline;
  15003. begin
  15004. pTDefRegMap(@Self)^.clr := $00000200;
  15005. end;
  15006. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  15007. begin
  15008. if thebits = 0 then
  15009. pTDefRegMap(@Self)^.clr := $00000200
  15010. else
  15011. pTDefRegMap(@Self)^.&set := $00000200;
  15012. end;
  15013. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  15014. begin
  15015. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15016. end;
  15017. procedure TICAP5_IC5CON.setSIDL; inline;
  15018. begin
  15019. pTDefRegMap(@Self)^.&set := $00002000;
  15020. end;
  15021. procedure TICAP5_IC5CON.clearSIDL; inline;
  15022. begin
  15023. pTDefRegMap(@Self)^.clr := $00002000;
  15024. end;
  15025. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  15026. begin
  15027. if thebits = 0 then
  15028. pTDefRegMap(@Self)^.clr := $00002000
  15029. else
  15030. pTDefRegMap(@Self)^.&set := $00002000;
  15031. end;
  15032. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  15033. begin
  15034. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15035. end;
  15036. procedure TICAP5_IC5CON.setON; inline;
  15037. begin
  15038. pTDefRegMap(@Self)^.&set := $00008000;
  15039. end;
  15040. procedure TICAP5_IC5CON.clearON; inline;
  15041. begin
  15042. pTDefRegMap(@Self)^.clr := $00008000;
  15043. end;
  15044. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  15045. begin
  15046. if thebits = 0 then
  15047. pTDefRegMap(@Self)^.clr := $00008000
  15048. else
  15049. pTDefRegMap(@Self)^.&set := $00008000;
  15050. end;
  15051. function TICAP5_IC5CON.getON : TBits_1; inline;
  15052. begin
  15053. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15054. end;
  15055. procedure TICAP5_IC5CON.setICM0; inline;
  15056. begin
  15057. pTDefRegMap(@Self)^.&set := $00000001;
  15058. end;
  15059. procedure TICAP5_IC5CON.clearICM0; inline;
  15060. begin
  15061. pTDefRegMap(@Self)^.clr := $00000001;
  15062. end;
  15063. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  15064. begin
  15065. if thebits = 0 then
  15066. pTDefRegMap(@Self)^.clr := $00000001
  15067. else
  15068. pTDefRegMap(@Self)^.&set := $00000001;
  15069. end;
  15070. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  15071. begin
  15072. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15073. end;
  15074. procedure TICAP5_IC5CON.setICM1; inline;
  15075. begin
  15076. pTDefRegMap(@Self)^.&set := $00000002;
  15077. end;
  15078. procedure TICAP5_IC5CON.clearICM1; inline;
  15079. begin
  15080. pTDefRegMap(@Self)^.clr := $00000002;
  15081. end;
  15082. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  15083. begin
  15084. if thebits = 0 then
  15085. pTDefRegMap(@Self)^.clr := $00000002
  15086. else
  15087. pTDefRegMap(@Self)^.&set := $00000002;
  15088. end;
  15089. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  15090. begin
  15091. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15092. end;
  15093. procedure TICAP5_IC5CON.setICM2; inline;
  15094. begin
  15095. pTDefRegMap(@Self)^.&set := $00000004;
  15096. end;
  15097. procedure TICAP5_IC5CON.clearICM2; inline;
  15098. begin
  15099. pTDefRegMap(@Self)^.clr := $00000004;
  15100. end;
  15101. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  15102. begin
  15103. if thebits = 0 then
  15104. pTDefRegMap(@Self)^.clr := $00000004
  15105. else
  15106. pTDefRegMap(@Self)^.&set := $00000004;
  15107. end;
  15108. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  15109. begin
  15110. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15111. end;
  15112. procedure TICAP5_IC5CON.setICI0; inline;
  15113. begin
  15114. pTDefRegMap(@Self)^.&set := $00000020;
  15115. end;
  15116. procedure TICAP5_IC5CON.clearICI0; inline;
  15117. begin
  15118. pTDefRegMap(@Self)^.clr := $00000020;
  15119. end;
  15120. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  15121. begin
  15122. if thebits = 0 then
  15123. pTDefRegMap(@Self)^.clr := $00000020
  15124. else
  15125. pTDefRegMap(@Self)^.&set := $00000020;
  15126. end;
  15127. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  15128. begin
  15129. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15130. end;
  15131. procedure TICAP5_IC5CON.setICI1; inline;
  15132. begin
  15133. pTDefRegMap(@Self)^.&set := $00000040;
  15134. end;
  15135. procedure TICAP5_IC5CON.clearICI1; inline;
  15136. begin
  15137. pTDefRegMap(@Self)^.clr := $00000040;
  15138. end;
  15139. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  15140. begin
  15141. if thebits = 0 then
  15142. pTDefRegMap(@Self)^.clr := $00000040
  15143. else
  15144. pTDefRegMap(@Self)^.&set := $00000040;
  15145. end;
  15146. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  15147. begin
  15148. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15149. end;
  15150. procedure TICAP5_IC5CON.setICSIDL; inline;
  15151. begin
  15152. pTDefRegMap(@Self)^.&set := $00002000;
  15153. end;
  15154. procedure TICAP5_IC5CON.clearICSIDL; inline;
  15155. begin
  15156. pTDefRegMap(@Self)^.clr := $00002000;
  15157. end;
  15158. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  15159. begin
  15160. if thebits = 0 then
  15161. pTDefRegMap(@Self)^.clr := $00002000
  15162. else
  15163. pTDefRegMap(@Self)^.&set := $00002000;
  15164. end;
  15165. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  15166. begin
  15167. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15168. end;
  15169. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  15170. begin
  15171. pTDefRegMap(@Self)^.val := thebits;
  15172. end;
  15173. function TICAP5_IC5CON.getw : TBits_32; inline;
  15174. begin
  15175. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15176. end;
  15177. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  15178. begin
  15179. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15180. end;
  15181. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  15182. begin
  15183. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15184. end;
  15185. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  15186. begin
  15187. pTDefRegMap(@Self)^.&set := $00000008;
  15188. end;
  15189. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  15190. begin
  15191. pTDefRegMap(@Self)^.clr := $00000008;
  15192. end;
  15193. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  15194. begin
  15195. if thebits = 0 then
  15196. pTDefRegMap(@Self)^.clr := $00000008
  15197. else
  15198. pTDefRegMap(@Self)^.&set := $00000008;
  15199. end;
  15200. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  15201. begin
  15202. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15203. end;
  15204. procedure TOCMP1_OC1CON.setOCFLT; inline;
  15205. begin
  15206. pTDefRegMap(@Self)^.&set := $00000010;
  15207. end;
  15208. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  15209. begin
  15210. pTDefRegMap(@Self)^.clr := $00000010;
  15211. end;
  15212. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  15213. begin
  15214. if thebits = 0 then
  15215. pTDefRegMap(@Self)^.clr := $00000010
  15216. else
  15217. pTDefRegMap(@Self)^.&set := $00000010;
  15218. end;
  15219. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  15220. begin
  15221. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15222. end;
  15223. procedure TOCMP1_OC1CON.setOC32; inline;
  15224. begin
  15225. pTDefRegMap(@Self)^.&set := $00000020;
  15226. end;
  15227. procedure TOCMP1_OC1CON.clearOC32; inline;
  15228. begin
  15229. pTDefRegMap(@Self)^.clr := $00000020;
  15230. end;
  15231. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  15232. begin
  15233. if thebits = 0 then
  15234. pTDefRegMap(@Self)^.clr := $00000020
  15235. else
  15236. pTDefRegMap(@Self)^.&set := $00000020;
  15237. end;
  15238. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  15239. begin
  15240. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15241. end;
  15242. procedure TOCMP1_OC1CON.setSIDL; inline;
  15243. begin
  15244. pTDefRegMap(@Self)^.&set := $00002000;
  15245. end;
  15246. procedure TOCMP1_OC1CON.clearSIDL; inline;
  15247. begin
  15248. pTDefRegMap(@Self)^.clr := $00002000;
  15249. end;
  15250. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  15251. begin
  15252. if thebits = 0 then
  15253. pTDefRegMap(@Self)^.clr := $00002000
  15254. else
  15255. pTDefRegMap(@Self)^.&set := $00002000;
  15256. end;
  15257. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  15258. begin
  15259. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15260. end;
  15261. procedure TOCMP1_OC1CON.setON; inline;
  15262. begin
  15263. pTDefRegMap(@Self)^.&set := $00008000;
  15264. end;
  15265. procedure TOCMP1_OC1CON.clearON; inline;
  15266. begin
  15267. pTDefRegMap(@Self)^.clr := $00008000;
  15268. end;
  15269. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  15270. begin
  15271. if thebits = 0 then
  15272. pTDefRegMap(@Self)^.clr := $00008000
  15273. else
  15274. pTDefRegMap(@Self)^.&set := $00008000;
  15275. end;
  15276. function TOCMP1_OC1CON.getON : TBits_1; inline;
  15277. begin
  15278. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15279. end;
  15280. procedure TOCMP1_OC1CON.setOCM0; inline;
  15281. begin
  15282. pTDefRegMap(@Self)^.&set := $00000001;
  15283. end;
  15284. procedure TOCMP1_OC1CON.clearOCM0; inline;
  15285. begin
  15286. pTDefRegMap(@Self)^.clr := $00000001;
  15287. end;
  15288. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  15289. begin
  15290. if thebits = 0 then
  15291. pTDefRegMap(@Self)^.clr := $00000001
  15292. else
  15293. pTDefRegMap(@Self)^.&set := $00000001;
  15294. end;
  15295. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  15296. begin
  15297. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15298. end;
  15299. procedure TOCMP1_OC1CON.setOCM1; inline;
  15300. begin
  15301. pTDefRegMap(@Self)^.&set := $00000002;
  15302. end;
  15303. procedure TOCMP1_OC1CON.clearOCM1; inline;
  15304. begin
  15305. pTDefRegMap(@Self)^.clr := $00000002;
  15306. end;
  15307. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  15308. begin
  15309. if thebits = 0 then
  15310. pTDefRegMap(@Self)^.clr := $00000002
  15311. else
  15312. pTDefRegMap(@Self)^.&set := $00000002;
  15313. end;
  15314. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  15315. begin
  15316. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15317. end;
  15318. procedure TOCMP1_OC1CON.setOCM2; inline;
  15319. begin
  15320. pTDefRegMap(@Self)^.&set := $00000004;
  15321. end;
  15322. procedure TOCMP1_OC1CON.clearOCM2; inline;
  15323. begin
  15324. pTDefRegMap(@Self)^.clr := $00000004;
  15325. end;
  15326. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  15327. begin
  15328. if thebits = 0 then
  15329. pTDefRegMap(@Self)^.clr := $00000004
  15330. else
  15331. pTDefRegMap(@Self)^.&set := $00000004;
  15332. end;
  15333. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  15334. begin
  15335. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15336. end;
  15337. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  15338. begin
  15339. pTDefRegMap(@Self)^.&set := $00002000;
  15340. end;
  15341. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  15342. begin
  15343. pTDefRegMap(@Self)^.clr := $00002000;
  15344. end;
  15345. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  15346. begin
  15347. if thebits = 0 then
  15348. pTDefRegMap(@Self)^.clr := $00002000
  15349. else
  15350. pTDefRegMap(@Self)^.&set := $00002000;
  15351. end;
  15352. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  15353. begin
  15354. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15355. end;
  15356. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  15357. begin
  15358. pTDefRegMap(@Self)^.val := thebits;
  15359. end;
  15360. function TOCMP1_OC1CON.getw : TBits_32; inline;
  15361. begin
  15362. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15363. end;
  15364. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  15365. begin
  15366. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15367. end;
  15368. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  15369. begin
  15370. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15371. end;
  15372. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  15373. begin
  15374. pTDefRegMap(@Self)^.&set := $00000008;
  15375. end;
  15376. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  15377. begin
  15378. pTDefRegMap(@Self)^.clr := $00000008;
  15379. end;
  15380. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  15381. begin
  15382. if thebits = 0 then
  15383. pTDefRegMap(@Self)^.clr := $00000008
  15384. else
  15385. pTDefRegMap(@Self)^.&set := $00000008;
  15386. end;
  15387. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  15388. begin
  15389. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15390. end;
  15391. procedure TOCMP2_OC2CON.setOCFLT; inline;
  15392. begin
  15393. pTDefRegMap(@Self)^.&set := $00000010;
  15394. end;
  15395. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  15396. begin
  15397. pTDefRegMap(@Self)^.clr := $00000010;
  15398. end;
  15399. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  15400. begin
  15401. if thebits = 0 then
  15402. pTDefRegMap(@Self)^.clr := $00000010
  15403. else
  15404. pTDefRegMap(@Self)^.&set := $00000010;
  15405. end;
  15406. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  15407. begin
  15408. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15409. end;
  15410. procedure TOCMP2_OC2CON.setOC32; inline;
  15411. begin
  15412. pTDefRegMap(@Self)^.&set := $00000020;
  15413. end;
  15414. procedure TOCMP2_OC2CON.clearOC32; inline;
  15415. begin
  15416. pTDefRegMap(@Self)^.clr := $00000020;
  15417. end;
  15418. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  15419. begin
  15420. if thebits = 0 then
  15421. pTDefRegMap(@Self)^.clr := $00000020
  15422. else
  15423. pTDefRegMap(@Self)^.&set := $00000020;
  15424. end;
  15425. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  15426. begin
  15427. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15428. end;
  15429. procedure TOCMP2_OC2CON.setSIDL; inline;
  15430. begin
  15431. pTDefRegMap(@Self)^.&set := $00002000;
  15432. end;
  15433. procedure TOCMP2_OC2CON.clearSIDL; inline;
  15434. begin
  15435. pTDefRegMap(@Self)^.clr := $00002000;
  15436. end;
  15437. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  15438. begin
  15439. if thebits = 0 then
  15440. pTDefRegMap(@Self)^.clr := $00002000
  15441. else
  15442. pTDefRegMap(@Self)^.&set := $00002000;
  15443. end;
  15444. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  15445. begin
  15446. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15447. end;
  15448. procedure TOCMP2_OC2CON.setON; inline;
  15449. begin
  15450. pTDefRegMap(@Self)^.&set := $00008000;
  15451. end;
  15452. procedure TOCMP2_OC2CON.clearON; inline;
  15453. begin
  15454. pTDefRegMap(@Self)^.clr := $00008000;
  15455. end;
  15456. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  15457. begin
  15458. if thebits = 0 then
  15459. pTDefRegMap(@Self)^.clr := $00008000
  15460. else
  15461. pTDefRegMap(@Self)^.&set := $00008000;
  15462. end;
  15463. function TOCMP2_OC2CON.getON : TBits_1; inline;
  15464. begin
  15465. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15466. end;
  15467. procedure TOCMP2_OC2CON.setOCM0; inline;
  15468. begin
  15469. pTDefRegMap(@Self)^.&set := $00000001;
  15470. end;
  15471. procedure TOCMP2_OC2CON.clearOCM0; inline;
  15472. begin
  15473. pTDefRegMap(@Self)^.clr := $00000001;
  15474. end;
  15475. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  15476. begin
  15477. if thebits = 0 then
  15478. pTDefRegMap(@Self)^.clr := $00000001
  15479. else
  15480. pTDefRegMap(@Self)^.&set := $00000001;
  15481. end;
  15482. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  15483. begin
  15484. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15485. end;
  15486. procedure TOCMP2_OC2CON.setOCM1; inline;
  15487. begin
  15488. pTDefRegMap(@Self)^.&set := $00000002;
  15489. end;
  15490. procedure TOCMP2_OC2CON.clearOCM1; inline;
  15491. begin
  15492. pTDefRegMap(@Self)^.clr := $00000002;
  15493. end;
  15494. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  15495. begin
  15496. if thebits = 0 then
  15497. pTDefRegMap(@Self)^.clr := $00000002
  15498. else
  15499. pTDefRegMap(@Self)^.&set := $00000002;
  15500. end;
  15501. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  15502. begin
  15503. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15504. end;
  15505. procedure TOCMP2_OC2CON.setOCM2; inline;
  15506. begin
  15507. pTDefRegMap(@Self)^.&set := $00000004;
  15508. end;
  15509. procedure TOCMP2_OC2CON.clearOCM2; inline;
  15510. begin
  15511. pTDefRegMap(@Self)^.clr := $00000004;
  15512. end;
  15513. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  15514. begin
  15515. if thebits = 0 then
  15516. pTDefRegMap(@Self)^.clr := $00000004
  15517. else
  15518. pTDefRegMap(@Self)^.&set := $00000004;
  15519. end;
  15520. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  15521. begin
  15522. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15523. end;
  15524. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  15525. begin
  15526. pTDefRegMap(@Self)^.&set := $00002000;
  15527. end;
  15528. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  15529. begin
  15530. pTDefRegMap(@Self)^.clr := $00002000;
  15531. end;
  15532. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  15533. begin
  15534. if thebits = 0 then
  15535. pTDefRegMap(@Self)^.clr := $00002000
  15536. else
  15537. pTDefRegMap(@Self)^.&set := $00002000;
  15538. end;
  15539. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  15540. begin
  15541. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15542. end;
  15543. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  15544. begin
  15545. pTDefRegMap(@Self)^.val := thebits;
  15546. end;
  15547. function TOCMP2_OC2CON.getw : TBits_32; inline;
  15548. begin
  15549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15550. end;
  15551. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  15552. begin
  15553. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15554. end;
  15555. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  15556. begin
  15557. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15558. end;
  15559. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  15560. begin
  15561. pTDefRegMap(@Self)^.&set := $00000008;
  15562. end;
  15563. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  15564. begin
  15565. pTDefRegMap(@Self)^.clr := $00000008;
  15566. end;
  15567. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  15568. begin
  15569. if thebits = 0 then
  15570. pTDefRegMap(@Self)^.clr := $00000008
  15571. else
  15572. pTDefRegMap(@Self)^.&set := $00000008;
  15573. end;
  15574. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  15575. begin
  15576. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15577. end;
  15578. procedure TOCMP3_OC3CON.setOCFLT; inline;
  15579. begin
  15580. pTDefRegMap(@Self)^.&set := $00000010;
  15581. end;
  15582. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  15583. begin
  15584. pTDefRegMap(@Self)^.clr := $00000010;
  15585. end;
  15586. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  15587. begin
  15588. if thebits = 0 then
  15589. pTDefRegMap(@Self)^.clr := $00000010
  15590. else
  15591. pTDefRegMap(@Self)^.&set := $00000010;
  15592. end;
  15593. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  15594. begin
  15595. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15596. end;
  15597. procedure TOCMP3_OC3CON.setOC32; inline;
  15598. begin
  15599. pTDefRegMap(@Self)^.&set := $00000020;
  15600. end;
  15601. procedure TOCMP3_OC3CON.clearOC32; inline;
  15602. begin
  15603. pTDefRegMap(@Self)^.clr := $00000020;
  15604. end;
  15605. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  15606. begin
  15607. if thebits = 0 then
  15608. pTDefRegMap(@Self)^.clr := $00000020
  15609. else
  15610. pTDefRegMap(@Self)^.&set := $00000020;
  15611. end;
  15612. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  15613. begin
  15614. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15615. end;
  15616. procedure TOCMP3_OC3CON.setSIDL; inline;
  15617. begin
  15618. pTDefRegMap(@Self)^.&set := $00002000;
  15619. end;
  15620. procedure TOCMP3_OC3CON.clearSIDL; inline;
  15621. begin
  15622. pTDefRegMap(@Self)^.clr := $00002000;
  15623. end;
  15624. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  15625. begin
  15626. if thebits = 0 then
  15627. pTDefRegMap(@Self)^.clr := $00002000
  15628. else
  15629. pTDefRegMap(@Self)^.&set := $00002000;
  15630. end;
  15631. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  15632. begin
  15633. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15634. end;
  15635. procedure TOCMP3_OC3CON.setON; inline;
  15636. begin
  15637. pTDefRegMap(@Self)^.&set := $00008000;
  15638. end;
  15639. procedure TOCMP3_OC3CON.clearON; inline;
  15640. begin
  15641. pTDefRegMap(@Self)^.clr := $00008000;
  15642. end;
  15643. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  15644. begin
  15645. if thebits = 0 then
  15646. pTDefRegMap(@Self)^.clr := $00008000
  15647. else
  15648. pTDefRegMap(@Self)^.&set := $00008000;
  15649. end;
  15650. function TOCMP3_OC3CON.getON : TBits_1; inline;
  15651. begin
  15652. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15653. end;
  15654. procedure TOCMP3_OC3CON.setOCM0; inline;
  15655. begin
  15656. pTDefRegMap(@Self)^.&set := $00000001;
  15657. end;
  15658. procedure TOCMP3_OC3CON.clearOCM0; inline;
  15659. begin
  15660. pTDefRegMap(@Self)^.clr := $00000001;
  15661. end;
  15662. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  15663. begin
  15664. if thebits = 0 then
  15665. pTDefRegMap(@Self)^.clr := $00000001
  15666. else
  15667. pTDefRegMap(@Self)^.&set := $00000001;
  15668. end;
  15669. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  15670. begin
  15671. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15672. end;
  15673. procedure TOCMP3_OC3CON.setOCM1; inline;
  15674. begin
  15675. pTDefRegMap(@Self)^.&set := $00000002;
  15676. end;
  15677. procedure TOCMP3_OC3CON.clearOCM1; inline;
  15678. begin
  15679. pTDefRegMap(@Self)^.clr := $00000002;
  15680. end;
  15681. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  15682. begin
  15683. if thebits = 0 then
  15684. pTDefRegMap(@Self)^.clr := $00000002
  15685. else
  15686. pTDefRegMap(@Self)^.&set := $00000002;
  15687. end;
  15688. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  15689. begin
  15690. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15691. end;
  15692. procedure TOCMP3_OC3CON.setOCM2; inline;
  15693. begin
  15694. pTDefRegMap(@Self)^.&set := $00000004;
  15695. end;
  15696. procedure TOCMP3_OC3CON.clearOCM2; inline;
  15697. begin
  15698. pTDefRegMap(@Self)^.clr := $00000004;
  15699. end;
  15700. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  15701. begin
  15702. if thebits = 0 then
  15703. pTDefRegMap(@Self)^.clr := $00000004
  15704. else
  15705. pTDefRegMap(@Self)^.&set := $00000004;
  15706. end;
  15707. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  15708. begin
  15709. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15710. end;
  15711. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  15712. begin
  15713. pTDefRegMap(@Self)^.&set := $00002000;
  15714. end;
  15715. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  15716. begin
  15717. pTDefRegMap(@Self)^.clr := $00002000;
  15718. end;
  15719. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  15720. begin
  15721. if thebits = 0 then
  15722. pTDefRegMap(@Self)^.clr := $00002000
  15723. else
  15724. pTDefRegMap(@Self)^.&set := $00002000;
  15725. end;
  15726. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  15727. begin
  15728. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15729. end;
  15730. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  15731. begin
  15732. pTDefRegMap(@Self)^.val := thebits;
  15733. end;
  15734. function TOCMP3_OC3CON.getw : TBits_32; inline;
  15735. begin
  15736. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15737. end;
  15738. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  15739. begin
  15740. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15741. end;
  15742. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  15743. begin
  15744. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15745. end;
  15746. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  15747. begin
  15748. pTDefRegMap(@Self)^.&set := $00000008;
  15749. end;
  15750. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  15751. begin
  15752. pTDefRegMap(@Self)^.clr := $00000008;
  15753. end;
  15754. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  15755. begin
  15756. if thebits = 0 then
  15757. pTDefRegMap(@Self)^.clr := $00000008
  15758. else
  15759. pTDefRegMap(@Self)^.&set := $00000008;
  15760. end;
  15761. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  15762. begin
  15763. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15764. end;
  15765. procedure TOCMP4_OC4CON.setOCFLT; inline;
  15766. begin
  15767. pTDefRegMap(@Self)^.&set := $00000010;
  15768. end;
  15769. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  15770. begin
  15771. pTDefRegMap(@Self)^.clr := $00000010;
  15772. end;
  15773. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  15774. begin
  15775. if thebits = 0 then
  15776. pTDefRegMap(@Self)^.clr := $00000010
  15777. else
  15778. pTDefRegMap(@Self)^.&set := $00000010;
  15779. end;
  15780. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  15781. begin
  15782. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15783. end;
  15784. procedure TOCMP4_OC4CON.setOC32; inline;
  15785. begin
  15786. pTDefRegMap(@Self)^.&set := $00000020;
  15787. end;
  15788. procedure TOCMP4_OC4CON.clearOC32; inline;
  15789. begin
  15790. pTDefRegMap(@Self)^.clr := $00000020;
  15791. end;
  15792. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  15793. begin
  15794. if thebits = 0 then
  15795. pTDefRegMap(@Self)^.clr := $00000020
  15796. else
  15797. pTDefRegMap(@Self)^.&set := $00000020;
  15798. end;
  15799. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  15800. begin
  15801. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15802. end;
  15803. procedure TOCMP4_OC4CON.setSIDL; inline;
  15804. begin
  15805. pTDefRegMap(@Self)^.&set := $00002000;
  15806. end;
  15807. procedure TOCMP4_OC4CON.clearSIDL; inline;
  15808. begin
  15809. pTDefRegMap(@Self)^.clr := $00002000;
  15810. end;
  15811. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  15812. begin
  15813. if thebits = 0 then
  15814. pTDefRegMap(@Self)^.clr := $00002000
  15815. else
  15816. pTDefRegMap(@Self)^.&set := $00002000;
  15817. end;
  15818. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  15819. begin
  15820. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15821. end;
  15822. procedure TOCMP4_OC4CON.setON; inline;
  15823. begin
  15824. pTDefRegMap(@Self)^.&set := $00008000;
  15825. end;
  15826. procedure TOCMP4_OC4CON.clearON; inline;
  15827. begin
  15828. pTDefRegMap(@Self)^.clr := $00008000;
  15829. end;
  15830. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  15831. begin
  15832. if thebits = 0 then
  15833. pTDefRegMap(@Self)^.clr := $00008000
  15834. else
  15835. pTDefRegMap(@Self)^.&set := $00008000;
  15836. end;
  15837. function TOCMP4_OC4CON.getON : TBits_1; inline;
  15838. begin
  15839. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15840. end;
  15841. procedure TOCMP4_OC4CON.setOCM0; inline;
  15842. begin
  15843. pTDefRegMap(@Self)^.&set := $00000001;
  15844. end;
  15845. procedure TOCMP4_OC4CON.clearOCM0; inline;
  15846. begin
  15847. pTDefRegMap(@Self)^.clr := $00000001;
  15848. end;
  15849. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  15850. begin
  15851. if thebits = 0 then
  15852. pTDefRegMap(@Self)^.clr := $00000001
  15853. else
  15854. pTDefRegMap(@Self)^.&set := $00000001;
  15855. end;
  15856. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  15857. begin
  15858. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15859. end;
  15860. procedure TOCMP4_OC4CON.setOCM1; inline;
  15861. begin
  15862. pTDefRegMap(@Self)^.&set := $00000002;
  15863. end;
  15864. procedure TOCMP4_OC4CON.clearOCM1; inline;
  15865. begin
  15866. pTDefRegMap(@Self)^.clr := $00000002;
  15867. end;
  15868. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  15869. begin
  15870. if thebits = 0 then
  15871. pTDefRegMap(@Self)^.clr := $00000002
  15872. else
  15873. pTDefRegMap(@Self)^.&set := $00000002;
  15874. end;
  15875. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  15876. begin
  15877. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15878. end;
  15879. procedure TOCMP4_OC4CON.setOCM2; inline;
  15880. begin
  15881. pTDefRegMap(@Self)^.&set := $00000004;
  15882. end;
  15883. procedure TOCMP4_OC4CON.clearOCM2; inline;
  15884. begin
  15885. pTDefRegMap(@Self)^.clr := $00000004;
  15886. end;
  15887. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  15888. begin
  15889. if thebits = 0 then
  15890. pTDefRegMap(@Self)^.clr := $00000004
  15891. else
  15892. pTDefRegMap(@Self)^.&set := $00000004;
  15893. end;
  15894. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  15895. begin
  15896. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15897. end;
  15898. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  15899. begin
  15900. pTDefRegMap(@Self)^.&set := $00002000;
  15901. end;
  15902. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  15903. begin
  15904. pTDefRegMap(@Self)^.clr := $00002000;
  15905. end;
  15906. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  15907. begin
  15908. if thebits = 0 then
  15909. pTDefRegMap(@Self)^.clr := $00002000
  15910. else
  15911. pTDefRegMap(@Self)^.&set := $00002000;
  15912. end;
  15913. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  15914. begin
  15915. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15916. end;
  15917. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  15918. begin
  15919. pTDefRegMap(@Self)^.val := thebits;
  15920. end;
  15921. function TOCMP4_OC4CON.getw : TBits_32; inline;
  15922. begin
  15923. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15924. end;
  15925. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  15926. begin
  15927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15928. end;
  15929. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  15930. begin
  15931. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15932. end;
  15933. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  15934. begin
  15935. pTDefRegMap(@Self)^.&set := $00000008;
  15936. end;
  15937. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  15938. begin
  15939. pTDefRegMap(@Self)^.clr := $00000008;
  15940. end;
  15941. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  15942. begin
  15943. if thebits = 0 then
  15944. pTDefRegMap(@Self)^.clr := $00000008
  15945. else
  15946. pTDefRegMap(@Self)^.&set := $00000008;
  15947. end;
  15948. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  15949. begin
  15950. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15951. end;
  15952. procedure TOCMP5_OC5CON.setOCFLT; inline;
  15953. begin
  15954. pTDefRegMap(@Self)^.&set := $00000010;
  15955. end;
  15956. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  15957. begin
  15958. pTDefRegMap(@Self)^.clr := $00000010;
  15959. end;
  15960. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  15961. begin
  15962. if thebits = 0 then
  15963. pTDefRegMap(@Self)^.clr := $00000010
  15964. else
  15965. pTDefRegMap(@Self)^.&set := $00000010;
  15966. end;
  15967. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  15968. begin
  15969. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15970. end;
  15971. procedure TOCMP5_OC5CON.setOC32; inline;
  15972. begin
  15973. pTDefRegMap(@Self)^.&set := $00000020;
  15974. end;
  15975. procedure TOCMP5_OC5CON.clearOC32; inline;
  15976. begin
  15977. pTDefRegMap(@Self)^.clr := $00000020;
  15978. end;
  15979. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  15980. begin
  15981. if thebits = 0 then
  15982. pTDefRegMap(@Self)^.clr := $00000020
  15983. else
  15984. pTDefRegMap(@Self)^.&set := $00000020;
  15985. end;
  15986. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  15987. begin
  15988. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15989. end;
  15990. procedure TOCMP5_OC5CON.setSIDL; inline;
  15991. begin
  15992. pTDefRegMap(@Self)^.&set := $00002000;
  15993. end;
  15994. procedure TOCMP5_OC5CON.clearSIDL; inline;
  15995. begin
  15996. pTDefRegMap(@Self)^.clr := $00002000;
  15997. end;
  15998. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  15999. begin
  16000. if thebits = 0 then
  16001. pTDefRegMap(@Self)^.clr := $00002000
  16002. else
  16003. pTDefRegMap(@Self)^.&set := $00002000;
  16004. end;
  16005. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  16006. begin
  16007. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16008. end;
  16009. procedure TOCMP5_OC5CON.setON; inline;
  16010. begin
  16011. pTDefRegMap(@Self)^.&set := $00008000;
  16012. end;
  16013. procedure TOCMP5_OC5CON.clearON; inline;
  16014. begin
  16015. pTDefRegMap(@Self)^.clr := $00008000;
  16016. end;
  16017. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  16018. begin
  16019. if thebits = 0 then
  16020. pTDefRegMap(@Self)^.clr := $00008000
  16021. else
  16022. pTDefRegMap(@Self)^.&set := $00008000;
  16023. end;
  16024. function TOCMP5_OC5CON.getON : TBits_1; inline;
  16025. begin
  16026. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16027. end;
  16028. procedure TOCMP5_OC5CON.setOCM0; inline;
  16029. begin
  16030. pTDefRegMap(@Self)^.&set := $00000001;
  16031. end;
  16032. procedure TOCMP5_OC5CON.clearOCM0; inline;
  16033. begin
  16034. pTDefRegMap(@Self)^.clr := $00000001;
  16035. end;
  16036. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  16037. begin
  16038. if thebits = 0 then
  16039. pTDefRegMap(@Self)^.clr := $00000001
  16040. else
  16041. pTDefRegMap(@Self)^.&set := $00000001;
  16042. end;
  16043. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  16044. begin
  16045. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16046. end;
  16047. procedure TOCMP5_OC5CON.setOCM1; inline;
  16048. begin
  16049. pTDefRegMap(@Self)^.&set := $00000002;
  16050. end;
  16051. procedure TOCMP5_OC5CON.clearOCM1; inline;
  16052. begin
  16053. pTDefRegMap(@Self)^.clr := $00000002;
  16054. end;
  16055. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  16056. begin
  16057. if thebits = 0 then
  16058. pTDefRegMap(@Self)^.clr := $00000002
  16059. else
  16060. pTDefRegMap(@Self)^.&set := $00000002;
  16061. end;
  16062. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  16063. begin
  16064. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16065. end;
  16066. procedure TOCMP5_OC5CON.setOCM2; inline;
  16067. begin
  16068. pTDefRegMap(@Self)^.&set := $00000004;
  16069. end;
  16070. procedure TOCMP5_OC5CON.clearOCM2; inline;
  16071. begin
  16072. pTDefRegMap(@Self)^.clr := $00000004;
  16073. end;
  16074. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  16075. begin
  16076. if thebits = 0 then
  16077. pTDefRegMap(@Self)^.clr := $00000004
  16078. else
  16079. pTDefRegMap(@Self)^.&set := $00000004;
  16080. end;
  16081. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  16082. begin
  16083. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16084. end;
  16085. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  16086. begin
  16087. pTDefRegMap(@Self)^.&set := $00002000;
  16088. end;
  16089. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  16090. begin
  16091. pTDefRegMap(@Self)^.clr := $00002000;
  16092. end;
  16093. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  16094. begin
  16095. if thebits = 0 then
  16096. pTDefRegMap(@Self)^.clr := $00002000
  16097. else
  16098. pTDefRegMap(@Self)^.&set := $00002000;
  16099. end;
  16100. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  16101. begin
  16102. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16103. end;
  16104. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  16105. begin
  16106. pTDefRegMap(@Self)^.val := thebits;
  16107. end;
  16108. function TOCMP5_OC5CON.getw : TBits_32; inline;
  16109. begin
  16110. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16111. end;
  16112. procedure TI2C1_I2C1111CON.setSEN; inline;
  16113. begin
  16114. pTDefRegMap(@Self)^.&set := $00000001;
  16115. end;
  16116. procedure TI2C1_I2C1111CON.clearSEN; inline;
  16117. begin
  16118. pTDefRegMap(@Self)^.clr := $00000001;
  16119. end;
  16120. procedure TI2C1_I2C1111CON.setSEN(thebits : TBits_1); inline;
  16121. begin
  16122. if thebits = 0 then
  16123. pTDefRegMap(@Self)^.clr := $00000001
  16124. else
  16125. pTDefRegMap(@Self)^.&set := $00000001;
  16126. end;
  16127. function TI2C1_I2C1111CON.getSEN : TBits_1; inline;
  16128. begin
  16129. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16130. end;
  16131. procedure TI2C1_I2C1111CON.setRSEN; inline;
  16132. begin
  16133. pTDefRegMap(@Self)^.&set := $00000002;
  16134. end;
  16135. procedure TI2C1_I2C1111CON.clearRSEN; inline;
  16136. begin
  16137. pTDefRegMap(@Self)^.clr := $00000002;
  16138. end;
  16139. procedure TI2C1_I2C1111CON.setRSEN(thebits : TBits_1); inline;
  16140. begin
  16141. if thebits = 0 then
  16142. pTDefRegMap(@Self)^.clr := $00000002
  16143. else
  16144. pTDefRegMap(@Self)^.&set := $00000002;
  16145. end;
  16146. function TI2C1_I2C1111CON.getRSEN : TBits_1; inline;
  16147. begin
  16148. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16149. end;
  16150. procedure TI2C1_I2C1111CON.setPEN; inline;
  16151. begin
  16152. pTDefRegMap(@Self)^.&set := $00000004;
  16153. end;
  16154. procedure TI2C1_I2C1111CON.clearPEN; inline;
  16155. begin
  16156. pTDefRegMap(@Self)^.clr := $00000004;
  16157. end;
  16158. procedure TI2C1_I2C1111CON.setPEN(thebits : TBits_1); inline;
  16159. begin
  16160. if thebits = 0 then
  16161. pTDefRegMap(@Self)^.clr := $00000004
  16162. else
  16163. pTDefRegMap(@Self)^.&set := $00000004;
  16164. end;
  16165. function TI2C1_I2C1111CON.getPEN : TBits_1; inline;
  16166. begin
  16167. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16168. end;
  16169. procedure TI2C1_I2C1111CON.setRCEN; inline;
  16170. begin
  16171. pTDefRegMap(@Self)^.&set := $00000008;
  16172. end;
  16173. procedure TI2C1_I2C1111CON.clearRCEN; inline;
  16174. begin
  16175. pTDefRegMap(@Self)^.clr := $00000008;
  16176. end;
  16177. procedure TI2C1_I2C1111CON.setRCEN(thebits : TBits_1); inline;
  16178. begin
  16179. if thebits = 0 then
  16180. pTDefRegMap(@Self)^.clr := $00000008
  16181. else
  16182. pTDefRegMap(@Self)^.&set := $00000008;
  16183. end;
  16184. function TI2C1_I2C1111CON.getRCEN : TBits_1; inline;
  16185. begin
  16186. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16187. end;
  16188. procedure TI2C1_I2C1111CON.setACKEN; inline;
  16189. begin
  16190. pTDefRegMap(@Self)^.&set := $00000010;
  16191. end;
  16192. procedure TI2C1_I2C1111CON.clearACKEN; inline;
  16193. begin
  16194. pTDefRegMap(@Self)^.clr := $00000010;
  16195. end;
  16196. procedure TI2C1_I2C1111CON.setACKEN(thebits : TBits_1); inline;
  16197. begin
  16198. if thebits = 0 then
  16199. pTDefRegMap(@Self)^.clr := $00000010
  16200. else
  16201. pTDefRegMap(@Self)^.&set := $00000010;
  16202. end;
  16203. function TI2C1_I2C1111CON.getACKEN : TBits_1; inline;
  16204. begin
  16205. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16206. end;
  16207. procedure TI2C1_I2C1111CON.setACKDT; inline;
  16208. begin
  16209. pTDefRegMap(@Self)^.&set := $00000020;
  16210. end;
  16211. procedure TI2C1_I2C1111CON.clearACKDT; inline;
  16212. begin
  16213. pTDefRegMap(@Self)^.clr := $00000020;
  16214. end;
  16215. procedure TI2C1_I2C1111CON.setACKDT(thebits : TBits_1); inline;
  16216. begin
  16217. if thebits = 0 then
  16218. pTDefRegMap(@Self)^.clr := $00000020
  16219. else
  16220. pTDefRegMap(@Self)^.&set := $00000020;
  16221. end;
  16222. function TI2C1_I2C1111CON.getACKDT : TBits_1; inline;
  16223. begin
  16224. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16225. end;
  16226. procedure TI2C1_I2C1111CON.setSTREN; inline;
  16227. begin
  16228. pTDefRegMap(@Self)^.&set := $00000040;
  16229. end;
  16230. procedure TI2C1_I2C1111CON.clearSTREN; inline;
  16231. begin
  16232. pTDefRegMap(@Self)^.clr := $00000040;
  16233. end;
  16234. procedure TI2C1_I2C1111CON.setSTREN(thebits : TBits_1); inline;
  16235. begin
  16236. if thebits = 0 then
  16237. pTDefRegMap(@Self)^.clr := $00000040
  16238. else
  16239. pTDefRegMap(@Self)^.&set := $00000040;
  16240. end;
  16241. function TI2C1_I2C1111CON.getSTREN : TBits_1; inline;
  16242. begin
  16243. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16244. end;
  16245. procedure TI2C1_I2C1111CON.setGCEN; inline;
  16246. begin
  16247. pTDefRegMap(@Self)^.&set := $00000080;
  16248. end;
  16249. procedure TI2C1_I2C1111CON.clearGCEN; inline;
  16250. begin
  16251. pTDefRegMap(@Self)^.clr := $00000080;
  16252. end;
  16253. procedure TI2C1_I2C1111CON.setGCEN(thebits : TBits_1); inline;
  16254. begin
  16255. if thebits = 0 then
  16256. pTDefRegMap(@Self)^.clr := $00000080
  16257. else
  16258. pTDefRegMap(@Self)^.&set := $00000080;
  16259. end;
  16260. function TI2C1_I2C1111CON.getGCEN : TBits_1; inline;
  16261. begin
  16262. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16263. end;
  16264. procedure TI2C1_I2C1111CON.setSMEN; inline;
  16265. begin
  16266. pTDefRegMap(@Self)^.&set := $00000100;
  16267. end;
  16268. procedure TI2C1_I2C1111CON.clearSMEN; inline;
  16269. begin
  16270. pTDefRegMap(@Self)^.clr := $00000100;
  16271. end;
  16272. procedure TI2C1_I2C1111CON.setSMEN(thebits : TBits_1); inline;
  16273. begin
  16274. if thebits = 0 then
  16275. pTDefRegMap(@Self)^.clr := $00000100
  16276. else
  16277. pTDefRegMap(@Self)^.&set := $00000100;
  16278. end;
  16279. function TI2C1_I2C1111CON.getSMEN : TBits_1; inline;
  16280. begin
  16281. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16282. end;
  16283. procedure TI2C1_I2C1111CON.setDISSLW; inline;
  16284. begin
  16285. pTDefRegMap(@Self)^.&set := $00000200;
  16286. end;
  16287. procedure TI2C1_I2C1111CON.clearDISSLW; inline;
  16288. begin
  16289. pTDefRegMap(@Self)^.clr := $00000200;
  16290. end;
  16291. procedure TI2C1_I2C1111CON.setDISSLW(thebits : TBits_1); inline;
  16292. begin
  16293. if thebits = 0 then
  16294. pTDefRegMap(@Self)^.clr := $00000200
  16295. else
  16296. pTDefRegMap(@Self)^.&set := $00000200;
  16297. end;
  16298. function TI2C1_I2C1111CON.getDISSLW : TBits_1; inline;
  16299. begin
  16300. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16301. end;
  16302. procedure TI2C1_I2C1111CON.setA10M; inline;
  16303. begin
  16304. pTDefRegMap(@Self)^.&set := $00000400;
  16305. end;
  16306. procedure TI2C1_I2C1111CON.clearA10M; inline;
  16307. begin
  16308. pTDefRegMap(@Self)^.clr := $00000400;
  16309. end;
  16310. procedure TI2C1_I2C1111CON.setA10M(thebits : TBits_1); inline;
  16311. begin
  16312. if thebits = 0 then
  16313. pTDefRegMap(@Self)^.clr := $00000400
  16314. else
  16315. pTDefRegMap(@Self)^.&set := $00000400;
  16316. end;
  16317. function TI2C1_I2C1111CON.getA10M : TBits_1; inline;
  16318. begin
  16319. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16320. end;
  16321. procedure TI2C1_I2C1111CON.setSTRICT; inline;
  16322. begin
  16323. pTDefRegMap(@Self)^.&set := $00000800;
  16324. end;
  16325. procedure TI2C1_I2C1111CON.clearSTRICT; inline;
  16326. begin
  16327. pTDefRegMap(@Self)^.clr := $00000800;
  16328. end;
  16329. procedure TI2C1_I2C1111CON.setSTRICT(thebits : TBits_1); inline;
  16330. begin
  16331. if thebits = 0 then
  16332. pTDefRegMap(@Self)^.clr := $00000800
  16333. else
  16334. pTDefRegMap(@Self)^.&set := $00000800;
  16335. end;
  16336. function TI2C1_I2C1111CON.getSTRICT : TBits_1; inline;
  16337. begin
  16338. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16339. end;
  16340. procedure TI2C1_I2C1111CON.setSCLREL; inline;
  16341. begin
  16342. pTDefRegMap(@Self)^.&set := $00001000;
  16343. end;
  16344. procedure TI2C1_I2C1111CON.clearSCLREL; inline;
  16345. begin
  16346. pTDefRegMap(@Self)^.clr := $00001000;
  16347. end;
  16348. procedure TI2C1_I2C1111CON.setSCLREL(thebits : TBits_1); inline;
  16349. begin
  16350. if thebits = 0 then
  16351. pTDefRegMap(@Self)^.clr := $00001000
  16352. else
  16353. pTDefRegMap(@Self)^.&set := $00001000;
  16354. end;
  16355. function TI2C1_I2C1111CON.getSCLREL : TBits_1; inline;
  16356. begin
  16357. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16358. end;
  16359. procedure TI2C1_I2C1111CON.setSIDL; inline;
  16360. begin
  16361. pTDefRegMap(@Self)^.&set := $00002000;
  16362. end;
  16363. procedure TI2C1_I2C1111CON.clearSIDL; inline;
  16364. begin
  16365. pTDefRegMap(@Self)^.clr := $00002000;
  16366. end;
  16367. procedure TI2C1_I2C1111CON.setSIDL(thebits : TBits_1); inline;
  16368. begin
  16369. if thebits = 0 then
  16370. pTDefRegMap(@Self)^.clr := $00002000
  16371. else
  16372. pTDefRegMap(@Self)^.&set := $00002000;
  16373. end;
  16374. function TI2C1_I2C1111CON.getSIDL : TBits_1; inline;
  16375. begin
  16376. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16377. end;
  16378. procedure TI2C1_I2C1111CON.setON; inline;
  16379. begin
  16380. pTDefRegMap(@Self)^.&set := $00008000;
  16381. end;
  16382. procedure TI2C1_I2C1111CON.clearON; inline;
  16383. begin
  16384. pTDefRegMap(@Self)^.clr := $00008000;
  16385. end;
  16386. procedure TI2C1_I2C1111CON.setON(thebits : TBits_1); inline;
  16387. begin
  16388. if thebits = 0 then
  16389. pTDefRegMap(@Self)^.clr := $00008000
  16390. else
  16391. pTDefRegMap(@Self)^.&set := $00008000;
  16392. end;
  16393. function TI2C1_I2C1111CON.getON : TBits_1; inline;
  16394. begin
  16395. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16396. end;
  16397. procedure TI2C1_I2C1111CON.setIPMIEN; inline;
  16398. begin
  16399. pTDefRegMap(@Self)^.&set := $00000800;
  16400. end;
  16401. procedure TI2C1_I2C1111CON.clearIPMIEN; inline;
  16402. begin
  16403. pTDefRegMap(@Self)^.clr := $00000800;
  16404. end;
  16405. procedure TI2C1_I2C1111CON.setIPMIEN(thebits : TBits_1); inline;
  16406. begin
  16407. if thebits = 0 then
  16408. pTDefRegMap(@Self)^.clr := $00000800
  16409. else
  16410. pTDefRegMap(@Self)^.&set := $00000800;
  16411. end;
  16412. function TI2C1_I2C1111CON.getIPMIEN : TBits_1; inline;
  16413. begin
  16414. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16415. end;
  16416. procedure TI2C1_I2C1111CON.setI2CSIDL; inline;
  16417. begin
  16418. pTDefRegMap(@Self)^.&set := $00002000;
  16419. end;
  16420. procedure TI2C1_I2C1111CON.clearI2CSIDL; inline;
  16421. begin
  16422. pTDefRegMap(@Self)^.clr := $00002000;
  16423. end;
  16424. procedure TI2C1_I2C1111CON.setI2CSIDL(thebits : TBits_1); inline;
  16425. begin
  16426. if thebits = 0 then
  16427. pTDefRegMap(@Self)^.clr := $00002000
  16428. else
  16429. pTDefRegMap(@Self)^.&set := $00002000;
  16430. end;
  16431. function TI2C1_I2C1111CON.getI2CSIDL : TBits_1; inline;
  16432. begin
  16433. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16434. end;
  16435. procedure TI2C1_I2C1111CON.setI2CEN; inline;
  16436. begin
  16437. pTDefRegMap(@Self)^.&set := $00008000;
  16438. end;
  16439. procedure TI2C1_I2C1111CON.clearI2CEN; inline;
  16440. begin
  16441. pTDefRegMap(@Self)^.clr := $00008000;
  16442. end;
  16443. procedure TI2C1_I2C1111CON.setI2CEN(thebits : TBits_1); inline;
  16444. begin
  16445. if thebits = 0 then
  16446. pTDefRegMap(@Self)^.clr := $00008000
  16447. else
  16448. pTDefRegMap(@Self)^.&set := $00008000;
  16449. end;
  16450. function TI2C1_I2C1111CON.getI2CEN : TBits_1; inline;
  16451. begin
  16452. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16453. end;
  16454. procedure TI2C1_I2C1111CON.setw(thebits : TBits_32); inline;
  16455. begin
  16456. pTDefRegMap(@Self)^.val := thebits;
  16457. end;
  16458. function TI2C1_I2C1111CON.getw : TBits_32; inline;
  16459. begin
  16460. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16461. end;
  16462. procedure TI2C1_I2C1CON.setSEN; inline;
  16463. begin
  16464. pTDefRegMap(@Self)^.&set := $00000001;
  16465. end;
  16466. procedure TI2C1_I2C1CON.clearSEN; inline;
  16467. begin
  16468. pTDefRegMap(@Self)^.clr := $00000001;
  16469. end;
  16470. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  16471. begin
  16472. if thebits = 0 then
  16473. pTDefRegMap(@Self)^.clr := $00000001
  16474. else
  16475. pTDefRegMap(@Self)^.&set := $00000001;
  16476. end;
  16477. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  16478. begin
  16479. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16480. end;
  16481. procedure TI2C1_I2C1CON.setRSEN; inline;
  16482. begin
  16483. pTDefRegMap(@Self)^.&set := $00000002;
  16484. end;
  16485. procedure TI2C1_I2C1CON.clearRSEN; inline;
  16486. begin
  16487. pTDefRegMap(@Self)^.clr := $00000002;
  16488. end;
  16489. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  16490. begin
  16491. if thebits = 0 then
  16492. pTDefRegMap(@Self)^.clr := $00000002
  16493. else
  16494. pTDefRegMap(@Self)^.&set := $00000002;
  16495. end;
  16496. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  16497. begin
  16498. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16499. end;
  16500. procedure TI2C1_I2C1CON.setPEN; inline;
  16501. begin
  16502. pTDefRegMap(@Self)^.&set := $00000004;
  16503. end;
  16504. procedure TI2C1_I2C1CON.clearPEN; inline;
  16505. begin
  16506. pTDefRegMap(@Self)^.clr := $00000004;
  16507. end;
  16508. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  16509. begin
  16510. if thebits = 0 then
  16511. pTDefRegMap(@Self)^.clr := $00000004
  16512. else
  16513. pTDefRegMap(@Self)^.&set := $00000004;
  16514. end;
  16515. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  16516. begin
  16517. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16518. end;
  16519. procedure TI2C1_I2C1CON.setRCEN; inline;
  16520. begin
  16521. pTDefRegMap(@Self)^.&set := $00000008;
  16522. end;
  16523. procedure TI2C1_I2C1CON.clearRCEN; inline;
  16524. begin
  16525. pTDefRegMap(@Self)^.clr := $00000008;
  16526. end;
  16527. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  16528. begin
  16529. if thebits = 0 then
  16530. pTDefRegMap(@Self)^.clr := $00000008
  16531. else
  16532. pTDefRegMap(@Self)^.&set := $00000008;
  16533. end;
  16534. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  16535. begin
  16536. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16537. end;
  16538. procedure TI2C1_I2C1CON.setACKEN; inline;
  16539. begin
  16540. pTDefRegMap(@Self)^.&set := $00000010;
  16541. end;
  16542. procedure TI2C1_I2C1CON.clearACKEN; inline;
  16543. begin
  16544. pTDefRegMap(@Self)^.clr := $00000010;
  16545. end;
  16546. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  16547. begin
  16548. if thebits = 0 then
  16549. pTDefRegMap(@Self)^.clr := $00000010
  16550. else
  16551. pTDefRegMap(@Self)^.&set := $00000010;
  16552. end;
  16553. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  16554. begin
  16555. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16556. end;
  16557. procedure TI2C1_I2C1CON.setACKDT; inline;
  16558. begin
  16559. pTDefRegMap(@Self)^.&set := $00000020;
  16560. end;
  16561. procedure TI2C1_I2C1CON.clearACKDT; inline;
  16562. begin
  16563. pTDefRegMap(@Self)^.clr := $00000020;
  16564. end;
  16565. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  16566. begin
  16567. if thebits = 0 then
  16568. pTDefRegMap(@Self)^.clr := $00000020
  16569. else
  16570. pTDefRegMap(@Self)^.&set := $00000020;
  16571. end;
  16572. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  16573. begin
  16574. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16575. end;
  16576. procedure TI2C1_I2C1CON.setSTREN; inline;
  16577. begin
  16578. pTDefRegMap(@Self)^.&set := $00000040;
  16579. end;
  16580. procedure TI2C1_I2C1CON.clearSTREN; inline;
  16581. begin
  16582. pTDefRegMap(@Self)^.clr := $00000040;
  16583. end;
  16584. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  16585. begin
  16586. if thebits = 0 then
  16587. pTDefRegMap(@Self)^.clr := $00000040
  16588. else
  16589. pTDefRegMap(@Self)^.&set := $00000040;
  16590. end;
  16591. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  16592. begin
  16593. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16594. end;
  16595. procedure TI2C1_I2C1CON.setGCEN; inline;
  16596. begin
  16597. pTDefRegMap(@Self)^.&set := $00000080;
  16598. end;
  16599. procedure TI2C1_I2C1CON.clearGCEN; inline;
  16600. begin
  16601. pTDefRegMap(@Self)^.clr := $00000080;
  16602. end;
  16603. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  16604. begin
  16605. if thebits = 0 then
  16606. pTDefRegMap(@Self)^.clr := $00000080
  16607. else
  16608. pTDefRegMap(@Self)^.&set := $00000080;
  16609. end;
  16610. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  16611. begin
  16612. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16613. end;
  16614. procedure TI2C1_I2C1CON.setSMEN; inline;
  16615. begin
  16616. pTDefRegMap(@Self)^.&set := $00000100;
  16617. end;
  16618. procedure TI2C1_I2C1CON.clearSMEN; inline;
  16619. begin
  16620. pTDefRegMap(@Self)^.clr := $00000100;
  16621. end;
  16622. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  16623. begin
  16624. if thebits = 0 then
  16625. pTDefRegMap(@Self)^.clr := $00000100
  16626. else
  16627. pTDefRegMap(@Self)^.&set := $00000100;
  16628. end;
  16629. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  16630. begin
  16631. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16632. end;
  16633. procedure TI2C1_I2C1CON.setDISSLW; inline;
  16634. begin
  16635. pTDefRegMap(@Self)^.&set := $00000200;
  16636. end;
  16637. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  16638. begin
  16639. pTDefRegMap(@Self)^.clr := $00000200;
  16640. end;
  16641. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  16642. begin
  16643. if thebits = 0 then
  16644. pTDefRegMap(@Self)^.clr := $00000200
  16645. else
  16646. pTDefRegMap(@Self)^.&set := $00000200;
  16647. end;
  16648. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  16649. begin
  16650. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16651. end;
  16652. procedure TI2C1_I2C1CON.setA10M; inline;
  16653. begin
  16654. pTDefRegMap(@Self)^.&set := $00000400;
  16655. end;
  16656. procedure TI2C1_I2C1CON.clearA10M; inline;
  16657. begin
  16658. pTDefRegMap(@Self)^.clr := $00000400;
  16659. end;
  16660. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  16661. begin
  16662. if thebits = 0 then
  16663. pTDefRegMap(@Self)^.clr := $00000400
  16664. else
  16665. pTDefRegMap(@Self)^.&set := $00000400;
  16666. end;
  16667. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  16668. begin
  16669. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16670. end;
  16671. procedure TI2C1_I2C1CON.setSTRICT; inline;
  16672. begin
  16673. pTDefRegMap(@Self)^.&set := $00000800;
  16674. end;
  16675. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  16676. begin
  16677. pTDefRegMap(@Self)^.clr := $00000800;
  16678. end;
  16679. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  16680. begin
  16681. if thebits = 0 then
  16682. pTDefRegMap(@Self)^.clr := $00000800
  16683. else
  16684. pTDefRegMap(@Self)^.&set := $00000800;
  16685. end;
  16686. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  16687. begin
  16688. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16689. end;
  16690. procedure TI2C1_I2C1CON.setSCLREL; inline;
  16691. begin
  16692. pTDefRegMap(@Self)^.&set := $00001000;
  16693. end;
  16694. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  16695. begin
  16696. pTDefRegMap(@Self)^.clr := $00001000;
  16697. end;
  16698. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  16699. begin
  16700. if thebits = 0 then
  16701. pTDefRegMap(@Self)^.clr := $00001000
  16702. else
  16703. pTDefRegMap(@Self)^.&set := $00001000;
  16704. end;
  16705. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  16706. begin
  16707. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16708. end;
  16709. procedure TI2C1_I2C1CON.setSIDL; inline;
  16710. begin
  16711. pTDefRegMap(@Self)^.&set := $00002000;
  16712. end;
  16713. procedure TI2C1_I2C1CON.clearSIDL; inline;
  16714. begin
  16715. pTDefRegMap(@Self)^.clr := $00002000;
  16716. end;
  16717. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  16718. begin
  16719. if thebits = 0 then
  16720. pTDefRegMap(@Self)^.clr := $00002000
  16721. else
  16722. pTDefRegMap(@Self)^.&set := $00002000;
  16723. end;
  16724. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  16725. begin
  16726. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16727. end;
  16728. procedure TI2C1_I2C1CON.setON; inline;
  16729. begin
  16730. pTDefRegMap(@Self)^.&set := $00008000;
  16731. end;
  16732. procedure TI2C1_I2C1CON.clearON; inline;
  16733. begin
  16734. pTDefRegMap(@Self)^.clr := $00008000;
  16735. end;
  16736. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  16737. begin
  16738. if thebits = 0 then
  16739. pTDefRegMap(@Self)^.clr := $00008000
  16740. else
  16741. pTDefRegMap(@Self)^.&set := $00008000;
  16742. end;
  16743. function TI2C1_I2C1CON.getON : TBits_1; inline;
  16744. begin
  16745. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16746. end;
  16747. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  16748. begin
  16749. pTDefRegMap(@Self)^.&set := $00000800;
  16750. end;
  16751. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  16752. begin
  16753. pTDefRegMap(@Self)^.clr := $00000800;
  16754. end;
  16755. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  16756. begin
  16757. if thebits = 0 then
  16758. pTDefRegMap(@Self)^.clr := $00000800
  16759. else
  16760. pTDefRegMap(@Self)^.&set := $00000800;
  16761. end;
  16762. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  16763. begin
  16764. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16765. end;
  16766. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  16767. begin
  16768. pTDefRegMap(@Self)^.&set := $00002000;
  16769. end;
  16770. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  16771. begin
  16772. pTDefRegMap(@Self)^.clr := $00002000;
  16773. end;
  16774. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  16775. begin
  16776. if thebits = 0 then
  16777. pTDefRegMap(@Self)^.clr := $00002000
  16778. else
  16779. pTDefRegMap(@Self)^.&set := $00002000;
  16780. end;
  16781. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  16782. begin
  16783. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16784. end;
  16785. procedure TI2C1_I2C1CON.setI2CEN; inline;
  16786. begin
  16787. pTDefRegMap(@Self)^.&set := $00008000;
  16788. end;
  16789. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  16790. begin
  16791. pTDefRegMap(@Self)^.clr := $00008000;
  16792. end;
  16793. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  16794. begin
  16795. if thebits = 0 then
  16796. pTDefRegMap(@Self)^.clr := $00008000
  16797. else
  16798. pTDefRegMap(@Self)^.&set := $00008000;
  16799. end;
  16800. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  16801. begin
  16802. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16803. end;
  16804. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  16805. begin
  16806. pTDefRegMap(@Self)^.val := thebits;
  16807. end;
  16808. function TI2C1_I2C1CON.getw : TBits_32; inline;
  16809. begin
  16810. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16811. end;
  16812. procedure TI2C1_I2C1111STAT.setTBF; inline;
  16813. begin
  16814. pTDefRegMap(@Self)^.&set := $00000001;
  16815. end;
  16816. procedure TI2C1_I2C1111STAT.clearTBF; inline;
  16817. begin
  16818. pTDefRegMap(@Self)^.clr := $00000001;
  16819. end;
  16820. procedure TI2C1_I2C1111STAT.setTBF(thebits : TBits_1); inline;
  16821. begin
  16822. if thebits = 0 then
  16823. pTDefRegMap(@Self)^.clr := $00000001
  16824. else
  16825. pTDefRegMap(@Self)^.&set := $00000001;
  16826. end;
  16827. function TI2C1_I2C1111STAT.getTBF : TBits_1; inline;
  16828. begin
  16829. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16830. end;
  16831. procedure TI2C1_I2C1111STAT.setRBF; inline;
  16832. begin
  16833. pTDefRegMap(@Self)^.&set := $00000002;
  16834. end;
  16835. procedure TI2C1_I2C1111STAT.clearRBF; inline;
  16836. begin
  16837. pTDefRegMap(@Self)^.clr := $00000002;
  16838. end;
  16839. procedure TI2C1_I2C1111STAT.setRBF(thebits : TBits_1); inline;
  16840. begin
  16841. if thebits = 0 then
  16842. pTDefRegMap(@Self)^.clr := $00000002
  16843. else
  16844. pTDefRegMap(@Self)^.&set := $00000002;
  16845. end;
  16846. function TI2C1_I2C1111STAT.getRBF : TBits_1; inline;
  16847. begin
  16848. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16849. end;
  16850. procedure TI2C1_I2C1111STAT.setR_W; inline;
  16851. begin
  16852. pTDefRegMap(@Self)^.&set := $00000004;
  16853. end;
  16854. procedure TI2C1_I2C1111STAT.clearR_W; inline;
  16855. begin
  16856. pTDefRegMap(@Self)^.clr := $00000004;
  16857. end;
  16858. procedure TI2C1_I2C1111STAT.setR_W(thebits : TBits_1); inline;
  16859. begin
  16860. if thebits = 0 then
  16861. pTDefRegMap(@Self)^.clr := $00000004
  16862. else
  16863. pTDefRegMap(@Self)^.&set := $00000004;
  16864. end;
  16865. function TI2C1_I2C1111STAT.getR_W : TBits_1; inline;
  16866. begin
  16867. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16868. end;
  16869. procedure TI2C1_I2C1111STAT.setS; inline;
  16870. begin
  16871. pTDefRegMap(@Self)^.&set := $00000008;
  16872. end;
  16873. procedure TI2C1_I2C1111STAT.clearS; inline;
  16874. begin
  16875. pTDefRegMap(@Self)^.clr := $00000008;
  16876. end;
  16877. procedure TI2C1_I2C1111STAT.setS(thebits : TBits_1); inline;
  16878. begin
  16879. if thebits = 0 then
  16880. pTDefRegMap(@Self)^.clr := $00000008
  16881. else
  16882. pTDefRegMap(@Self)^.&set := $00000008;
  16883. end;
  16884. function TI2C1_I2C1111STAT.getS : TBits_1; inline;
  16885. begin
  16886. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16887. end;
  16888. procedure TI2C1_I2C1111STAT.setP; inline;
  16889. begin
  16890. pTDefRegMap(@Self)^.&set := $00000010;
  16891. end;
  16892. procedure TI2C1_I2C1111STAT.clearP; inline;
  16893. begin
  16894. pTDefRegMap(@Self)^.clr := $00000010;
  16895. end;
  16896. procedure TI2C1_I2C1111STAT.setP(thebits : TBits_1); inline;
  16897. begin
  16898. if thebits = 0 then
  16899. pTDefRegMap(@Self)^.clr := $00000010
  16900. else
  16901. pTDefRegMap(@Self)^.&set := $00000010;
  16902. end;
  16903. function TI2C1_I2C1111STAT.getP : TBits_1; inline;
  16904. begin
  16905. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16906. end;
  16907. procedure TI2C1_I2C1111STAT.setD_A; inline;
  16908. begin
  16909. pTDefRegMap(@Self)^.&set := $00000020;
  16910. end;
  16911. procedure TI2C1_I2C1111STAT.clearD_A; inline;
  16912. begin
  16913. pTDefRegMap(@Self)^.clr := $00000020;
  16914. end;
  16915. procedure TI2C1_I2C1111STAT.setD_A(thebits : TBits_1); inline;
  16916. begin
  16917. if thebits = 0 then
  16918. pTDefRegMap(@Self)^.clr := $00000020
  16919. else
  16920. pTDefRegMap(@Self)^.&set := $00000020;
  16921. end;
  16922. function TI2C1_I2C1111STAT.getD_A : TBits_1; inline;
  16923. begin
  16924. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16925. end;
  16926. procedure TI2C1_I2C1111STAT.setI2COV; inline;
  16927. begin
  16928. pTDefRegMap(@Self)^.&set := $00000040;
  16929. end;
  16930. procedure TI2C1_I2C1111STAT.clearI2COV; inline;
  16931. begin
  16932. pTDefRegMap(@Self)^.clr := $00000040;
  16933. end;
  16934. procedure TI2C1_I2C1111STAT.setI2COV(thebits : TBits_1); inline;
  16935. begin
  16936. if thebits = 0 then
  16937. pTDefRegMap(@Self)^.clr := $00000040
  16938. else
  16939. pTDefRegMap(@Self)^.&set := $00000040;
  16940. end;
  16941. function TI2C1_I2C1111STAT.getI2COV : TBits_1; inline;
  16942. begin
  16943. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16944. end;
  16945. procedure TI2C1_I2C1111STAT.setIWCOL; inline;
  16946. begin
  16947. pTDefRegMap(@Self)^.&set := $00000080;
  16948. end;
  16949. procedure TI2C1_I2C1111STAT.clearIWCOL; inline;
  16950. begin
  16951. pTDefRegMap(@Self)^.clr := $00000080;
  16952. end;
  16953. procedure TI2C1_I2C1111STAT.setIWCOL(thebits : TBits_1); inline;
  16954. begin
  16955. if thebits = 0 then
  16956. pTDefRegMap(@Self)^.clr := $00000080
  16957. else
  16958. pTDefRegMap(@Self)^.&set := $00000080;
  16959. end;
  16960. function TI2C1_I2C1111STAT.getIWCOL : TBits_1; inline;
  16961. begin
  16962. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16963. end;
  16964. procedure TI2C1_I2C1111STAT.setADD10; inline;
  16965. begin
  16966. pTDefRegMap(@Self)^.&set := $00000100;
  16967. end;
  16968. procedure TI2C1_I2C1111STAT.clearADD10; inline;
  16969. begin
  16970. pTDefRegMap(@Self)^.clr := $00000100;
  16971. end;
  16972. procedure TI2C1_I2C1111STAT.setADD10(thebits : TBits_1); inline;
  16973. begin
  16974. if thebits = 0 then
  16975. pTDefRegMap(@Self)^.clr := $00000100
  16976. else
  16977. pTDefRegMap(@Self)^.&set := $00000100;
  16978. end;
  16979. function TI2C1_I2C1111STAT.getADD10 : TBits_1; inline;
  16980. begin
  16981. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16982. end;
  16983. procedure TI2C1_I2C1111STAT.setGCSTAT; inline;
  16984. begin
  16985. pTDefRegMap(@Self)^.&set := $00000200;
  16986. end;
  16987. procedure TI2C1_I2C1111STAT.clearGCSTAT; inline;
  16988. begin
  16989. pTDefRegMap(@Self)^.clr := $00000200;
  16990. end;
  16991. procedure TI2C1_I2C1111STAT.setGCSTAT(thebits : TBits_1); inline;
  16992. begin
  16993. if thebits = 0 then
  16994. pTDefRegMap(@Self)^.clr := $00000200
  16995. else
  16996. pTDefRegMap(@Self)^.&set := $00000200;
  16997. end;
  16998. function TI2C1_I2C1111STAT.getGCSTAT : TBits_1; inline;
  16999. begin
  17000. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17001. end;
  17002. procedure TI2C1_I2C1111STAT.setBCL; inline;
  17003. begin
  17004. pTDefRegMap(@Self)^.&set := $00000400;
  17005. end;
  17006. procedure TI2C1_I2C1111STAT.clearBCL; inline;
  17007. begin
  17008. pTDefRegMap(@Self)^.clr := $00000400;
  17009. end;
  17010. procedure TI2C1_I2C1111STAT.setBCL(thebits : TBits_1); inline;
  17011. begin
  17012. if thebits = 0 then
  17013. pTDefRegMap(@Self)^.clr := $00000400
  17014. else
  17015. pTDefRegMap(@Self)^.&set := $00000400;
  17016. end;
  17017. function TI2C1_I2C1111STAT.getBCL : TBits_1; inline;
  17018. begin
  17019. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17020. end;
  17021. procedure TI2C1_I2C1111STAT.setTRSTAT; inline;
  17022. begin
  17023. pTDefRegMap(@Self)^.&set := $00004000;
  17024. end;
  17025. procedure TI2C1_I2C1111STAT.clearTRSTAT; inline;
  17026. begin
  17027. pTDefRegMap(@Self)^.clr := $00004000;
  17028. end;
  17029. procedure TI2C1_I2C1111STAT.setTRSTAT(thebits : TBits_1); inline;
  17030. begin
  17031. if thebits = 0 then
  17032. pTDefRegMap(@Self)^.clr := $00004000
  17033. else
  17034. pTDefRegMap(@Self)^.&set := $00004000;
  17035. end;
  17036. function TI2C1_I2C1111STAT.getTRSTAT : TBits_1; inline;
  17037. begin
  17038. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17039. end;
  17040. procedure TI2C1_I2C1111STAT.setACKSTAT; inline;
  17041. begin
  17042. pTDefRegMap(@Self)^.&set := $00008000;
  17043. end;
  17044. procedure TI2C1_I2C1111STAT.clearACKSTAT; inline;
  17045. begin
  17046. pTDefRegMap(@Self)^.clr := $00008000;
  17047. end;
  17048. procedure TI2C1_I2C1111STAT.setACKSTAT(thebits : TBits_1); inline;
  17049. begin
  17050. if thebits = 0 then
  17051. pTDefRegMap(@Self)^.clr := $00008000
  17052. else
  17053. pTDefRegMap(@Self)^.&set := $00008000;
  17054. end;
  17055. function TI2C1_I2C1111STAT.getACKSTAT : TBits_1; inline;
  17056. begin
  17057. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17058. end;
  17059. procedure TI2C1_I2C1111STAT.setI2CPOV; inline;
  17060. begin
  17061. pTDefRegMap(@Self)^.&set := $00000040;
  17062. end;
  17063. procedure TI2C1_I2C1111STAT.clearI2CPOV; inline;
  17064. begin
  17065. pTDefRegMap(@Self)^.clr := $00000040;
  17066. end;
  17067. procedure TI2C1_I2C1111STAT.setI2CPOV(thebits : TBits_1); inline;
  17068. begin
  17069. if thebits = 0 then
  17070. pTDefRegMap(@Self)^.clr := $00000040
  17071. else
  17072. pTDefRegMap(@Self)^.&set := $00000040;
  17073. end;
  17074. function TI2C1_I2C1111STAT.getI2CPOV : TBits_1; inline;
  17075. begin
  17076. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17077. end;
  17078. procedure TI2C1_I2C1111STAT.setw(thebits : TBits_32); inline;
  17079. begin
  17080. pTDefRegMap(@Self)^.val := thebits;
  17081. end;
  17082. function TI2C1_I2C1111STAT.getw : TBits_32; inline;
  17083. begin
  17084. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17085. end;
  17086. procedure TI2C1_I2C1STAT.setTBF; inline;
  17087. begin
  17088. pTDefRegMap(@Self)^.&set := $00000001;
  17089. end;
  17090. procedure TI2C1_I2C1STAT.clearTBF; inline;
  17091. begin
  17092. pTDefRegMap(@Self)^.clr := $00000001;
  17093. end;
  17094. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  17095. begin
  17096. if thebits = 0 then
  17097. pTDefRegMap(@Self)^.clr := $00000001
  17098. else
  17099. pTDefRegMap(@Self)^.&set := $00000001;
  17100. end;
  17101. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  17102. begin
  17103. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17104. end;
  17105. procedure TI2C1_I2C1STAT.setRBF; inline;
  17106. begin
  17107. pTDefRegMap(@Self)^.&set := $00000002;
  17108. end;
  17109. procedure TI2C1_I2C1STAT.clearRBF; inline;
  17110. begin
  17111. pTDefRegMap(@Self)^.clr := $00000002;
  17112. end;
  17113. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  17114. begin
  17115. if thebits = 0 then
  17116. pTDefRegMap(@Self)^.clr := $00000002
  17117. else
  17118. pTDefRegMap(@Self)^.&set := $00000002;
  17119. end;
  17120. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  17121. begin
  17122. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17123. end;
  17124. procedure TI2C1_I2C1STAT.setR_W; inline;
  17125. begin
  17126. pTDefRegMap(@Self)^.&set := $00000004;
  17127. end;
  17128. procedure TI2C1_I2C1STAT.clearR_W; inline;
  17129. begin
  17130. pTDefRegMap(@Self)^.clr := $00000004;
  17131. end;
  17132. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  17133. begin
  17134. if thebits = 0 then
  17135. pTDefRegMap(@Self)^.clr := $00000004
  17136. else
  17137. pTDefRegMap(@Self)^.&set := $00000004;
  17138. end;
  17139. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  17140. begin
  17141. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17142. end;
  17143. procedure TI2C1_I2C1STAT.setS; inline;
  17144. begin
  17145. pTDefRegMap(@Self)^.&set := $00000008;
  17146. end;
  17147. procedure TI2C1_I2C1STAT.clearS; inline;
  17148. begin
  17149. pTDefRegMap(@Self)^.clr := $00000008;
  17150. end;
  17151. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  17152. begin
  17153. if thebits = 0 then
  17154. pTDefRegMap(@Self)^.clr := $00000008
  17155. else
  17156. pTDefRegMap(@Self)^.&set := $00000008;
  17157. end;
  17158. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  17159. begin
  17160. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17161. end;
  17162. procedure TI2C1_I2C1STAT.setP; inline;
  17163. begin
  17164. pTDefRegMap(@Self)^.&set := $00000010;
  17165. end;
  17166. procedure TI2C1_I2C1STAT.clearP; inline;
  17167. begin
  17168. pTDefRegMap(@Self)^.clr := $00000010;
  17169. end;
  17170. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  17171. begin
  17172. if thebits = 0 then
  17173. pTDefRegMap(@Self)^.clr := $00000010
  17174. else
  17175. pTDefRegMap(@Self)^.&set := $00000010;
  17176. end;
  17177. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  17178. begin
  17179. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17180. end;
  17181. procedure TI2C1_I2C1STAT.setD_A; inline;
  17182. begin
  17183. pTDefRegMap(@Self)^.&set := $00000020;
  17184. end;
  17185. procedure TI2C1_I2C1STAT.clearD_A; inline;
  17186. begin
  17187. pTDefRegMap(@Self)^.clr := $00000020;
  17188. end;
  17189. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  17190. begin
  17191. if thebits = 0 then
  17192. pTDefRegMap(@Self)^.clr := $00000020
  17193. else
  17194. pTDefRegMap(@Self)^.&set := $00000020;
  17195. end;
  17196. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  17197. begin
  17198. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17199. end;
  17200. procedure TI2C1_I2C1STAT.setI2COV; inline;
  17201. begin
  17202. pTDefRegMap(@Self)^.&set := $00000040;
  17203. end;
  17204. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  17205. begin
  17206. pTDefRegMap(@Self)^.clr := $00000040;
  17207. end;
  17208. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  17209. begin
  17210. if thebits = 0 then
  17211. pTDefRegMap(@Self)^.clr := $00000040
  17212. else
  17213. pTDefRegMap(@Self)^.&set := $00000040;
  17214. end;
  17215. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  17216. begin
  17217. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17218. end;
  17219. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  17220. begin
  17221. pTDefRegMap(@Self)^.&set := $00000080;
  17222. end;
  17223. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  17224. begin
  17225. pTDefRegMap(@Self)^.clr := $00000080;
  17226. end;
  17227. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  17228. begin
  17229. if thebits = 0 then
  17230. pTDefRegMap(@Self)^.clr := $00000080
  17231. else
  17232. pTDefRegMap(@Self)^.&set := $00000080;
  17233. end;
  17234. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  17235. begin
  17236. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17237. end;
  17238. procedure TI2C1_I2C1STAT.setADD10; inline;
  17239. begin
  17240. pTDefRegMap(@Self)^.&set := $00000100;
  17241. end;
  17242. procedure TI2C1_I2C1STAT.clearADD10; inline;
  17243. begin
  17244. pTDefRegMap(@Self)^.clr := $00000100;
  17245. end;
  17246. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  17247. begin
  17248. if thebits = 0 then
  17249. pTDefRegMap(@Self)^.clr := $00000100
  17250. else
  17251. pTDefRegMap(@Self)^.&set := $00000100;
  17252. end;
  17253. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  17254. begin
  17255. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17256. end;
  17257. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  17258. begin
  17259. pTDefRegMap(@Self)^.&set := $00000200;
  17260. end;
  17261. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  17262. begin
  17263. pTDefRegMap(@Self)^.clr := $00000200;
  17264. end;
  17265. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  17266. begin
  17267. if thebits = 0 then
  17268. pTDefRegMap(@Self)^.clr := $00000200
  17269. else
  17270. pTDefRegMap(@Self)^.&set := $00000200;
  17271. end;
  17272. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  17273. begin
  17274. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17275. end;
  17276. procedure TI2C1_I2C1STAT.setBCL; inline;
  17277. begin
  17278. pTDefRegMap(@Self)^.&set := $00000400;
  17279. end;
  17280. procedure TI2C1_I2C1STAT.clearBCL; inline;
  17281. begin
  17282. pTDefRegMap(@Self)^.clr := $00000400;
  17283. end;
  17284. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  17285. begin
  17286. if thebits = 0 then
  17287. pTDefRegMap(@Self)^.clr := $00000400
  17288. else
  17289. pTDefRegMap(@Self)^.&set := $00000400;
  17290. end;
  17291. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  17292. begin
  17293. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17294. end;
  17295. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  17296. begin
  17297. pTDefRegMap(@Self)^.&set := $00004000;
  17298. end;
  17299. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  17300. begin
  17301. pTDefRegMap(@Self)^.clr := $00004000;
  17302. end;
  17303. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  17304. begin
  17305. if thebits = 0 then
  17306. pTDefRegMap(@Self)^.clr := $00004000
  17307. else
  17308. pTDefRegMap(@Self)^.&set := $00004000;
  17309. end;
  17310. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  17311. begin
  17312. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17313. end;
  17314. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  17315. begin
  17316. pTDefRegMap(@Self)^.&set := $00008000;
  17317. end;
  17318. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  17319. begin
  17320. pTDefRegMap(@Self)^.clr := $00008000;
  17321. end;
  17322. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  17323. begin
  17324. if thebits = 0 then
  17325. pTDefRegMap(@Self)^.clr := $00008000
  17326. else
  17327. pTDefRegMap(@Self)^.&set := $00008000;
  17328. end;
  17329. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  17330. begin
  17331. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17332. end;
  17333. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  17334. begin
  17335. pTDefRegMap(@Self)^.&set := $00000040;
  17336. end;
  17337. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  17338. begin
  17339. pTDefRegMap(@Self)^.clr := $00000040;
  17340. end;
  17341. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  17342. begin
  17343. if thebits = 0 then
  17344. pTDefRegMap(@Self)^.clr := $00000040
  17345. else
  17346. pTDefRegMap(@Self)^.&set := $00000040;
  17347. end;
  17348. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  17349. begin
  17350. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17351. end;
  17352. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  17353. begin
  17354. pTDefRegMap(@Self)^.val := thebits;
  17355. end;
  17356. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  17357. begin
  17358. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17359. end;
  17360. procedure TI2C2_I2C2CON.setSEN; inline;
  17361. begin
  17362. pTDefRegMap(@Self)^.&set := $00000001;
  17363. end;
  17364. procedure TI2C2_I2C2CON.clearSEN; inline;
  17365. begin
  17366. pTDefRegMap(@Self)^.clr := $00000001;
  17367. end;
  17368. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  17369. begin
  17370. if thebits = 0 then
  17371. pTDefRegMap(@Self)^.clr := $00000001
  17372. else
  17373. pTDefRegMap(@Self)^.&set := $00000001;
  17374. end;
  17375. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  17376. begin
  17377. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17378. end;
  17379. procedure TI2C2_I2C2CON.setRSEN; inline;
  17380. begin
  17381. pTDefRegMap(@Self)^.&set := $00000002;
  17382. end;
  17383. procedure TI2C2_I2C2CON.clearRSEN; inline;
  17384. begin
  17385. pTDefRegMap(@Self)^.clr := $00000002;
  17386. end;
  17387. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  17388. begin
  17389. if thebits = 0 then
  17390. pTDefRegMap(@Self)^.clr := $00000002
  17391. else
  17392. pTDefRegMap(@Self)^.&set := $00000002;
  17393. end;
  17394. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  17395. begin
  17396. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17397. end;
  17398. procedure TI2C2_I2C2CON.setPEN; inline;
  17399. begin
  17400. pTDefRegMap(@Self)^.&set := $00000004;
  17401. end;
  17402. procedure TI2C2_I2C2CON.clearPEN; inline;
  17403. begin
  17404. pTDefRegMap(@Self)^.clr := $00000004;
  17405. end;
  17406. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  17407. begin
  17408. if thebits = 0 then
  17409. pTDefRegMap(@Self)^.clr := $00000004
  17410. else
  17411. pTDefRegMap(@Self)^.&set := $00000004;
  17412. end;
  17413. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  17414. begin
  17415. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17416. end;
  17417. procedure TI2C2_I2C2CON.setRCEN; inline;
  17418. begin
  17419. pTDefRegMap(@Self)^.&set := $00000008;
  17420. end;
  17421. procedure TI2C2_I2C2CON.clearRCEN; inline;
  17422. begin
  17423. pTDefRegMap(@Self)^.clr := $00000008;
  17424. end;
  17425. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  17426. begin
  17427. if thebits = 0 then
  17428. pTDefRegMap(@Self)^.clr := $00000008
  17429. else
  17430. pTDefRegMap(@Self)^.&set := $00000008;
  17431. end;
  17432. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  17433. begin
  17434. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17435. end;
  17436. procedure TI2C2_I2C2CON.setACKEN; inline;
  17437. begin
  17438. pTDefRegMap(@Self)^.&set := $00000010;
  17439. end;
  17440. procedure TI2C2_I2C2CON.clearACKEN; inline;
  17441. begin
  17442. pTDefRegMap(@Self)^.clr := $00000010;
  17443. end;
  17444. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  17445. begin
  17446. if thebits = 0 then
  17447. pTDefRegMap(@Self)^.clr := $00000010
  17448. else
  17449. pTDefRegMap(@Self)^.&set := $00000010;
  17450. end;
  17451. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  17452. begin
  17453. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17454. end;
  17455. procedure TI2C2_I2C2CON.setACKDT; inline;
  17456. begin
  17457. pTDefRegMap(@Self)^.&set := $00000020;
  17458. end;
  17459. procedure TI2C2_I2C2CON.clearACKDT; inline;
  17460. begin
  17461. pTDefRegMap(@Self)^.clr := $00000020;
  17462. end;
  17463. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  17464. begin
  17465. if thebits = 0 then
  17466. pTDefRegMap(@Self)^.clr := $00000020
  17467. else
  17468. pTDefRegMap(@Self)^.&set := $00000020;
  17469. end;
  17470. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  17471. begin
  17472. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17473. end;
  17474. procedure TI2C2_I2C2CON.setSTREN; inline;
  17475. begin
  17476. pTDefRegMap(@Self)^.&set := $00000040;
  17477. end;
  17478. procedure TI2C2_I2C2CON.clearSTREN; inline;
  17479. begin
  17480. pTDefRegMap(@Self)^.clr := $00000040;
  17481. end;
  17482. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  17483. begin
  17484. if thebits = 0 then
  17485. pTDefRegMap(@Self)^.clr := $00000040
  17486. else
  17487. pTDefRegMap(@Self)^.&set := $00000040;
  17488. end;
  17489. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  17490. begin
  17491. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17492. end;
  17493. procedure TI2C2_I2C2CON.setGCEN; inline;
  17494. begin
  17495. pTDefRegMap(@Self)^.&set := $00000080;
  17496. end;
  17497. procedure TI2C2_I2C2CON.clearGCEN; inline;
  17498. begin
  17499. pTDefRegMap(@Self)^.clr := $00000080;
  17500. end;
  17501. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  17502. begin
  17503. if thebits = 0 then
  17504. pTDefRegMap(@Self)^.clr := $00000080
  17505. else
  17506. pTDefRegMap(@Self)^.&set := $00000080;
  17507. end;
  17508. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  17509. begin
  17510. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17511. end;
  17512. procedure TI2C2_I2C2CON.setSMEN; inline;
  17513. begin
  17514. pTDefRegMap(@Self)^.&set := $00000100;
  17515. end;
  17516. procedure TI2C2_I2C2CON.clearSMEN; inline;
  17517. begin
  17518. pTDefRegMap(@Self)^.clr := $00000100;
  17519. end;
  17520. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  17521. begin
  17522. if thebits = 0 then
  17523. pTDefRegMap(@Self)^.clr := $00000100
  17524. else
  17525. pTDefRegMap(@Self)^.&set := $00000100;
  17526. end;
  17527. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  17528. begin
  17529. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17530. end;
  17531. procedure TI2C2_I2C2CON.setDISSLW; inline;
  17532. begin
  17533. pTDefRegMap(@Self)^.&set := $00000200;
  17534. end;
  17535. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  17536. begin
  17537. pTDefRegMap(@Self)^.clr := $00000200;
  17538. end;
  17539. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  17540. begin
  17541. if thebits = 0 then
  17542. pTDefRegMap(@Self)^.clr := $00000200
  17543. else
  17544. pTDefRegMap(@Self)^.&set := $00000200;
  17545. end;
  17546. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  17547. begin
  17548. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17549. end;
  17550. procedure TI2C2_I2C2CON.setA10M; inline;
  17551. begin
  17552. pTDefRegMap(@Self)^.&set := $00000400;
  17553. end;
  17554. procedure TI2C2_I2C2CON.clearA10M; inline;
  17555. begin
  17556. pTDefRegMap(@Self)^.clr := $00000400;
  17557. end;
  17558. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  17559. begin
  17560. if thebits = 0 then
  17561. pTDefRegMap(@Self)^.clr := $00000400
  17562. else
  17563. pTDefRegMap(@Self)^.&set := $00000400;
  17564. end;
  17565. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  17566. begin
  17567. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17568. end;
  17569. procedure TI2C2_I2C2CON.setSTRICT; inline;
  17570. begin
  17571. pTDefRegMap(@Self)^.&set := $00000800;
  17572. end;
  17573. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  17574. begin
  17575. pTDefRegMap(@Self)^.clr := $00000800;
  17576. end;
  17577. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  17578. begin
  17579. if thebits = 0 then
  17580. pTDefRegMap(@Self)^.clr := $00000800
  17581. else
  17582. pTDefRegMap(@Self)^.&set := $00000800;
  17583. end;
  17584. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  17585. begin
  17586. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17587. end;
  17588. procedure TI2C2_I2C2CON.setSCLREL; inline;
  17589. begin
  17590. pTDefRegMap(@Self)^.&set := $00001000;
  17591. end;
  17592. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  17593. begin
  17594. pTDefRegMap(@Self)^.clr := $00001000;
  17595. end;
  17596. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  17597. begin
  17598. if thebits = 0 then
  17599. pTDefRegMap(@Self)^.clr := $00001000
  17600. else
  17601. pTDefRegMap(@Self)^.&set := $00001000;
  17602. end;
  17603. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  17604. begin
  17605. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17606. end;
  17607. procedure TI2C2_I2C2CON.setSIDL; inline;
  17608. begin
  17609. pTDefRegMap(@Self)^.&set := $00002000;
  17610. end;
  17611. procedure TI2C2_I2C2CON.clearSIDL; inline;
  17612. begin
  17613. pTDefRegMap(@Self)^.clr := $00002000;
  17614. end;
  17615. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  17616. begin
  17617. if thebits = 0 then
  17618. pTDefRegMap(@Self)^.clr := $00002000
  17619. else
  17620. pTDefRegMap(@Self)^.&set := $00002000;
  17621. end;
  17622. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  17623. begin
  17624. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17625. end;
  17626. procedure TI2C2_I2C2CON.setON; inline;
  17627. begin
  17628. pTDefRegMap(@Self)^.&set := $00008000;
  17629. end;
  17630. procedure TI2C2_I2C2CON.clearON; inline;
  17631. begin
  17632. pTDefRegMap(@Self)^.clr := $00008000;
  17633. end;
  17634. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  17635. begin
  17636. if thebits = 0 then
  17637. pTDefRegMap(@Self)^.clr := $00008000
  17638. else
  17639. pTDefRegMap(@Self)^.&set := $00008000;
  17640. end;
  17641. function TI2C2_I2C2CON.getON : TBits_1; inline;
  17642. begin
  17643. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17644. end;
  17645. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  17646. begin
  17647. pTDefRegMap(@Self)^.&set := $00000800;
  17648. end;
  17649. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  17650. begin
  17651. pTDefRegMap(@Self)^.clr := $00000800;
  17652. end;
  17653. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  17654. begin
  17655. if thebits = 0 then
  17656. pTDefRegMap(@Self)^.clr := $00000800
  17657. else
  17658. pTDefRegMap(@Self)^.&set := $00000800;
  17659. end;
  17660. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  17661. begin
  17662. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17663. end;
  17664. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  17665. begin
  17666. pTDefRegMap(@Self)^.&set := $00002000;
  17667. end;
  17668. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  17669. begin
  17670. pTDefRegMap(@Self)^.clr := $00002000;
  17671. end;
  17672. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  17673. begin
  17674. if thebits = 0 then
  17675. pTDefRegMap(@Self)^.clr := $00002000
  17676. else
  17677. pTDefRegMap(@Self)^.&set := $00002000;
  17678. end;
  17679. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  17680. begin
  17681. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17682. end;
  17683. procedure TI2C2_I2C2CON.setI2CEN; inline;
  17684. begin
  17685. pTDefRegMap(@Self)^.&set := $00008000;
  17686. end;
  17687. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  17688. begin
  17689. pTDefRegMap(@Self)^.clr := $00008000;
  17690. end;
  17691. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  17692. begin
  17693. if thebits = 0 then
  17694. pTDefRegMap(@Self)^.clr := $00008000
  17695. else
  17696. pTDefRegMap(@Self)^.&set := $00008000;
  17697. end;
  17698. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  17699. begin
  17700. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17701. end;
  17702. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  17703. begin
  17704. pTDefRegMap(@Self)^.val := thebits;
  17705. end;
  17706. function TI2C2_I2C2CON.getw : TBits_32; inline;
  17707. begin
  17708. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17709. end;
  17710. procedure TI2C2_I2CABCON.setSEN; inline;
  17711. begin
  17712. pTDefRegMap(@Self)^.&set := $00000001;
  17713. end;
  17714. procedure TI2C2_I2CABCON.clearSEN; inline;
  17715. begin
  17716. pTDefRegMap(@Self)^.clr := $00000001;
  17717. end;
  17718. procedure TI2C2_I2CABCON.setSEN(thebits : TBits_1); inline;
  17719. begin
  17720. if thebits = 0 then
  17721. pTDefRegMap(@Self)^.clr := $00000001
  17722. else
  17723. pTDefRegMap(@Self)^.&set := $00000001;
  17724. end;
  17725. function TI2C2_I2CABCON.getSEN : TBits_1; inline;
  17726. begin
  17727. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17728. end;
  17729. procedure TI2C2_I2CABCON.setRSEN; inline;
  17730. begin
  17731. pTDefRegMap(@Self)^.&set := $00000002;
  17732. end;
  17733. procedure TI2C2_I2CABCON.clearRSEN; inline;
  17734. begin
  17735. pTDefRegMap(@Self)^.clr := $00000002;
  17736. end;
  17737. procedure TI2C2_I2CABCON.setRSEN(thebits : TBits_1); inline;
  17738. begin
  17739. if thebits = 0 then
  17740. pTDefRegMap(@Self)^.clr := $00000002
  17741. else
  17742. pTDefRegMap(@Self)^.&set := $00000002;
  17743. end;
  17744. function TI2C2_I2CABCON.getRSEN : TBits_1; inline;
  17745. begin
  17746. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17747. end;
  17748. procedure TI2C2_I2CABCON.setPEN; inline;
  17749. begin
  17750. pTDefRegMap(@Self)^.&set := $00000004;
  17751. end;
  17752. procedure TI2C2_I2CABCON.clearPEN; inline;
  17753. begin
  17754. pTDefRegMap(@Self)^.clr := $00000004;
  17755. end;
  17756. procedure TI2C2_I2CABCON.setPEN(thebits : TBits_1); inline;
  17757. begin
  17758. if thebits = 0 then
  17759. pTDefRegMap(@Self)^.clr := $00000004
  17760. else
  17761. pTDefRegMap(@Self)^.&set := $00000004;
  17762. end;
  17763. function TI2C2_I2CABCON.getPEN : TBits_1; inline;
  17764. begin
  17765. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17766. end;
  17767. procedure TI2C2_I2CABCON.setRCEN; inline;
  17768. begin
  17769. pTDefRegMap(@Self)^.&set := $00000008;
  17770. end;
  17771. procedure TI2C2_I2CABCON.clearRCEN; inline;
  17772. begin
  17773. pTDefRegMap(@Self)^.clr := $00000008;
  17774. end;
  17775. procedure TI2C2_I2CABCON.setRCEN(thebits : TBits_1); inline;
  17776. begin
  17777. if thebits = 0 then
  17778. pTDefRegMap(@Self)^.clr := $00000008
  17779. else
  17780. pTDefRegMap(@Self)^.&set := $00000008;
  17781. end;
  17782. function TI2C2_I2CABCON.getRCEN : TBits_1; inline;
  17783. begin
  17784. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17785. end;
  17786. procedure TI2C2_I2CABCON.setACKEN; inline;
  17787. begin
  17788. pTDefRegMap(@Self)^.&set := $00000010;
  17789. end;
  17790. procedure TI2C2_I2CABCON.clearACKEN; inline;
  17791. begin
  17792. pTDefRegMap(@Self)^.clr := $00000010;
  17793. end;
  17794. procedure TI2C2_I2CABCON.setACKEN(thebits : TBits_1); inline;
  17795. begin
  17796. if thebits = 0 then
  17797. pTDefRegMap(@Self)^.clr := $00000010
  17798. else
  17799. pTDefRegMap(@Self)^.&set := $00000010;
  17800. end;
  17801. function TI2C2_I2CABCON.getACKEN : TBits_1; inline;
  17802. begin
  17803. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17804. end;
  17805. procedure TI2C2_I2CABCON.setACKDT; inline;
  17806. begin
  17807. pTDefRegMap(@Self)^.&set := $00000020;
  17808. end;
  17809. procedure TI2C2_I2CABCON.clearACKDT; inline;
  17810. begin
  17811. pTDefRegMap(@Self)^.clr := $00000020;
  17812. end;
  17813. procedure TI2C2_I2CABCON.setACKDT(thebits : TBits_1); inline;
  17814. begin
  17815. if thebits = 0 then
  17816. pTDefRegMap(@Self)^.clr := $00000020
  17817. else
  17818. pTDefRegMap(@Self)^.&set := $00000020;
  17819. end;
  17820. function TI2C2_I2CABCON.getACKDT : TBits_1; inline;
  17821. begin
  17822. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17823. end;
  17824. procedure TI2C2_I2CABCON.setSTREN; inline;
  17825. begin
  17826. pTDefRegMap(@Self)^.&set := $00000040;
  17827. end;
  17828. procedure TI2C2_I2CABCON.clearSTREN; inline;
  17829. begin
  17830. pTDefRegMap(@Self)^.clr := $00000040;
  17831. end;
  17832. procedure TI2C2_I2CABCON.setSTREN(thebits : TBits_1); inline;
  17833. begin
  17834. if thebits = 0 then
  17835. pTDefRegMap(@Self)^.clr := $00000040
  17836. else
  17837. pTDefRegMap(@Self)^.&set := $00000040;
  17838. end;
  17839. function TI2C2_I2CABCON.getSTREN : TBits_1; inline;
  17840. begin
  17841. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17842. end;
  17843. procedure TI2C2_I2CABCON.setGCEN; inline;
  17844. begin
  17845. pTDefRegMap(@Self)^.&set := $00000080;
  17846. end;
  17847. procedure TI2C2_I2CABCON.clearGCEN; inline;
  17848. begin
  17849. pTDefRegMap(@Self)^.clr := $00000080;
  17850. end;
  17851. procedure TI2C2_I2CABCON.setGCEN(thebits : TBits_1); inline;
  17852. begin
  17853. if thebits = 0 then
  17854. pTDefRegMap(@Self)^.clr := $00000080
  17855. else
  17856. pTDefRegMap(@Self)^.&set := $00000080;
  17857. end;
  17858. function TI2C2_I2CABCON.getGCEN : TBits_1; inline;
  17859. begin
  17860. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17861. end;
  17862. procedure TI2C2_I2CABCON.setSMEN; inline;
  17863. begin
  17864. pTDefRegMap(@Self)^.&set := $00000100;
  17865. end;
  17866. procedure TI2C2_I2CABCON.clearSMEN; inline;
  17867. begin
  17868. pTDefRegMap(@Self)^.clr := $00000100;
  17869. end;
  17870. procedure TI2C2_I2CABCON.setSMEN(thebits : TBits_1); inline;
  17871. begin
  17872. if thebits = 0 then
  17873. pTDefRegMap(@Self)^.clr := $00000100
  17874. else
  17875. pTDefRegMap(@Self)^.&set := $00000100;
  17876. end;
  17877. function TI2C2_I2CABCON.getSMEN : TBits_1; inline;
  17878. begin
  17879. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17880. end;
  17881. procedure TI2C2_I2CABCON.setDISSLW; inline;
  17882. begin
  17883. pTDefRegMap(@Self)^.&set := $00000200;
  17884. end;
  17885. procedure TI2C2_I2CABCON.clearDISSLW; inline;
  17886. begin
  17887. pTDefRegMap(@Self)^.clr := $00000200;
  17888. end;
  17889. procedure TI2C2_I2CABCON.setDISSLW(thebits : TBits_1); inline;
  17890. begin
  17891. if thebits = 0 then
  17892. pTDefRegMap(@Self)^.clr := $00000200
  17893. else
  17894. pTDefRegMap(@Self)^.&set := $00000200;
  17895. end;
  17896. function TI2C2_I2CABCON.getDISSLW : TBits_1; inline;
  17897. begin
  17898. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17899. end;
  17900. procedure TI2C2_I2CABCON.setA10M; inline;
  17901. begin
  17902. pTDefRegMap(@Self)^.&set := $00000400;
  17903. end;
  17904. procedure TI2C2_I2CABCON.clearA10M; inline;
  17905. begin
  17906. pTDefRegMap(@Self)^.clr := $00000400;
  17907. end;
  17908. procedure TI2C2_I2CABCON.setA10M(thebits : TBits_1); inline;
  17909. begin
  17910. if thebits = 0 then
  17911. pTDefRegMap(@Self)^.clr := $00000400
  17912. else
  17913. pTDefRegMap(@Self)^.&set := $00000400;
  17914. end;
  17915. function TI2C2_I2CABCON.getA10M : TBits_1; inline;
  17916. begin
  17917. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17918. end;
  17919. procedure TI2C2_I2CABCON.setSTRICT; inline;
  17920. begin
  17921. pTDefRegMap(@Self)^.&set := $00000800;
  17922. end;
  17923. procedure TI2C2_I2CABCON.clearSTRICT; inline;
  17924. begin
  17925. pTDefRegMap(@Self)^.clr := $00000800;
  17926. end;
  17927. procedure TI2C2_I2CABCON.setSTRICT(thebits : TBits_1); inline;
  17928. begin
  17929. if thebits = 0 then
  17930. pTDefRegMap(@Self)^.clr := $00000800
  17931. else
  17932. pTDefRegMap(@Self)^.&set := $00000800;
  17933. end;
  17934. function TI2C2_I2CABCON.getSTRICT : TBits_1; inline;
  17935. begin
  17936. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17937. end;
  17938. procedure TI2C2_I2CABCON.setSCLREL; inline;
  17939. begin
  17940. pTDefRegMap(@Self)^.&set := $00001000;
  17941. end;
  17942. procedure TI2C2_I2CABCON.clearSCLREL; inline;
  17943. begin
  17944. pTDefRegMap(@Self)^.clr := $00001000;
  17945. end;
  17946. procedure TI2C2_I2CABCON.setSCLREL(thebits : TBits_1); inline;
  17947. begin
  17948. if thebits = 0 then
  17949. pTDefRegMap(@Self)^.clr := $00001000
  17950. else
  17951. pTDefRegMap(@Self)^.&set := $00001000;
  17952. end;
  17953. function TI2C2_I2CABCON.getSCLREL : TBits_1; inline;
  17954. begin
  17955. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17956. end;
  17957. procedure TI2C2_I2CABCON.setSIDL; inline;
  17958. begin
  17959. pTDefRegMap(@Self)^.&set := $00002000;
  17960. end;
  17961. procedure TI2C2_I2CABCON.clearSIDL; inline;
  17962. begin
  17963. pTDefRegMap(@Self)^.clr := $00002000;
  17964. end;
  17965. procedure TI2C2_I2CABCON.setSIDL(thebits : TBits_1); inline;
  17966. begin
  17967. if thebits = 0 then
  17968. pTDefRegMap(@Self)^.clr := $00002000
  17969. else
  17970. pTDefRegMap(@Self)^.&set := $00002000;
  17971. end;
  17972. function TI2C2_I2CABCON.getSIDL : TBits_1; inline;
  17973. begin
  17974. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17975. end;
  17976. procedure TI2C2_I2CABCON.setON; inline;
  17977. begin
  17978. pTDefRegMap(@Self)^.&set := $00008000;
  17979. end;
  17980. procedure TI2C2_I2CABCON.clearON; inline;
  17981. begin
  17982. pTDefRegMap(@Self)^.clr := $00008000;
  17983. end;
  17984. procedure TI2C2_I2CABCON.setON(thebits : TBits_1); inline;
  17985. begin
  17986. if thebits = 0 then
  17987. pTDefRegMap(@Self)^.clr := $00008000
  17988. else
  17989. pTDefRegMap(@Self)^.&set := $00008000;
  17990. end;
  17991. function TI2C2_I2CABCON.getON : TBits_1; inline;
  17992. begin
  17993. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17994. end;
  17995. procedure TI2C2_I2CABCON.setIPMIEN; inline;
  17996. begin
  17997. pTDefRegMap(@Self)^.&set := $00000800;
  17998. end;
  17999. procedure TI2C2_I2CABCON.clearIPMIEN; inline;
  18000. begin
  18001. pTDefRegMap(@Self)^.clr := $00000800;
  18002. end;
  18003. procedure TI2C2_I2CABCON.setIPMIEN(thebits : TBits_1); inline;
  18004. begin
  18005. if thebits = 0 then
  18006. pTDefRegMap(@Self)^.clr := $00000800
  18007. else
  18008. pTDefRegMap(@Self)^.&set := $00000800;
  18009. end;
  18010. function TI2C2_I2CABCON.getIPMIEN : TBits_1; inline;
  18011. begin
  18012. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18013. end;
  18014. procedure TI2C2_I2CABCON.setI2CSIDL; inline;
  18015. begin
  18016. pTDefRegMap(@Self)^.&set := $00002000;
  18017. end;
  18018. procedure TI2C2_I2CABCON.clearI2CSIDL; inline;
  18019. begin
  18020. pTDefRegMap(@Self)^.clr := $00002000;
  18021. end;
  18022. procedure TI2C2_I2CABCON.setI2CSIDL(thebits : TBits_1); inline;
  18023. begin
  18024. if thebits = 0 then
  18025. pTDefRegMap(@Self)^.clr := $00002000
  18026. else
  18027. pTDefRegMap(@Self)^.&set := $00002000;
  18028. end;
  18029. function TI2C2_I2CABCON.getI2CSIDL : TBits_1; inline;
  18030. begin
  18031. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18032. end;
  18033. procedure TI2C2_I2CABCON.setI2CEN; inline;
  18034. begin
  18035. pTDefRegMap(@Self)^.&set := $00008000;
  18036. end;
  18037. procedure TI2C2_I2CABCON.clearI2CEN; inline;
  18038. begin
  18039. pTDefRegMap(@Self)^.clr := $00008000;
  18040. end;
  18041. procedure TI2C2_I2CABCON.setI2CEN(thebits : TBits_1); inline;
  18042. begin
  18043. if thebits = 0 then
  18044. pTDefRegMap(@Self)^.clr := $00008000
  18045. else
  18046. pTDefRegMap(@Self)^.&set := $00008000;
  18047. end;
  18048. function TI2C2_I2CABCON.getI2CEN : TBits_1; inline;
  18049. begin
  18050. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18051. end;
  18052. procedure TI2C2_I2CABCON.setw(thebits : TBits_32); inline;
  18053. begin
  18054. pTDefRegMap(@Self)^.val := thebits;
  18055. end;
  18056. function TI2C2_I2CABCON.getw : TBits_32; inline;
  18057. begin
  18058. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18059. end;
  18060. procedure TI2C2_I2C2STAT.setTBF; inline;
  18061. begin
  18062. pTDefRegMap(@Self)^.&set := $00000001;
  18063. end;
  18064. procedure TI2C2_I2C2STAT.clearTBF; inline;
  18065. begin
  18066. pTDefRegMap(@Self)^.clr := $00000001;
  18067. end;
  18068. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  18069. begin
  18070. if thebits = 0 then
  18071. pTDefRegMap(@Self)^.clr := $00000001
  18072. else
  18073. pTDefRegMap(@Self)^.&set := $00000001;
  18074. end;
  18075. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  18076. begin
  18077. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18078. end;
  18079. procedure TI2C2_I2C2STAT.setRBF; inline;
  18080. begin
  18081. pTDefRegMap(@Self)^.&set := $00000002;
  18082. end;
  18083. procedure TI2C2_I2C2STAT.clearRBF; inline;
  18084. begin
  18085. pTDefRegMap(@Self)^.clr := $00000002;
  18086. end;
  18087. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  18088. begin
  18089. if thebits = 0 then
  18090. pTDefRegMap(@Self)^.clr := $00000002
  18091. else
  18092. pTDefRegMap(@Self)^.&set := $00000002;
  18093. end;
  18094. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  18095. begin
  18096. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18097. end;
  18098. procedure TI2C2_I2C2STAT.setR_W; inline;
  18099. begin
  18100. pTDefRegMap(@Self)^.&set := $00000004;
  18101. end;
  18102. procedure TI2C2_I2C2STAT.clearR_W; inline;
  18103. begin
  18104. pTDefRegMap(@Self)^.clr := $00000004;
  18105. end;
  18106. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  18107. begin
  18108. if thebits = 0 then
  18109. pTDefRegMap(@Self)^.clr := $00000004
  18110. else
  18111. pTDefRegMap(@Self)^.&set := $00000004;
  18112. end;
  18113. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  18114. begin
  18115. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18116. end;
  18117. procedure TI2C2_I2C2STAT.setS; inline;
  18118. begin
  18119. pTDefRegMap(@Self)^.&set := $00000008;
  18120. end;
  18121. procedure TI2C2_I2C2STAT.clearS; inline;
  18122. begin
  18123. pTDefRegMap(@Self)^.clr := $00000008;
  18124. end;
  18125. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  18126. begin
  18127. if thebits = 0 then
  18128. pTDefRegMap(@Self)^.clr := $00000008
  18129. else
  18130. pTDefRegMap(@Self)^.&set := $00000008;
  18131. end;
  18132. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  18133. begin
  18134. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18135. end;
  18136. procedure TI2C2_I2C2STAT.setP; inline;
  18137. begin
  18138. pTDefRegMap(@Self)^.&set := $00000010;
  18139. end;
  18140. procedure TI2C2_I2C2STAT.clearP; inline;
  18141. begin
  18142. pTDefRegMap(@Self)^.clr := $00000010;
  18143. end;
  18144. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  18145. begin
  18146. if thebits = 0 then
  18147. pTDefRegMap(@Self)^.clr := $00000010
  18148. else
  18149. pTDefRegMap(@Self)^.&set := $00000010;
  18150. end;
  18151. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  18152. begin
  18153. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18154. end;
  18155. procedure TI2C2_I2C2STAT.setD_A; inline;
  18156. begin
  18157. pTDefRegMap(@Self)^.&set := $00000020;
  18158. end;
  18159. procedure TI2C2_I2C2STAT.clearD_A; inline;
  18160. begin
  18161. pTDefRegMap(@Self)^.clr := $00000020;
  18162. end;
  18163. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  18164. begin
  18165. if thebits = 0 then
  18166. pTDefRegMap(@Self)^.clr := $00000020
  18167. else
  18168. pTDefRegMap(@Self)^.&set := $00000020;
  18169. end;
  18170. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  18171. begin
  18172. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18173. end;
  18174. procedure TI2C2_I2C2STAT.setI2COV; inline;
  18175. begin
  18176. pTDefRegMap(@Self)^.&set := $00000040;
  18177. end;
  18178. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  18179. begin
  18180. pTDefRegMap(@Self)^.clr := $00000040;
  18181. end;
  18182. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  18183. begin
  18184. if thebits = 0 then
  18185. pTDefRegMap(@Self)^.clr := $00000040
  18186. else
  18187. pTDefRegMap(@Self)^.&set := $00000040;
  18188. end;
  18189. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  18190. begin
  18191. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18192. end;
  18193. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  18194. begin
  18195. pTDefRegMap(@Self)^.&set := $00000080;
  18196. end;
  18197. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  18198. begin
  18199. pTDefRegMap(@Self)^.clr := $00000080;
  18200. end;
  18201. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  18202. begin
  18203. if thebits = 0 then
  18204. pTDefRegMap(@Self)^.clr := $00000080
  18205. else
  18206. pTDefRegMap(@Self)^.&set := $00000080;
  18207. end;
  18208. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  18209. begin
  18210. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18211. end;
  18212. procedure TI2C2_I2C2STAT.setADD10; inline;
  18213. begin
  18214. pTDefRegMap(@Self)^.&set := $00000100;
  18215. end;
  18216. procedure TI2C2_I2C2STAT.clearADD10; inline;
  18217. begin
  18218. pTDefRegMap(@Self)^.clr := $00000100;
  18219. end;
  18220. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  18221. begin
  18222. if thebits = 0 then
  18223. pTDefRegMap(@Self)^.clr := $00000100
  18224. else
  18225. pTDefRegMap(@Self)^.&set := $00000100;
  18226. end;
  18227. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  18228. begin
  18229. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18230. end;
  18231. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  18232. begin
  18233. pTDefRegMap(@Self)^.&set := $00000200;
  18234. end;
  18235. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  18236. begin
  18237. pTDefRegMap(@Self)^.clr := $00000200;
  18238. end;
  18239. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  18240. begin
  18241. if thebits = 0 then
  18242. pTDefRegMap(@Self)^.clr := $00000200
  18243. else
  18244. pTDefRegMap(@Self)^.&set := $00000200;
  18245. end;
  18246. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  18247. begin
  18248. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18249. end;
  18250. procedure TI2C2_I2C2STAT.setBCL; inline;
  18251. begin
  18252. pTDefRegMap(@Self)^.&set := $00000400;
  18253. end;
  18254. procedure TI2C2_I2C2STAT.clearBCL; inline;
  18255. begin
  18256. pTDefRegMap(@Self)^.clr := $00000400;
  18257. end;
  18258. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  18259. begin
  18260. if thebits = 0 then
  18261. pTDefRegMap(@Self)^.clr := $00000400
  18262. else
  18263. pTDefRegMap(@Self)^.&set := $00000400;
  18264. end;
  18265. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  18266. begin
  18267. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18268. end;
  18269. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  18270. begin
  18271. pTDefRegMap(@Self)^.&set := $00004000;
  18272. end;
  18273. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  18274. begin
  18275. pTDefRegMap(@Self)^.clr := $00004000;
  18276. end;
  18277. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  18278. begin
  18279. if thebits = 0 then
  18280. pTDefRegMap(@Self)^.clr := $00004000
  18281. else
  18282. pTDefRegMap(@Self)^.&set := $00004000;
  18283. end;
  18284. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  18285. begin
  18286. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18287. end;
  18288. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  18289. begin
  18290. pTDefRegMap(@Self)^.&set := $00008000;
  18291. end;
  18292. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  18293. begin
  18294. pTDefRegMap(@Self)^.clr := $00008000;
  18295. end;
  18296. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  18297. begin
  18298. if thebits = 0 then
  18299. pTDefRegMap(@Self)^.clr := $00008000
  18300. else
  18301. pTDefRegMap(@Self)^.&set := $00008000;
  18302. end;
  18303. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  18304. begin
  18305. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18306. end;
  18307. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.&set := $00000040;
  18310. end;
  18311. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  18312. begin
  18313. pTDefRegMap(@Self)^.clr := $00000040;
  18314. end;
  18315. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  18316. begin
  18317. if thebits = 0 then
  18318. pTDefRegMap(@Self)^.clr := $00000040
  18319. else
  18320. pTDefRegMap(@Self)^.&set := $00000040;
  18321. end;
  18322. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  18323. begin
  18324. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18325. end;
  18326. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  18327. begin
  18328. pTDefRegMap(@Self)^.val := thebits;
  18329. end;
  18330. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  18331. begin
  18332. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18333. end;
  18334. procedure TI2C2_I2CABSTAT.setTBF; inline;
  18335. begin
  18336. pTDefRegMap(@Self)^.&set := $00000001;
  18337. end;
  18338. procedure TI2C2_I2CABSTAT.clearTBF; inline;
  18339. begin
  18340. pTDefRegMap(@Self)^.clr := $00000001;
  18341. end;
  18342. procedure TI2C2_I2CABSTAT.setTBF(thebits : TBits_1); inline;
  18343. begin
  18344. if thebits = 0 then
  18345. pTDefRegMap(@Self)^.clr := $00000001
  18346. else
  18347. pTDefRegMap(@Self)^.&set := $00000001;
  18348. end;
  18349. function TI2C2_I2CABSTAT.getTBF : TBits_1; inline;
  18350. begin
  18351. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18352. end;
  18353. procedure TI2C2_I2CABSTAT.setRBF; inline;
  18354. begin
  18355. pTDefRegMap(@Self)^.&set := $00000002;
  18356. end;
  18357. procedure TI2C2_I2CABSTAT.clearRBF; inline;
  18358. begin
  18359. pTDefRegMap(@Self)^.clr := $00000002;
  18360. end;
  18361. procedure TI2C2_I2CABSTAT.setRBF(thebits : TBits_1); inline;
  18362. begin
  18363. if thebits = 0 then
  18364. pTDefRegMap(@Self)^.clr := $00000002
  18365. else
  18366. pTDefRegMap(@Self)^.&set := $00000002;
  18367. end;
  18368. function TI2C2_I2CABSTAT.getRBF : TBits_1; inline;
  18369. begin
  18370. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18371. end;
  18372. procedure TI2C2_I2CABSTAT.setR_W; inline;
  18373. begin
  18374. pTDefRegMap(@Self)^.&set := $00000004;
  18375. end;
  18376. procedure TI2C2_I2CABSTAT.clearR_W; inline;
  18377. begin
  18378. pTDefRegMap(@Self)^.clr := $00000004;
  18379. end;
  18380. procedure TI2C2_I2CABSTAT.setR_W(thebits : TBits_1); inline;
  18381. begin
  18382. if thebits = 0 then
  18383. pTDefRegMap(@Self)^.clr := $00000004
  18384. else
  18385. pTDefRegMap(@Self)^.&set := $00000004;
  18386. end;
  18387. function TI2C2_I2CABSTAT.getR_W : TBits_1; inline;
  18388. begin
  18389. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18390. end;
  18391. procedure TI2C2_I2CABSTAT.setS; inline;
  18392. begin
  18393. pTDefRegMap(@Self)^.&set := $00000008;
  18394. end;
  18395. procedure TI2C2_I2CABSTAT.clearS; inline;
  18396. begin
  18397. pTDefRegMap(@Self)^.clr := $00000008;
  18398. end;
  18399. procedure TI2C2_I2CABSTAT.setS(thebits : TBits_1); inline;
  18400. begin
  18401. if thebits = 0 then
  18402. pTDefRegMap(@Self)^.clr := $00000008
  18403. else
  18404. pTDefRegMap(@Self)^.&set := $00000008;
  18405. end;
  18406. function TI2C2_I2CABSTAT.getS : TBits_1; inline;
  18407. begin
  18408. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18409. end;
  18410. procedure TI2C2_I2CABSTAT.setP; inline;
  18411. begin
  18412. pTDefRegMap(@Self)^.&set := $00000010;
  18413. end;
  18414. procedure TI2C2_I2CABSTAT.clearP; inline;
  18415. begin
  18416. pTDefRegMap(@Self)^.clr := $00000010;
  18417. end;
  18418. procedure TI2C2_I2CABSTAT.setP(thebits : TBits_1); inline;
  18419. begin
  18420. if thebits = 0 then
  18421. pTDefRegMap(@Self)^.clr := $00000010
  18422. else
  18423. pTDefRegMap(@Self)^.&set := $00000010;
  18424. end;
  18425. function TI2C2_I2CABSTAT.getP : TBits_1; inline;
  18426. begin
  18427. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18428. end;
  18429. procedure TI2C2_I2CABSTAT.setD_A; inline;
  18430. begin
  18431. pTDefRegMap(@Self)^.&set := $00000020;
  18432. end;
  18433. procedure TI2C2_I2CABSTAT.clearD_A; inline;
  18434. begin
  18435. pTDefRegMap(@Self)^.clr := $00000020;
  18436. end;
  18437. procedure TI2C2_I2CABSTAT.setD_A(thebits : TBits_1); inline;
  18438. begin
  18439. if thebits = 0 then
  18440. pTDefRegMap(@Self)^.clr := $00000020
  18441. else
  18442. pTDefRegMap(@Self)^.&set := $00000020;
  18443. end;
  18444. function TI2C2_I2CABSTAT.getD_A : TBits_1; inline;
  18445. begin
  18446. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18447. end;
  18448. procedure TI2C2_I2CABSTAT.setI2COV; inline;
  18449. begin
  18450. pTDefRegMap(@Self)^.&set := $00000040;
  18451. end;
  18452. procedure TI2C2_I2CABSTAT.clearI2COV; inline;
  18453. begin
  18454. pTDefRegMap(@Self)^.clr := $00000040;
  18455. end;
  18456. procedure TI2C2_I2CABSTAT.setI2COV(thebits : TBits_1); inline;
  18457. begin
  18458. if thebits = 0 then
  18459. pTDefRegMap(@Self)^.clr := $00000040
  18460. else
  18461. pTDefRegMap(@Self)^.&set := $00000040;
  18462. end;
  18463. function TI2C2_I2CABSTAT.getI2COV : TBits_1; inline;
  18464. begin
  18465. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18466. end;
  18467. procedure TI2C2_I2CABSTAT.setIWCOL; inline;
  18468. begin
  18469. pTDefRegMap(@Self)^.&set := $00000080;
  18470. end;
  18471. procedure TI2C2_I2CABSTAT.clearIWCOL; inline;
  18472. begin
  18473. pTDefRegMap(@Self)^.clr := $00000080;
  18474. end;
  18475. procedure TI2C2_I2CABSTAT.setIWCOL(thebits : TBits_1); inline;
  18476. begin
  18477. if thebits = 0 then
  18478. pTDefRegMap(@Self)^.clr := $00000080
  18479. else
  18480. pTDefRegMap(@Self)^.&set := $00000080;
  18481. end;
  18482. function TI2C2_I2CABSTAT.getIWCOL : TBits_1; inline;
  18483. begin
  18484. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18485. end;
  18486. procedure TI2C2_I2CABSTAT.setADD10; inline;
  18487. begin
  18488. pTDefRegMap(@Self)^.&set := $00000100;
  18489. end;
  18490. procedure TI2C2_I2CABSTAT.clearADD10; inline;
  18491. begin
  18492. pTDefRegMap(@Self)^.clr := $00000100;
  18493. end;
  18494. procedure TI2C2_I2CABSTAT.setADD10(thebits : TBits_1); inline;
  18495. begin
  18496. if thebits = 0 then
  18497. pTDefRegMap(@Self)^.clr := $00000100
  18498. else
  18499. pTDefRegMap(@Self)^.&set := $00000100;
  18500. end;
  18501. function TI2C2_I2CABSTAT.getADD10 : TBits_1; inline;
  18502. begin
  18503. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18504. end;
  18505. procedure TI2C2_I2CABSTAT.setGCSTAT; inline;
  18506. begin
  18507. pTDefRegMap(@Self)^.&set := $00000200;
  18508. end;
  18509. procedure TI2C2_I2CABSTAT.clearGCSTAT; inline;
  18510. begin
  18511. pTDefRegMap(@Self)^.clr := $00000200;
  18512. end;
  18513. procedure TI2C2_I2CABSTAT.setGCSTAT(thebits : TBits_1); inline;
  18514. begin
  18515. if thebits = 0 then
  18516. pTDefRegMap(@Self)^.clr := $00000200
  18517. else
  18518. pTDefRegMap(@Self)^.&set := $00000200;
  18519. end;
  18520. function TI2C2_I2CABSTAT.getGCSTAT : TBits_1; inline;
  18521. begin
  18522. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18523. end;
  18524. procedure TI2C2_I2CABSTAT.setBCL; inline;
  18525. begin
  18526. pTDefRegMap(@Self)^.&set := $00000400;
  18527. end;
  18528. procedure TI2C2_I2CABSTAT.clearBCL; inline;
  18529. begin
  18530. pTDefRegMap(@Self)^.clr := $00000400;
  18531. end;
  18532. procedure TI2C2_I2CABSTAT.setBCL(thebits : TBits_1); inline;
  18533. begin
  18534. if thebits = 0 then
  18535. pTDefRegMap(@Self)^.clr := $00000400
  18536. else
  18537. pTDefRegMap(@Self)^.&set := $00000400;
  18538. end;
  18539. function TI2C2_I2CABSTAT.getBCL : TBits_1; inline;
  18540. begin
  18541. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18542. end;
  18543. procedure TI2C2_I2CABSTAT.setTRSTAT; inline;
  18544. begin
  18545. pTDefRegMap(@Self)^.&set := $00004000;
  18546. end;
  18547. procedure TI2C2_I2CABSTAT.clearTRSTAT; inline;
  18548. begin
  18549. pTDefRegMap(@Self)^.clr := $00004000;
  18550. end;
  18551. procedure TI2C2_I2CABSTAT.setTRSTAT(thebits : TBits_1); inline;
  18552. begin
  18553. if thebits = 0 then
  18554. pTDefRegMap(@Self)^.clr := $00004000
  18555. else
  18556. pTDefRegMap(@Self)^.&set := $00004000;
  18557. end;
  18558. function TI2C2_I2CABSTAT.getTRSTAT : TBits_1; inline;
  18559. begin
  18560. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18561. end;
  18562. procedure TI2C2_I2CABSTAT.setACKSTAT; inline;
  18563. begin
  18564. pTDefRegMap(@Self)^.&set := $00008000;
  18565. end;
  18566. procedure TI2C2_I2CABSTAT.clearACKSTAT; inline;
  18567. begin
  18568. pTDefRegMap(@Self)^.clr := $00008000;
  18569. end;
  18570. procedure TI2C2_I2CABSTAT.setACKSTAT(thebits : TBits_1); inline;
  18571. begin
  18572. if thebits = 0 then
  18573. pTDefRegMap(@Self)^.clr := $00008000
  18574. else
  18575. pTDefRegMap(@Self)^.&set := $00008000;
  18576. end;
  18577. function TI2C2_I2CABSTAT.getACKSTAT : TBits_1; inline;
  18578. begin
  18579. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18580. end;
  18581. procedure TI2C2_I2CABSTAT.setI2CPOV; inline;
  18582. begin
  18583. pTDefRegMap(@Self)^.&set := $00000040;
  18584. end;
  18585. procedure TI2C2_I2CABSTAT.clearI2CPOV; inline;
  18586. begin
  18587. pTDefRegMap(@Self)^.clr := $00000040;
  18588. end;
  18589. procedure TI2C2_I2CABSTAT.setI2CPOV(thebits : TBits_1); inline;
  18590. begin
  18591. if thebits = 0 then
  18592. pTDefRegMap(@Self)^.clr := $00000040
  18593. else
  18594. pTDefRegMap(@Self)^.&set := $00000040;
  18595. end;
  18596. function TI2C2_I2CABSTAT.getI2CPOV : TBits_1; inline;
  18597. begin
  18598. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18599. end;
  18600. procedure TI2C2_I2CABSTAT.setw(thebits : TBits_32); inline;
  18601. begin
  18602. pTDefRegMap(@Self)^.val := thebits;
  18603. end;
  18604. function TI2C2_I2CABSTAT.getw : TBits_32; inline;
  18605. begin
  18606. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18607. end;
  18608. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  18609. begin
  18610. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  18611. end;
  18612. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  18613. begin
  18614. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  18615. end;
  18616. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  18617. begin
  18618. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  18619. end;
  18620. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  18621. begin
  18622. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  18623. end;
  18624. procedure TSPI1_SPI1CON.setDISSDI; inline;
  18625. begin
  18626. pTDefRegMap(@Self)^.&set := $00000010;
  18627. end;
  18628. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  18629. begin
  18630. pTDefRegMap(@Self)^.clr := $00000010;
  18631. end;
  18632. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  18633. begin
  18634. if thebits = 0 then
  18635. pTDefRegMap(@Self)^.clr := $00000010
  18636. else
  18637. pTDefRegMap(@Self)^.&set := $00000010;
  18638. end;
  18639. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  18640. begin
  18641. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18642. end;
  18643. procedure TSPI1_SPI1CON.setMSTEN; inline;
  18644. begin
  18645. pTDefRegMap(@Self)^.&set := $00000020;
  18646. end;
  18647. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  18648. begin
  18649. pTDefRegMap(@Self)^.clr := $00000020;
  18650. end;
  18651. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  18652. begin
  18653. if thebits = 0 then
  18654. pTDefRegMap(@Self)^.clr := $00000020
  18655. else
  18656. pTDefRegMap(@Self)^.&set := $00000020;
  18657. end;
  18658. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  18659. begin
  18660. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18661. end;
  18662. procedure TSPI1_SPI1CON.setCKP; inline;
  18663. begin
  18664. pTDefRegMap(@Self)^.&set := $00000040;
  18665. end;
  18666. procedure TSPI1_SPI1CON.clearCKP; inline;
  18667. begin
  18668. pTDefRegMap(@Self)^.clr := $00000040;
  18669. end;
  18670. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  18671. begin
  18672. if thebits = 0 then
  18673. pTDefRegMap(@Self)^.clr := $00000040
  18674. else
  18675. pTDefRegMap(@Self)^.&set := $00000040;
  18676. end;
  18677. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  18678. begin
  18679. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18680. end;
  18681. procedure TSPI1_SPI1CON.setSSEN; inline;
  18682. begin
  18683. pTDefRegMap(@Self)^.&set := $00000080;
  18684. end;
  18685. procedure TSPI1_SPI1CON.clearSSEN; inline;
  18686. begin
  18687. pTDefRegMap(@Self)^.clr := $00000080;
  18688. end;
  18689. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  18690. begin
  18691. if thebits = 0 then
  18692. pTDefRegMap(@Self)^.clr := $00000080
  18693. else
  18694. pTDefRegMap(@Self)^.&set := $00000080;
  18695. end;
  18696. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  18697. begin
  18698. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18699. end;
  18700. procedure TSPI1_SPI1CON.setCKE; inline;
  18701. begin
  18702. pTDefRegMap(@Self)^.&set := $00000100;
  18703. end;
  18704. procedure TSPI1_SPI1CON.clearCKE; inline;
  18705. begin
  18706. pTDefRegMap(@Self)^.clr := $00000100;
  18707. end;
  18708. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  18709. begin
  18710. if thebits = 0 then
  18711. pTDefRegMap(@Self)^.clr := $00000100
  18712. else
  18713. pTDefRegMap(@Self)^.&set := $00000100;
  18714. end;
  18715. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  18716. begin
  18717. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18718. end;
  18719. procedure TSPI1_SPI1CON.setSMP; inline;
  18720. begin
  18721. pTDefRegMap(@Self)^.&set := $00000200;
  18722. end;
  18723. procedure TSPI1_SPI1CON.clearSMP; inline;
  18724. begin
  18725. pTDefRegMap(@Self)^.clr := $00000200;
  18726. end;
  18727. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  18728. begin
  18729. if thebits = 0 then
  18730. pTDefRegMap(@Self)^.clr := $00000200
  18731. else
  18732. pTDefRegMap(@Self)^.&set := $00000200;
  18733. end;
  18734. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  18735. begin
  18736. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18737. end;
  18738. procedure TSPI1_SPI1CON.setMODE16; inline;
  18739. begin
  18740. pTDefRegMap(@Self)^.&set := $00000400;
  18741. end;
  18742. procedure TSPI1_SPI1CON.clearMODE16; inline;
  18743. begin
  18744. pTDefRegMap(@Self)^.clr := $00000400;
  18745. end;
  18746. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  18747. begin
  18748. if thebits = 0 then
  18749. pTDefRegMap(@Self)^.clr := $00000400
  18750. else
  18751. pTDefRegMap(@Self)^.&set := $00000400;
  18752. end;
  18753. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  18754. begin
  18755. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18756. end;
  18757. procedure TSPI1_SPI1CON.setMODE32; inline;
  18758. begin
  18759. pTDefRegMap(@Self)^.&set := $00000800;
  18760. end;
  18761. procedure TSPI1_SPI1CON.clearMODE32; inline;
  18762. begin
  18763. pTDefRegMap(@Self)^.clr := $00000800;
  18764. end;
  18765. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  18766. begin
  18767. if thebits = 0 then
  18768. pTDefRegMap(@Self)^.clr := $00000800
  18769. else
  18770. pTDefRegMap(@Self)^.&set := $00000800;
  18771. end;
  18772. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  18773. begin
  18774. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18775. end;
  18776. procedure TSPI1_SPI1CON.setDISSDO; inline;
  18777. begin
  18778. pTDefRegMap(@Self)^.&set := $00001000;
  18779. end;
  18780. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  18781. begin
  18782. pTDefRegMap(@Self)^.clr := $00001000;
  18783. end;
  18784. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  18785. begin
  18786. if thebits = 0 then
  18787. pTDefRegMap(@Self)^.clr := $00001000
  18788. else
  18789. pTDefRegMap(@Self)^.&set := $00001000;
  18790. end;
  18791. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  18792. begin
  18793. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18794. end;
  18795. procedure TSPI1_SPI1CON.setSIDL; inline;
  18796. begin
  18797. pTDefRegMap(@Self)^.&set := $00002000;
  18798. end;
  18799. procedure TSPI1_SPI1CON.clearSIDL; inline;
  18800. begin
  18801. pTDefRegMap(@Self)^.clr := $00002000;
  18802. end;
  18803. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  18804. begin
  18805. if thebits = 0 then
  18806. pTDefRegMap(@Self)^.clr := $00002000
  18807. else
  18808. pTDefRegMap(@Self)^.&set := $00002000;
  18809. end;
  18810. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  18811. begin
  18812. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18813. end;
  18814. procedure TSPI1_SPI1CON.setON; inline;
  18815. begin
  18816. pTDefRegMap(@Self)^.&set := $00008000;
  18817. end;
  18818. procedure TSPI1_SPI1CON.clearON; inline;
  18819. begin
  18820. pTDefRegMap(@Self)^.clr := $00008000;
  18821. end;
  18822. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  18823. begin
  18824. if thebits = 0 then
  18825. pTDefRegMap(@Self)^.clr := $00008000
  18826. else
  18827. pTDefRegMap(@Self)^.&set := $00008000;
  18828. end;
  18829. function TSPI1_SPI1CON.getON : TBits_1; inline;
  18830. begin
  18831. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18832. end;
  18833. procedure TSPI1_SPI1CON.setENHBUF; inline;
  18834. begin
  18835. pTDefRegMap(@Self)^.&set := $00010000;
  18836. end;
  18837. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  18838. begin
  18839. pTDefRegMap(@Self)^.clr := $00010000;
  18840. end;
  18841. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  18842. begin
  18843. if thebits = 0 then
  18844. pTDefRegMap(@Self)^.clr := $00010000
  18845. else
  18846. pTDefRegMap(@Self)^.&set := $00010000;
  18847. end;
  18848. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  18849. begin
  18850. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  18851. end;
  18852. procedure TSPI1_SPI1CON.setSPIFE; inline;
  18853. begin
  18854. pTDefRegMap(@Self)^.&set := $00020000;
  18855. end;
  18856. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  18857. begin
  18858. pTDefRegMap(@Self)^.clr := $00020000;
  18859. end;
  18860. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  18861. begin
  18862. if thebits = 0 then
  18863. pTDefRegMap(@Self)^.clr := $00020000
  18864. else
  18865. pTDefRegMap(@Self)^.&set := $00020000;
  18866. end;
  18867. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  18868. begin
  18869. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  18870. end;
  18871. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  18872. begin
  18873. pTDefRegMap(@Self)^.&set := $00800000;
  18874. end;
  18875. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  18876. begin
  18877. pTDefRegMap(@Self)^.clr := $00800000;
  18878. end;
  18879. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  18880. begin
  18881. if thebits = 0 then
  18882. pTDefRegMap(@Self)^.clr := $00800000
  18883. else
  18884. pTDefRegMap(@Self)^.&set := $00800000;
  18885. end;
  18886. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  18887. begin
  18888. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  18889. end;
  18890. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  18891. begin
  18892. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  18893. end;
  18894. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  18895. begin
  18896. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  18897. end;
  18898. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  18899. begin
  18900. pTDefRegMap(@Self)^.&set := $08000000;
  18901. end;
  18902. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  18903. begin
  18904. pTDefRegMap(@Self)^.clr := $08000000;
  18905. end;
  18906. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  18907. begin
  18908. if thebits = 0 then
  18909. pTDefRegMap(@Self)^.clr := $08000000
  18910. else
  18911. pTDefRegMap(@Self)^.&set := $08000000;
  18912. end;
  18913. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  18914. begin
  18915. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  18916. end;
  18917. procedure TSPI1_SPI1CON.setMSSEN; inline;
  18918. begin
  18919. pTDefRegMap(@Self)^.&set := $10000000;
  18920. end;
  18921. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  18922. begin
  18923. pTDefRegMap(@Self)^.clr := $10000000;
  18924. end;
  18925. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  18926. begin
  18927. if thebits = 0 then
  18928. pTDefRegMap(@Self)^.clr := $10000000
  18929. else
  18930. pTDefRegMap(@Self)^.&set := $10000000;
  18931. end;
  18932. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  18933. begin
  18934. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  18935. end;
  18936. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  18937. begin
  18938. pTDefRegMap(@Self)^.&set := $20000000;
  18939. end;
  18940. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  18941. begin
  18942. pTDefRegMap(@Self)^.clr := $20000000;
  18943. end;
  18944. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  18945. begin
  18946. if thebits = 0 then
  18947. pTDefRegMap(@Self)^.clr := $20000000
  18948. else
  18949. pTDefRegMap(@Self)^.&set := $20000000;
  18950. end;
  18951. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  18952. begin
  18953. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  18954. end;
  18955. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  18956. begin
  18957. pTDefRegMap(@Self)^.&set := $40000000;
  18958. end;
  18959. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  18960. begin
  18961. pTDefRegMap(@Self)^.clr := $40000000;
  18962. end;
  18963. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  18964. begin
  18965. if thebits = 0 then
  18966. pTDefRegMap(@Self)^.clr := $40000000
  18967. else
  18968. pTDefRegMap(@Self)^.&set := $40000000;
  18969. end;
  18970. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  18971. begin
  18972. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  18973. end;
  18974. procedure TSPI1_SPI1CON.setFRMEN; inline;
  18975. begin
  18976. pTDefRegMap(@Self)^.&set := $80000000;
  18977. end;
  18978. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  18979. begin
  18980. pTDefRegMap(@Self)^.clr := $80000000;
  18981. end;
  18982. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  18983. begin
  18984. if thebits = 0 then
  18985. pTDefRegMap(@Self)^.clr := $80000000
  18986. else
  18987. pTDefRegMap(@Self)^.&set := $80000000;
  18988. end;
  18989. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  18990. begin
  18991. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  18992. end;
  18993. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  18994. begin
  18995. pTDefRegMap(@Self)^.val := thebits;
  18996. end;
  18997. function TSPI1_SPI1CON.getw : TBits_32; inline;
  18998. begin
  18999. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19000. end;
  19001. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  19002. begin
  19003. pTDefRegMap(@Self)^.&set := $00000001;
  19004. end;
  19005. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  19006. begin
  19007. pTDefRegMap(@Self)^.clr := $00000001;
  19008. end;
  19009. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  19010. begin
  19011. if thebits = 0 then
  19012. pTDefRegMap(@Self)^.clr := $00000001
  19013. else
  19014. pTDefRegMap(@Self)^.&set := $00000001;
  19015. end;
  19016. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  19017. begin
  19018. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19019. end;
  19020. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  19021. begin
  19022. pTDefRegMap(@Self)^.&set := $00000002;
  19023. end;
  19024. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  19025. begin
  19026. pTDefRegMap(@Self)^.clr := $00000002;
  19027. end;
  19028. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  19029. begin
  19030. if thebits = 0 then
  19031. pTDefRegMap(@Self)^.clr := $00000002
  19032. else
  19033. pTDefRegMap(@Self)^.&set := $00000002;
  19034. end;
  19035. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  19036. begin
  19037. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19038. end;
  19039. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  19040. begin
  19041. pTDefRegMap(@Self)^.&set := $00000008;
  19042. end;
  19043. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  19044. begin
  19045. pTDefRegMap(@Self)^.clr := $00000008;
  19046. end;
  19047. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  19048. begin
  19049. if thebits = 0 then
  19050. pTDefRegMap(@Self)^.clr := $00000008
  19051. else
  19052. pTDefRegMap(@Self)^.&set := $00000008;
  19053. end;
  19054. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  19055. begin
  19056. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19057. end;
  19058. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  19059. begin
  19060. pTDefRegMap(@Self)^.&set := $00000020;
  19061. end;
  19062. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  19063. begin
  19064. pTDefRegMap(@Self)^.clr := $00000020;
  19065. end;
  19066. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  19067. begin
  19068. if thebits = 0 then
  19069. pTDefRegMap(@Self)^.clr := $00000020
  19070. else
  19071. pTDefRegMap(@Self)^.&set := $00000020;
  19072. end;
  19073. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  19074. begin
  19075. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19076. end;
  19077. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  19078. begin
  19079. pTDefRegMap(@Self)^.&set := $00000040;
  19080. end;
  19081. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  19082. begin
  19083. pTDefRegMap(@Self)^.clr := $00000040;
  19084. end;
  19085. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  19086. begin
  19087. if thebits = 0 then
  19088. pTDefRegMap(@Self)^.clr := $00000040
  19089. else
  19090. pTDefRegMap(@Self)^.&set := $00000040;
  19091. end;
  19092. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  19093. begin
  19094. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19095. end;
  19096. procedure TSPI1_SPI1STAT.setSRMT; inline;
  19097. begin
  19098. pTDefRegMap(@Self)^.&set := $00000080;
  19099. end;
  19100. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  19101. begin
  19102. pTDefRegMap(@Self)^.clr := $00000080;
  19103. end;
  19104. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  19105. begin
  19106. if thebits = 0 then
  19107. pTDefRegMap(@Self)^.clr := $00000080
  19108. else
  19109. pTDefRegMap(@Self)^.&set := $00000080;
  19110. end;
  19111. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  19112. begin
  19113. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19114. end;
  19115. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  19116. begin
  19117. pTDefRegMap(@Self)^.&set := $00000100;
  19118. end;
  19119. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  19120. begin
  19121. pTDefRegMap(@Self)^.clr := $00000100;
  19122. end;
  19123. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  19124. begin
  19125. if thebits = 0 then
  19126. pTDefRegMap(@Self)^.clr := $00000100
  19127. else
  19128. pTDefRegMap(@Self)^.&set := $00000100;
  19129. end;
  19130. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  19131. begin
  19132. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19133. end;
  19134. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  19135. begin
  19136. pTDefRegMap(@Self)^.&set := $00000800;
  19137. end;
  19138. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  19139. begin
  19140. pTDefRegMap(@Self)^.clr := $00000800;
  19141. end;
  19142. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  19143. begin
  19144. if thebits = 0 then
  19145. pTDefRegMap(@Self)^.clr := $00000800
  19146. else
  19147. pTDefRegMap(@Self)^.&set := $00000800;
  19148. end;
  19149. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  19150. begin
  19151. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19152. end;
  19153. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  19154. begin
  19155. pTDefRegMap(@Self)^.&set := $00001000;
  19156. end;
  19157. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  19158. begin
  19159. pTDefRegMap(@Self)^.clr := $00001000;
  19160. end;
  19161. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  19162. begin
  19163. if thebits = 0 then
  19164. pTDefRegMap(@Self)^.clr := $00001000
  19165. else
  19166. pTDefRegMap(@Self)^.&set := $00001000;
  19167. end;
  19168. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  19169. begin
  19170. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19171. end;
  19172. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  19173. begin
  19174. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  19175. end;
  19176. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  19177. begin
  19178. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  19179. end;
  19180. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  19181. begin
  19182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  19183. end;
  19184. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  19185. begin
  19186. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  19187. end;
  19188. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  19189. begin
  19190. pTDefRegMap(@Self)^.val := thebits;
  19191. end;
  19192. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  19193. begin
  19194. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19195. end;
  19196. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  19197. begin
  19198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19199. end;
  19200. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  19201. begin
  19202. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19203. end;
  19204. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  19205. begin
  19206. pTDefRegMap(@Self)^.&set := $00000008;
  19207. end;
  19208. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  19209. begin
  19210. pTDefRegMap(@Self)^.clr := $00000008;
  19211. end;
  19212. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  19213. begin
  19214. if thebits = 0 then
  19215. pTDefRegMap(@Self)^.clr := $00000008
  19216. else
  19217. pTDefRegMap(@Self)^.&set := $00000008;
  19218. end;
  19219. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  19220. begin
  19221. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19222. end;
  19223. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  19224. begin
  19225. pTDefRegMap(@Self)^.&set := $00000080;
  19226. end;
  19227. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  19228. begin
  19229. pTDefRegMap(@Self)^.clr := $00000080;
  19230. end;
  19231. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  19232. begin
  19233. if thebits = 0 then
  19234. pTDefRegMap(@Self)^.clr := $00000080
  19235. else
  19236. pTDefRegMap(@Self)^.&set := $00000080;
  19237. end;
  19238. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  19239. begin
  19240. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19241. end;
  19242. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  19243. begin
  19244. pTDefRegMap(@Self)^.&set := $00000100;
  19245. end;
  19246. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  19247. begin
  19248. pTDefRegMap(@Self)^.clr := $00000100;
  19249. end;
  19250. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  19251. begin
  19252. if thebits = 0 then
  19253. pTDefRegMap(@Self)^.clr := $00000100
  19254. else
  19255. pTDefRegMap(@Self)^.&set := $00000100;
  19256. end;
  19257. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  19258. begin
  19259. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19260. end;
  19261. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  19262. begin
  19263. pTDefRegMap(@Self)^.&set := $00000200;
  19264. end;
  19265. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  19266. begin
  19267. pTDefRegMap(@Self)^.clr := $00000200;
  19268. end;
  19269. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  19270. begin
  19271. if thebits = 0 then
  19272. pTDefRegMap(@Self)^.clr := $00000200
  19273. else
  19274. pTDefRegMap(@Self)^.&set := $00000200;
  19275. end;
  19276. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  19277. begin
  19278. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19279. end;
  19280. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  19281. begin
  19282. pTDefRegMap(@Self)^.&set := $00000400;
  19283. end;
  19284. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  19285. begin
  19286. pTDefRegMap(@Self)^.clr := $00000400;
  19287. end;
  19288. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  19289. begin
  19290. if thebits = 0 then
  19291. pTDefRegMap(@Self)^.clr := $00000400
  19292. else
  19293. pTDefRegMap(@Self)^.&set := $00000400;
  19294. end;
  19295. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  19296. begin
  19297. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19298. end;
  19299. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  19300. begin
  19301. pTDefRegMap(@Self)^.&set := $00000800;
  19302. end;
  19303. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  19304. begin
  19305. pTDefRegMap(@Self)^.clr := $00000800;
  19306. end;
  19307. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  19308. begin
  19309. if thebits = 0 then
  19310. pTDefRegMap(@Self)^.clr := $00000800
  19311. else
  19312. pTDefRegMap(@Self)^.&set := $00000800;
  19313. end;
  19314. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  19315. begin
  19316. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19317. end;
  19318. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  19319. begin
  19320. pTDefRegMap(@Self)^.&set := $00001000;
  19321. end;
  19322. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  19323. begin
  19324. pTDefRegMap(@Self)^.clr := $00001000;
  19325. end;
  19326. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  19327. begin
  19328. if thebits = 0 then
  19329. pTDefRegMap(@Self)^.clr := $00001000
  19330. else
  19331. pTDefRegMap(@Self)^.&set := $00001000;
  19332. end;
  19333. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  19334. begin
  19335. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19336. end;
  19337. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  19338. begin
  19339. pTDefRegMap(@Self)^.&set := $00008000;
  19340. end;
  19341. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  19342. begin
  19343. pTDefRegMap(@Self)^.clr := $00008000;
  19344. end;
  19345. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  19346. begin
  19347. if thebits = 0 then
  19348. pTDefRegMap(@Self)^.clr := $00008000
  19349. else
  19350. pTDefRegMap(@Self)^.&set := $00008000;
  19351. end;
  19352. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  19353. begin
  19354. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19355. end;
  19356. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  19357. begin
  19358. pTDefRegMap(@Self)^.&set := $00000001;
  19359. end;
  19360. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  19361. begin
  19362. pTDefRegMap(@Self)^.clr := $00000001;
  19363. end;
  19364. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  19365. begin
  19366. if thebits = 0 then
  19367. pTDefRegMap(@Self)^.clr := $00000001
  19368. else
  19369. pTDefRegMap(@Self)^.&set := $00000001;
  19370. end;
  19371. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  19372. begin
  19373. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19374. end;
  19375. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  19376. begin
  19377. pTDefRegMap(@Self)^.&set := $00000002;
  19378. end;
  19379. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  19380. begin
  19381. pTDefRegMap(@Self)^.clr := $00000002;
  19382. end;
  19383. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  19384. begin
  19385. if thebits = 0 then
  19386. pTDefRegMap(@Self)^.clr := $00000002
  19387. else
  19388. pTDefRegMap(@Self)^.&set := $00000002;
  19389. end;
  19390. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  19391. begin
  19392. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19393. end;
  19394. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  19395. begin
  19396. pTDefRegMap(@Self)^.val := thebits;
  19397. end;
  19398. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  19399. begin
  19400. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19401. end;
  19402. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  19403. begin
  19404. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19405. end;
  19406. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  19407. begin
  19408. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19409. end;
  19410. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  19411. begin
  19412. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  19413. end;
  19414. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  19415. begin
  19416. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  19417. end;
  19418. procedure TSPI2_SPI2CON.setDISSDI; inline;
  19419. begin
  19420. pTDefRegMap(@Self)^.&set := $00000010;
  19421. end;
  19422. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  19423. begin
  19424. pTDefRegMap(@Self)^.clr := $00000010;
  19425. end;
  19426. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  19427. begin
  19428. if thebits = 0 then
  19429. pTDefRegMap(@Self)^.clr := $00000010
  19430. else
  19431. pTDefRegMap(@Self)^.&set := $00000010;
  19432. end;
  19433. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  19434. begin
  19435. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19436. end;
  19437. procedure TSPI2_SPI2CON.setMSTEN; inline;
  19438. begin
  19439. pTDefRegMap(@Self)^.&set := $00000020;
  19440. end;
  19441. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  19442. begin
  19443. pTDefRegMap(@Self)^.clr := $00000020;
  19444. end;
  19445. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  19446. begin
  19447. if thebits = 0 then
  19448. pTDefRegMap(@Self)^.clr := $00000020
  19449. else
  19450. pTDefRegMap(@Self)^.&set := $00000020;
  19451. end;
  19452. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  19453. begin
  19454. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19455. end;
  19456. procedure TSPI2_SPI2CON.setCKP; inline;
  19457. begin
  19458. pTDefRegMap(@Self)^.&set := $00000040;
  19459. end;
  19460. procedure TSPI2_SPI2CON.clearCKP; inline;
  19461. begin
  19462. pTDefRegMap(@Self)^.clr := $00000040;
  19463. end;
  19464. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  19465. begin
  19466. if thebits = 0 then
  19467. pTDefRegMap(@Self)^.clr := $00000040
  19468. else
  19469. pTDefRegMap(@Self)^.&set := $00000040;
  19470. end;
  19471. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  19472. begin
  19473. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19474. end;
  19475. procedure TSPI2_SPI2CON.setSSEN; inline;
  19476. begin
  19477. pTDefRegMap(@Self)^.&set := $00000080;
  19478. end;
  19479. procedure TSPI2_SPI2CON.clearSSEN; inline;
  19480. begin
  19481. pTDefRegMap(@Self)^.clr := $00000080;
  19482. end;
  19483. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  19484. begin
  19485. if thebits = 0 then
  19486. pTDefRegMap(@Self)^.clr := $00000080
  19487. else
  19488. pTDefRegMap(@Self)^.&set := $00000080;
  19489. end;
  19490. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  19491. begin
  19492. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19493. end;
  19494. procedure TSPI2_SPI2CON.setCKE; inline;
  19495. begin
  19496. pTDefRegMap(@Self)^.&set := $00000100;
  19497. end;
  19498. procedure TSPI2_SPI2CON.clearCKE; inline;
  19499. begin
  19500. pTDefRegMap(@Self)^.clr := $00000100;
  19501. end;
  19502. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  19503. begin
  19504. if thebits = 0 then
  19505. pTDefRegMap(@Self)^.clr := $00000100
  19506. else
  19507. pTDefRegMap(@Self)^.&set := $00000100;
  19508. end;
  19509. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  19510. begin
  19511. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19512. end;
  19513. procedure TSPI2_SPI2CON.setSMP; inline;
  19514. begin
  19515. pTDefRegMap(@Self)^.&set := $00000200;
  19516. end;
  19517. procedure TSPI2_SPI2CON.clearSMP; inline;
  19518. begin
  19519. pTDefRegMap(@Self)^.clr := $00000200;
  19520. end;
  19521. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  19522. begin
  19523. if thebits = 0 then
  19524. pTDefRegMap(@Self)^.clr := $00000200
  19525. else
  19526. pTDefRegMap(@Self)^.&set := $00000200;
  19527. end;
  19528. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  19529. begin
  19530. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19531. end;
  19532. procedure TSPI2_SPI2CON.setMODE16; inline;
  19533. begin
  19534. pTDefRegMap(@Self)^.&set := $00000400;
  19535. end;
  19536. procedure TSPI2_SPI2CON.clearMODE16; inline;
  19537. begin
  19538. pTDefRegMap(@Self)^.clr := $00000400;
  19539. end;
  19540. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  19541. begin
  19542. if thebits = 0 then
  19543. pTDefRegMap(@Self)^.clr := $00000400
  19544. else
  19545. pTDefRegMap(@Self)^.&set := $00000400;
  19546. end;
  19547. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  19548. begin
  19549. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19550. end;
  19551. procedure TSPI2_SPI2CON.setMODE32; inline;
  19552. begin
  19553. pTDefRegMap(@Self)^.&set := $00000800;
  19554. end;
  19555. procedure TSPI2_SPI2CON.clearMODE32; inline;
  19556. begin
  19557. pTDefRegMap(@Self)^.clr := $00000800;
  19558. end;
  19559. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  19560. begin
  19561. if thebits = 0 then
  19562. pTDefRegMap(@Self)^.clr := $00000800
  19563. else
  19564. pTDefRegMap(@Self)^.&set := $00000800;
  19565. end;
  19566. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  19567. begin
  19568. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19569. end;
  19570. procedure TSPI2_SPI2CON.setDISSDO; inline;
  19571. begin
  19572. pTDefRegMap(@Self)^.&set := $00001000;
  19573. end;
  19574. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  19575. begin
  19576. pTDefRegMap(@Self)^.clr := $00001000;
  19577. end;
  19578. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  19579. begin
  19580. if thebits = 0 then
  19581. pTDefRegMap(@Self)^.clr := $00001000
  19582. else
  19583. pTDefRegMap(@Self)^.&set := $00001000;
  19584. end;
  19585. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  19586. begin
  19587. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19588. end;
  19589. procedure TSPI2_SPI2CON.setSIDL; inline;
  19590. begin
  19591. pTDefRegMap(@Self)^.&set := $00002000;
  19592. end;
  19593. procedure TSPI2_SPI2CON.clearSIDL; inline;
  19594. begin
  19595. pTDefRegMap(@Self)^.clr := $00002000;
  19596. end;
  19597. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  19598. begin
  19599. if thebits = 0 then
  19600. pTDefRegMap(@Self)^.clr := $00002000
  19601. else
  19602. pTDefRegMap(@Self)^.&set := $00002000;
  19603. end;
  19604. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  19605. begin
  19606. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19607. end;
  19608. procedure TSPI2_SPI2CON.setON; inline;
  19609. begin
  19610. pTDefRegMap(@Self)^.&set := $00008000;
  19611. end;
  19612. procedure TSPI2_SPI2CON.clearON; inline;
  19613. begin
  19614. pTDefRegMap(@Self)^.clr := $00008000;
  19615. end;
  19616. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  19617. begin
  19618. if thebits = 0 then
  19619. pTDefRegMap(@Self)^.clr := $00008000
  19620. else
  19621. pTDefRegMap(@Self)^.&set := $00008000;
  19622. end;
  19623. function TSPI2_SPI2CON.getON : TBits_1; inline;
  19624. begin
  19625. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19626. end;
  19627. procedure TSPI2_SPI2CON.setENHBUF; inline;
  19628. begin
  19629. pTDefRegMap(@Self)^.&set := $00010000;
  19630. end;
  19631. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  19632. begin
  19633. pTDefRegMap(@Self)^.clr := $00010000;
  19634. end;
  19635. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  19636. begin
  19637. if thebits = 0 then
  19638. pTDefRegMap(@Self)^.clr := $00010000
  19639. else
  19640. pTDefRegMap(@Self)^.&set := $00010000;
  19641. end;
  19642. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  19643. begin
  19644. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  19645. end;
  19646. procedure TSPI2_SPI2CON.setSPIFE; inline;
  19647. begin
  19648. pTDefRegMap(@Self)^.&set := $00020000;
  19649. end;
  19650. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  19651. begin
  19652. pTDefRegMap(@Self)^.clr := $00020000;
  19653. end;
  19654. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  19655. begin
  19656. if thebits = 0 then
  19657. pTDefRegMap(@Self)^.clr := $00020000
  19658. else
  19659. pTDefRegMap(@Self)^.&set := $00020000;
  19660. end;
  19661. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  19662. begin
  19663. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  19664. end;
  19665. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  19666. begin
  19667. pTDefRegMap(@Self)^.&set := $00800000;
  19668. end;
  19669. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  19670. begin
  19671. pTDefRegMap(@Self)^.clr := $00800000;
  19672. end;
  19673. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  19674. begin
  19675. if thebits = 0 then
  19676. pTDefRegMap(@Self)^.clr := $00800000
  19677. else
  19678. pTDefRegMap(@Self)^.&set := $00800000;
  19679. end;
  19680. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  19681. begin
  19682. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  19683. end;
  19684. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  19685. begin
  19686. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  19687. end;
  19688. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  19689. begin
  19690. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  19691. end;
  19692. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  19693. begin
  19694. pTDefRegMap(@Self)^.&set := $08000000;
  19695. end;
  19696. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  19697. begin
  19698. pTDefRegMap(@Self)^.clr := $08000000;
  19699. end;
  19700. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  19701. begin
  19702. if thebits = 0 then
  19703. pTDefRegMap(@Self)^.clr := $08000000
  19704. else
  19705. pTDefRegMap(@Self)^.&set := $08000000;
  19706. end;
  19707. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  19708. begin
  19709. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  19710. end;
  19711. procedure TSPI2_SPI2CON.setMSSEN; inline;
  19712. begin
  19713. pTDefRegMap(@Self)^.&set := $10000000;
  19714. end;
  19715. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  19716. begin
  19717. pTDefRegMap(@Self)^.clr := $10000000;
  19718. end;
  19719. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  19720. begin
  19721. if thebits = 0 then
  19722. pTDefRegMap(@Self)^.clr := $10000000
  19723. else
  19724. pTDefRegMap(@Self)^.&set := $10000000;
  19725. end;
  19726. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  19727. begin
  19728. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  19729. end;
  19730. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  19731. begin
  19732. pTDefRegMap(@Self)^.&set := $20000000;
  19733. end;
  19734. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  19735. begin
  19736. pTDefRegMap(@Self)^.clr := $20000000;
  19737. end;
  19738. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  19739. begin
  19740. if thebits = 0 then
  19741. pTDefRegMap(@Self)^.clr := $20000000
  19742. else
  19743. pTDefRegMap(@Self)^.&set := $20000000;
  19744. end;
  19745. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  19746. begin
  19747. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  19748. end;
  19749. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  19750. begin
  19751. pTDefRegMap(@Self)^.&set := $40000000;
  19752. end;
  19753. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  19754. begin
  19755. pTDefRegMap(@Self)^.clr := $40000000;
  19756. end;
  19757. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  19758. begin
  19759. if thebits = 0 then
  19760. pTDefRegMap(@Self)^.clr := $40000000
  19761. else
  19762. pTDefRegMap(@Self)^.&set := $40000000;
  19763. end;
  19764. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  19765. begin
  19766. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  19767. end;
  19768. procedure TSPI2_SPI2CON.setFRMEN; inline;
  19769. begin
  19770. pTDefRegMap(@Self)^.&set := $80000000;
  19771. end;
  19772. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  19773. begin
  19774. pTDefRegMap(@Self)^.clr := $80000000;
  19775. end;
  19776. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  19777. begin
  19778. if thebits = 0 then
  19779. pTDefRegMap(@Self)^.clr := $80000000
  19780. else
  19781. pTDefRegMap(@Self)^.&set := $80000000;
  19782. end;
  19783. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  19784. begin
  19785. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  19786. end;
  19787. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  19788. begin
  19789. pTDefRegMap(@Self)^.val := thebits;
  19790. end;
  19791. function TSPI2_SPI2CON.getw : TBits_32; inline;
  19792. begin
  19793. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19794. end;
  19795. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  19796. begin
  19797. pTDefRegMap(@Self)^.&set := $00000001;
  19798. end;
  19799. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  19800. begin
  19801. pTDefRegMap(@Self)^.clr := $00000001;
  19802. end;
  19803. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  19804. begin
  19805. if thebits = 0 then
  19806. pTDefRegMap(@Self)^.clr := $00000001
  19807. else
  19808. pTDefRegMap(@Self)^.&set := $00000001;
  19809. end;
  19810. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  19811. begin
  19812. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19813. end;
  19814. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  19815. begin
  19816. pTDefRegMap(@Self)^.&set := $00000002;
  19817. end;
  19818. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  19819. begin
  19820. pTDefRegMap(@Self)^.clr := $00000002;
  19821. end;
  19822. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  19823. begin
  19824. if thebits = 0 then
  19825. pTDefRegMap(@Self)^.clr := $00000002
  19826. else
  19827. pTDefRegMap(@Self)^.&set := $00000002;
  19828. end;
  19829. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  19830. begin
  19831. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19832. end;
  19833. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  19834. begin
  19835. pTDefRegMap(@Self)^.&set := $00000008;
  19836. end;
  19837. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  19838. begin
  19839. pTDefRegMap(@Self)^.clr := $00000008;
  19840. end;
  19841. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  19842. begin
  19843. if thebits = 0 then
  19844. pTDefRegMap(@Self)^.clr := $00000008
  19845. else
  19846. pTDefRegMap(@Self)^.&set := $00000008;
  19847. end;
  19848. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  19849. begin
  19850. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19851. end;
  19852. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  19853. begin
  19854. pTDefRegMap(@Self)^.&set := $00000020;
  19855. end;
  19856. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  19857. begin
  19858. pTDefRegMap(@Self)^.clr := $00000020;
  19859. end;
  19860. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  19861. begin
  19862. if thebits = 0 then
  19863. pTDefRegMap(@Self)^.clr := $00000020
  19864. else
  19865. pTDefRegMap(@Self)^.&set := $00000020;
  19866. end;
  19867. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  19868. begin
  19869. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19870. end;
  19871. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  19872. begin
  19873. pTDefRegMap(@Self)^.&set := $00000040;
  19874. end;
  19875. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  19876. begin
  19877. pTDefRegMap(@Self)^.clr := $00000040;
  19878. end;
  19879. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  19880. begin
  19881. if thebits = 0 then
  19882. pTDefRegMap(@Self)^.clr := $00000040
  19883. else
  19884. pTDefRegMap(@Self)^.&set := $00000040;
  19885. end;
  19886. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  19887. begin
  19888. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19889. end;
  19890. procedure TSPI2_SPI2STAT.setSRMT; inline;
  19891. begin
  19892. pTDefRegMap(@Self)^.&set := $00000080;
  19893. end;
  19894. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  19895. begin
  19896. pTDefRegMap(@Self)^.clr := $00000080;
  19897. end;
  19898. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  19899. begin
  19900. if thebits = 0 then
  19901. pTDefRegMap(@Self)^.clr := $00000080
  19902. else
  19903. pTDefRegMap(@Self)^.&set := $00000080;
  19904. end;
  19905. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  19906. begin
  19907. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19908. end;
  19909. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  19910. begin
  19911. pTDefRegMap(@Self)^.&set := $00000100;
  19912. end;
  19913. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  19914. begin
  19915. pTDefRegMap(@Self)^.clr := $00000100;
  19916. end;
  19917. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  19918. begin
  19919. if thebits = 0 then
  19920. pTDefRegMap(@Self)^.clr := $00000100
  19921. else
  19922. pTDefRegMap(@Self)^.&set := $00000100;
  19923. end;
  19924. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  19925. begin
  19926. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19927. end;
  19928. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  19929. begin
  19930. pTDefRegMap(@Self)^.&set := $00000800;
  19931. end;
  19932. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  19933. begin
  19934. pTDefRegMap(@Self)^.clr := $00000800;
  19935. end;
  19936. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  19937. begin
  19938. if thebits = 0 then
  19939. pTDefRegMap(@Self)^.clr := $00000800
  19940. else
  19941. pTDefRegMap(@Self)^.&set := $00000800;
  19942. end;
  19943. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  19944. begin
  19945. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19946. end;
  19947. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  19948. begin
  19949. pTDefRegMap(@Self)^.&set := $00001000;
  19950. end;
  19951. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  19952. begin
  19953. pTDefRegMap(@Self)^.clr := $00001000;
  19954. end;
  19955. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  19956. begin
  19957. if thebits = 0 then
  19958. pTDefRegMap(@Self)^.clr := $00001000
  19959. else
  19960. pTDefRegMap(@Self)^.&set := $00001000;
  19961. end;
  19962. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  19963. begin
  19964. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19965. end;
  19966. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  19967. begin
  19968. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  19969. end;
  19970. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  19971. begin
  19972. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  19973. end;
  19974. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  19975. begin
  19976. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  19977. end;
  19978. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  19979. begin
  19980. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  19981. end;
  19982. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  19983. begin
  19984. pTDefRegMap(@Self)^.val := thebits;
  19985. end;
  19986. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  19987. begin
  19988. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19989. end;
  19990. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  19991. begin
  19992. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19993. end;
  19994. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  19995. begin
  19996. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19997. end;
  19998. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  19999. begin
  20000. pTDefRegMap(@Self)^.&set := $00000008;
  20001. end;
  20002. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  20003. begin
  20004. pTDefRegMap(@Self)^.clr := $00000008;
  20005. end;
  20006. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  20007. begin
  20008. if thebits = 0 then
  20009. pTDefRegMap(@Self)^.clr := $00000008
  20010. else
  20011. pTDefRegMap(@Self)^.&set := $00000008;
  20012. end;
  20013. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  20014. begin
  20015. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20016. end;
  20017. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  20018. begin
  20019. pTDefRegMap(@Self)^.&set := $00000080;
  20020. end;
  20021. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  20022. begin
  20023. pTDefRegMap(@Self)^.clr := $00000080;
  20024. end;
  20025. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  20026. begin
  20027. if thebits = 0 then
  20028. pTDefRegMap(@Self)^.clr := $00000080
  20029. else
  20030. pTDefRegMap(@Self)^.&set := $00000080;
  20031. end;
  20032. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  20033. begin
  20034. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20035. end;
  20036. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  20037. begin
  20038. pTDefRegMap(@Self)^.&set := $00000100;
  20039. end;
  20040. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  20041. begin
  20042. pTDefRegMap(@Self)^.clr := $00000100;
  20043. end;
  20044. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  20045. begin
  20046. if thebits = 0 then
  20047. pTDefRegMap(@Self)^.clr := $00000100
  20048. else
  20049. pTDefRegMap(@Self)^.&set := $00000100;
  20050. end;
  20051. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  20052. begin
  20053. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20054. end;
  20055. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  20056. begin
  20057. pTDefRegMap(@Self)^.&set := $00000200;
  20058. end;
  20059. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  20060. begin
  20061. pTDefRegMap(@Self)^.clr := $00000200;
  20062. end;
  20063. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  20064. begin
  20065. if thebits = 0 then
  20066. pTDefRegMap(@Self)^.clr := $00000200
  20067. else
  20068. pTDefRegMap(@Self)^.&set := $00000200;
  20069. end;
  20070. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  20071. begin
  20072. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20073. end;
  20074. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  20075. begin
  20076. pTDefRegMap(@Self)^.&set := $00000400;
  20077. end;
  20078. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  20079. begin
  20080. pTDefRegMap(@Self)^.clr := $00000400;
  20081. end;
  20082. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  20083. begin
  20084. if thebits = 0 then
  20085. pTDefRegMap(@Self)^.clr := $00000400
  20086. else
  20087. pTDefRegMap(@Self)^.&set := $00000400;
  20088. end;
  20089. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  20090. begin
  20091. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20092. end;
  20093. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  20094. begin
  20095. pTDefRegMap(@Self)^.&set := $00000800;
  20096. end;
  20097. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  20098. begin
  20099. pTDefRegMap(@Self)^.clr := $00000800;
  20100. end;
  20101. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  20102. begin
  20103. if thebits = 0 then
  20104. pTDefRegMap(@Self)^.clr := $00000800
  20105. else
  20106. pTDefRegMap(@Self)^.&set := $00000800;
  20107. end;
  20108. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  20109. begin
  20110. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20111. end;
  20112. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  20113. begin
  20114. pTDefRegMap(@Self)^.&set := $00001000;
  20115. end;
  20116. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  20117. begin
  20118. pTDefRegMap(@Self)^.clr := $00001000;
  20119. end;
  20120. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  20121. begin
  20122. if thebits = 0 then
  20123. pTDefRegMap(@Self)^.clr := $00001000
  20124. else
  20125. pTDefRegMap(@Self)^.&set := $00001000;
  20126. end;
  20127. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  20128. begin
  20129. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20130. end;
  20131. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  20132. begin
  20133. pTDefRegMap(@Self)^.&set := $00008000;
  20134. end;
  20135. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  20136. begin
  20137. pTDefRegMap(@Self)^.clr := $00008000;
  20138. end;
  20139. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  20140. begin
  20141. if thebits = 0 then
  20142. pTDefRegMap(@Self)^.clr := $00008000
  20143. else
  20144. pTDefRegMap(@Self)^.&set := $00008000;
  20145. end;
  20146. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  20147. begin
  20148. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20149. end;
  20150. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  20151. begin
  20152. pTDefRegMap(@Self)^.&set := $00000001;
  20153. end;
  20154. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  20155. begin
  20156. pTDefRegMap(@Self)^.clr := $00000001;
  20157. end;
  20158. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  20159. begin
  20160. if thebits = 0 then
  20161. pTDefRegMap(@Self)^.clr := $00000001
  20162. else
  20163. pTDefRegMap(@Self)^.&set := $00000001;
  20164. end;
  20165. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  20166. begin
  20167. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20168. end;
  20169. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  20170. begin
  20171. pTDefRegMap(@Self)^.&set := $00000002;
  20172. end;
  20173. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  20174. begin
  20175. pTDefRegMap(@Self)^.clr := $00000002;
  20176. end;
  20177. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  20178. begin
  20179. if thebits = 0 then
  20180. pTDefRegMap(@Self)^.clr := $00000002
  20181. else
  20182. pTDefRegMap(@Self)^.&set := $00000002;
  20183. end;
  20184. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  20185. begin
  20186. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20187. end;
  20188. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  20189. begin
  20190. pTDefRegMap(@Self)^.val := thebits;
  20191. end;
  20192. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  20193. begin
  20194. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20195. end;
  20196. procedure TUART1_U1MODE.setSTSEL; inline;
  20197. begin
  20198. pTDefRegMap(@Self)^.&set := $00000001;
  20199. end;
  20200. procedure TUART1_U1MODE.clearSTSEL; inline;
  20201. begin
  20202. pTDefRegMap(@Self)^.clr := $00000001;
  20203. end;
  20204. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  20205. begin
  20206. if thebits = 0 then
  20207. pTDefRegMap(@Self)^.clr := $00000001
  20208. else
  20209. pTDefRegMap(@Self)^.&set := $00000001;
  20210. end;
  20211. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  20212. begin
  20213. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20214. end;
  20215. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  20216. begin
  20217. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  20218. end;
  20219. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  20220. begin
  20221. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  20222. end;
  20223. procedure TUART1_U1MODE.setBRGH; inline;
  20224. begin
  20225. pTDefRegMap(@Self)^.&set := $00000008;
  20226. end;
  20227. procedure TUART1_U1MODE.clearBRGH; inline;
  20228. begin
  20229. pTDefRegMap(@Self)^.clr := $00000008;
  20230. end;
  20231. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  20232. begin
  20233. if thebits = 0 then
  20234. pTDefRegMap(@Self)^.clr := $00000008
  20235. else
  20236. pTDefRegMap(@Self)^.&set := $00000008;
  20237. end;
  20238. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  20239. begin
  20240. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20241. end;
  20242. procedure TUART1_U1MODE.setRXINV; inline;
  20243. begin
  20244. pTDefRegMap(@Self)^.&set := $00000010;
  20245. end;
  20246. procedure TUART1_U1MODE.clearRXINV; inline;
  20247. begin
  20248. pTDefRegMap(@Self)^.clr := $00000010;
  20249. end;
  20250. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  20251. begin
  20252. if thebits = 0 then
  20253. pTDefRegMap(@Self)^.clr := $00000010
  20254. else
  20255. pTDefRegMap(@Self)^.&set := $00000010;
  20256. end;
  20257. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  20258. begin
  20259. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20260. end;
  20261. procedure TUART1_U1MODE.setABAUD; inline;
  20262. begin
  20263. pTDefRegMap(@Self)^.&set := $00000020;
  20264. end;
  20265. procedure TUART1_U1MODE.clearABAUD; inline;
  20266. begin
  20267. pTDefRegMap(@Self)^.clr := $00000020;
  20268. end;
  20269. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  20270. begin
  20271. if thebits = 0 then
  20272. pTDefRegMap(@Self)^.clr := $00000020
  20273. else
  20274. pTDefRegMap(@Self)^.&set := $00000020;
  20275. end;
  20276. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  20277. begin
  20278. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20279. end;
  20280. procedure TUART1_U1MODE.setLPBACK; inline;
  20281. begin
  20282. pTDefRegMap(@Self)^.&set := $00000040;
  20283. end;
  20284. procedure TUART1_U1MODE.clearLPBACK; inline;
  20285. begin
  20286. pTDefRegMap(@Self)^.clr := $00000040;
  20287. end;
  20288. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  20289. begin
  20290. if thebits = 0 then
  20291. pTDefRegMap(@Self)^.clr := $00000040
  20292. else
  20293. pTDefRegMap(@Self)^.&set := $00000040;
  20294. end;
  20295. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  20296. begin
  20297. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20298. end;
  20299. procedure TUART1_U1MODE.setWAKE; inline;
  20300. begin
  20301. pTDefRegMap(@Self)^.&set := $00000080;
  20302. end;
  20303. procedure TUART1_U1MODE.clearWAKE; inline;
  20304. begin
  20305. pTDefRegMap(@Self)^.clr := $00000080;
  20306. end;
  20307. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  20308. begin
  20309. if thebits = 0 then
  20310. pTDefRegMap(@Self)^.clr := $00000080
  20311. else
  20312. pTDefRegMap(@Self)^.&set := $00000080;
  20313. end;
  20314. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  20315. begin
  20316. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20317. end;
  20318. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  20319. begin
  20320. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20321. end;
  20322. function TUART1_U1MODE.getUEN : TBits_2; inline;
  20323. begin
  20324. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20325. end;
  20326. procedure TUART1_U1MODE.setRTSMD; inline;
  20327. begin
  20328. pTDefRegMap(@Self)^.&set := $00000800;
  20329. end;
  20330. procedure TUART1_U1MODE.clearRTSMD; inline;
  20331. begin
  20332. pTDefRegMap(@Self)^.clr := $00000800;
  20333. end;
  20334. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  20335. begin
  20336. if thebits = 0 then
  20337. pTDefRegMap(@Self)^.clr := $00000800
  20338. else
  20339. pTDefRegMap(@Self)^.&set := $00000800;
  20340. end;
  20341. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  20342. begin
  20343. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20344. end;
  20345. procedure TUART1_U1MODE.setIREN; inline;
  20346. begin
  20347. pTDefRegMap(@Self)^.&set := $00001000;
  20348. end;
  20349. procedure TUART1_U1MODE.clearIREN; inline;
  20350. begin
  20351. pTDefRegMap(@Self)^.clr := $00001000;
  20352. end;
  20353. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  20354. begin
  20355. if thebits = 0 then
  20356. pTDefRegMap(@Self)^.clr := $00001000
  20357. else
  20358. pTDefRegMap(@Self)^.&set := $00001000;
  20359. end;
  20360. function TUART1_U1MODE.getIREN : TBits_1; inline;
  20361. begin
  20362. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20363. end;
  20364. procedure TUART1_U1MODE.setSIDL; inline;
  20365. begin
  20366. pTDefRegMap(@Self)^.&set := $00002000;
  20367. end;
  20368. procedure TUART1_U1MODE.clearSIDL; inline;
  20369. begin
  20370. pTDefRegMap(@Self)^.clr := $00002000;
  20371. end;
  20372. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  20373. begin
  20374. if thebits = 0 then
  20375. pTDefRegMap(@Self)^.clr := $00002000
  20376. else
  20377. pTDefRegMap(@Self)^.&set := $00002000;
  20378. end;
  20379. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  20380. begin
  20381. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20382. end;
  20383. procedure TUART1_U1MODE.setON; inline;
  20384. begin
  20385. pTDefRegMap(@Self)^.&set := $00008000;
  20386. end;
  20387. procedure TUART1_U1MODE.clearON; inline;
  20388. begin
  20389. pTDefRegMap(@Self)^.clr := $00008000;
  20390. end;
  20391. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  20392. begin
  20393. if thebits = 0 then
  20394. pTDefRegMap(@Self)^.clr := $00008000
  20395. else
  20396. pTDefRegMap(@Self)^.&set := $00008000;
  20397. end;
  20398. function TUART1_U1MODE.getON : TBits_1; inline;
  20399. begin
  20400. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20401. end;
  20402. procedure TUART1_U1MODE.setPDSEL0; inline;
  20403. begin
  20404. pTDefRegMap(@Self)^.&set := $00000002;
  20405. end;
  20406. procedure TUART1_U1MODE.clearPDSEL0; inline;
  20407. begin
  20408. pTDefRegMap(@Self)^.clr := $00000002;
  20409. end;
  20410. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  20411. begin
  20412. if thebits = 0 then
  20413. pTDefRegMap(@Self)^.clr := $00000002
  20414. else
  20415. pTDefRegMap(@Self)^.&set := $00000002;
  20416. end;
  20417. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  20418. begin
  20419. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20420. end;
  20421. procedure TUART1_U1MODE.setPDSEL1; inline;
  20422. begin
  20423. pTDefRegMap(@Self)^.&set := $00000004;
  20424. end;
  20425. procedure TUART1_U1MODE.clearPDSEL1; inline;
  20426. begin
  20427. pTDefRegMap(@Self)^.clr := $00000004;
  20428. end;
  20429. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  20430. begin
  20431. if thebits = 0 then
  20432. pTDefRegMap(@Self)^.clr := $00000004
  20433. else
  20434. pTDefRegMap(@Self)^.&set := $00000004;
  20435. end;
  20436. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  20437. begin
  20438. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20439. end;
  20440. procedure TUART1_U1MODE.setUEN0; inline;
  20441. begin
  20442. pTDefRegMap(@Self)^.&set := $00000100;
  20443. end;
  20444. procedure TUART1_U1MODE.clearUEN0; inline;
  20445. begin
  20446. pTDefRegMap(@Self)^.clr := $00000100;
  20447. end;
  20448. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  20449. begin
  20450. if thebits = 0 then
  20451. pTDefRegMap(@Self)^.clr := $00000100
  20452. else
  20453. pTDefRegMap(@Self)^.&set := $00000100;
  20454. end;
  20455. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  20456. begin
  20457. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20458. end;
  20459. procedure TUART1_U1MODE.setUEN1; inline;
  20460. begin
  20461. pTDefRegMap(@Self)^.&set := $00000200;
  20462. end;
  20463. procedure TUART1_U1MODE.clearUEN1; inline;
  20464. begin
  20465. pTDefRegMap(@Self)^.clr := $00000200;
  20466. end;
  20467. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  20468. begin
  20469. if thebits = 0 then
  20470. pTDefRegMap(@Self)^.clr := $00000200
  20471. else
  20472. pTDefRegMap(@Self)^.&set := $00000200;
  20473. end;
  20474. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  20475. begin
  20476. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20477. end;
  20478. procedure TUART1_U1MODE.setUSIDL; inline;
  20479. begin
  20480. pTDefRegMap(@Self)^.&set := $00002000;
  20481. end;
  20482. procedure TUART1_U1MODE.clearUSIDL; inline;
  20483. begin
  20484. pTDefRegMap(@Self)^.clr := $00002000;
  20485. end;
  20486. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  20487. begin
  20488. if thebits = 0 then
  20489. pTDefRegMap(@Self)^.clr := $00002000
  20490. else
  20491. pTDefRegMap(@Self)^.&set := $00002000;
  20492. end;
  20493. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  20494. begin
  20495. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20496. end;
  20497. procedure TUART1_U1MODE.setUARTEN; inline;
  20498. begin
  20499. pTDefRegMap(@Self)^.&set := $00008000;
  20500. end;
  20501. procedure TUART1_U1MODE.clearUARTEN; inline;
  20502. begin
  20503. pTDefRegMap(@Self)^.clr := $00008000;
  20504. end;
  20505. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  20506. begin
  20507. if thebits = 0 then
  20508. pTDefRegMap(@Self)^.clr := $00008000
  20509. else
  20510. pTDefRegMap(@Self)^.&set := $00008000;
  20511. end;
  20512. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  20513. begin
  20514. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20515. end;
  20516. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  20517. begin
  20518. pTDefRegMap(@Self)^.val := thebits;
  20519. end;
  20520. function TUART1_U1MODE.getw : TBits_32; inline;
  20521. begin
  20522. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20523. end;
  20524. procedure TUART1_UDCMODE.setSTSEL; inline;
  20525. begin
  20526. pTDefRegMap(@Self)^.&set := $00000001;
  20527. end;
  20528. procedure TUART1_UDCMODE.clearSTSEL; inline;
  20529. begin
  20530. pTDefRegMap(@Self)^.clr := $00000001;
  20531. end;
  20532. procedure TUART1_UDCMODE.setSTSEL(thebits : TBits_1); inline;
  20533. begin
  20534. if thebits = 0 then
  20535. pTDefRegMap(@Self)^.clr := $00000001
  20536. else
  20537. pTDefRegMap(@Self)^.&set := $00000001;
  20538. end;
  20539. function TUART1_UDCMODE.getSTSEL : TBits_1; inline;
  20540. begin
  20541. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20542. end;
  20543. procedure TUART1_UDCMODE.setPDSEL(thebits : TBits_2); inline;
  20544. begin
  20545. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  20546. end;
  20547. function TUART1_UDCMODE.getPDSEL : TBits_2; inline;
  20548. begin
  20549. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  20550. end;
  20551. procedure TUART1_UDCMODE.setBRGH; inline;
  20552. begin
  20553. pTDefRegMap(@Self)^.&set := $00000008;
  20554. end;
  20555. procedure TUART1_UDCMODE.clearBRGH; inline;
  20556. begin
  20557. pTDefRegMap(@Self)^.clr := $00000008;
  20558. end;
  20559. procedure TUART1_UDCMODE.setBRGH(thebits : TBits_1); inline;
  20560. begin
  20561. if thebits = 0 then
  20562. pTDefRegMap(@Self)^.clr := $00000008
  20563. else
  20564. pTDefRegMap(@Self)^.&set := $00000008;
  20565. end;
  20566. function TUART1_UDCMODE.getBRGH : TBits_1; inline;
  20567. begin
  20568. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20569. end;
  20570. procedure TUART1_UDCMODE.setRXINV; inline;
  20571. begin
  20572. pTDefRegMap(@Self)^.&set := $00000010;
  20573. end;
  20574. procedure TUART1_UDCMODE.clearRXINV; inline;
  20575. begin
  20576. pTDefRegMap(@Self)^.clr := $00000010;
  20577. end;
  20578. procedure TUART1_UDCMODE.setRXINV(thebits : TBits_1); inline;
  20579. begin
  20580. if thebits = 0 then
  20581. pTDefRegMap(@Self)^.clr := $00000010
  20582. else
  20583. pTDefRegMap(@Self)^.&set := $00000010;
  20584. end;
  20585. function TUART1_UDCMODE.getRXINV : TBits_1; inline;
  20586. begin
  20587. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20588. end;
  20589. procedure TUART1_UDCMODE.setABAUD; inline;
  20590. begin
  20591. pTDefRegMap(@Self)^.&set := $00000020;
  20592. end;
  20593. procedure TUART1_UDCMODE.clearABAUD; inline;
  20594. begin
  20595. pTDefRegMap(@Self)^.clr := $00000020;
  20596. end;
  20597. procedure TUART1_UDCMODE.setABAUD(thebits : TBits_1); inline;
  20598. begin
  20599. if thebits = 0 then
  20600. pTDefRegMap(@Self)^.clr := $00000020
  20601. else
  20602. pTDefRegMap(@Self)^.&set := $00000020;
  20603. end;
  20604. function TUART1_UDCMODE.getABAUD : TBits_1; inline;
  20605. begin
  20606. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20607. end;
  20608. procedure TUART1_UDCMODE.setLPBACK; inline;
  20609. begin
  20610. pTDefRegMap(@Self)^.&set := $00000040;
  20611. end;
  20612. procedure TUART1_UDCMODE.clearLPBACK; inline;
  20613. begin
  20614. pTDefRegMap(@Self)^.clr := $00000040;
  20615. end;
  20616. procedure TUART1_UDCMODE.setLPBACK(thebits : TBits_1); inline;
  20617. begin
  20618. if thebits = 0 then
  20619. pTDefRegMap(@Self)^.clr := $00000040
  20620. else
  20621. pTDefRegMap(@Self)^.&set := $00000040;
  20622. end;
  20623. function TUART1_UDCMODE.getLPBACK : TBits_1; inline;
  20624. begin
  20625. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20626. end;
  20627. procedure TUART1_UDCMODE.setWAKE; inline;
  20628. begin
  20629. pTDefRegMap(@Self)^.&set := $00000080;
  20630. end;
  20631. procedure TUART1_UDCMODE.clearWAKE; inline;
  20632. begin
  20633. pTDefRegMap(@Self)^.clr := $00000080;
  20634. end;
  20635. procedure TUART1_UDCMODE.setWAKE(thebits : TBits_1); inline;
  20636. begin
  20637. if thebits = 0 then
  20638. pTDefRegMap(@Self)^.clr := $00000080
  20639. else
  20640. pTDefRegMap(@Self)^.&set := $00000080;
  20641. end;
  20642. function TUART1_UDCMODE.getWAKE : TBits_1; inline;
  20643. begin
  20644. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20645. end;
  20646. procedure TUART1_UDCMODE.setUEN(thebits : TBits_2); inline;
  20647. begin
  20648. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20649. end;
  20650. function TUART1_UDCMODE.getUEN : TBits_2; inline;
  20651. begin
  20652. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20653. end;
  20654. procedure TUART1_UDCMODE.setRTSMD; inline;
  20655. begin
  20656. pTDefRegMap(@Self)^.&set := $00000800;
  20657. end;
  20658. procedure TUART1_UDCMODE.clearRTSMD; inline;
  20659. begin
  20660. pTDefRegMap(@Self)^.clr := $00000800;
  20661. end;
  20662. procedure TUART1_UDCMODE.setRTSMD(thebits : TBits_1); inline;
  20663. begin
  20664. if thebits = 0 then
  20665. pTDefRegMap(@Self)^.clr := $00000800
  20666. else
  20667. pTDefRegMap(@Self)^.&set := $00000800;
  20668. end;
  20669. function TUART1_UDCMODE.getRTSMD : TBits_1; inline;
  20670. begin
  20671. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20672. end;
  20673. procedure TUART1_UDCMODE.setIREN; inline;
  20674. begin
  20675. pTDefRegMap(@Self)^.&set := $00001000;
  20676. end;
  20677. procedure TUART1_UDCMODE.clearIREN; inline;
  20678. begin
  20679. pTDefRegMap(@Self)^.clr := $00001000;
  20680. end;
  20681. procedure TUART1_UDCMODE.setIREN(thebits : TBits_1); inline;
  20682. begin
  20683. if thebits = 0 then
  20684. pTDefRegMap(@Self)^.clr := $00001000
  20685. else
  20686. pTDefRegMap(@Self)^.&set := $00001000;
  20687. end;
  20688. function TUART1_UDCMODE.getIREN : TBits_1; inline;
  20689. begin
  20690. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20691. end;
  20692. procedure TUART1_UDCMODE.setSIDL; inline;
  20693. begin
  20694. pTDefRegMap(@Self)^.&set := $00002000;
  20695. end;
  20696. procedure TUART1_UDCMODE.clearSIDL; inline;
  20697. begin
  20698. pTDefRegMap(@Self)^.clr := $00002000;
  20699. end;
  20700. procedure TUART1_UDCMODE.setSIDL(thebits : TBits_1); inline;
  20701. begin
  20702. if thebits = 0 then
  20703. pTDefRegMap(@Self)^.clr := $00002000
  20704. else
  20705. pTDefRegMap(@Self)^.&set := $00002000;
  20706. end;
  20707. function TUART1_UDCMODE.getSIDL : TBits_1; inline;
  20708. begin
  20709. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20710. end;
  20711. procedure TUART1_UDCMODE.setON; inline;
  20712. begin
  20713. pTDefRegMap(@Self)^.&set := $00008000;
  20714. end;
  20715. procedure TUART1_UDCMODE.clearON; inline;
  20716. begin
  20717. pTDefRegMap(@Self)^.clr := $00008000;
  20718. end;
  20719. procedure TUART1_UDCMODE.setON(thebits : TBits_1); inline;
  20720. begin
  20721. if thebits = 0 then
  20722. pTDefRegMap(@Self)^.clr := $00008000
  20723. else
  20724. pTDefRegMap(@Self)^.&set := $00008000;
  20725. end;
  20726. function TUART1_UDCMODE.getON : TBits_1; inline;
  20727. begin
  20728. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20729. end;
  20730. procedure TUART1_UDCMODE.setPDSEL0; inline;
  20731. begin
  20732. pTDefRegMap(@Self)^.&set := $00000002;
  20733. end;
  20734. procedure TUART1_UDCMODE.clearPDSEL0; inline;
  20735. begin
  20736. pTDefRegMap(@Self)^.clr := $00000002;
  20737. end;
  20738. procedure TUART1_UDCMODE.setPDSEL0(thebits : TBits_1); inline;
  20739. begin
  20740. if thebits = 0 then
  20741. pTDefRegMap(@Self)^.clr := $00000002
  20742. else
  20743. pTDefRegMap(@Self)^.&set := $00000002;
  20744. end;
  20745. function TUART1_UDCMODE.getPDSEL0 : TBits_1; inline;
  20746. begin
  20747. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20748. end;
  20749. procedure TUART1_UDCMODE.setPDSEL1; inline;
  20750. begin
  20751. pTDefRegMap(@Self)^.&set := $00000004;
  20752. end;
  20753. procedure TUART1_UDCMODE.clearPDSEL1; inline;
  20754. begin
  20755. pTDefRegMap(@Self)^.clr := $00000004;
  20756. end;
  20757. procedure TUART1_UDCMODE.setPDSEL1(thebits : TBits_1); inline;
  20758. begin
  20759. if thebits = 0 then
  20760. pTDefRegMap(@Self)^.clr := $00000004
  20761. else
  20762. pTDefRegMap(@Self)^.&set := $00000004;
  20763. end;
  20764. function TUART1_UDCMODE.getPDSEL1 : TBits_1; inline;
  20765. begin
  20766. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20767. end;
  20768. procedure TUART1_UDCMODE.setUEN0; inline;
  20769. begin
  20770. pTDefRegMap(@Self)^.&set := $00000100;
  20771. end;
  20772. procedure TUART1_UDCMODE.clearUEN0; inline;
  20773. begin
  20774. pTDefRegMap(@Self)^.clr := $00000100;
  20775. end;
  20776. procedure TUART1_UDCMODE.setUEN0(thebits : TBits_1); inline;
  20777. begin
  20778. if thebits = 0 then
  20779. pTDefRegMap(@Self)^.clr := $00000100
  20780. else
  20781. pTDefRegMap(@Self)^.&set := $00000100;
  20782. end;
  20783. function TUART1_UDCMODE.getUEN0 : TBits_1; inline;
  20784. begin
  20785. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20786. end;
  20787. procedure TUART1_UDCMODE.setUEN1; inline;
  20788. begin
  20789. pTDefRegMap(@Self)^.&set := $00000200;
  20790. end;
  20791. procedure TUART1_UDCMODE.clearUEN1; inline;
  20792. begin
  20793. pTDefRegMap(@Self)^.clr := $00000200;
  20794. end;
  20795. procedure TUART1_UDCMODE.setUEN1(thebits : TBits_1); inline;
  20796. begin
  20797. if thebits = 0 then
  20798. pTDefRegMap(@Self)^.clr := $00000200
  20799. else
  20800. pTDefRegMap(@Self)^.&set := $00000200;
  20801. end;
  20802. function TUART1_UDCMODE.getUEN1 : TBits_1; inline;
  20803. begin
  20804. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20805. end;
  20806. procedure TUART1_UDCMODE.setUSIDL; inline;
  20807. begin
  20808. pTDefRegMap(@Self)^.&set := $00002000;
  20809. end;
  20810. procedure TUART1_UDCMODE.clearUSIDL; inline;
  20811. begin
  20812. pTDefRegMap(@Self)^.clr := $00002000;
  20813. end;
  20814. procedure TUART1_UDCMODE.setUSIDL(thebits : TBits_1); inline;
  20815. begin
  20816. if thebits = 0 then
  20817. pTDefRegMap(@Self)^.clr := $00002000
  20818. else
  20819. pTDefRegMap(@Self)^.&set := $00002000;
  20820. end;
  20821. function TUART1_UDCMODE.getUSIDL : TBits_1; inline;
  20822. begin
  20823. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20824. end;
  20825. procedure TUART1_UDCMODE.setUARTEN; inline;
  20826. begin
  20827. pTDefRegMap(@Self)^.&set := $00008000;
  20828. end;
  20829. procedure TUART1_UDCMODE.clearUARTEN; inline;
  20830. begin
  20831. pTDefRegMap(@Self)^.clr := $00008000;
  20832. end;
  20833. procedure TUART1_UDCMODE.setUARTEN(thebits : TBits_1); inline;
  20834. begin
  20835. if thebits = 0 then
  20836. pTDefRegMap(@Self)^.clr := $00008000
  20837. else
  20838. pTDefRegMap(@Self)^.&set := $00008000;
  20839. end;
  20840. function TUART1_UDCMODE.getUARTEN : TBits_1; inline;
  20841. begin
  20842. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20843. end;
  20844. procedure TUART1_UDCMODE.setw(thebits : TBits_32); inline;
  20845. begin
  20846. pTDefRegMap(@Self)^.val := thebits;
  20847. end;
  20848. function TUART1_UDCMODE.getw : TBits_32; inline;
  20849. begin
  20850. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20851. end;
  20852. procedure TUART1_U1STA.setURXDA; inline;
  20853. begin
  20854. pTDefRegMap(@Self)^.&set := $00000001;
  20855. end;
  20856. procedure TUART1_U1STA.clearURXDA; inline;
  20857. begin
  20858. pTDefRegMap(@Self)^.clr := $00000001;
  20859. end;
  20860. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  20861. begin
  20862. if thebits = 0 then
  20863. pTDefRegMap(@Self)^.clr := $00000001
  20864. else
  20865. pTDefRegMap(@Self)^.&set := $00000001;
  20866. end;
  20867. function TUART1_U1STA.getURXDA : TBits_1; inline;
  20868. begin
  20869. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20870. end;
  20871. procedure TUART1_U1STA.setOERR; inline;
  20872. begin
  20873. pTDefRegMap(@Self)^.&set := $00000002;
  20874. end;
  20875. procedure TUART1_U1STA.clearOERR; inline;
  20876. begin
  20877. pTDefRegMap(@Self)^.clr := $00000002;
  20878. end;
  20879. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  20880. begin
  20881. if thebits = 0 then
  20882. pTDefRegMap(@Self)^.clr := $00000002
  20883. else
  20884. pTDefRegMap(@Self)^.&set := $00000002;
  20885. end;
  20886. function TUART1_U1STA.getOERR : TBits_1; inline;
  20887. begin
  20888. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20889. end;
  20890. procedure TUART1_U1STA.setFERR; inline;
  20891. begin
  20892. pTDefRegMap(@Self)^.&set := $00000004;
  20893. end;
  20894. procedure TUART1_U1STA.clearFERR; inline;
  20895. begin
  20896. pTDefRegMap(@Self)^.clr := $00000004;
  20897. end;
  20898. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  20899. begin
  20900. if thebits = 0 then
  20901. pTDefRegMap(@Self)^.clr := $00000004
  20902. else
  20903. pTDefRegMap(@Self)^.&set := $00000004;
  20904. end;
  20905. function TUART1_U1STA.getFERR : TBits_1; inline;
  20906. begin
  20907. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20908. end;
  20909. procedure TUART1_U1STA.setPERR; inline;
  20910. begin
  20911. pTDefRegMap(@Self)^.&set := $00000008;
  20912. end;
  20913. procedure TUART1_U1STA.clearPERR; inline;
  20914. begin
  20915. pTDefRegMap(@Self)^.clr := $00000008;
  20916. end;
  20917. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  20918. begin
  20919. if thebits = 0 then
  20920. pTDefRegMap(@Self)^.clr := $00000008
  20921. else
  20922. pTDefRegMap(@Self)^.&set := $00000008;
  20923. end;
  20924. function TUART1_U1STA.getPERR : TBits_1; inline;
  20925. begin
  20926. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20927. end;
  20928. procedure TUART1_U1STA.setRIDLE; inline;
  20929. begin
  20930. pTDefRegMap(@Self)^.&set := $00000010;
  20931. end;
  20932. procedure TUART1_U1STA.clearRIDLE; inline;
  20933. begin
  20934. pTDefRegMap(@Self)^.clr := $00000010;
  20935. end;
  20936. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  20937. begin
  20938. if thebits = 0 then
  20939. pTDefRegMap(@Self)^.clr := $00000010
  20940. else
  20941. pTDefRegMap(@Self)^.&set := $00000010;
  20942. end;
  20943. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  20944. begin
  20945. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20946. end;
  20947. procedure TUART1_U1STA.setADDEN; inline;
  20948. begin
  20949. pTDefRegMap(@Self)^.&set := $00000020;
  20950. end;
  20951. procedure TUART1_U1STA.clearADDEN; inline;
  20952. begin
  20953. pTDefRegMap(@Self)^.clr := $00000020;
  20954. end;
  20955. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  20956. begin
  20957. if thebits = 0 then
  20958. pTDefRegMap(@Self)^.clr := $00000020
  20959. else
  20960. pTDefRegMap(@Self)^.&set := $00000020;
  20961. end;
  20962. function TUART1_U1STA.getADDEN : TBits_1; inline;
  20963. begin
  20964. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20965. end;
  20966. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  20967. begin
  20968. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20969. end;
  20970. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  20971. begin
  20972. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20973. end;
  20974. procedure TUART1_U1STA.setTRMT; inline;
  20975. begin
  20976. pTDefRegMap(@Self)^.&set := $00000100;
  20977. end;
  20978. procedure TUART1_U1STA.clearTRMT; inline;
  20979. begin
  20980. pTDefRegMap(@Self)^.clr := $00000100;
  20981. end;
  20982. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  20983. begin
  20984. if thebits = 0 then
  20985. pTDefRegMap(@Self)^.clr := $00000100
  20986. else
  20987. pTDefRegMap(@Self)^.&set := $00000100;
  20988. end;
  20989. function TUART1_U1STA.getTRMT : TBits_1; inline;
  20990. begin
  20991. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20992. end;
  20993. procedure TUART1_U1STA.setUTXBF; inline;
  20994. begin
  20995. pTDefRegMap(@Self)^.&set := $00000200;
  20996. end;
  20997. procedure TUART1_U1STA.clearUTXBF; inline;
  20998. begin
  20999. pTDefRegMap(@Self)^.clr := $00000200;
  21000. end;
  21001. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  21002. begin
  21003. if thebits = 0 then
  21004. pTDefRegMap(@Self)^.clr := $00000200
  21005. else
  21006. pTDefRegMap(@Self)^.&set := $00000200;
  21007. end;
  21008. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  21009. begin
  21010. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21011. end;
  21012. procedure TUART1_U1STA.setUTXEN; inline;
  21013. begin
  21014. pTDefRegMap(@Self)^.&set := $00000400;
  21015. end;
  21016. procedure TUART1_U1STA.clearUTXEN; inline;
  21017. begin
  21018. pTDefRegMap(@Self)^.clr := $00000400;
  21019. end;
  21020. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  21021. begin
  21022. if thebits = 0 then
  21023. pTDefRegMap(@Self)^.clr := $00000400
  21024. else
  21025. pTDefRegMap(@Self)^.&set := $00000400;
  21026. end;
  21027. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  21028. begin
  21029. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21030. end;
  21031. procedure TUART1_U1STA.setUTXBRK; inline;
  21032. begin
  21033. pTDefRegMap(@Self)^.&set := $00000800;
  21034. end;
  21035. procedure TUART1_U1STA.clearUTXBRK; inline;
  21036. begin
  21037. pTDefRegMap(@Self)^.clr := $00000800;
  21038. end;
  21039. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  21040. begin
  21041. if thebits = 0 then
  21042. pTDefRegMap(@Self)^.clr := $00000800
  21043. else
  21044. pTDefRegMap(@Self)^.&set := $00000800;
  21045. end;
  21046. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  21047. begin
  21048. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21049. end;
  21050. procedure TUART1_U1STA.setURXEN; inline;
  21051. begin
  21052. pTDefRegMap(@Self)^.&set := $00001000;
  21053. end;
  21054. procedure TUART1_U1STA.clearURXEN; inline;
  21055. begin
  21056. pTDefRegMap(@Self)^.clr := $00001000;
  21057. end;
  21058. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  21059. begin
  21060. if thebits = 0 then
  21061. pTDefRegMap(@Self)^.clr := $00001000
  21062. else
  21063. pTDefRegMap(@Self)^.&set := $00001000;
  21064. end;
  21065. function TUART1_U1STA.getURXEN : TBits_1; inline;
  21066. begin
  21067. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21068. end;
  21069. procedure TUART1_U1STA.setUTXINV; inline;
  21070. begin
  21071. pTDefRegMap(@Self)^.&set := $00002000;
  21072. end;
  21073. procedure TUART1_U1STA.clearUTXINV; inline;
  21074. begin
  21075. pTDefRegMap(@Self)^.clr := $00002000;
  21076. end;
  21077. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  21078. begin
  21079. if thebits = 0 then
  21080. pTDefRegMap(@Self)^.clr := $00002000
  21081. else
  21082. pTDefRegMap(@Self)^.&set := $00002000;
  21083. end;
  21084. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  21085. begin
  21086. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21087. end;
  21088. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  21089. begin
  21090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21091. end;
  21092. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  21093. begin
  21094. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21095. end;
  21096. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  21097. begin
  21098. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21099. end;
  21100. function TUART1_U1STA.getADDR : TBits_8; inline;
  21101. begin
  21102. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21103. end;
  21104. procedure TUART1_U1STA.setADM_EN; inline;
  21105. begin
  21106. pTDefRegMap(@Self)^.&set := $01000000;
  21107. end;
  21108. procedure TUART1_U1STA.clearADM_EN; inline;
  21109. begin
  21110. pTDefRegMap(@Self)^.clr := $01000000;
  21111. end;
  21112. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  21113. begin
  21114. if thebits = 0 then
  21115. pTDefRegMap(@Self)^.clr := $01000000
  21116. else
  21117. pTDefRegMap(@Self)^.&set := $01000000;
  21118. end;
  21119. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  21120. begin
  21121. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  21122. end;
  21123. procedure TUART1_U1STA.setURXISEL0; inline;
  21124. begin
  21125. pTDefRegMap(@Self)^.&set := $00000040;
  21126. end;
  21127. procedure TUART1_U1STA.clearURXISEL0; inline;
  21128. begin
  21129. pTDefRegMap(@Self)^.clr := $00000040;
  21130. end;
  21131. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  21132. begin
  21133. if thebits = 0 then
  21134. pTDefRegMap(@Self)^.clr := $00000040
  21135. else
  21136. pTDefRegMap(@Self)^.&set := $00000040;
  21137. end;
  21138. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  21139. begin
  21140. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21141. end;
  21142. procedure TUART1_U1STA.setURXISEL1; inline;
  21143. begin
  21144. pTDefRegMap(@Self)^.&set := $00000080;
  21145. end;
  21146. procedure TUART1_U1STA.clearURXISEL1; inline;
  21147. begin
  21148. pTDefRegMap(@Self)^.clr := $00000080;
  21149. end;
  21150. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  21151. begin
  21152. if thebits = 0 then
  21153. pTDefRegMap(@Self)^.clr := $00000080
  21154. else
  21155. pTDefRegMap(@Self)^.&set := $00000080;
  21156. end;
  21157. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  21158. begin
  21159. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21160. end;
  21161. procedure TUART1_U1STA.setUTXISEL0; inline;
  21162. begin
  21163. pTDefRegMap(@Self)^.&set := $00004000;
  21164. end;
  21165. procedure TUART1_U1STA.clearUTXISEL0; inline;
  21166. begin
  21167. pTDefRegMap(@Self)^.clr := $00004000;
  21168. end;
  21169. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  21170. begin
  21171. if thebits = 0 then
  21172. pTDefRegMap(@Self)^.clr := $00004000
  21173. else
  21174. pTDefRegMap(@Self)^.&set := $00004000;
  21175. end;
  21176. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  21177. begin
  21178. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21179. end;
  21180. procedure TUART1_U1STA.setUTXISEL1; inline;
  21181. begin
  21182. pTDefRegMap(@Self)^.&set := $00008000;
  21183. end;
  21184. procedure TUART1_U1STA.clearUTXISEL1; inline;
  21185. begin
  21186. pTDefRegMap(@Self)^.clr := $00008000;
  21187. end;
  21188. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  21189. begin
  21190. if thebits = 0 then
  21191. pTDefRegMap(@Self)^.clr := $00008000
  21192. else
  21193. pTDefRegMap(@Self)^.&set := $00008000;
  21194. end;
  21195. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  21196. begin
  21197. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21198. end;
  21199. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  21200. begin
  21201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21202. end;
  21203. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  21204. begin
  21205. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21206. end;
  21207. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  21208. begin
  21209. pTDefRegMap(@Self)^.val := thebits;
  21210. end;
  21211. function TUART1_U1STA.getw : TBits_32; inline;
  21212. begin
  21213. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21214. end;
  21215. procedure TUART1_UDCSTA.setURXDA; inline;
  21216. begin
  21217. pTDefRegMap(@Self)^.&set := $00000001;
  21218. end;
  21219. procedure TUART1_UDCSTA.clearURXDA; inline;
  21220. begin
  21221. pTDefRegMap(@Self)^.clr := $00000001;
  21222. end;
  21223. procedure TUART1_UDCSTA.setURXDA(thebits : TBits_1); inline;
  21224. begin
  21225. if thebits = 0 then
  21226. pTDefRegMap(@Self)^.clr := $00000001
  21227. else
  21228. pTDefRegMap(@Self)^.&set := $00000001;
  21229. end;
  21230. function TUART1_UDCSTA.getURXDA : TBits_1; inline;
  21231. begin
  21232. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21233. end;
  21234. procedure TUART1_UDCSTA.setOERR; inline;
  21235. begin
  21236. pTDefRegMap(@Self)^.&set := $00000002;
  21237. end;
  21238. procedure TUART1_UDCSTA.clearOERR; inline;
  21239. begin
  21240. pTDefRegMap(@Self)^.clr := $00000002;
  21241. end;
  21242. procedure TUART1_UDCSTA.setOERR(thebits : TBits_1); inline;
  21243. begin
  21244. if thebits = 0 then
  21245. pTDefRegMap(@Self)^.clr := $00000002
  21246. else
  21247. pTDefRegMap(@Self)^.&set := $00000002;
  21248. end;
  21249. function TUART1_UDCSTA.getOERR : TBits_1; inline;
  21250. begin
  21251. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21252. end;
  21253. procedure TUART1_UDCSTA.setFERR; inline;
  21254. begin
  21255. pTDefRegMap(@Self)^.&set := $00000004;
  21256. end;
  21257. procedure TUART1_UDCSTA.clearFERR; inline;
  21258. begin
  21259. pTDefRegMap(@Self)^.clr := $00000004;
  21260. end;
  21261. procedure TUART1_UDCSTA.setFERR(thebits : TBits_1); inline;
  21262. begin
  21263. if thebits = 0 then
  21264. pTDefRegMap(@Self)^.clr := $00000004
  21265. else
  21266. pTDefRegMap(@Self)^.&set := $00000004;
  21267. end;
  21268. function TUART1_UDCSTA.getFERR : TBits_1; inline;
  21269. begin
  21270. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21271. end;
  21272. procedure TUART1_UDCSTA.setPERR; inline;
  21273. begin
  21274. pTDefRegMap(@Self)^.&set := $00000008;
  21275. end;
  21276. procedure TUART1_UDCSTA.clearPERR; inline;
  21277. begin
  21278. pTDefRegMap(@Self)^.clr := $00000008;
  21279. end;
  21280. procedure TUART1_UDCSTA.setPERR(thebits : TBits_1); inline;
  21281. begin
  21282. if thebits = 0 then
  21283. pTDefRegMap(@Self)^.clr := $00000008
  21284. else
  21285. pTDefRegMap(@Self)^.&set := $00000008;
  21286. end;
  21287. function TUART1_UDCSTA.getPERR : TBits_1; inline;
  21288. begin
  21289. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21290. end;
  21291. procedure TUART1_UDCSTA.setRIDLE; inline;
  21292. begin
  21293. pTDefRegMap(@Self)^.&set := $00000010;
  21294. end;
  21295. procedure TUART1_UDCSTA.clearRIDLE; inline;
  21296. begin
  21297. pTDefRegMap(@Self)^.clr := $00000010;
  21298. end;
  21299. procedure TUART1_UDCSTA.setRIDLE(thebits : TBits_1); inline;
  21300. begin
  21301. if thebits = 0 then
  21302. pTDefRegMap(@Self)^.clr := $00000010
  21303. else
  21304. pTDefRegMap(@Self)^.&set := $00000010;
  21305. end;
  21306. function TUART1_UDCSTA.getRIDLE : TBits_1; inline;
  21307. begin
  21308. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21309. end;
  21310. procedure TUART1_UDCSTA.setADDEN; inline;
  21311. begin
  21312. pTDefRegMap(@Self)^.&set := $00000020;
  21313. end;
  21314. procedure TUART1_UDCSTA.clearADDEN; inline;
  21315. begin
  21316. pTDefRegMap(@Self)^.clr := $00000020;
  21317. end;
  21318. procedure TUART1_UDCSTA.setADDEN(thebits : TBits_1); inline;
  21319. begin
  21320. if thebits = 0 then
  21321. pTDefRegMap(@Self)^.clr := $00000020
  21322. else
  21323. pTDefRegMap(@Self)^.&set := $00000020;
  21324. end;
  21325. function TUART1_UDCSTA.getADDEN : TBits_1; inline;
  21326. begin
  21327. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21328. end;
  21329. procedure TUART1_UDCSTA.setURXISEL(thebits : TBits_2); inline;
  21330. begin
  21331. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21332. end;
  21333. function TUART1_UDCSTA.getURXISEL : TBits_2; inline;
  21334. begin
  21335. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21336. end;
  21337. procedure TUART1_UDCSTA.setTRMT; inline;
  21338. begin
  21339. pTDefRegMap(@Self)^.&set := $00000100;
  21340. end;
  21341. procedure TUART1_UDCSTA.clearTRMT; inline;
  21342. begin
  21343. pTDefRegMap(@Self)^.clr := $00000100;
  21344. end;
  21345. procedure TUART1_UDCSTA.setTRMT(thebits : TBits_1); inline;
  21346. begin
  21347. if thebits = 0 then
  21348. pTDefRegMap(@Self)^.clr := $00000100
  21349. else
  21350. pTDefRegMap(@Self)^.&set := $00000100;
  21351. end;
  21352. function TUART1_UDCSTA.getTRMT : TBits_1; inline;
  21353. begin
  21354. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21355. end;
  21356. procedure TUART1_UDCSTA.setUTXBF; inline;
  21357. begin
  21358. pTDefRegMap(@Self)^.&set := $00000200;
  21359. end;
  21360. procedure TUART1_UDCSTA.clearUTXBF; inline;
  21361. begin
  21362. pTDefRegMap(@Self)^.clr := $00000200;
  21363. end;
  21364. procedure TUART1_UDCSTA.setUTXBF(thebits : TBits_1); inline;
  21365. begin
  21366. if thebits = 0 then
  21367. pTDefRegMap(@Self)^.clr := $00000200
  21368. else
  21369. pTDefRegMap(@Self)^.&set := $00000200;
  21370. end;
  21371. function TUART1_UDCSTA.getUTXBF : TBits_1; inline;
  21372. begin
  21373. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21374. end;
  21375. procedure TUART1_UDCSTA.setUTXEN; inline;
  21376. begin
  21377. pTDefRegMap(@Self)^.&set := $00000400;
  21378. end;
  21379. procedure TUART1_UDCSTA.clearUTXEN; inline;
  21380. begin
  21381. pTDefRegMap(@Self)^.clr := $00000400;
  21382. end;
  21383. procedure TUART1_UDCSTA.setUTXEN(thebits : TBits_1); inline;
  21384. begin
  21385. if thebits = 0 then
  21386. pTDefRegMap(@Self)^.clr := $00000400
  21387. else
  21388. pTDefRegMap(@Self)^.&set := $00000400;
  21389. end;
  21390. function TUART1_UDCSTA.getUTXEN : TBits_1; inline;
  21391. begin
  21392. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21393. end;
  21394. procedure TUART1_UDCSTA.setUTXBRK; inline;
  21395. begin
  21396. pTDefRegMap(@Self)^.&set := $00000800;
  21397. end;
  21398. procedure TUART1_UDCSTA.clearUTXBRK; inline;
  21399. begin
  21400. pTDefRegMap(@Self)^.clr := $00000800;
  21401. end;
  21402. procedure TUART1_UDCSTA.setUTXBRK(thebits : TBits_1); inline;
  21403. begin
  21404. if thebits = 0 then
  21405. pTDefRegMap(@Self)^.clr := $00000800
  21406. else
  21407. pTDefRegMap(@Self)^.&set := $00000800;
  21408. end;
  21409. function TUART1_UDCSTA.getUTXBRK : TBits_1; inline;
  21410. begin
  21411. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21412. end;
  21413. procedure TUART1_UDCSTA.setURXEN; inline;
  21414. begin
  21415. pTDefRegMap(@Self)^.&set := $00001000;
  21416. end;
  21417. procedure TUART1_UDCSTA.clearURXEN; inline;
  21418. begin
  21419. pTDefRegMap(@Self)^.clr := $00001000;
  21420. end;
  21421. procedure TUART1_UDCSTA.setURXEN(thebits : TBits_1); inline;
  21422. begin
  21423. if thebits = 0 then
  21424. pTDefRegMap(@Self)^.clr := $00001000
  21425. else
  21426. pTDefRegMap(@Self)^.&set := $00001000;
  21427. end;
  21428. function TUART1_UDCSTA.getURXEN : TBits_1; inline;
  21429. begin
  21430. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21431. end;
  21432. procedure TUART1_UDCSTA.setUTXINV; inline;
  21433. begin
  21434. pTDefRegMap(@Self)^.&set := $00002000;
  21435. end;
  21436. procedure TUART1_UDCSTA.clearUTXINV; inline;
  21437. begin
  21438. pTDefRegMap(@Self)^.clr := $00002000;
  21439. end;
  21440. procedure TUART1_UDCSTA.setUTXINV(thebits : TBits_1); inline;
  21441. begin
  21442. if thebits = 0 then
  21443. pTDefRegMap(@Self)^.clr := $00002000
  21444. else
  21445. pTDefRegMap(@Self)^.&set := $00002000;
  21446. end;
  21447. function TUART1_UDCSTA.getUTXINV : TBits_1; inline;
  21448. begin
  21449. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21450. end;
  21451. procedure TUART1_UDCSTA.setUTXISEL(thebits : TBits_2); inline;
  21452. begin
  21453. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21454. end;
  21455. function TUART1_UDCSTA.getUTXISEL : TBits_2; inline;
  21456. begin
  21457. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21458. end;
  21459. procedure TUART1_UDCSTA.setADDR(thebits : TBits_8); inline;
  21460. begin
  21461. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21462. end;
  21463. function TUART1_UDCSTA.getADDR : TBits_8; inline;
  21464. begin
  21465. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21466. end;
  21467. procedure TUART1_UDCSTA.setADM_EN; inline;
  21468. begin
  21469. pTDefRegMap(@Self)^.&set := $01000000;
  21470. end;
  21471. procedure TUART1_UDCSTA.clearADM_EN; inline;
  21472. begin
  21473. pTDefRegMap(@Self)^.clr := $01000000;
  21474. end;
  21475. procedure TUART1_UDCSTA.setADM_EN(thebits : TBits_1); inline;
  21476. begin
  21477. if thebits = 0 then
  21478. pTDefRegMap(@Self)^.clr := $01000000
  21479. else
  21480. pTDefRegMap(@Self)^.&set := $01000000;
  21481. end;
  21482. function TUART1_UDCSTA.getADM_EN : TBits_1; inline;
  21483. begin
  21484. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  21485. end;
  21486. procedure TUART1_UDCSTA.setURXISEL0; inline;
  21487. begin
  21488. pTDefRegMap(@Self)^.&set := $00000040;
  21489. end;
  21490. procedure TUART1_UDCSTA.clearURXISEL0; inline;
  21491. begin
  21492. pTDefRegMap(@Self)^.clr := $00000040;
  21493. end;
  21494. procedure TUART1_UDCSTA.setURXISEL0(thebits : TBits_1); inline;
  21495. begin
  21496. if thebits = 0 then
  21497. pTDefRegMap(@Self)^.clr := $00000040
  21498. else
  21499. pTDefRegMap(@Self)^.&set := $00000040;
  21500. end;
  21501. function TUART1_UDCSTA.getURXISEL0 : TBits_1; inline;
  21502. begin
  21503. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21504. end;
  21505. procedure TUART1_UDCSTA.setURXISEL1; inline;
  21506. begin
  21507. pTDefRegMap(@Self)^.&set := $00000080;
  21508. end;
  21509. procedure TUART1_UDCSTA.clearURXISEL1; inline;
  21510. begin
  21511. pTDefRegMap(@Self)^.clr := $00000080;
  21512. end;
  21513. procedure TUART1_UDCSTA.setURXISEL1(thebits : TBits_1); inline;
  21514. begin
  21515. if thebits = 0 then
  21516. pTDefRegMap(@Self)^.clr := $00000080
  21517. else
  21518. pTDefRegMap(@Self)^.&set := $00000080;
  21519. end;
  21520. function TUART1_UDCSTA.getURXISEL1 : TBits_1; inline;
  21521. begin
  21522. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21523. end;
  21524. procedure TUART1_UDCSTA.setUTXISEL0; inline;
  21525. begin
  21526. pTDefRegMap(@Self)^.&set := $00004000;
  21527. end;
  21528. procedure TUART1_UDCSTA.clearUTXISEL0; inline;
  21529. begin
  21530. pTDefRegMap(@Self)^.clr := $00004000;
  21531. end;
  21532. procedure TUART1_UDCSTA.setUTXISEL0(thebits : TBits_1); inline;
  21533. begin
  21534. if thebits = 0 then
  21535. pTDefRegMap(@Self)^.clr := $00004000
  21536. else
  21537. pTDefRegMap(@Self)^.&set := $00004000;
  21538. end;
  21539. function TUART1_UDCSTA.getUTXISEL0 : TBits_1; inline;
  21540. begin
  21541. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21542. end;
  21543. procedure TUART1_UDCSTA.setUTXISEL1; inline;
  21544. begin
  21545. pTDefRegMap(@Self)^.&set := $00008000;
  21546. end;
  21547. procedure TUART1_UDCSTA.clearUTXISEL1; inline;
  21548. begin
  21549. pTDefRegMap(@Self)^.clr := $00008000;
  21550. end;
  21551. procedure TUART1_UDCSTA.setUTXISEL1(thebits : TBits_1); inline;
  21552. begin
  21553. if thebits = 0 then
  21554. pTDefRegMap(@Self)^.clr := $00008000
  21555. else
  21556. pTDefRegMap(@Self)^.&set := $00008000;
  21557. end;
  21558. function TUART1_UDCSTA.getUTXISEL1 : TBits_1; inline;
  21559. begin
  21560. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21561. end;
  21562. procedure TUART1_UDCSTA.setUTXSEL(thebits : TBits_2); inline;
  21563. begin
  21564. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21565. end;
  21566. function TUART1_UDCSTA.getUTXSEL : TBits_2; inline;
  21567. begin
  21568. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21569. end;
  21570. procedure TUART1_UDCSTA.setw(thebits : TBits_32); inline;
  21571. begin
  21572. pTDefRegMap(@Self)^.val := thebits;
  21573. end;
  21574. function TUART1_UDCSTA.getw : TBits_32; inline;
  21575. begin
  21576. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21577. end;
  21578. procedure TUART2_U2MODE.setSTSEL; inline;
  21579. begin
  21580. pTDefRegMap(@Self)^.&set := $00000001;
  21581. end;
  21582. procedure TUART2_U2MODE.clearSTSEL; inline;
  21583. begin
  21584. pTDefRegMap(@Self)^.clr := $00000001;
  21585. end;
  21586. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  21587. begin
  21588. if thebits = 0 then
  21589. pTDefRegMap(@Self)^.clr := $00000001
  21590. else
  21591. pTDefRegMap(@Self)^.&set := $00000001;
  21592. end;
  21593. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  21594. begin
  21595. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21596. end;
  21597. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  21598. begin
  21599. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  21600. end;
  21601. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  21602. begin
  21603. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  21604. end;
  21605. procedure TUART2_U2MODE.setBRGH; inline;
  21606. begin
  21607. pTDefRegMap(@Self)^.&set := $00000008;
  21608. end;
  21609. procedure TUART2_U2MODE.clearBRGH; inline;
  21610. begin
  21611. pTDefRegMap(@Self)^.clr := $00000008;
  21612. end;
  21613. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  21614. begin
  21615. if thebits = 0 then
  21616. pTDefRegMap(@Self)^.clr := $00000008
  21617. else
  21618. pTDefRegMap(@Self)^.&set := $00000008;
  21619. end;
  21620. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  21621. begin
  21622. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21623. end;
  21624. procedure TUART2_U2MODE.setRXINV; inline;
  21625. begin
  21626. pTDefRegMap(@Self)^.&set := $00000010;
  21627. end;
  21628. procedure TUART2_U2MODE.clearRXINV; inline;
  21629. begin
  21630. pTDefRegMap(@Self)^.clr := $00000010;
  21631. end;
  21632. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  21633. begin
  21634. if thebits = 0 then
  21635. pTDefRegMap(@Self)^.clr := $00000010
  21636. else
  21637. pTDefRegMap(@Self)^.&set := $00000010;
  21638. end;
  21639. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  21640. begin
  21641. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21642. end;
  21643. procedure TUART2_U2MODE.setABAUD; inline;
  21644. begin
  21645. pTDefRegMap(@Self)^.&set := $00000020;
  21646. end;
  21647. procedure TUART2_U2MODE.clearABAUD; inline;
  21648. begin
  21649. pTDefRegMap(@Self)^.clr := $00000020;
  21650. end;
  21651. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  21652. begin
  21653. if thebits = 0 then
  21654. pTDefRegMap(@Self)^.clr := $00000020
  21655. else
  21656. pTDefRegMap(@Self)^.&set := $00000020;
  21657. end;
  21658. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  21659. begin
  21660. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21661. end;
  21662. procedure TUART2_U2MODE.setLPBACK; inline;
  21663. begin
  21664. pTDefRegMap(@Self)^.&set := $00000040;
  21665. end;
  21666. procedure TUART2_U2MODE.clearLPBACK; inline;
  21667. begin
  21668. pTDefRegMap(@Self)^.clr := $00000040;
  21669. end;
  21670. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  21671. begin
  21672. if thebits = 0 then
  21673. pTDefRegMap(@Self)^.clr := $00000040
  21674. else
  21675. pTDefRegMap(@Self)^.&set := $00000040;
  21676. end;
  21677. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  21678. begin
  21679. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21680. end;
  21681. procedure TUART2_U2MODE.setWAKE; inline;
  21682. begin
  21683. pTDefRegMap(@Self)^.&set := $00000080;
  21684. end;
  21685. procedure TUART2_U2MODE.clearWAKE; inline;
  21686. begin
  21687. pTDefRegMap(@Self)^.clr := $00000080;
  21688. end;
  21689. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  21690. begin
  21691. if thebits = 0 then
  21692. pTDefRegMap(@Self)^.clr := $00000080
  21693. else
  21694. pTDefRegMap(@Self)^.&set := $00000080;
  21695. end;
  21696. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  21697. begin
  21698. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21699. end;
  21700. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  21701. begin
  21702. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  21703. end;
  21704. function TUART2_U2MODE.getUEN : TBits_2; inline;
  21705. begin
  21706. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  21707. end;
  21708. procedure TUART2_U2MODE.setRTSMD; inline;
  21709. begin
  21710. pTDefRegMap(@Self)^.&set := $00000800;
  21711. end;
  21712. procedure TUART2_U2MODE.clearRTSMD; inline;
  21713. begin
  21714. pTDefRegMap(@Self)^.clr := $00000800;
  21715. end;
  21716. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  21717. begin
  21718. if thebits = 0 then
  21719. pTDefRegMap(@Self)^.clr := $00000800
  21720. else
  21721. pTDefRegMap(@Self)^.&set := $00000800;
  21722. end;
  21723. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  21724. begin
  21725. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21726. end;
  21727. procedure TUART2_U2MODE.setIREN; inline;
  21728. begin
  21729. pTDefRegMap(@Self)^.&set := $00001000;
  21730. end;
  21731. procedure TUART2_U2MODE.clearIREN; inline;
  21732. begin
  21733. pTDefRegMap(@Self)^.clr := $00001000;
  21734. end;
  21735. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  21736. begin
  21737. if thebits = 0 then
  21738. pTDefRegMap(@Self)^.clr := $00001000
  21739. else
  21740. pTDefRegMap(@Self)^.&set := $00001000;
  21741. end;
  21742. function TUART2_U2MODE.getIREN : TBits_1; inline;
  21743. begin
  21744. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21745. end;
  21746. procedure TUART2_U2MODE.setSIDL; inline;
  21747. begin
  21748. pTDefRegMap(@Self)^.&set := $00002000;
  21749. end;
  21750. procedure TUART2_U2MODE.clearSIDL; inline;
  21751. begin
  21752. pTDefRegMap(@Self)^.clr := $00002000;
  21753. end;
  21754. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  21755. begin
  21756. if thebits = 0 then
  21757. pTDefRegMap(@Self)^.clr := $00002000
  21758. else
  21759. pTDefRegMap(@Self)^.&set := $00002000;
  21760. end;
  21761. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  21762. begin
  21763. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21764. end;
  21765. procedure TUART2_U2MODE.setON; inline;
  21766. begin
  21767. pTDefRegMap(@Self)^.&set := $00008000;
  21768. end;
  21769. procedure TUART2_U2MODE.clearON; inline;
  21770. begin
  21771. pTDefRegMap(@Self)^.clr := $00008000;
  21772. end;
  21773. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  21774. begin
  21775. if thebits = 0 then
  21776. pTDefRegMap(@Self)^.clr := $00008000
  21777. else
  21778. pTDefRegMap(@Self)^.&set := $00008000;
  21779. end;
  21780. function TUART2_U2MODE.getON : TBits_1; inline;
  21781. begin
  21782. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21783. end;
  21784. procedure TUART2_U2MODE.setPDSEL0; inline;
  21785. begin
  21786. pTDefRegMap(@Self)^.&set := $00000002;
  21787. end;
  21788. procedure TUART2_U2MODE.clearPDSEL0; inline;
  21789. begin
  21790. pTDefRegMap(@Self)^.clr := $00000002;
  21791. end;
  21792. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  21793. begin
  21794. if thebits = 0 then
  21795. pTDefRegMap(@Self)^.clr := $00000002
  21796. else
  21797. pTDefRegMap(@Self)^.&set := $00000002;
  21798. end;
  21799. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  21800. begin
  21801. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21802. end;
  21803. procedure TUART2_U2MODE.setPDSEL1; inline;
  21804. begin
  21805. pTDefRegMap(@Self)^.&set := $00000004;
  21806. end;
  21807. procedure TUART2_U2MODE.clearPDSEL1; inline;
  21808. begin
  21809. pTDefRegMap(@Self)^.clr := $00000004;
  21810. end;
  21811. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  21812. begin
  21813. if thebits = 0 then
  21814. pTDefRegMap(@Self)^.clr := $00000004
  21815. else
  21816. pTDefRegMap(@Self)^.&set := $00000004;
  21817. end;
  21818. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  21819. begin
  21820. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21821. end;
  21822. procedure TUART2_U2MODE.setUEN0; inline;
  21823. begin
  21824. pTDefRegMap(@Self)^.&set := $00000100;
  21825. end;
  21826. procedure TUART2_U2MODE.clearUEN0; inline;
  21827. begin
  21828. pTDefRegMap(@Self)^.clr := $00000100;
  21829. end;
  21830. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  21831. begin
  21832. if thebits = 0 then
  21833. pTDefRegMap(@Self)^.clr := $00000100
  21834. else
  21835. pTDefRegMap(@Self)^.&set := $00000100;
  21836. end;
  21837. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  21838. begin
  21839. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21840. end;
  21841. procedure TUART2_U2MODE.setUEN1; inline;
  21842. begin
  21843. pTDefRegMap(@Self)^.&set := $00000200;
  21844. end;
  21845. procedure TUART2_U2MODE.clearUEN1; inline;
  21846. begin
  21847. pTDefRegMap(@Self)^.clr := $00000200;
  21848. end;
  21849. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  21850. begin
  21851. if thebits = 0 then
  21852. pTDefRegMap(@Self)^.clr := $00000200
  21853. else
  21854. pTDefRegMap(@Self)^.&set := $00000200;
  21855. end;
  21856. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  21857. begin
  21858. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21859. end;
  21860. procedure TUART2_U2MODE.setUSIDL; inline;
  21861. begin
  21862. pTDefRegMap(@Self)^.&set := $00002000;
  21863. end;
  21864. procedure TUART2_U2MODE.clearUSIDL; inline;
  21865. begin
  21866. pTDefRegMap(@Self)^.clr := $00002000;
  21867. end;
  21868. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  21869. begin
  21870. if thebits = 0 then
  21871. pTDefRegMap(@Self)^.clr := $00002000
  21872. else
  21873. pTDefRegMap(@Self)^.&set := $00002000;
  21874. end;
  21875. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  21876. begin
  21877. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21878. end;
  21879. procedure TUART2_U2MODE.setUARTEN; inline;
  21880. begin
  21881. pTDefRegMap(@Self)^.&set := $00008000;
  21882. end;
  21883. procedure TUART2_U2MODE.clearUARTEN; inline;
  21884. begin
  21885. pTDefRegMap(@Self)^.clr := $00008000;
  21886. end;
  21887. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  21888. begin
  21889. if thebits = 0 then
  21890. pTDefRegMap(@Self)^.clr := $00008000
  21891. else
  21892. pTDefRegMap(@Self)^.&set := $00008000;
  21893. end;
  21894. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  21895. begin
  21896. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21897. end;
  21898. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  21899. begin
  21900. pTDefRegMap(@Self)^.val := thebits;
  21901. end;
  21902. function TUART2_U2MODE.getw : TBits_32; inline;
  21903. begin
  21904. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21905. end;
  21906. procedure TUART2_U8932MODE.setSTSEL; inline;
  21907. begin
  21908. pTDefRegMap(@Self)^.&set := $00000001;
  21909. end;
  21910. procedure TUART2_U8932MODE.clearSTSEL; inline;
  21911. begin
  21912. pTDefRegMap(@Self)^.clr := $00000001;
  21913. end;
  21914. procedure TUART2_U8932MODE.setSTSEL(thebits : TBits_1); inline;
  21915. begin
  21916. if thebits = 0 then
  21917. pTDefRegMap(@Self)^.clr := $00000001
  21918. else
  21919. pTDefRegMap(@Self)^.&set := $00000001;
  21920. end;
  21921. function TUART2_U8932MODE.getSTSEL : TBits_1; inline;
  21922. begin
  21923. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21924. end;
  21925. procedure TUART2_U8932MODE.setPDSEL(thebits : TBits_2); inline;
  21926. begin
  21927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  21928. end;
  21929. function TUART2_U8932MODE.getPDSEL : TBits_2; inline;
  21930. begin
  21931. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  21932. end;
  21933. procedure TUART2_U8932MODE.setBRGH; inline;
  21934. begin
  21935. pTDefRegMap(@Self)^.&set := $00000008;
  21936. end;
  21937. procedure TUART2_U8932MODE.clearBRGH; inline;
  21938. begin
  21939. pTDefRegMap(@Self)^.clr := $00000008;
  21940. end;
  21941. procedure TUART2_U8932MODE.setBRGH(thebits : TBits_1); inline;
  21942. begin
  21943. if thebits = 0 then
  21944. pTDefRegMap(@Self)^.clr := $00000008
  21945. else
  21946. pTDefRegMap(@Self)^.&set := $00000008;
  21947. end;
  21948. function TUART2_U8932MODE.getBRGH : TBits_1; inline;
  21949. begin
  21950. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21951. end;
  21952. procedure TUART2_U8932MODE.setRXINV; inline;
  21953. begin
  21954. pTDefRegMap(@Self)^.&set := $00000010;
  21955. end;
  21956. procedure TUART2_U8932MODE.clearRXINV; inline;
  21957. begin
  21958. pTDefRegMap(@Self)^.clr := $00000010;
  21959. end;
  21960. procedure TUART2_U8932MODE.setRXINV(thebits : TBits_1); inline;
  21961. begin
  21962. if thebits = 0 then
  21963. pTDefRegMap(@Self)^.clr := $00000010
  21964. else
  21965. pTDefRegMap(@Self)^.&set := $00000010;
  21966. end;
  21967. function TUART2_U8932MODE.getRXINV : TBits_1; inline;
  21968. begin
  21969. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21970. end;
  21971. procedure TUART2_U8932MODE.setABAUD; inline;
  21972. begin
  21973. pTDefRegMap(@Self)^.&set := $00000020;
  21974. end;
  21975. procedure TUART2_U8932MODE.clearABAUD; inline;
  21976. begin
  21977. pTDefRegMap(@Self)^.clr := $00000020;
  21978. end;
  21979. procedure TUART2_U8932MODE.setABAUD(thebits : TBits_1); inline;
  21980. begin
  21981. if thebits = 0 then
  21982. pTDefRegMap(@Self)^.clr := $00000020
  21983. else
  21984. pTDefRegMap(@Self)^.&set := $00000020;
  21985. end;
  21986. function TUART2_U8932MODE.getABAUD : TBits_1; inline;
  21987. begin
  21988. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21989. end;
  21990. procedure TUART2_U8932MODE.setLPBACK; inline;
  21991. begin
  21992. pTDefRegMap(@Self)^.&set := $00000040;
  21993. end;
  21994. procedure TUART2_U8932MODE.clearLPBACK; inline;
  21995. begin
  21996. pTDefRegMap(@Self)^.clr := $00000040;
  21997. end;
  21998. procedure TUART2_U8932MODE.setLPBACK(thebits : TBits_1); inline;
  21999. begin
  22000. if thebits = 0 then
  22001. pTDefRegMap(@Self)^.clr := $00000040
  22002. else
  22003. pTDefRegMap(@Self)^.&set := $00000040;
  22004. end;
  22005. function TUART2_U8932MODE.getLPBACK : TBits_1; inline;
  22006. begin
  22007. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22008. end;
  22009. procedure TUART2_U8932MODE.setWAKE; inline;
  22010. begin
  22011. pTDefRegMap(@Self)^.&set := $00000080;
  22012. end;
  22013. procedure TUART2_U8932MODE.clearWAKE; inline;
  22014. begin
  22015. pTDefRegMap(@Self)^.clr := $00000080;
  22016. end;
  22017. procedure TUART2_U8932MODE.setWAKE(thebits : TBits_1); inline;
  22018. begin
  22019. if thebits = 0 then
  22020. pTDefRegMap(@Self)^.clr := $00000080
  22021. else
  22022. pTDefRegMap(@Self)^.&set := $00000080;
  22023. end;
  22024. function TUART2_U8932MODE.getWAKE : TBits_1; inline;
  22025. begin
  22026. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22027. end;
  22028. procedure TUART2_U8932MODE.setUEN(thebits : TBits_2); inline;
  22029. begin
  22030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  22031. end;
  22032. function TUART2_U8932MODE.getUEN : TBits_2; inline;
  22033. begin
  22034. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  22035. end;
  22036. procedure TUART2_U8932MODE.setRTSMD; inline;
  22037. begin
  22038. pTDefRegMap(@Self)^.&set := $00000800;
  22039. end;
  22040. procedure TUART2_U8932MODE.clearRTSMD; inline;
  22041. begin
  22042. pTDefRegMap(@Self)^.clr := $00000800;
  22043. end;
  22044. procedure TUART2_U8932MODE.setRTSMD(thebits : TBits_1); inline;
  22045. begin
  22046. if thebits = 0 then
  22047. pTDefRegMap(@Self)^.clr := $00000800
  22048. else
  22049. pTDefRegMap(@Self)^.&set := $00000800;
  22050. end;
  22051. function TUART2_U8932MODE.getRTSMD : TBits_1; inline;
  22052. begin
  22053. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22054. end;
  22055. procedure TUART2_U8932MODE.setIREN; inline;
  22056. begin
  22057. pTDefRegMap(@Self)^.&set := $00001000;
  22058. end;
  22059. procedure TUART2_U8932MODE.clearIREN; inline;
  22060. begin
  22061. pTDefRegMap(@Self)^.clr := $00001000;
  22062. end;
  22063. procedure TUART2_U8932MODE.setIREN(thebits : TBits_1); inline;
  22064. begin
  22065. if thebits = 0 then
  22066. pTDefRegMap(@Self)^.clr := $00001000
  22067. else
  22068. pTDefRegMap(@Self)^.&set := $00001000;
  22069. end;
  22070. function TUART2_U8932MODE.getIREN : TBits_1; inline;
  22071. begin
  22072. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22073. end;
  22074. procedure TUART2_U8932MODE.setSIDL; inline;
  22075. begin
  22076. pTDefRegMap(@Self)^.&set := $00002000;
  22077. end;
  22078. procedure TUART2_U8932MODE.clearSIDL; inline;
  22079. begin
  22080. pTDefRegMap(@Self)^.clr := $00002000;
  22081. end;
  22082. procedure TUART2_U8932MODE.setSIDL(thebits : TBits_1); inline;
  22083. begin
  22084. if thebits = 0 then
  22085. pTDefRegMap(@Self)^.clr := $00002000
  22086. else
  22087. pTDefRegMap(@Self)^.&set := $00002000;
  22088. end;
  22089. function TUART2_U8932MODE.getSIDL : TBits_1; inline;
  22090. begin
  22091. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22092. end;
  22093. procedure TUART2_U8932MODE.setON; inline;
  22094. begin
  22095. pTDefRegMap(@Self)^.&set := $00008000;
  22096. end;
  22097. procedure TUART2_U8932MODE.clearON; inline;
  22098. begin
  22099. pTDefRegMap(@Self)^.clr := $00008000;
  22100. end;
  22101. procedure TUART2_U8932MODE.setON(thebits : TBits_1); inline;
  22102. begin
  22103. if thebits = 0 then
  22104. pTDefRegMap(@Self)^.clr := $00008000
  22105. else
  22106. pTDefRegMap(@Self)^.&set := $00008000;
  22107. end;
  22108. function TUART2_U8932MODE.getON : TBits_1; inline;
  22109. begin
  22110. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22111. end;
  22112. procedure TUART2_U8932MODE.setPDSEL0; inline;
  22113. begin
  22114. pTDefRegMap(@Self)^.&set := $00000002;
  22115. end;
  22116. procedure TUART2_U8932MODE.clearPDSEL0; inline;
  22117. begin
  22118. pTDefRegMap(@Self)^.clr := $00000002;
  22119. end;
  22120. procedure TUART2_U8932MODE.setPDSEL0(thebits : TBits_1); inline;
  22121. begin
  22122. if thebits = 0 then
  22123. pTDefRegMap(@Self)^.clr := $00000002
  22124. else
  22125. pTDefRegMap(@Self)^.&set := $00000002;
  22126. end;
  22127. function TUART2_U8932MODE.getPDSEL0 : TBits_1; inline;
  22128. begin
  22129. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22130. end;
  22131. procedure TUART2_U8932MODE.setPDSEL1; inline;
  22132. begin
  22133. pTDefRegMap(@Self)^.&set := $00000004;
  22134. end;
  22135. procedure TUART2_U8932MODE.clearPDSEL1; inline;
  22136. begin
  22137. pTDefRegMap(@Self)^.clr := $00000004;
  22138. end;
  22139. procedure TUART2_U8932MODE.setPDSEL1(thebits : TBits_1); inline;
  22140. begin
  22141. if thebits = 0 then
  22142. pTDefRegMap(@Self)^.clr := $00000004
  22143. else
  22144. pTDefRegMap(@Self)^.&set := $00000004;
  22145. end;
  22146. function TUART2_U8932MODE.getPDSEL1 : TBits_1; inline;
  22147. begin
  22148. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22149. end;
  22150. procedure TUART2_U8932MODE.setUEN0; inline;
  22151. begin
  22152. pTDefRegMap(@Self)^.&set := $00000100;
  22153. end;
  22154. procedure TUART2_U8932MODE.clearUEN0; inline;
  22155. begin
  22156. pTDefRegMap(@Self)^.clr := $00000100;
  22157. end;
  22158. procedure TUART2_U8932MODE.setUEN0(thebits : TBits_1); inline;
  22159. begin
  22160. if thebits = 0 then
  22161. pTDefRegMap(@Self)^.clr := $00000100
  22162. else
  22163. pTDefRegMap(@Self)^.&set := $00000100;
  22164. end;
  22165. function TUART2_U8932MODE.getUEN0 : TBits_1; inline;
  22166. begin
  22167. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22168. end;
  22169. procedure TUART2_U8932MODE.setUEN1; inline;
  22170. begin
  22171. pTDefRegMap(@Self)^.&set := $00000200;
  22172. end;
  22173. procedure TUART2_U8932MODE.clearUEN1; inline;
  22174. begin
  22175. pTDefRegMap(@Self)^.clr := $00000200;
  22176. end;
  22177. procedure TUART2_U8932MODE.setUEN1(thebits : TBits_1); inline;
  22178. begin
  22179. if thebits = 0 then
  22180. pTDefRegMap(@Self)^.clr := $00000200
  22181. else
  22182. pTDefRegMap(@Self)^.&set := $00000200;
  22183. end;
  22184. function TUART2_U8932MODE.getUEN1 : TBits_1; inline;
  22185. begin
  22186. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22187. end;
  22188. procedure TUART2_U8932MODE.setUSIDL; inline;
  22189. begin
  22190. pTDefRegMap(@Self)^.&set := $00002000;
  22191. end;
  22192. procedure TUART2_U8932MODE.clearUSIDL; inline;
  22193. begin
  22194. pTDefRegMap(@Self)^.clr := $00002000;
  22195. end;
  22196. procedure TUART2_U8932MODE.setUSIDL(thebits : TBits_1); inline;
  22197. begin
  22198. if thebits = 0 then
  22199. pTDefRegMap(@Self)^.clr := $00002000
  22200. else
  22201. pTDefRegMap(@Self)^.&set := $00002000;
  22202. end;
  22203. function TUART2_U8932MODE.getUSIDL : TBits_1; inline;
  22204. begin
  22205. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22206. end;
  22207. procedure TUART2_U8932MODE.setUARTEN; inline;
  22208. begin
  22209. pTDefRegMap(@Self)^.&set := $00008000;
  22210. end;
  22211. procedure TUART2_U8932MODE.clearUARTEN; inline;
  22212. begin
  22213. pTDefRegMap(@Self)^.clr := $00008000;
  22214. end;
  22215. procedure TUART2_U8932MODE.setUARTEN(thebits : TBits_1); inline;
  22216. begin
  22217. if thebits = 0 then
  22218. pTDefRegMap(@Self)^.clr := $00008000
  22219. else
  22220. pTDefRegMap(@Self)^.&set := $00008000;
  22221. end;
  22222. function TUART2_U8932MODE.getUARTEN : TBits_1; inline;
  22223. begin
  22224. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22225. end;
  22226. procedure TUART2_U8932MODE.setw(thebits : TBits_32); inline;
  22227. begin
  22228. pTDefRegMap(@Self)^.val := thebits;
  22229. end;
  22230. function TUART2_U8932MODE.getw : TBits_32; inline;
  22231. begin
  22232. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22233. end;
  22234. procedure TUART2_U2STA.setURXDA; inline;
  22235. begin
  22236. pTDefRegMap(@Self)^.&set := $00000001;
  22237. end;
  22238. procedure TUART2_U2STA.clearURXDA; inline;
  22239. begin
  22240. pTDefRegMap(@Self)^.clr := $00000001;
  22241. end;
  22242. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  22243. begin
  22244. if thebits = 0 then
  22245. pTDefRegMap(@Self)^.clr := $00000001
  22246. else
  22247. pTDefRegMap(@Self)^.&set := $00000001;
  22248. end;
  22249. function TUART2_U2STA.getURXDA : TBits_1; inline;
  22250. begin
  22251. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22252. end;
  22253. procedure TUART2_U2STA.setOERR; inline;
  22254. begin
  22255. pTDefRegMap(@Self)^.&set := $00000002;
  22256. end;
  22257. procedure TUART2_U2STA.clearOERR; inline;
  22258. begin
  22259. pTDefRegMap(@Self)^.clr := $00000002;
  22260. end;
  22261. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  22262. begin
  22263. if thebits = 0 then
  22264. pTDefRegMap(@Self)^.clr := $00000002
  22265. else
  22266. pTDefRegMap(@Self)^.&set := $00000002;
  22267. end;
  22268. function TUART2_U2STA.getOERR : TBits_1; inline;
  22269. begin
  22270. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22271. end;
  22272. procedure TUART2_U2STA.setFERR; inline;
  22273. begin
  22274. pTDefRegMap(@Self)^.&set := $00000004;
  22275. end;
  22276. procedure TUART2_U2STA.clearFERR; inline;
  22277. begin
  22278. pTDefRegMap(@Self)^.clr := $00000004;
  22279. end;
  22280. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  22281. begin
  22282. if thebits = 0 then
  22283. pTDefRegMap(@Self)^.clr := $00000004
  22284. else
  22285. pTDefRegMap(@Self)^.&set := $00000004;
  22286. end;
  22287. function TUART2_U2STA.getFERR : TBits_1; inline;
  22288. begin
  22289. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22290. end;
  22291. procedure TUART2_U2STA.setPERR; inline;
  22292. begin
  22293. pTDefRegMap(@Self)^.&set := $00000008;
  22294. end;
  22295. procedure TUART2_U2STA.clearPERR; inline;
  22296. begin
  22297. pTDefRegMap(@Self)^.clr := $00000008;
  22298. end;
  22299. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  22300. begin
  22301. if thebits = 0 then
  22302. pTDefRegMap(@Self)^.clr := $00000008
  22303. else
  22304. pTDefRegMap(@Self)^.&set := $00000008;
  22305. end;
  22306. function TUART2_U2STA.getPERR : TBits_1; inline;
  22307. begin
  22308. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22309. end;
  22310. procedure TUART2_U2STA.setRIDLE; inline;
  22311. begin
  22312. pTDefRegMap(@Self)^.&set := $00000010;
  22313. end;
  22314. procedure TUART2_U2STA.clearRIDLE; inline;
  22315. begin
  22316. pTDefRegMap(@Self)^.clr := $00000010;
  22317. end;
  22318. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  22319. begin
  22320. if thebits = 0 then
  22321. pTDefRegMap(@Self)^.clr := $00000010
  22322. else
  22323. pTDefRegMap(@Self)^.&set := $00000010;
  22324. end;
  22325. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  22326. begin
  22327. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22328. end;
  22329. procedure TUART2_U2STA.setADDEN; inline;
  22330. begin
  22331. pTDefRegMap(@Self)^.&set := $00000020;
  22332. end;
  22333. procedure TUART2_U2STA.clearADDEN; inline;
  22334. begin
  22335. pTDefRegMap(@Self)^.clr := $00000020;
  22336. end;
  22337. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  22338. begin
  22339. if thebits = 0 then
  22340. pTDefRegMap(@Self)^.clr := $00000020
  22341. else
  22342. pTDefRegMap(@Self)^.&set := $00000020;
  22343. end;
  22344. function TUART2_U2STA.getADDEN : TBits_1; inline;
  22345. begin
  22346. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22347. end;
  22348. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  22349. begin
  22350. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  22351. end;
  22352. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  22353. begin
  22354. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  22355. end;
  22356. procedure TUART2_U2STA.setTRMT; inline;
  22357. begin
  22358. pTDefRegMap(@Self)^.&set := $00000100;
  22359. end;
  22360. procedure TUART2_U2STA.clearTRMT; inline;
  22361. begin
  22362. pTDefRegMap(@Self)^.clr := $00000100;
  22363. end;
  22364. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  22365. begin
  22366. if thebits = 0 then
  22367. pTDefRegMap(@Self)^.clr := $00000100
  22368. else
  22369. pTDefRegMap(@Self)^.&set := $00000100;
  22370. end;
  22371. function TUART2_U2STA.getTRMT : TBits_1; inline;
  22372. begin
  22373. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22374. end;
  22375. procedure TUART2_U2STA.setUTXBF; inline;
  22376. begin
  22377. pTDefRegMap(@Self)^.&set := $00000200;
  22378. end;
  22379. procedure TUART2_U2STA.clearUTXBF; inline;
  22380. begin
  22381. pTDefRegMap(@Self)^.clr := $00000200;
  22382. end;
  22383. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  22384. begin
  22385. if thebits = 0 then
  22386. pTDefRegMap(@Self)^.clr := $00000200
  22387. else
  22388. pTDefRegMap(@Self)^.&set := $00000200;
  22389. end;
  22390. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  22391. begin
  22392. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22393. end;
  22394. procedure TUART2_U2STA.setUTXEN; inline;
  22395. begin
  22396. pTDefRegMap(@Self)^.&set := $00000400;
  22397. end;
  22398. procedure TUART2_U2STA.clearUTXEN; inline;
  22399. begin
  22400. pTDefRegMap(@Self)^.clr := $00000400;
  22401. end;
  22402. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  22403. begin
  22404. if thebits = 0 then
  22405. pTDefRegMap(@Self)^.clr := $00000400
  22406. else
  22407. pTDefRegMap(@Self)^.&set := $00000400;
  22408. end;
  22409. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  22410. begin
  22411. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22412. end;
  22413. procedure TUART2_U2STA.setUTXBRK; inline;
  22414. begin
  22415. pTDefRegMap(@Self)^.&set := $00000800;
  22416. end;
  22417. procedure TUART2_U2STA.clearUTXBRK; inline;
  22418. begin
  22419. pTDefRegMap(@Self)^.clr := $00000800;
  22420. end;
  22421. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  22422. begin
  22423. if thebits = 0 then
  22424. pTDefRegMap(@Self)^.clr := $00000800
  22425. else
  22426. pTDefRegMap(@Self)^.&set := $00000800;
  22427. end;
  22428. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  22429. begin
  22430. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22431. end;
  22432. procedure TUART2_U2STA.setURXEN; inline;
  22433. begin
  22434. pTDefRegMap(@Self)^.&set := $00001000;
  22435. end;
  22436. procedure TUART2_U2STA.clearURXEN; inline;
  22437. begin
  22438. pTDefRegMap(@Self)^.clr := $00001000;
  22439. end;
  22440. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  22441. begin
  22442. if thebits = 0 then
  22443. pTDefRegMap(@Self)^.clr := $00001000
  22444. else
  22445. pTDefRegMap(@Self)^.&set := $00001000;
  22446. end;
  22447. function TUART2_U2STA.getURXEN : TBits_1; inline;
  22448. begin
  22449. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22450. end;
  22451. procedure TUART2_U2STA.setUTXINV; inline;
  22452. begin
  22453. pTDefRegMap(@Self)^.&set := $00002000;
  22454. end;
  22455. procedure TUART2_U2STA.clearUTXINV; inline;
  22456. begin
  22457. pTDefRegMap(@Self)^.clr := $00002000;
  22458. end;
  22459. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  22460. begin
  22461. if thebits = 0 then
  22462. pTDefRegMap(@Self)^.clr := $00002000
  22463. else
  22464. pTDefRegMap(@Self)^.&set := $00002000;
  22465. end;
  22466. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  22467. begin
  22468. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22469. end;
  22470. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  22471. begin
  22472. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  22473. end;
  22474. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  22475. begin
  22476. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  22477. end;
  22478. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  22479. begin
  22480. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  22481. end;
  22482. function TUART2_U2STA.getADDR : TBits_8; inline;
  22483. begin
  22484. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  22485. end;
  22486. procedure TUART2_U2STA.setADM_EN; inline;
  22487. begin
  22488. pTDefRegMap(@Self)^.&set := $01000000;
  22489. end;
  22490. procedure TUART2_U2STA.clearADM_EN; inline;
  22491. begin
  22492. pTDefRegMap(@Self)^.clr := $01000000;
  22493. end;
  22494. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  22495. begin
  22496. if thebits = 0 then
  22497. pTDefRegMap(@Self)^.clr := $01000000
  22498. else
  22499. pTDefRegMap(@Self)^.&set := $01000000;
  22500. end;
  22501. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  22502. begin
  22503. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  22504. end;
  22505. procedure TUART2_U2STA.setURXISEL0; inline;
  22506. begin
  22507. pTDefRegMap(@Self)^.&set := $00000040;
  22508. end;
  22509. procedure TUART2_U2STA.clearURXISEL0; inline;
  22510. begin
  22511. pTDefRegMap(@Self)^.clr := $00000040;
  22512. end;
  22513. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  22514. begin
  22515. if thebits = 0 then
  22516. pTDefRegMap(@Self)^.clr := $00000040
  22517. else
  22518. pTDefRegMap(@Self)^.&set := $00000040;
  22519. end;
  22520. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  22521. begin
  22522. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22523. end;
  22524. procedure TUART2_U2STA.setURXISEL1; inline;
  22525. begin
  22526. pTDefRegMap(@Self)^.&set := $00000080;
  22527. end;
  22528. procedure TUART2_U2STA.clearURXISEL1; inline;
  22529. begin
  22530. pTDefRegMap(@Self)^.clr := $00000080;
  22531. end;
  22532. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  22533. begin
  22534. if thebits = 0 then
  22535. pTDefRegMap(@Self)^.clr := $00000080
  22536. else
  22537. pTDefRegMap(@Self)^.&set := $00000080;
  22538. end;
  22539. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  22540. begin
  22541. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22542. end;
  22543. procedure TUART2_U2STA.setUTXISEL0; inline;
  22544. begin
  22545. pTDefRegMap(@Self)^.&set := $00004000;
  22546. end;
  22547. procedure TUART2_U2STA.clearUTXISEL0; inline;
  22548. begin
  22549. pTDefRegMap(@Self)^.clr := $00004000;
  22550. end;
  22551. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  22552. begin
  22553. if thebits = 0 then
  22554. pTDefRegMap(@Self)^.clr := $00004000
  22555. else
  22556. pTDefRegMap(@Self)^.&set := $00004000;
  22557. end;
  22558. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  22559. begin
  22560. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22561. end;
  22562. procedure TUART2_U2STA.setUTXISEL1; inline;
  22563. begin
  22564. pTDefRegMap(@Self)^.&set := $00008000;
  22565. end;
  22566. procedure TUART2_U2STA.clearUTXISEL1; inline;
  22567. begin
  22568. pTDefRegMap(@Self)^.clr := $00008000;
  22569. end;
  22570. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  22571. begin
  22572. if thebits = 0 then
  22573. pTDefRegMap(@Self)^.clr := $00008000
  22574. else
  22575. pTDefRegMap(@Self)^.&set := $00008000;
  22576. end;
  22577. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  22578. begin
  22579. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22580. end;
  22581. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  22582. begin
  22583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  22584. end;
  22585. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  22586. begin
  22587. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  22588. end;
  22589. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  22590. begin
  22591. pTDefRegMap(@Self)^.val := thebits;
  22592. end;
  22593. function TUART2_U2STA.getw : TBits_32; inline;
  22594. begin
  22595. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22596. end;
  22597. procedure TUART2_U8932STA.setURXDA; inline;
  22598. begin
  22599. pTDefRegMap(@Self)^.&set := $00000001;
  22600. end;
  22601. procedure TUART2_U8932STA.clearURXDA; inline;
  22602. begin
  22603. pTDefRegMap(@Self)^.clr := $00000001;
  22604. end;
  22605. procedure TUART2_U8932STA.setURXDA(thebits : TBits_1); inline;
  22606. begin
  22607. if thebits = 0 then
  22608. pTDefRegMap(@Self)^.clr := $00000001
  22609. else
  22610. pTDefRegMap(@Self)^.&set := $00000001;
  22611. end;
  22612. function TUART2_U8932STA.getURXDA : TBits_1; inline;
  22613. begin
  22614. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22615. end;
  22616. procedure TUART2_U8932STA.setOERR; inline;
  22617. begin
  22618. pTDefRegMap(@Self)^.&set := $00000002;
  22619. end;
  22620. procedure TUART2_U8932STA.clearOERR; inline;
  22621. begin
  22622. pTDefRegMap(@Self)^.clr := $00000002;
  22623. end;
  22624. procedure TUART2_U8932STA.setOERR(thebits : TBits_1); inline;
  22625. begin
  22626. if thebits = 0 then
  22627. pTDefRegMap(@Self)^.clr := $00000002
  22628. else
  22629. pTDefRegMap(@Self)^.&set := $00000002;
  22630. end;
  22631. function TUART2_U8932STA.getOERR : TBits_1; inline;
  22632. begin
  22633. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22634. end;
  22635. procedure TUART2_U8932STA.setFERR; inline;
  22636. begin
  22637. pTDefRegMap(@Self)^.&set := $00000004;
  22638. end;
  22639. procedure TUART2_U8932STA.clearFERR; inline;
  22640. begin
  22641. pTDefRegMap(@Self)^.clr := $00000004;
  22642. end;
  22643. procedure TUART2_U8932STA.setFERR(thebits : TBits_1); inline;
  22644. begin
  22645. if thebits = 0 then
  22646. pTDefRegMap(@Self)^.clr := $00000004
  22647. else
  22648. pTDefRegMap(@Self)^.&set := $00000004;
  22649. end;
  22650. function TUART2_U8932STA.getFERR : TBits_1; inline;
  22651. begin
  22652. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22653. end;
  22654. procedure TUART2_U8932STA.setPERR; inline;
  22655. begin
  22656. pTDefRegMap(@Self)^.&set := $00000008;
  22657. end;
  22658. procedure TUART2_U8932STA.clearPERR; inline;
  22659. begin
  22660. pTDefRegMap(@Self)^.clr := $00000008;
  22661. end;
  22662. procedure TUART2_U8932STA.setPERR(thebits : TBits_1); inline;
  22663. begin
  22664. if thebits = 0 then
  22665. pTDefRegMap(@Self)^.clr := $00000008
  22666. else
  22667. pTDefRegMap(@Self)^.&set := $00000008;
  22668. end;
  22669. function TUART2_U8932STA.getPERR : TBits_1; inline;
  22670. begin
  22671. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22672. end;
  22673. procedure TUART2_U8932STA.setRIDLE; inline;
  22674. begin
  22675. pTDefRegMap(@Self)^.&set := $00000010;
  22676. end;
  22677. procedure TUART2_U8932STA.clearRIDLE; inline;
  22678. begin
  22679. pTDefRegMap(@Self)^.clr := $00000010;
  22680. end;
  22681. procedure TUART2_U8932STA.setRIDLE(thebits : TBits_1); inline;
  22682. begin
  22683. if thebits = 0 then
  22684. pTDefRegMap(@Self)^.clr := $00000010
  22685. else
  22686. pTDefRegMap(@Self)^.&set := $00000010;
  22687. end;
  22688. function TUART2_U8932STA.getRIDLE : TBits_1; inline;
  22689. begin
  22690. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22691. end;
  22692. procedure TUART2_U8932STA.setADDEN; inline;
  22693. begin
  22694. pTDefRegMap(@Self)^.&set := $00000020;
  22695. end;
  22696. procedure TUART2_U8932STA.clearADDEN; inline;
  22697. begin
  22698. pTDefRegMap(@Self)^.clr := $00000020;
  22699. end;
  22700. procedure TUART2_U8932STA.setADDEN(thebits : TBits_1); inline;
  22701. begin
  22702. if thebits = 0 then
  22703. pTDefRegMap(@Self)^.clr := $00000020
  22704. else
  22705. pTDefRegMap(@Self)^.&set := $00000020;
  22706. end;
  22707. function TUART2_U8932STA.getADDEN : TBits_1; inline;
  22708. begin
  22709. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22710. end;
  22711. procedure TUART2_U8932STA.setURXISEL(thebits : TBits_2); inline;
  22712. begin
  22713. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  22714. end;
  22715. function TUART2_U8932STA.getURXISEL : TBits_2; inline;
  22716. begin
  22717. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  22718. end;
  22719. procedure TUART2_U8932STA.setTRMT; inline;
  22720. begin
  22721. pTDefRegMap(@Self)^.&set := $00000100;
  22722. end;
  22723. procedure TUART2_U8932STA.clearTRMT; inline;
  22724. begin
  22725. pTDefRegMap(@Self)^.clr := $00000100;
  22726. end;
  22727. procedure TUART2_U8932STA.setTRMT(thebits : TBits_1); inline;
  22728. begin
  22729. if thebits = 0 then
  22730. pTDefRegMap(@Self)^.clr := $00000100
  22731. else
  22732. pTDefRegMap(@Self)^.&set := $00000100;
  22733. end;
  22734. function TUART2_U8932STA.getTRMT : TBits_1; inline;
  22735. begin
  22736. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22737. end;
  22738. procedure TUART2_U8932STA.setUTXBF; inline;
  22739. begin
  22740. pTDefRegMap(@Self)^.&set := $00000200;
  22741. end;
  22742. procedure TUART2_U8932STA.clearUTXBF; inline;
  22743. begin
  22744. pTDefRegMap(@Self)^.clr := $00000200;
  22745. end;
  22746. procedure TUART2_U8932STA.setUTXBF(thebits : TBits_1); inline;
  22747. begin
  22748. if thebits = 0 then
  22749. pTDefRegMap(@Self)^.clr := $00000200
  22750. else
  22751. pTDefRegMap(@Self)^.&set := $00000200;
  22752. end;
  22753. function TUART2_U8932STA.getUTXBF : TBits_1; inline;
  22754. begin
  22755. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22756. end;
  22757. procedure TUART2_U8932STA.setUTXEN; inline;
  22758. begin
  22759. pTDefRegMap(@Self)^.&set := $00000400;
  22760. end;
  22761. procedure TUART2_U8932STA.clearUTXEN; inline;
  22762. begin
  22763. pTDefRegMap(@Self)^.clr := $00000400;
  22764. end;
  22765. procedure TUART2_U8932STA.setUTXEN(thebits : TBits_1); inline;
  22766. begin
  22767. if thebits = 0 then
  22768. pTDefRegMap(@Self)^.clr := $00000400
  22769. else
  22770. pTDefRegMap(@Self)^.&set := $00000400;
  22771. end;
  22772. function TUART2_U8932STA.getUTXEN : TBits_1; inline;
  22773. begin
  22774. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22775. end;
  22776. procedure TUART2_U8932STA.setUTXBRK; inline;
  22777. begin
  22778. pTDefRegMap(@Self)^.&set := $00000800;
  22779. end;
  22780. procedure TUART2_U8932STA.clearUTXBRK; inline;
  22781. begin
  22782. pTDefRegMap(@Self)^.clr := $00000800;
  22783. end;
  22784. procedure TUART2_U8932STA.setUTXBRK(thebits : TBits_1); inline;
  22785. begin
  22786. if thebits = 0 then
  22787. pTDefRegMap(@Self)^.clr := $00000800
  22788. else
  22789. pTDefRegMap(@Self)^.&set := $00000800;
  22790. end;
  22791. function TUART2_U8932STA.getUTXBRK : TBits_1; inline;
  22792. begin
  22793. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22794. end;
  22795. procedure TUART2_U8932STA.setURXEN; inline;
  22796. begin
  22797. pTDefRegMap(@Self)^.&set := $00001000;
  22798. end;
  22799. procedure TUART2_U8932STA.clearURXEN; inline;
  22800. begin
  22801. pTDefRegMap(@Self)^.clr := $00001000;
  22802. end;
  22803. procedure TUART2_U8932STA.setURXEN(thebits : TBits_1); inline;
  22804. begin
  22805. if thebits = 0 then
  22806. pTDefRegMap(@Self)^.clr := $00001000
  22807. else
  22808. pTDefRegMap(@Self)^.&set := $00001000;
  22809. end;
  22810. function TUART2_U8932STA.getURXEN : TBits_1; inline;
  22811. begin
  22812. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22813. end;
  22814. procedure TUART2_U8932STA.setUTXINV; inline;
  22815. begin
  22816. pTDefRegMap(@Self)^.&set := $00002000;
  22817. end;
  22818. procedure TUART2_U8932STA.clearUTXINV; inline;
  22819. begin
  22820. pTDefRegMap(@Self)^.clr := $00002000;
  22821. end;
  22822. procedure TUART2_U8932STA.setUTXINV(thebits : TBits_1); inline;
  22823. begin
  22824. if thebits = 0 then
  22825. pTDefRegMap(@Self)^.clr := $00002000
  22826. else
  22827. pTDefRegMap(@Self)^.&set := $00002000;
  22828. end;
  22829. function TUART2_U8932STA.getUTXINV : TBits_1; inline;
  22830. begin
  22831. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22832. end;
  22833. procedure TUART2_U8932STA.setUTXISEL(thebits : TBits_2); inline;
  22834. begin
  22835. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  22836. end;
  22837. function TUART2_U8932STA.getUTXISEL : TBits_2; inline;
  22838. begin
  22839. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  22840. end;
  22841. procedure TUART2_U8932STA.setADDR(thebits : TBits_8); inline;
  22842. begin
  22843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  22844. end;
  22845. function TUART2_U8932STA.getADDR : TBits_8; inline;
  22846. begin
  22847. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  22848. end;
  22849. procedure TUART2_U8932STA.setADM_EN; inline;
  22850. begin
  22851. pTDefRegMap(@Self)^.&set := $01000000;
  22852. end;
  22853. procedure TUART2_U8932STA.clearADM_EN; inline;
  22854. begin
  22855. pTDefRegMap(@Self)^.clr := $01000000;
  22856. end;
  22857. procedure TUART2_U8932STA.setADM_EN(thebits : TBits_1); inline;
  22858. begin
  22859. if thebits = 0 then
  22860. pTDefRegMap(@Self)^.clr := $01000000
  22861. else
  22862. pTDefRegMap(@Self)^.&set := $01000000;
  22863. end;
  22864. function TUART2_U8932STA.getADM_EN : TBits_1; inline;
  22865. begin
  22866. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  22867. end;
  22868. procedure TUART2_U8932STA.setURXISEL0; inline;
  22869. begin
  22870. pTDefRegMap(@Self)^.&set := $00000040;
  22871. end;
  22872. procedure TUART2_U8932STA.clearURXISEL0; inline;
  22873. begin
  22874. pTDefRegMap(@Self)^.clr := $00000040;
  22875. end;
  22876. procedure TUART2_U8932STA.setURXISEL0(thebits : TBits_1); inline;
  22877. begin
  22878. if thebits = 0 then
  22879. pTDefRegMap(@Self)^.clr := $00000040
  22880. else
  22881. pTDefRegMap(@Self)^.&set := $00000040;
  22882. end;
  22883. function TUART2_U8932STA.getURXISEL0 : TBits_1; inline;
  22884. begin
  22885. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22886. end;
  22887. procedure TUART2_U8932STA.setURXISEL1; inline;
  22888. begin
  22889. pTDefRegMap(@Self)^.&set := $00000080;
  22890. end;
  22891. procedure TUART2_U8932STA.clearURXISEL1; inline;
  22892. begin
  22893. pTDefRegMap(@Self)^.clr := $00000080;
  22894. end;
  22895. procedure TUART2_U8932STA.setURXISEL1(thebits : TBits_1); inline;
  22896. begin
  22897. if thebits = 0 then
  22898. pTDefRegMap(@Self)^.clr := $00000080
  22899. else
  22900. pTDefRegMap(@Self)^.&set := $00000080;
  22901. end;
  22902. function TUART2_U8932STA.getURXISEL1 : TBits_1; inline;
  22903. begin
  22904. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22905. end;
  22906. procedure TUART2_U8932STA.setUTXISEL0; inline;
  22907. begin
  22908. pTDefRegMap(@Self)^.&set := $00004000;
  22909. end;
  22910. procedure TUART2_U8932STA.clearUTXISEL0; inline;
  22911. begin
  22912. pTDefRegMap(@Self)^.clr := $00004000;
  22913. end;
  22914. procedure TUART2_U8932STA.setUTXISEL0(thebits : TBits_1); inline;
  22915. begin
  22916. if thebits = 0 then
  22917. pTDefRegMap(@Self)^.clr := $00004000
  22918. else
  22919. pTDefRegMap(@Self)^.&set := $00004000;
  22920. end;
  22921. function TUART2_U8932STA.getUTXISEL0 : TBits_1; inline;
  22922. begin
  22923. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22924. end;
  22925. procedure TUART2_U8932STA.setUTXISEL1; inline;
  22926. begin
  22927. pTDefRegMap(@Self)^.&set := $00008000;
  22928. end;
  22929. procedure TUART2_U8932STA.clearUTXISEL1; inline;
  22930. begin
  22931. pTDefRegMap(@Self)^.clr := $00008000;
  22932. end;
  22933. procedure TUART2_U8932STA.setUTXISEL1(thebits : TBits_1); inline;
  22934. begin
  22935. if thebits = 0 then
  22936. pTDefRegMap(@Self)^.clr := $00008000
  22937. else
  22938. pTDefRegMap(@Self)^.&set := $00008000;
  22939. end;
  22940. function TUART2_U8932STA.getUTXISEL1 : TBits_1; inline;
  22941. begin
  22942. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22943. end;
  22944. procedure TUART2_U8932STA.setUTXSEL(thebits : TBits_2); inline;
  22945. begin
  22946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  22947. end;
  22948. function TUART2_U8932STA.getUTXSEL : TBits_2; inline;
  22949. begin
  22950. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  22951. end;
  22952. procedure TUART2_U8932STA.setw(thebits : TBits_32); inline;
  22953. begin
  22954. pTDefRegMap(@Self)^.val := thebits;
  22955. end;
  22956. function TUART2_U8932STA.getw : TBits_32; inline;
  22957. begin
  22958. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22959. end;
  22960. procedure TUART3_U39MODE.setSTSEL; inline;
  22961. begin
  22962. pTDefRegMap(@Self)^.&set := $00000001;
  22963. end;
  22964. procedure TUART3_U39MODE.clearSTSEL; inline;
  22965. begin
  22966. pTDefRegMap(@Self)^.clr := $00000001;
  22967. end;
  22968. procedure TUART3_U39MODE.setSTSEL(thebits : TBits_1); inline;
  22969. begin
  22970. if thebits = 0 then
  22971. pTDefRegMap(@Self)^.clr := $00000001
  22972. else
  22973. pTDefRegMap(@Self)^.&set := $00000001;
  22974. end;
  22975. function TUART3_U39MODE.getSTSEL : TBits_1; inline;
  22976. begin
  22977. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22978. end;
  22979. procedure TUART3_U39MODE.setPDSEL(thebits : TBits_2); inline;
  22980. begin
  22981. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  22982. end;
  22983. function TUART3_U39MODE.getPDSEL : TBits_2; inline;
  22984. begin
  22985. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  22986. end;
  22987. procedure TUART3_U39MODE.setBRGH; inline;
  22988. begin
  22989. pTDefRegMap(@Self)^.&set := $00000008;
  22990. end;
  22991. procedure TUART3_U39MODE.clearBRGH; inline;
  22992. begin
  22993. pTDefRegMap(@Self)^.clr := $00000008;
  22994. end;
  22995. procedure TUART3_U39MODE.setBRGH(thebits : TBits_1); inline;
  22996. begin
  22997. if thebits = 0 then
  22998. pTDefRegMap(@Self)^.clr := $00000008
  22999. else
  23000. pTDefRegMap(@Self)^.&set := $00000008;
  23001. end;
  23002. function TUART3_U39MODE.getBRGH : TBits_1; inline;
  23003. begin
  23004. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23005. end;
  23006. procedure TUART3_U39MODE.setRXINV; inline;
  23007. begin
  23008. pTDefRegMap(@Self)^.&set := $00000010;
  23009. end;
  23010. procedure TUART3_U39MODE.clearRXINV; inline;
  23011. begin
  23012. pTDefRegMap(@Self)^.clr := $00000010;
  23013. end;
  23014. procedure TUART3_U39MODE.setRXINV(thebits : TBits_1); inline;
  23015. begin
  23016. if thebits = 0 then
  23017. pTDefRegMap(@Self)^.clr := $00000010
  23018. else
  23019. pTDefRegMap(@Self)^.&set := $00000010;
  23020. end;
  23021. function TUART3_U39MODE.getRXINV : TBits_1; inline;
  23022. begin
  23023. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23024. end;
  23025. procedure TUART3_U39MODE.setABAUD; inline;
  23026. begin
  23027. pTDefRegMap(@Self)^.&set := $00000020;
  23028. end;
  23029. procedure TUART3_U39MODE.clearABAUD; inline;
  23030. begin
  23031. pTDefRegMap(@Self)^.clr := $00000020;
  23032. end;
  23033. procedure TUART3_U39MODE.setABAUD(thebits : TBits_1); inline;
  23034. begin
  23035. if thebits = 0 then
  23036. pTDefRegMap(@Self)^.clr := $00000020
  23037. else
  23038. pTDefRegMap(@Self)^.&set := $00000020;
  23039. end;
  23040. function TUART3_U39MODE.getABAUD : TBits_1; inline;
  23041. begin
  23042. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23043. end;
  23044. procedure TUART3_U39MODE.setLPBACK; inline;
  23045. begin
  23046. pTDefRegMap(@Self)^.&set := $00000040;
  23047. end;
  23048. procedure TUART3_U39MODE.clearLPBACK; inline;
  23049. begin
  23050. pTDefRegMap(@Self)^.clr := $00000040;
  23051. end;
  23052. procedure TUART3_U39MODE.setLPBACK(thebits : TBits_1); inline;
  23053. begin
  23054. if thebits = 0 then
  23055. pTDefRegMap(@Self)^.clr := $00000040
  23056. else
  23057. pTDefRegMap(@Self)^.&set := $00000040;
  23058. end;
  23059. function TUART3_U39MODE.getLPBACK : TBits_1; inline;
  23060. begin
  23061. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23062. end;
  23063. procedure TUART3_U39MODE.setWAKE; inline;
  23064. begin
  23065. pTDefRegMap(@Self)^.&set := $00000080;
  23066. end;
  23067. procedure TUART3_U39MODE.clearWAKE; inline;
  23068. begin
  23069. pTDefRegMap(@Self)^.clr := $00000080;
  23070. end;
  23071. procedure TUART3_U39MODE.setWAKE(thebits : TBits_1); inline;
  23072. begin
  23073. if thebits = 0 then
  23074. pTDefRegMap(@Self)^.clr := $00000080
  23075. else
  23076. pTDefRegMap(@Self)^.&set := $00000080;
  23077. end;
  23078. function TUART3_U39MODE.getWAKE : TBits_1; inline;
  23079. begin
  23080. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23081. end;
  23082. procedure TUART3_U39MODE.setUEN(thebits : TBits_2); inline;
  23083. begin
  23084. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  23085. end;
  23086. function TUART3_U39MODE.getUEN : TBits_2; inline;
  23087. begin
  23088. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  23089. end;
  23090. procedure TUART3_U39MODE.setRTSMD; inline;
  23091. begin
  23092. pTDefRegMap(@Self)^.&set := $00000800;
  23093. end;
  23094. procedure TUART3_U39MODE.clearRTSMD; inline;
  23095. begin
  23096. pTDefRegMap(@Self)^.clr := $00000800;
  23097. end;
  23098. procedure TUART3_U39MODE.setRTSMD(thebits : TBits_1); inline;
  23099. begin
  23100. if thebits = 0 then
  23101. pTDefRegMap(@Self)^.clr := $00000800
  23102. else
  23103. pTDefRegMap(@Self)^.&set := $00000800;
  23104. end;
  23105. function TUART3_U39MODE.getRTSMD : TBits_1; inline;
  23106. begin
  23107. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23108. end;
  23109. procedure TUART3_U39MODE.setIREN; inline;
  23110. begin
  23111. pTDefRegMap(@Self)^.&set := $00001000;
  23112. end;
  23113. procedure TUART3_U39MODE.clearIREN; inline;
  23114. begin
  23115. pTDefRegMap(@Self)^.clr := $00001000;
  23116. end;
  23117. procedure TUART3_U39MODE.setIREN(thebits : TBits_1); inline;
  23118. begin
  23119. if thebits = 0 then
  23120. pTDefRegMap(@Self)^.clr := $00001000
  23121. else
  23122. pTDefRegMap(@Self)^.&set := $00001000;
  23123. end;
  23124. function TUART3_U39MODE.getIREN : TBits_1; inline;
  23125. begin
  23126. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23127. end;
  23128. procedure TUART3_U39MODE.setSIDL; inline;
  23129. begin
  23130. pTDefRegMap(@Self)^.&set := $00002000;
  23131. end;
  23132. procedure TUART3_U39MODE.clearSIDL; inline;
  23133. begin
  23134. pTDefRegMap(@Self)^.clr := $00002000;
  23135. end;
  23136. procedure TUART3_U39MODE.setSIDL(thebits : TBits_1); inline;
  23137. begin
  23138. if thebits = 0 then
  23139. pTDefRegMap(@Self)^.clr := $00002000
  23140. else
  23141. pTDefRegMap(@Self)^.&set := $00002000;
  23142. end;
  23143. function TUART3_U39MODE.getSIDL : TBits_1; inline;
  23144. begin
  23145. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23146. end;
  23147. procedure TUART3_U39MODE.setON; inline;
  23148. begin
  23149. pTDefRegMap(@Self)^.&set := $00008000;
  23150. end;
  23151. procedure TUART3_U39MODE.clearON; inline;
  23152. begin
  23153. pTDefRegMap(@Self)^.clr := $00008000;
  23154. end;
  23155. procedure TUART3_U39MODE.setON(thebits : TBits_1); inline;
  23156. begin
  23157. if thebits = 0 then
  23158. pTDefRegMap(@Self)^.clr := $00008000
  23159. else
  23160. pTDefRegMap(@Self)^.&set := $00008000;
  23161. end;
  23162. function TUART3_U39MODE.getON : TBits_1; inline;
  23163. begin
  23164. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23165. end;
  23166. procedure TUART3_U39MODE.setPDSEL0; inline;
  23167. begin
  23168. pTDefRegMap(@Self)^.&set := $00000002;
  23169. end;
  23170. procedure TUART3_U39MODE.clearPDSEL0; inline;
  23171. begin
  23172. pTDefRegMap(@Self)^.clr := $00000002;
  23173. end;
  23174. procedure TUART3_U39MODE.setPDSEL0(thebits : TBits_1); inline;
  23175. begin
  23176. if thebits = 0 then
  23177. pTDefRegMap(@Self)^.clr := $00000002
  23178. else
  23179. pTDefRegMap(@Self)^.&set := $00000002;
  23180. end;
  23181. function TUART3_U39MODE.getPDSEL0 : TBits_1; inline;
  23182. begin
  23183. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23184. end;
  23185. procedure TUART3_U39MODE.setPDSEL1; inline;
  23186. begin
  23187. pTDefRegMap(@Self)^.&set := $00000004;
  23188. end;
  23189. procedure TUART3_U39MODE.clearPDSEL1; inline;
  23190. begin
  23191. pTDefRegMap(@Self)^.clr := $00000004;
  23192. end;
  23193. procedure TUART3_U39MODE.setPDSEL1(thebits : TBits_1); inline;
  23194. begin
  23195. if thebits = 0 then
  23196. pTDefRegMap(@Self)^.clr := $00000004
  23197. else
  23198. pTDefRegMap(@Self)^.&set := $00000004;
  23199. end;
  23200. function TUART3_U39MODE.getPDSEL1 : TBits_1; inline;
  23201. begin
  23202. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23203. end;
  23204. procedure TUART3_U39MODE.setUEN0; inline;
  23205. begin
  23206. pTDefRegMap(@Self)^.&set := $00000100;
  23207. end;
  23208. procedure TUART3_U39MODE.clearUEN0; inline;
  23209. begin
  23210. pTDefRegMap(@Self)^.clr := $00000100;
  23211. end;
  23212. procedure TUART3_U39MODE.setUEN0(thebits : TBits_1); inline;
  23213. begin
  23214. if thebits = 0 then
  23215. pTDefRegMap(@Self)^.clr := $00000100
  23216. else
  23217. pTDefRegMap(@Self)^.&set := $00000100;
  23218. end;
  23219. function TUART3_U39MODE.getUEN0 : TBits_1; inline;
  23220. begin
  23221. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23222. end;
  23223. procedure TUART3_U39MODE.setUEN1; inline;
  23224. begin
  23225. pTDefRegMap(@Self)^.&set := $00000200;
  23226. end;
  23227. procedure TUART3_U39MODE.clearUEN1; inline;
  23228. begin
  23229. pTDefRegMap(@Self)^.clr := $00000200;
  23230. end;
  23231. procedure TUART3_U39MODE.setUEN1(thebits : TBits_1); inline;
  23232. begin
  23233. if thebits = 0 then
  23234. pTDefRegMap(@Self)^.clr := $00000200
  23235. else
  23236. pTDefRegMap(@Self)^.&set := $00000200;
  23237. end;
  23238. function TUART3_U39MODE.getUEN1 : TBits_1; inline;
  23239. begin
  23240. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23241. end;
  23242. procedure TUART3_U39MODE.setUSIDL; inline;
  23243. begin
  23244. pTDefRegMap(@Self)^.&set := $00002000;
  23245. end;
  23246. procedure TUART3_U39MODE.clearUSIDL; inline;
  23247. begin
  23248. pTDefRegMap(@Self)^.clr := $00002000;
  23249. end;
  23250. procedure TUART3_U39MODE.setUSIDL(thebits : TBits_1); inline;
  23251. begin
  23252. if thebits = 0 then
  23253. pTDefRegMap(@Self)^.clr := $00002000
  23254. else
  23255. pTDefRegMap(@Self)^.&set := $00002000;
  23256. end;
  23257. function TUART3_U39MODE.getUSIDL : TBits_1; inline;
  23258. begin
  23259. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23260. end;
  23261. procedure TUART3_U39MODE.setUARTEN; inline;
  23262. begin
  23263. pTDefRegMap(@Self)^.&set := $00008000;
  23264. end;
  23265. procedure TUART3_U39MODE.clearUARTEN; inline;
  23266. begin
  23267. pTDefRegMap(@Self)^.clr := $00008000;
  23268. end;
  23269. procedure TUART3_U39MODE.setUARTEN(thebits : TBits_1); inline;
  23270. begin
  23271. if thebits = 0 then
  23272. pTDefRegMap(@Self)^.clr := $00008000
  23273. else
  23274. pTDefRegMap(@Self)^.&set := $00008000;
  23275. end;
  23276. function TUART3_U39MODE.getUARTEN : TBits_1; inline;
  23277. begin
  23278. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23279. end;
  23280. procedure TUART3_U39MODE.setw(thebits : TBits_32); inline;
  23281. begin
  23282. pTDefRegMap(@Self)^.val := thebits;
  23283. end;
  23284. function TUART3_U39MODE.getw : TBits_32; inline;
  23285. begin
  23286. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23287. end;
  23288. procedure TUART3_U3MODE.setSTSEL; inline;
  23289. begin
  23290. pTDefRegMap(@Self)^.&set := $00000001;
  23291. end;
  23292. procedure TUART3_U3MODE.clearSTSEL; inline;
  23293. begin
  23294. pTDefRegMap(@Self)^.clr := $00000001;
  23295. end;
  23296. procedure TUART3_U3MODE.setSTSEL(thebits : TBits_1); inline;
  23297. begin
  23298. if thebits = 0 then
  23299. pTDefRegMap(@Self)^.clr := $00000001
  23300. else
  23301. pTDefRegMap(@Self)^.&set := $00000001;
  23302. end;
  23303. function TUART3_U3MODE.getSTSEL : TBits_1; inline;
  23304. begin
  23305. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23306. end;
  23307. procedure TUART3_U3MODE.setPDSEL(thebits : TBits_2); inline;
  23308. begin
  23309. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  23310. end;
  23311. function TUART3_U3MODE.getPDSEL : TBits_2; inline;
  23312. begin
  23313. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  23314. end;
  23315. procedure TUART3_U3MODE.setBRGH; inline;
  23316. begin
  23317. pTDefRegMap(@Self)^.&set := $00000008;
  23318. end;
  23319. procedure TUART3_U3MODE.clearBRGH; inline;
  23320. begin
  23321. pTDefRegMap(@Self)^.clr := $00000008;
  23322. end;
  23323. procedure TUART3_U3MODE.setBRGH(thebits : TBits_1); inline;
  23324. begin
  23325. if thebits = 0 then
  23326. pTDefRegMap(@Self)^.clr := $00000008
  23327. else
  23328. pTDefRegMap(@Self)^.&set := $00000008;
  23329. end;
  23330. function TUART3_U3MODE.getBRGH : TBits_1; inline;
  23331. begin
  23332. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23333. end;
  23334. procedure TUART3_U3MODE.setRXINV; inline;
  23335. begin
  23336. pTDefRegMap(@Self)^.&set := $00000010;
  23337. end;
  23338. procedure TUART3_U3MODE.clearRXINV; inline;
  23339. begin
  23340. pTDefRegMap(@Self)^.clr := $00000010;
  23341. end;
  23342. procedure TUART3_U3MODE.setRXINV(thebits : TBits_1); inline;
  23343. begin
  23344. if thebits = 0 then
  23345. pTDefRegMap(@Self)^.clr := $00000010
  23346. else
  23347. pTDefRegMap(@Self)^.&set := $00000010;
  23348. end;
  23349. function TUART3_U3MODE.getRXINV : TBits_1; inline;
  23350. begin
  23351. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23352. end;
  23353. procedure TUART3_U3MODE.setABAUD; inline;
  23354. begin
  23355. pTDefRegMap(@Self)^.&set := $00000020;
  23356. end;
  23357. procedure TUART3_U3MODE.clearABAUD; inline;
  23358. begin
  23359. pTDefRegMap(@Self)^.clr := $00000020;
  23360. end;
  23361. procedure TUART3_U3MODE.setABAUD(thebits : TBits_1); inline;
  23362. begin
  23363. if thebits = 0 then
  23364. pTDefRegMap(@Self)^.clr := $00000020
  23365. else
  23366. pTDefRegMap(@Self)^.&set := $00000020;
  23367. end;
  23368. function TUART3_U3MODE.getABAUD : TBits_1; inline;
  23369. begin
  23370. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23371. end;
  23372. procedure TUART3_U3MODE.setLPBACK; inline;
  23373. begin
  23374. pTDefRegMap(@Self)^.&set := $00000040;
  23375. end;
  23376. procedure TUART3_U3MODE.clearLPBACK; inline;
  23377. begin
  23378. pTDefRegMap(@Self)^.clr := $00000040;
  23379. end;
  23380. procedure TUART3_U3MODE.setLPBACK(thebits : TBits_1); inline;
  23381. begin
  23382. if thebits = 0 then
  23383. pTDefRegMap(@Self)^.clr := $00000040
  23384. else
  23385. pTDefRegMap(@Self)^.&set := $00000040;
  23386. end;
  23387. function TUART3_U3MODE.getLPBACK : TBits_1; inline;
  23388. begin
  23389. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23390. end;
  23391. procedure TUART3_U3MODE.setWAKE; inline;
  23392. begin
  23393. pTDefRegMap(@Self)^.&set := $00000080;
  23394. end;
  23395. procedure TUART3_U3MODE.clearWAKE; inline;
  23396. begin
  23397. pTDefRegMap(@Self)^.clr := $00000080;
  23398. end;
  23399. procedure TUART3_U3MODE.setWAKE(thebits : TBits_1); inline;
  23400. begin
  23401. if thebits = 0 then
  23402. pTDefRegMap(@Self)^.clr := $00000080
  23403. else
  23404. pTDefRegMap(@Self)^.&set := $00000080;
  23405. end;
  23406. function TUART3_U3MODE.getWAKE : TBits_1; inline;
  23407. begin
  23408. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23409. end;
  23410. procedure TUART3_U3MODE.setUEN(thebits : TBits_2); inline;
  23411. begin
  23412. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  23413. end;
  23414. function TUART3_U3MODE.getUEN : TBits_2; inline;
  23415. begin
  23416. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  23417. end;
  23418. procedure TUART3_U3MODE.setRTSMD; inline;
  23419. begin
  23420. pTDefRegMap(@Self)^.&set := $00000800;
  23421. end;
  23422. procedure TUART3_U3MODE.clearRTSMD; inline;
  23423. begin
  23424. pTDefRegMap(@Self)^.clr := $00000800;
  23425. end;
  23426. procedure TUART3_U3MODE.setRTSMD(thebits : TBits_1); inline;
  23427. begin
  23428. if thebits = 0 then
  23429. pTDefRegMap(@Self)^.clr := $00000800
  23430. else
  23431. pTDefRegMap(@Self)^.&set := $00000800;
  23432. end;
  23433. function TUART3_U3MODE.getRTSMD : TBits_1; inline;
  23434. begin
  23435. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23436. end;
  23437. procedure TUART3_U3MODE.setIREN; inline;
  23438. begin
  23439. pTDefRegMap(@Self)^.&set := $00001000;
  23440. end;
  23441. procedure TUART3_U3MODE.clearIREN; inline;
  23442. begin
  23443. pTDefRegMap(@Self)^.clr := $00001000;
  23444. end;
  23445. procedure TUART3_U3MODE.setIREN(thebits : TBits_1); inline;
  23446. begin
  23447. if thebits = 0 then
  23448. pTDefRegMap(@Self)^.clr := $00001000
  23449. else
  23450. pTDefRegMap(@Self)^.&set := $00001000;
  23451. end;
  23452. function TUART3_U3MODE.getIREN : TBits_1; inline;
  23453. begin
  23454. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23455. end;
  23456. procedure TUART3_U3MODE.setSIDL; inline;
  23457. begin
  23458. pTDefRegMap(@Self)^.&set := $00002000;
  23459. end;
  23460. procedure TUART3_U3MODE.clearSIDL; inline;
  23461. begin
  23462. pTDefRegMap(@Self)^.clr := $00002000;
  23463. end;
  23464. procedure TUART3_U3MODE.setSIDL(thebits : TBits_1); inline;
  23465. begin
  23466. if thebits = 0 then
  23467. pTDefRegMap(@Self)^.clr := $00002000
  23468. else
  23469. pTDefRegMap(@Self)^.&set := $00002000;
  23470. end;
  23471. function TUART3_U3MODE.getSIDL : TBits_1; inline;
  23472. begin
  23473. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23474. end;
  23475. procedure TUART3_U3MODE.setON; inline;
  23476. begin
  23477. pTDefRegMap(@Self)^.&set := $00008000;
  23478. end;
  23479. procedure TUART3_U3MODE.clearON; inline;
  23480. begin
  23481. pTDefRegMap(@Self)^.clr := $00008000;
  23482. end;
  23483. procedure TUART3_U3MODE.setON(thebits : TBits_1); inline;
  23484. begin
  23485. if thebits = 0 then
  23486. pTDefRegMap(@Self)^.clr := $00008000
  23487. else
  23488. pTDefRegMap(@Self)^.&set := $00008000;
  23489. end;
  23490. function TUART3_U3MODE.getON : TBits_1; inline;
  23491. begin
  23492. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23493. end;
  23494. procedure TUART3_U3MODE.setPDSEL0; inline;
  23495. begin
  23496. pTDefRegMap(@Self)^.&set := $00000002;
  23497. end;
  23498. procedure TUART3_U3MODE.clearPDSEL0; inline;
  23499. begin
  23500. pTDefRegMap(@Self)^.clr := $00000002;
  23501. end;
  23502. procedure TUART3_U3MODE.setPDSEL0(thebits : TBits_1); inline;
  23503. begin
  23504. if thebits = 0 then
  23505. pTDefRegMap(@Self)^.clr := $00000002
  23506. else
  23507. pTDefRegMap(@Self)^.&set := $00000002;
  23508. end;
  23509. function TUART3_U3MODE.getPDSEL0 : TBits_1; inline;
  23510. begin
  23511. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23512. end;
  23513. procedure TUART3_U3MODE.setPDSEL1; inline;
  23514. begin
  23515. pTDefRegMap(@Self)^.&set := $00000004;
  23516. end;
  23517. procedure TUART3_U3MODE.clearPDSEL1; inline;
  23518. begin
  23519. pTDefRegMap(@Self)^.clr := $00000004;
  23520. end;
  23521. procedure TUART3_U3MODE.setPDSEL1(thebits : TBits_1); inline;
  23522. begin
  23523. if thebits = 0 then
  23524. pTDefRegMap(@Self)^.clr := $00000004
  23525. else
  23526. pTDefRegMap(@Self)^.&set := $00000004;
  23527. end;
  23528. function TUART3_U3MODE.getPDSEL1 : TBits_1; inline;
  23529. begin
  23530. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23531. end;
  23532. procedure TUART3_U3MODE.setUEN0; inline;
  23533. begin
  23534. pTDefRegMap(@Self)^.&set := $00000100;
  23535. end;
  23536. procedure TUART3_U3MODE.clearUEN0; inline;
  23537. begin
  23538. pTDefRegMap(@Self)^.clr := $00000100;
  23539. end;
  23540. procedure TUART3_U3MODE.setUEN0(thebits : TBits_1); inline;
  23541. begin
  23542. if thebits = 0 then
  23543. pTDefRegMap(@Self)^.clr := $00000100
  23544. else
  23545. pTDefRegMap(@Self)^.&set := $00000100;
  23546. end;
  23547. function TUART3_U3MODE.getUEN0 : TBits_1; inline;
  23548. begin
  23549. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23550. end;
  23551. procedure TUART3_U3MODE.setUEN1; inline;
  23552. begin
  23553. pTDefRegMap(@Self)^.&set := $00000200;
  23554. end;
  23555. procedure TUART3_U3MODE.clearUEN1; inline;
  23556. begin
  23557. pTDefRegMap(@Self)^.clr := $00000200;
  23558. end;
  23559. procedure TUART3_U3MODE.setUEN1(thebits : TBits_1); inline;
  23560. begin
  23561. if thebits = 0 then
  23562. pTDefRegMap(@Self)^.clr := $00000200
  23563. else
  23564. pTDefRegMap(@Self)^.&set := $00000200;
  23565. end;
  23566. function TUART3_U3MODE.getUEN1 : TBits_1; inline;
  23567. begin
  23568. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23569. end;
  23570. procedure TUART3_U3MODE.setUSIDL; inline;
  23571. begin
  23572. pTDefRegMap(@Self)^.&set := $00002000;
  23573. end;
  23574. procedure TUART3_U3MODE.clearUSIDL; inline;
  23575. begin
  23576. pTDefRegMap(@Self)^.clr := $00002000;
  23577. end;
  23578. procedure TUART3_U3MODE.setUSIDL(thebits : TBits_1); inline;
  23579. begin
  23580. if thebits = 0 then
  23581. pTDefRegMap(@Self)^.clr := $00002000
  23582. else
  23583. pTDefRegMap(@Self)^.&set := $00002000;
  23584. end;
  23585. function TUART3_U3MODE.getUSIDL : TBits_1; inline;
  23586. begin
  23587. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23588. end;
  23589. procedure TUART3_U3MODE.setUARTEN; inline;
  23590. begin
  23591. pTDefRegMap(@Self)^.&set := $00008000;
  23592. end;
  23593. procedure TUART3_U3MODE.clearUARTEN; inline;
  23594. begin
  23595. pTDefRegMap(@Self)^.clr := $00008000;
  23596. end;
  23597. procedure TUART3_U3MODE.setUARTEN(thebits : TBits_1); inline;
  23598. begin
  23599. if thebits = 0 then
  23600. pTDefRegMap(@Self)^.clr := $00008000
  23601. else
  23602. pTDefRegMap(@Self)^.&set := $00008000;
  23603. end;
  23604. function TUART3_U3MODE.getUARTEN : TBits_1; inline;
  23605. begin
  23606. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23607. end;
  23608. procedure TUART3_U3MODE.setw(thebits : TBits_32); inline;
  23609. begin
  23610. pTDefRegMap(@Self)^.val := thebits;
  23611. end;
  23612. function TUART3_U3MODE.getw : TBits_32; inline;
  23613. begin
  23614. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23615. end;
  23616. procedure TUART3_U39STA.setURXDA; inline;
  23617. begin
  23618. pTDefRegMap(@Self)^.&set := $00000001;
  23619. end;
  23620. procedure TUART3_U39STA.clearURXDA; inline;
  23621. begin
  23622. pTDefRegMap(@Self)^.clr := $00000001;
  23623. end;
  23624. procedure TUART3_U39STA.setURXDA(thebits : TBits_1); inline;
  23625. begin
  23626. if thebits = 0 then
  23627. pTDefRegMap(@Self)^.clr := $00000001
  23628. else
  23629. pTDefRegMap(@Self)^.&set := $00000001;
  23630. end;
  23631. function TUART3_U39STA.getURXDA : TBits_1; inline;
  23632. begin
  23633. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23634. end;
  23635. procedure TUART3_U39STA.setOERR; inline;
  23636. begin
  23637. pTDefRegMap(@Self)^.&set := $00000002;
  23638. end;
  23639. procedure TUART3_U39STA.clearOERR; inline;
  23640. begin
  23641. pTDefRegMap(@Self)^.clr := $00000002;
  23642. end;
  23643. procedure TUART3_U39STA.setOERR(thebits : TBits_1); inline;
  23644. begin
  23645. if thebits = 0 then
  23646. pTDefRegMap(@Self)^.clr := $00000002
  23647. else
  23648. pTDefRegMap(@Self)^.&set := $00000002;
  23649. end;
  23650. function TUART3_U39STA.getOERR : TBits_1; inline;
  23651. begin
  23652. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23653. end;
  23654. procedure TUART3_U39STA.setFERR; inline;
  23655. begin
  23656. pTDefRegMap(@Self)^.&set := $00000004;
  23657. end;
  23658. procedure TUART3_U39STA.clearFERR; inline;
  23659. begin
  23660. pTDefRegMap(@Self)^.clr := $00000004;
  23661. end;
  23662. procedure TUART3_U39STA.setFERR(thebits : TBits_1); inline;
  23663. begin
  23664. if thebits = 0 then
  23665. pTDefRegMap(@Self)^.clr := $00000004
  23666. else
  23667. pTDefRegMap(@Self)^.&set := $00000004;
  23668. end;
  23669. function TUART3_U39STA.getFERR : TBits_1; inline;
  23670. begin
  23671. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23672. end;
  23673. procedure TUART3_U39STA.setPERR; inline;
  23674. begin
  23675. pTDefRegMap(@Self)^.&set := $00000008;
  23676. end;
  23677. procedure TUART3_U39STA.clearPERR; inline;
  23678. begin
  23679. pTDefRegMap(@Self)^.clr := $00000008;
  23680. end;
  23681. procedure TUART3_U39STA.setPERR(thebits : TBits_1); inline;
  23682. begin
  23683. if thebits = 0 then
  23684. pTDefRegMap(@Self)^.clr := $00000008
  23685. else
  23686. pTDefRegMap(@Self)^.&set := $00000008;
  23687. end;
  23688. function TUART3_U39STA.getPERR : TBits_1; inline;
  23689. begin
  23690. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23691. end;
  23692. procedure TUART3_U39STA.setRIDLE; inline;
  23693. begin
  23694. pTDefRegMap(@Self)^.&set := $00000010;
  23695. end;
  23696. procedure TUART3_U39STA.clearRIDLE; inline;
  23697. begin
  23698. pTDefRegMap(@Self)^.clr := $00000010;
  23699. end;
  23700. procedure TUART3_U39STA.setRIDLE(thebits : TBits_1); inline;
  23701. begin
  23702. if thebits = 0 then
  23703. pTDefRegMap(@Self)^.clr := $00000010
  23704. else
  23705. pTDefRegMap(@Self)^.&set := $00000010;
  23706. end;
  23707. function TUART3_U39STA.getRIDLE : TBits_1; inline;
  23708. begin
  23709. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23710. end;
  23711. procedure TUART3_U39STA.setADDEN; inline;
  23712. begin
  23713. pTDefRegMap(@Self)^.&set := $00000020;
  23714. end;
  23715. procedure TUART3_U39STA.clearADDEN; inline;
  23716. begin
  23717. pTDefRegMap(@Self)^.clr := $00000020;
  23718. end;
  23719. procedure TUART3_U39STA.setADDEN(thebits : TBits_1); inline;
  23720. begin
  23721. if thebits = 0 then
  23722. pTDefRegMap(@Self)^.clr := $00000020
  23723. else
  23724. pTDefRegMap(@Self)^.&set := $00000020;
  23725. end;
  23726. function TUART3_U39STA.getADDEN : TBits_1; inline;
  23727. begin
  23728. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23729. end;
  23730. procedure TUART3_U39STA.setURXISEL(thebits : TBits_2); inline;
  23731. begin
  23732. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23733. end;
  23734. function TUART3_U39STA.getURXISEL : TBits_2; inline;
  23735. begin
  23736. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23737. end;
  23738. procedure TUART3_U39STA.setTRMT; inline;
  23739. begin
  23740. pTDefRegMap(@Self)^.&set := $00000100;
  23741. end;
  23742. procedure TUART3_U39STA.clearTRMT; inline;
  23743. begin
  23744. pTDefRegMap(@Self)^.clr := $00000100;
  23745. end;
  23746. procedure TUART3_U39STA.setTRMT(thebits : TBits_1); inline;
  23747. begin
  23748. if thebits = 0 then
  23749. pTDefRegMap(@Self)^.clr := $00000100
  23750. else
  23751. pTDefRegMap(@Self)^.&set := $00000100;
  23752. end;
  23753. function TUART3_U39STA.getTRMT : TBits_1; inline;
  23754. begin
  23755. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23756. end;
  23757. procedure TUART3_U39STA.setUTXBF; inline;
  23758. begin
  23759. pTDefRegMap(@Self)^.&set := $00000200;
  23760. end;
  23761. procedure TUART3_U39STA.clearUTXBF; inline;
  23762. begin
  23763. pTDefRegMap(@Self)^.clr := $00000200;
  23764. end;
  23765. procedure TUART3_U39STA.setUTXBF(thebits : TBits_1); inline;
  23766. begin
  23767. if thebits = 0 then
  23768. pTDefRegMap(@Self)^.clr := $00000200
  23769. else
  23770. pTDefRegMap(@Self)^.&set := $00000200;
  23771. end;
  23772. function TUART3_U39STA.getUTXBF : TBits_1; inline;
  23773. begin
  23774. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23775. end;
  23776. procedure TUART3_U39STA.setUTXEN; inline;
  23777. begin
  23778. pTDefRegMap(@Self)^.&set := $00000400;
  23779. end;
  23780. procedure TUART3_U39STA.clearUTXEN; inline;
  23781. begin
  23782. pTDefRegMap(@Self)^.clr := $00000400;
  23783. end;
  23784. procedure TUART3_U39STA.setUTXEN(thebits : TBits_1); inline;
  23785. begin
  23786. if thebits = 0 then
  23787. pTDefRegMap(@Self)^.clr := $00000400
  23788. else
  23789. pTDefRegMap(@Self)^.&set := $00000400;
  23790. end;
  23791. function TUART3_U39STA.getUTXEN : TBits_1; inline;
  23792. begin
  23793. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23794. end;
  23795. procedure TUART3_U39STA.setUTXBRK; inline;
  23796. begin
  23797. pTDefRegMap(@Self)^.&set := $00000800;
  23798. end;
  23799. procedure TUART3_U39STA.clearUTXBRK; inline;
  23800. begin
  23801. pTDefRegMap(@Self)^.clr := $00000800;
  23802. end;
  23803. procedure TUART3_U39STA.setUTXBRK(thebits : TBits_1); inline;
  23804. begin
  23805. if thebits = 0 then
  23806. pTDefRegMap(@Self)^.clr := $00000800
  23807. else
  23808. pTDefRegMap(@Self)^.&set := $00000800;
  23809. end;
  23810. function TUART3_U39STA.getUTXBRK : TBits_1; inline;
  23811. begin
  23812. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23813. end;
  23814. procedure TUART3_U39STA.setURXEN; inline;
  23815. begin
  23816. pTDefRegMap(@Self)^.&set := $00001000;
  23817. end;
  23818. procedure TUART3_U39STA.clearURXEN; inline;
  23819. begin
  23820. pTDefRegMap(@Self)^.clr := $00001000;
  23821. end;
  23822. procedure TUART3_U39STA.setURXEN(thebits : TBits_1); inline;
  23823. begin
  23824. if thebits = 0 then
  23825. pTDefRegMap(@Self)^.clr := $00001000
  23826. else
  23827. pTDefRegMap(@Self)^.&set := $00001000;
  23828. end;
  23829. function TUART3_U39STA.getURXEN : TBits_1; inline;
  23830. begin
  23831. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23832. end;
  23833. procedure TUART3_U39STA.setUTXINV; inline;
  23834. begin
  23835. pTDefRegMap(@Self)^.&set := $00002000;
  23836. end;
  23837. procedure TUART3_U39STA.clearUTXINV; inline;
  23838. begin
  23839. pTDefRegMap(@Self)^.clr := $00002000;
  23840. end;
  23841. procedure TUART3_U39STA.setUTXINV(thebits : TBits_1); inline;
  23842. begin
  23843. if thebits = 0 then
  23844. pTDefRegMap(@Self)^.clr := $00002000
  23845. else
  23846. pTDefRegMap(@Self)^.&set := $00002000;
  23847. end;
  23848. function TUART3_U39STA.getUTXINV : TBits_1; inline;
  23849. begin
  23850. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23851. end;
  23852. procedure TUART3_U39STA.setUTXISEL(thebits : TBits_2); inline;
  23853. begin
  23854. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23855. end;
  23856. function TUART3_U39STA.getUTXISEL : TBits_2; inline;
  23857. begin
  23858. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23859. end;
  23860. procedure TUART3_U39STA.setADDR(thebits : TBits_8); inline;
  23861. begin
  23862. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  23863. end;
  23864. function TUART3_U39STA.getADDR : TBits_8; inline;
  23865. begin
  23866. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  23867. end;
  23868. procedure TUART3_U39STA.setADM_EN; inline;
  23869. begin
  23870. pTDefRegMap(@Self)^.&set := $01000000;
  23871. end;
  23872. procedure TUART3_U39STA.clearADM_EN; inline;
  23873. begin
  23874. pTDefRegMap(@Self)^.clr := $01000000;
  23875. end;
  23876. procedure TUART3_U39STA.setADM_EN(thebits : TBits_1); inline;
  23877. begin
  23878. if thebits = 0 then
  23879. pTDefRegMap(@Self)^.clr := $01000000
  23880. else
  23881. pTDefRegMap(@Self)^.&set := $01000000;
  23882. end;
  23883. function TUART3_U39STA.getADM_EN : TBits_1; inline;
  23884. begin
  23885. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23886. end;
  23887. procedure TUART3_U39STA.setURXISEL0; inline;
  23888. begin
  23889. pTDefRegMap(@Self)^.&set := $00000040;
  23890. end;
  23891. procedure TUART3_U39STA.clearURXISEL0; inline;
  23892. begin
  23893. pTDefRegMap(@Self)^.clr := $00000040;
  23894. end;
  23895. procedure TUART3_U39STA.setURXISEL0(thebits : TBits_1); inline;
  23896. begin
  23897. if thebits = 0 then
  23898. pTDefRegMap(@Self)^.clr := $00000040
  23899. else
  23900. pTDefRegMap(@Self)^.&set := $00000040;
  23901. end;
  23902. function TUART3_U39STA.getURXISEL0 : TBits_1; inline;
  23903. begin
  23904. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23905. end;
  23906. procedure TUART3_U39STA.setURXISEL1; inline;
  23907. begin
  23908. pTDefRegMap(@Self)^.&set := $00000080;
  23909. end;
  23910. procedure TUART3_U39STA.clearURXISEL1; inline;
  23911. begin
  23912. pTDefRegMap(@Self)^.clr := $00000080;
  23913. end;
  23914. procedure TUART3_U39STA.setURXISEL1(thebits : TBits_1); inline;
  23915. begin
  23916. if thebits = 0 then
  23917. pTDefRegMap(@Self)^.clr := $00000080
  23918. else
  23919. pTDefRegMap(@Self)^.&set := $00000080;
  23920. end;
  23921. function TUART3_U39STA.getURXISEL1 : TBits_1; inline;
  23922. begin
  23923. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23924. end;
  23925. procedure TUART3_U39STA.setUTXISEL0; inline;
  23926. begin
  23927. pTDefRegMap(@Self)^.&set := $00004000;
  23928. end;
  23929. procedure TUART3_U39STA.clearUTXISEL0; inline;
  23930. begin
  23931. pTDefRegMap(@Self)^.clr := $00004000;
  23932. end;
  23933. procedure TUART3_U39STA.setUTXISEL0(thebits : TBits_1); inline;
  23934. begin
  23935. if thebits = 0 then
  23936. pTDefRegMap(@Self)^.clr := $00004000
  23937. else
  23938. pTDefRegMap(@Self)^.&set := $00004000;
  23939. end;
  23940. function TUART3_U39STA.getUTXISEL0 : TBits_1; inline;
  23941. begin
  23942. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23943. end;
  23944. procedure TUART3_U39STA.setUTXISEL1; inline;
  23945. begin
  23946. pTDefRegMap(@Self)^.&set := $00008000;
  23947. end;
  23948. procedure TUART3_U39STA.clearUTXISEL1; inline;
  23949. begin
  23950. pTDefRegMap(@Self)^.clr := $00008000;
  23951. end;
  23952. procedure TUART3_U39STA.setUTXISEL1(thebits : TBits_1); inline;
  23953. begin
  23954. if thebits = 0 then
  23955. pTDefRegMap(@Self)^.clr := $00008000
  23956. else
  23957. pTDefRegMap(@Self)^.&set := $00008000;
  23958. end;
  23959. function TUART3_U39STA.getUTXISEL1 : TBits_1; inline;
  23960. begin
  23961. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23962. end;
  23963. procedure TUART3_U39STA.setUTXSEL(thebits : TBits_2); inline;
  23964. begin
  23965. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23966. end;
  23967. function TUART3_U39STA.getUTXSEL : TBits_2; inline;
  23968. begin
  23969. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23970. end;
  23971. procedure TUART3_U39STA.setw(thebits : TBits_32); inline;
  23972. begin
  23973. pTDefRegMap(@Self)^.val := thebits;
  23974. end;
  23975. function TUART3_U39STA.getw : TBits_32; inline;
  23976. begin
  23977. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23978. end;
  23979. procedure TUART3_U3STA.setURXDA; inline;
  23980. begin
  23981. pTDefRegMap(@Self)^.&set := $00000001;
  23982. end;
  23983. procedure TUART3_U3STA.clearURXDA; inline;
  23984. begin
  23985. pTDefRegMap(@Self)^.clr := $00000001;
  23986. end;
  23987. procedure TUART3_U3STA.setURXDA(thebits : TBits_1); inline;
  23988. begin
  23989. if thebits = 0 then
  23990. pTDefRegMap(@Self)^.clr := $00000001
  23991. else
  23992. pTDefRegMap(@Self)^.&set := $00000001;
  23993. end;
  23994. function TUART3_U3STA.getURXDA : TBits_1; inline;
  23995. begin
  23996. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23997. end;
  23998. procedure TUART3_U3STA.setOERR; inline;
  23999. begin
  24000. pTDefRegMap(@Self)^.&set := $00000002;
  24001. end;
  24002. procedure TUART3_U3STA.clearOERR; inline;
  24003. begin
  24004. pTDefRegMap(@Self)^.clr := $00000002;
  24005. end;
  24006. procedure TUART3_U3STA.setOERR(thebits : TBits_1); inline;
  24007. begin
  24008. if thebits = 0 then
  24009. pTDefRegMap(@Self)^.clr := $00000002
  24010. else
  24011. pTDefRegMap(@Self)^.&set := $00000002;
  24012. end;
  24013. function TUART3_U3STA.getOERR : TBits_1; inline;
  24014. begin
  24015. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24016. end;
  24017. procedure TUART3_U3STA.setFERR; inline;
  24018. begin
  24019. pTDefRegMap(@Self)^.&set := $00000004;
  24020. end;
  24021. procedure TUART3_U3STA.clearFERR; inline;
  24022. begin
  24023. pTDefRegMap(@Self)^.clr := $00000004;
  24024. end;
  24025. procedure TUART3_U3STA.setFERR(thebits : TBits_1); inline;
  24026. begin
  24027. if thebits = 0 then
  24028. pTDefRegMap(@Self)^.clr := $00000004
  24029. else
  24030. pTDefRegMap(@Self)^.&set := $00000004;
  24031. end;
  24032. function TUART3_U3STA.getFERR : TBits_1; inline;
  24033. begin
  24034. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24035. end;
  24036. procedure TUART3_U3STA.setPERR; inline;
  24037. begin
  24038. pTDefRegMap(@Self)^.&set := $00000008;
  24039. end;
  24040. procedure TUART3_U3STA.clearPERR; inline;
  24041. begin
  24042. pTDefRegMap(@Self)^.clr := $00000008;
  24043. end;
  24044. procedure TUART3_U3STA.setPERR(thebits : TBits_1); inline;
  24045. begin
  24046. if thebits = 0 then
  24047. pTDefRegMap(@Self)^.clr := $00000008
  24048. else
  24049. pTDefRegMap(@Self)^.&set := $00000008;
  24050. end;
  24051. function TUART3_U3STA.getPERR : TBits_1; inline;
  24052. begin
  24053. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24054. end;
  24055. procedure TUART3_U3STA.setRIDLE; inline;
  24056. begin
  24057. pTDefRegMap(@Self)^.&set := $00000010;
  24058. end;
  24059. procedure TUART3_U3STA.clearRIDLE; inline;
  24060. begin
  24061. pTDefRegMap(@Self)^.clr := $00000010;
  24062. end;
  24063. procedure TUART3_U3STA.setRIDLE(thebits : TBits_1); inline;
  24064. begin
  24065. if thebits = 0 then
  24066. pTDefRegMap(@Self)^.clr := $00000010
  24067. else
  24068. pTDefRegMap(@Self)^.&set := $00000010;
  24069. end;
  24070. function TUART3_U3STA.getRIDLE : TBits_1; inline;
  24071. begin
  24072. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24073. end;
  24074. procedure TUART3_U3STA.setADDEN; inline;
  24075. begin
  24076. pTDefRegMap(@Self)^.&set := $00000020;
  24077. end;
  24078. procedure TUART3_U3STA.clearADDEN; inline;
  24079. begin
  24080. pTDefRegMap(@Self)^.clr := $00000020;
  24081. end;
  24082. procedure TUART3_U3STA.setADDEN(thebits : TBits_1); inline;
  24083. begin
  24084. if thebits = 0 then
  24085. pTDefRegMap(@Self)^.clr := $00000020
  24086. else
  24087. pTDefRegMap(@Self)^.&set := $00000020;
  24088. end;
  24089. function TUART3_U3STA.getADDEN : TBits_1; inline;
  24090. begin
  24091. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24092. end;
  24093. procedure TUART3_U3STA.setURXISEL(thebits : TBits_2); inline;
  24094. begin
  24095. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24096. end;
  24097. function TUART3_U3STA.getURXISEL : TBits_2; inline;
  24098. begin
  24099. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24100. end;
  24101. procedure TUART3_U3STA.setTRMT; inline;
  24102. begin
  24103. pTDefRegMap(@Self)^.&set := $00000100;
  24104. end;
  24105. procedure TUART3_U3STA.clearTRMT; inline;
  24106. begin
  24107. pTDefRegMap(@Self)^.clr := $00000100;
  24108. end;
  24109. procedure TUART3_U3STA.setTRMT(thebits : TBits_1); inline;
  24110. begin
  24111. if thebits = 0 then
  24112. pTDefRegMap(@Self)^.clr := $00000100
  24113. else
  24114. pTDefRegMap(@Self)^.&set := $00000100;
  24115. end;
  24116. function TUART3_U3STA.getTRMT : TBits_1; inline;
  24117. begin
  24118. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24119. end;
  24120. procedure TUART3_U3STA.setUTXBF; inline;
  24121. begin
  24122. pTDefRegMap(@Self)^.&set := $00000200;
  24123. end;
  24124. procedure TUART3_U3STA.clearUTXBF; inline;
  24125. begin
  24126. pTDefRegMap(@Self)^.clr := $00000200;
  24127. end;
  24128. procedure TUART3_U3STA.setUTXBF(thebits : TBits_1); inline;
  24129. begin
  24130. if thebits = 0 then
  24131. pTDefRegMap(@Self)^.clr := $00000200
  24132. else
  24133. pTDefRegMap(@Self)^.&set := $00000200;
  24134. end;
  24135. function TUART3_U3STA.getUTXBF : TBits_1; inline;
  24136. begin
  24137. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24138. end;
  24139. procedure TUART3_U3STA.setUTXEN; inline;
  24140. begin
  24141. pTDefRegMap(@Self)^.&set := $00000400;
  24142. end;
  24143. procedure TUART3_U3STA.clearUTXEN; inline;
  24144. begin
  24145. pTDefRegMap(@Self)^.clr := $00000400;
  24146. end;
  24147. procedure TUART3_U3STA.setUTXEN(thebits : TBits_1); inline;
  24148. begin
  24149. if thebits = 0 then
  24150. pTDefRegMap(@Self)^.clr := $00000400
  24151. else
  24152. pTDefRegMap(@Self)^.&set := $00000400;
  24153. end;
  24154. function TUART3_U3STA.getUTXEN : TBits_1; inline;
  24155. begin
  24156. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24157. end;
  24158. procedure TUART3_U3STA.setUTXBRK; inline;
  24159. begin
  24160. pTDefRegMap(@Self)^.&set := $00000800;
  24161. end;
  24162. procedure TUART3_U3STA.clearUTXBRK; inline;
  24163. begin
  24164. pTDefRegMap(@Self)^.clr := $00000800;
  24165. end;
  24166. procedure TUART3_U3STA.setUTXBRK(thebits : TBits_1); inline;
  24167. begin
  24168. if thebits = 0 then
  24169. pTDefRegMap(@Self)^.clr := $00000800
  24170. else
  24171. pTDefRegMap(@Self)^.&set := $00000800;
  24172. end;
  24173. function TUART3_U3STA.getUTXBRK : TBits_1; inline;
  24174. begin
  24175. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24176. end;
  24177. procedure TUART3_U3STA.setURXEN; inline;
  24178. begin
  24179. pTDefRegMap(@Self)^.&set := $00001000;
  24180. end;
  24181. procedure TUART3_U3STA.clearURXEN; inline;
  24182. begin
  24183. pTDefRegMap(@Self)^.clr := $00001000;
  24184. end;
  24185. procedure TUART3_U3STA.setURXEN(thebits : TBits_1); inline;
  24186. begin
  24187. if thebits = 0 then
  24188. pTDefRegMap(@Self)^.clr := $00001000
  24189. else
  24190. pTDefRegMap(@Self)^.&set := $00001000;
  24191. end;
  24192. function TUART3_U3STA.getURXEN : TBits_1; inline;
  24193. begin
  24194. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24195. end;
  24196. procedure TUART3_U3STA.setUTXINV; inline;
  24197. begin
  24198. pTDefRegMap(@Self)^.&set := $00002000;
  24199. end;
  24200. procedure TUART3_U3STA.clearUTXINV; inline;
  24201. begin
  24202. pTDefRegMap(@Self)^.clr := $00002000;
  24203. end;
  24204. procedure TUART3_U3STA.setUTXINV(thebits : TBits_1); inline;
  24205. begin
  24206. if thebits = 0 then
  24207. pTDefRegMap(@Self)^.clr := $00002000
  24208. else
  24209. pTDefRegMap(@Self)^.&set := $00002000;
  24210. end;
  24211. function TUART3_U3STA.getUTXINV : TBits_1; inline;
  24212. begin
  24213. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24214. end;
  24215. procedure TUART3_U3STA.setUTXISEL(thebits : TBits_2); inline;
  24216. begin
  24217. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24218. end;
  24219. function TUART3_U3STA.getUTXISEL : TBits_2; inline;
  24220. begin
  24221. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24222. end;
  24223. procedure TUART3_U3STA.setADDR(thebits : TBits_8); inline;
  24224. begin
  24225. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  24226. end;
  24227. function TUART3_U3STA.getADDR : TBits_8; inline;
  24228. begin
  24229. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  24230. end;
  24231. procedure TUART3_U3STA.setADM_EN; inline;
  24232. begin
  24233. pTDefRegMap(@Self)^.&set := $01000000;
  24234. end;
  24235. procedure TUART3_U3STA.clearADM_EN; inline;
  24236. begin
  24237. pTDefRegMap(@Self)^.clr := $01000000;
  24238. end;
  24239. procedure TUART3_U3STA.setADM_EN(thebits : TBits_1); inline;
  24240. begin
  24241. if thebits = 0 then
  24242. pTDefRegMap(@Self)^.clr := $01000000
  24243. else
  24244. pTDefRegMap(@Self)^.&set := $01000000;
  24245. end;
  24246. function TUART3_U3STA.getADM_EN : TBits_1; inline;
  24247. begin
  24248. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24249. end;
  24250. procedure TUART3_U3STA.setURXISEL0; inline;
  24251. begin
  24252. pTDefRegMap(@Self)^.&set := $00000040;
  24253. end;
  24254. procedure TUART3_U3STA.clearURXISEL0; inline;
  24255. begin
  24256. pTDefRegMap(@Self)^.clr := $00000040;
  24257. end;
  24258. procedure TUART3_U3STA.setURXISEL0(thebits : TBits_1); inline;
  24259. begin
  24260. if thebits = 0 then
  24261. pTDefRegMap(@Self)^.clr := $00000040
  24262. else
  24263. pTDefRegMap(@Self)^.&set := $00000040;
  24264. end;
  24265. function TUART3_U3STA.getURXISEL0 : TBits_1; inline;
  24266. begin
  24267. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24268. end;
  24269. procedure TUART3_U3STA.setURXISEL1; inline;
  24270. begin
  24271. pTDefRegMap(@Self)^.&set := $00000080;
  24272. end;
  24273. procedure TUART3_U3STA.clearURXISEL1; inline;
  24274. begin
  24275. pTDefRegMap(@Self)^.clr := $00000080;
  24276. end;
  24277. procedure TUART3_U3STA.setURXISEL1(thebits : TBits_1); inline;
  24278. begin
  24279. if thebits = 0 then
  24280. pTDefRegMap(@Self)^.clr := $00000080
  24281. else
  24282. pTDefRegMap(@Self)^.&set := $00000080;
  24283. end;
  24284. function TUART3_U3STA.getURXISEL1 : TBits_1; inline;
  24285. begin
  24286. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24287. end;
  24288. procedure TUART3_U3STA.setUTXISEL0; inline;
  24289. begin
  24290. pTDefRegMap(@Self)^.&set := $00004000;
  24291. end;
  24292. procedure TUART3_U3STA.clearUTXISEL0; inline;
  24293. begin
  24294. pTDefRegMap(@Self)^.clr := $00004000;
  24295. end;
  24296. procedure TUART3_U3STA.setUTXISEL0(thebits : TBits_1); inline;
  24297. begin
  24298. if thebits = 0 then
  24299. pTDefRegMap(@Self)^.clr := $00004000
  24300. else
  24301. pTDefRegMap(@Self)^.&set := $00004000;
  24302. end;
  24303. function TUART3_U3STA.getUTXISEL0 : TBits_1; inline;
  24304. begin
  24305. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24306. end;
  24307. procedure TUART3_U3STA.setUTXISEL1; inline;
  24308. begin
  24309. pTDefRegMap(@Self)^.&set := $00008000;
  24310. end;
  24311. procedure TUART3_U3STA.clearUTXISEL1; inline;
  24312. begin
  24313. pTDefRegMap(@Self)^.clr := $00008000;
  24314. end;
  24315. procedure TUART3_U3STA.setUTXISEL1(thebits : TBits_1); inline;
  24316. begin
  24317. if thebits = 0 then
  24318. pTDefRegMap(@Self)^.clr := $00008000
  24319. else
  24320. pTDefRegMap(@Self)^.&set := $00008000;
  24321. end;
  24322. function TUART3_U3STA.getUTXISEL1 : TBits_1; inline;
  24323. begin
  24324. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24325. end;
  24326. procedure TUART3_U3STA.setUTXSEL(thebits : TBits_2); inline;
  24327. begin
  24328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24329. end;
  24330. function TUART3_U3STA.getUTXSEL : TBits_2; inline;
  24331. begin
  24332. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24333. end;
  24334. procedure TUART3_U3STA.setw(thebits : TBits_32); inline;
  24335. begin
  24336. pTDefRegMap(@Self)^.val := thebits;
  24337. end;
  24338. function TUART3_U3STA.getw : TBits_32; inline;
  24339. begin
  24340. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24341. end;
  24342. procedure TUART4_U4MODE.setSTSEL; inline;
  24343. begin
  24344. pTDefRegMap(@Self)^.&set := $00000001;
  24345. end;
  24346. procedure TUART4_U4MODE.clearSTSEL; inline;
  24347. begin
  24348. pTDefRegMap(@Self)^.clr := $00000001;
  24349. end;
  24350. procedure TUART4_U4MODE.setSTSEL(thebits : TBits_1); inline;
  24351. begin
  24352. if thebits = 0 then
  24353. pTDefRegMap(@Self)^.clr := $00000001
  24354. else
  24355. pTDefRegMap(@Self)^.&set := $00000001;
  24356. end;
  24357. function TUART4_U4MODE.getSTSEL : TBits_1; inline;
  24358. begin
  24359. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24360. end;
  24361. procedure TUART4_U4MODE.setPDSEL(thebits : TBits_2); inline;
  24362. begin
  24363. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  24364. end;
  24365. function TUART4_U4MODE.getPDSEL : TBits_2; inline;
  24366. begin
  24367. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  24368. end;
  24369. procedure TUART4_U4MODE.setBRGH; inline;
  24370. begin
  24371. pTDefRegMap(@Self)^.&set := $00000008;
  24372. end;
  24373. procedure TUART4_U4MODE.clearBRGH; inline;
  24374. begin
  24375. pTDefRegMap(@Self)^.clr := $00000008;
  24376. end;
  24377. procedure TUART4_U4MODE.setBRGH(thebits : TBits_1); inline;
  24378. begin
  24379. if thebits = 0 then
  24380. pTDefRegMap(@Self)^.clr := $00000008
  24381. else
  24382. pTDefRegMap(@Self)^.&set := $00000008;
  24383. end;
  24384. function TUART4_U4MODE.getBRGH : TBits_1; inline;
  24385. begin
  24386. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24387. end;
  24388. procedure TUART4_U4MODE.setRXINV; inline;
  24389. begin
  24390. pTDefRegMap(@Self)^.&set := $00000010;
  24391. end;
  24392. procedure TUART4_U4MODE.clearRXINV; inline;
  24393. begin
  24394. pTDefRegMap(@Self)^.clr := $00000010;
  24395. end;
  24396. procedure TUART4_U4MODE.setRXINV(thebits : TBits_1); inline;
  24397. begin
  24398. if thebits = 0 then
  24399. pTDefRegMap(@Self)^.clr := $00000010
  24400. else
  24401. pTDefRegMap(@Self)^.&set := $00000010;
  24402. end;
  24403. function TUART4_U4MODE.getRXINV : TBits_1; inline;
  24404. begin
  24405. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24406. end;
  24407. procedure TUART4_U4MODE.setABAUD; inline;
  24408. begin
  24409. pTDefRegMap(@Self)^.&set := $00000020;
  24410. end;
  24411. procedure TUART4_U4MODE.clearABAUD; inline;
  24412. begin
  24413. pTDefRegMap(@Self)^.clr := $00000020;
  24414. end;
  24415. procedure TUART4_U4MODE.setABAUD(thebits : TBits_1); inline;
  24416. begin
  24417. if thebits = 0 then
  24418. pTDefRegMap(@Self)^.clr := $00000020
  24419. else
  24420. pTDefRegMap(@Self)^.&set := $00000020;
  24421. end;
  24422. function TUART4_U4MODE.getABAUD : TBits_1; inline;
  24423. begin
  24424. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24425. end;
  24426. procedure TUART4_U4MODE.setLPBACK; inline;
  24427. begin
  24428. pTDefRegMap(@Self)^.&set := $00000040;
  24429. end;
  24430. procedure TUART4_U4MODE.clearLPBACK; inline;
  24431. begin
  24432. pTDefRegMap(@Self)^.clr := $00000040;
  24433. end;
  24434. procedure TUART4_U4MODE.setLPBACK(thebits : TBits_1); inline;
  24435. begin
  24436. if thebits = 0 then
  24437. pTDefRegMap(@Self)^.clr := $00000040
  24438. else
  24439. pTDefRegMap(@Self)^.&set := $00000040;
  24440. end;
  24441. function TUART4_U4MODE.getLPBACK : TBits_1; inline;
  24442. begin
  24443. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24444. end;
  24445. procedure TUART4_U4MODE.setWAKE; inline;
  24446. begin
  24447. pTDefRegMap(@Self)^.&set := $00000080;
  24448. end;
  24449. procedure TUART4_U4MODE.clearWAKE; inline;
  24450. begin
  24451. pTDefRegMap(@Self)^.clr := $00000080;
  24452. end;
  24453. procedure TUART4_U4MODE.setWAKE(thebits : TBits_1); inline;
  24454. begin
  24455. if thebits = 0 then
  24456. pTDefRegMap(@Self)^.clr := $00000080
  24457. else
  24458. pTDefRegMap(@Self)^.&set := $00000080;
  24459. end;
  24460. function TUART4_U4MODE.getWAKE : TBits_1; inline;
  24461. begin
  24462. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24463. end;
  24464. procedure TUART4_U4MODE.setUEN(thebits : TBits_2); inline;
  24465. begin
  24466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  24467. end;
  24468. function TUART4_U4MODE.getUEN : TBits_2; inline;
  24469. begin
  24470. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  24471. end;
  24472. procedure TUART4_U4MODE.setRTSMD; inline;
  24473. begin
  24474. pTDefRegMap(@Self)^.&set := $00000800;
  24475. end;
  24476. procedure TUART4_U4MODE.clearRTSMD; inline;
  24477. begin
  24478. pTDefRegMap(@Self)^.clr := $00000800;
  24479. end;
  24480. procedure TUART4_U4MODE.setRTSMD(thebits : TBits_1); inline;
  24481. begin
  24482. if thebits = 0 then
  24483. pTDefRegMap(@Self)^.clr := $00000800
  24484. else
  24485. pTDefRegMap(@Self)^.&set := $00000800;
  24486. end;
  24487. function TUART4_U4MODE.getRTSMD : TBits_1; inline;
  24488. begin
  24489. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24490. end;
  24491. procedure TUART4_U4MODE.setIREN; inline;
  24492. begin
  24493. pTDefRegMap(@Self)^.&set := $00001000;
  24494. end;
  24495. procedure TUART4_U4MODE.clearIREN; inline;
  24496. begin
  24497. pTDefRegMap(@Self)^.clr := $00001000;
  24498. end;
  24499. procedure TUART4_U4MODE.setIREN(thebits : TBits_1); inline;
  24500. begin
  24501. if thebits = 0 then
  24502. pTDefRegMap(@Self)^.clr := $00001000
  24503. else
  24504. pTDefRegMap(@Self)^.&set := $00001000;
  24505. end;
  24506. function TUART4_U4MODE.getIREN : TBits_1; inline;
  24507. begin
  24508. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24509. end;
  24510. procedure TUART4_U4MODE.setSIDL; inline;
  24511. begin
  24512. pTDefRegMap(@Self)^.&set := $00002000;
  24513. end;
  24514. procedure TUART4_U4MODE.clearSIDL; inline;
  24515. begin
  24516. pTDefRegMap(@Self)^.clr := $00002000;
  24517. end;
  24518. procedure TUART4_U4MODE.setSIDL(thebits : TBits_1); inline;
  24519. begin
  24520. if thebits = 0 then
  24521. pTDefRegMap(@Self)^.clr := $00002000
  24522. else
  24523. pTDefRegMap(@Self)^.&set := $00002000;
  24524. end;
  24525. function TUART4_U4MODE.getSIDL : TBits_1; inline;
  24526. begin
  24527. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24528. end;
  24529. procedure TUART4_U4MODE.setON; inline;
  24530. begin
  24531. pTDefRegMap(@Self)^.&set := $00008000;
  24532. end;
  24533. procedure TUART4_U4MODE.clearON; inline;
  24534. begin
  24535. pTDefRegMap(@Self)^.clr := $00008000;
  24536. end;
  24537. procedure TUART4_U4MODE.setON(thebits : TBits_1); inline;
  24538. begin
  24539. if thebits = 0 then
  24540. pTDefRegMap(@Self)^.clr := $00008000
  24541. else
  24542. pTDefRegMap(@Self)^.&set := $00008000;
  24543. end;
  24544. function TUART4_U4MODE.getON : TBits_1; inline;
  24545. begin
  24546. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24547. end;
  24548. procedure TUART4_U4MODE.setPDSEL0; inline;
  24549. begin
  24550. pTDefRegMap(@Self)^.&set := $00000002;
  24551. end;
  24552. procedure TUART4_U4MODE.clearPDSEL0; inline;
  24553. begin
  24554. pTDefRegMap(@Self)^.clr := $00000002;
  24555. end;
  24556. procedure TUART4_U4MODE.setPDSEL0(thebits : TBits_1); inline;
  24557. begin
  24558. if thebits = 0 then
  24559. pTDefRegMap(@Self)^.clr := $00000002
  24560. else
  24561. pTDefRegMap(@Self)^.&set := $00000002;
  24562. end;
  24563. function TUART4_U4MODE.getPDSEL0 : TBits_1; inline;
  24564. begin
  24565. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24566. end;
  24567. procedure TUART4_U4MODE.setPDSEL1; inline;
  24568. begin
  24569. pTDefRegMap(@Self)^.&set := $00000004;
  24570. end;
  24571. procedure TUART4_U4MODE.clearPDSEL1; inline;
  24572. begin
  24573. pTDefRegMap(@Self)^.clr := $00000004;
  24574. end;
  24575. procedure TUART4_U4MODE.setPDSEL1(thebits : TBits_1); inline;
  24576. begin
  24577. if thebits = 0 then
  24578. pTDefRegMap(@Self)^.clr := $00000004
  24579. else
  24580. pTDefRegMap(@Self)^.&set := $00000004;
  24581. end;
  24582. function TUART4_U4MODE.getPDSEL1 : TBits_1; inline;
  24583. begin
  24584. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24585. end;
  24586. procedure TUART4_U4MODE.setUEN0; inline;
  24587. begin
  24588. pTDefRegMap(@Self)^.&set := $00000100;
  24589. end;
  24590. procedure TUART4_U4MODE.clearUEN0; inline;
  24591. begin
  24592. pTDefRegMap(@Self)^.clr := $00000100;
  24593. end;
  24594. procedure TUART4_U4MODE.setUEN0(thebits : TBits_1); inline;
  24595. begin
  24596. if thebits = 0 then
  24597. pTDefRegMap(@Self)^.clr := $00000100
  24598. else
  24599. pTDefRegMap(@Self)^.&set := $00000100;
  24600. end;
  24601. function TUART4_U4MODE.getUEN0 : TBits_1; inline;
  24602. begin
  24603. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24604. end;
  24605. procedure TUART4_U4MODE.setUEN1; inline;
  24606. begin
  24607. pTDefRegMap(@Self)^.&set := $00000200;
  24608. end;
  24609. procedure TUART4_U4MODE.clearUEN1; inline;
  24610. begin
  24611. pTDefRegMap(@Self)^.clr := $00000200;
  24612. end;
  24613. procedure TUART4_U4MODE.setUEN1(thebits : TBits_1); inline;
  24614. begin
  24615. if thebits = 0 then
  24616. pTDefRegMap(@Self)^.clr := $00000200
  24617. else
  24618. pTDefRegMap(@Self)^.&set := $00000200;
  24619. end;
  24620. function TUART4_U4MODE.getUEN1 : TBits_1; inline;
  24621. begin
  24622. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24623. end;
  24624. procedure TUART4_U4MODE.setUSIDL; inline;
  24625. begin
  24626. pTDefRegMap(@Self)^.&set := $00002000;
  24627. end;
  24628. procedure TUART4_U4MODE.clearUSIDL; inline;
  24629. begin
  24630. pTDefRegMap(@Self)^.clr := $00002000;
  24631. end;
  24632. procedure TUART4_U4MODE.setUSIDL(thebits : TBits_1); inline;
  24633. begin
  24634. if thebits = 0 then
  24635. pTDefRegMap(@Self)^.clr := $00002000
  24636. else
  24637. pTDefRegMap(@Self)^.&set := $00002000;
  24638. end;
  24639. function TUART4_U4MODE.getUSIDL : TBits_1; inline;
  24640. begin
  24641. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24642. end;
  24643. procedure TUART4_U4MODE.setUARTEN; inline;
  24644. begin
  24645. pTDefRegMap(@Self)^.&set := $00008000;
  24646. end;
  24647. procedure TUART4_U4MODE.clearUARTEN; inline;
  24648. begin
  24649. pTDefRegMap(@Self)^.clr := $00008000;
  24650. end;
  24651. procedure TUART4_U4MODE.setUARTEN(thebits : TBits_1); inline;
  24652. begin
  24653. if thebits = 0 then
  24654. pTDefRegMap(@Self)^.clr := $00008000
  24655. else
  24656. pTDefRegMap(@Self)^.&set := $00008000;
  24657. end;
  24658. function TUART4_U4MODE.getUARTEN : TBits_1; inline;
  24659. begin
  24660. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24661. end;
  24662. procedure TUART4_U4MODE.setw(thebits : TBits_32); inline;
  24663. begin
  24664. pTDefRegMap(@Self)^.val := thebits;
  24665. end;
  24666. function TUART4_U4MODE.getw : TBits_32; inline;
  24667. begin
  24668. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24669. end;
  24670. procedure TUART4_UodMODE.setSTSEL; inline;
  24671. begin
  24672. pTDefRegMap(@Self)^.&set := $00000001;
  24673. end;
  24674. procedure TUART4_UodMODE.clearSTSEL; inline;
  24675. begin
  24676. pTDefRegMap(@Self)^.clr := $00000001;
  24677. end;
  24678. procedure TUART4_UodMODE.setSTSEL(thebits : TBits_1); inline;
  24679. begin
  24680. if thebits = 0 then
  24681. pTDefRegMap(@Self)^.clr := $00000001
  24682. else
  24683. pTDefRegMap(@Self)^.&set := $00000001;
  24684. end;
  24685. function TUART4_UodMODE.getSTSEL : TBits_1; inline;
  24686. begin
  24687. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24688. end;
  24689. procedure TUART4_UodMODE.setPDSEL(thebits : TBits_2); inline;
  24690. begin
  24691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  24692. end;
  24693. function TUART4_UodMODE.getPDSEL : TBits_2; inline;
  24694. begin
  24695. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  24696. end;
  24697. procedure TUART4_UodMODE.setBRGH; inline;
  24698. begin
  24699. pTDefRegMap(@Self)^.&set := $00000008;
  24700. end;
  24701. procedure TUART4_UodMODE.clearBRGH; inline;
  24702. begin
  24703. pTDefRegMap(@Self)^.clr := $00000008;
  24704. end;
  24705. procedure TUART4_UodMODE.setBRGH(thebits : TBits_1); inline;
  24706. begin
  24707. if thebits = 0 then
  24708. pTDefRegMap(@Self)^.clr := $00000008
  24709. else
  24710. pTDefRegMap(@Self)^.&set := $00000008;
  24711. end;
  24712. function TUART4_UodMODE.getBRGH : TBits_1; inline;
  24713. begin
  24714. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24715. end;
  24716. procedure TUART4_UodMODE.setRXINV; inline;
  24717. begin
  24718. pTDefRegMap(@Self)^.&set := $00000010;
  24719. end;
  24720. procedure TUART4_UodMODE.clearRXINV; inline;
  24721. begin
  24722. pTDefRegMap(@Self)^.clr := $00000010;
  24723. end;
  24724. procedure TUART4_UodMODE.setRXINV(thebits : TBits_1); inline;
  24725. begin
  24726. if thebits = 0 then
  24727. pTDefRegMap(@Self)^.clr := $00000010
  24728. else
  24729. pTDefRegMap(@Self)^.&set := $00000010;
  24730. end;
  24731. function TUART4_UodMODE.getRXINV : TBits_1; inline;
  24732. begin
  24733. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24734. end;
  24735. procedure TUART4_UodMODE.setABAUD; inline;
  24736. begin
  24737. pTDefRegMap(@Self)^.&set := $00000020;
  24738. end;
  24739. procedure TUART4_UodMODE.clearABAUD; inline;
  24740. begin
  24741. pTDefRegMap(@Self)^.clr := $00000020;
  24742. end;
  24743. procedure TUART4_UodMODE.setABAUD(thebits : TBits_1); inline;
  24744. begin
  24745. if thebits = 0 then
  24746. pTDefRegMap(@Self)^.clr := $00000020
  24747. else
  24748. pTDefRegMap(@Self)^.&set := $00000020;
  24749. end;
  24750. function TUART4_UodMODE.getABAUD : TBits_1; inline;
  24751. begin
  24752. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24753. end;
  24754. procedure TUART4_UodMODE.setLPBACK; inline;
  24755. begin
  24756. pTDefRegMap(@Self)^.&set := $00000040;
  24757. end;
  24758. procedure TUART4_UodMODE.clearLPBACK; inline;
  24759. begin
  24760. pTDefRegMap(@Self)^.clr := $00000040;
  24761. end;
  24762. procedure TUART4_UodMODE.setLPBACK(thebits : TBits_1); inline;
  24763. begin
  24764. if thebits = 0 then
  24765. pTDefRegMap(@Self)^.clr := $00000040
  24766. else
  24767. pTDefRegMap(@Self)^.&set := $00000040;
  24768. end;
  24769. function TUART4_UodMODE.getLPBACK : TBits_1; inline;
  24770. begin
  24771. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24772. end;
  24773. procedure TUART4_UodMODE.setWAKE; inline;
  24774. begin
  24775. pTDefRegMap(@Self)^.&set := $00000080;
  24776. end;
  24777. procedure TUART4_UodMODE.clearWAKE; inline;
  24778. begin
  24779. pTDefRegMap(@Self)^.clr := $00000080;
  24780. end;
  24781. procedure TUART4_UodMODE.setWAKE(thebits : TBits_1); inline;
  24782. begin
  24783. if thebits = 0 then
  24784. pTDefRegMap(@Self)^.clr := $00000080
  24785. else
  24786. pTDefRegMap(@Self)^.&set := $00000080;
  24787. end;
  24788. function TUART4_UodMODE.getWAKE : TBits_1; inline;
  24789. begin
  24790. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24791. end;
  24792. procedure TUART4_UodMODE.setUEN(thebits : TBits_2); inline;
  24793. begin
  24794. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  24795. end;
  24796. function TUART4_UodMODE.getUEN : TBits_2; inline;
  24797. begin
  24798. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  24799. end;
  24800. procedure TUART4_UodMODE.setRTSMD; inline;
  24801. begin
  24802. pTDefRegMap(@Self)^.&set := $00000800;
  24803. end;
  24804. procedure TUART4_UodMODE.clearRTSMD; inline;
  24805. begin
  24806. pTDefRegMap(@Self)^.clr := $00000800;
  24807. end;
  24808. procedure TUART4_UodMODE.setRTSMD(thebits : TBits_1); inline;
  24809. begin
  24810. if thebits = 0 then
  24811. pTDefRegMap(@Self)^.clr := $00000800
  24812. else
  24813. pTDefRegMap(@Self)^.&set := $00000800;
  24814. end;
  24815. function TUART4_UodMODE.getRTSMD : TBits_1; inline;
  24816. begin
  24817. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24818. end;
  24819. procedure TUART4_UodMODE.setIREN; inline;
  24820. begin
  24821. pTDefRegMap(@Self)^.&set := $00001000;
  24822. end;
  24823. procedure TUART4_UodMODE.clearIREN; inline;
  24824. begin
  24825. pTDefRegMap(@Self)^.clr := $00001000;
  24826. end;
  24827. procedure TUART4_UodMODE.setIREN(thebits : TBits_1); inline;
  24828. begin
  24829. if thebits = 0 then
  24830. pTDefRegMap(@Self)^.clr := $00001000
  24831. else
  24832. pTDefRegMap(@Self)^.&set := $00001000;
  24833. end;
  24834. function TUART4_UodMODE.getIREN : TBits_1; inline;
  24835. begin
  24836. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24837. end;
  24838. procedure TUART4_UodMODE.setSIDL; inline;
  24839. begin
  24840. pTDefRegMap(@Self)^.&set := $00002000;
  24841. end;
  24842. procedure TUART4_UodMODE.clearSIDL; inline;
  24843. begin
  24844. pTDefRegMap(@Self)^.clr := $00002000;
  24845. end;
  24846. procedure TUART4_UodMODE.setSIDL(thebits : TBits_1); inline;
  24847. begin
  24848. if thebits = 0 then
  24849. pTDefRegMap(@Self)^.clr := $00002000
  24850. else
  24851. pTDefRegMap(@Self)^.&set := $00002000;
  24852. end;
  24853. function TUART4_UodMODE.getSIDL : TBits_1; inline;
  24854. begin
  24855. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24856. end;
  24857. procedure TUART4_UodMODE.setON; inline;
  24858. begin
  24859. pTDefRegMap(@Self)^.&set := $00008000;
  24860. end;
  24861. procedure TUART4_UodMODE.clearON; inline;
  24862. begin
  24863. pTDefRegMap(@Self)^.clr := $00008000;
  24864. end;
  24865. procedure TUART4_UodMODE.setON(thebits : TBits_1); inline;
  24866. begin
  24867. if thebits = 0 then
  24868. pTDefRegMap(@Self)^.clr := $00008000
  24869. else
  24870. pTDefRegMap(@Self)^.&set := $00008000;
  24871. end;
  24872. function TUART4_UodMODE.getON : TBits_1; inline;
  24873. begin
  24874. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24875. end;
  24876. procedure TUART4_UodMODE.setPDSEL0; inline;
  24877. begin
  24878. pTDefRegMap(@Self)^.&set := $00000002;
  24879. end;
  24880. procedure TUART4_UodMODE.clearPDSEL0; inline;
  24881. begin
  24882. pTDefRegMap(@Self)^.clr := $00000002;
  24883. end;
  24884. procedure TUART4_UodMODE.setPDSEL0(thebits : TBits_1); inline;
  24885. begin
  24886. if thebits = 0 then
  24887. pTDefRegMap(@Self)^.clr := $00000002
  24888. else
  24889. pTDefRegMap(@Self)^.&set := $00000002;
  24890. end;
  24891. function TUART4_UodMODE.getPDSEL0 : TBits_1; inline;
  24892. begin
  24893. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24894. end;
  24895. procedure TUART4_UodMODE.setPDSEL1; inline;
  24896. begin
  24897. pTDefRegMap(@Self)^.&set := $00000004;
  24898. end;
  24899. procedure TUART4_UodMODE.clearPDSEL1; inline;
  24900. begin
  24901. pTDefRegMap(@Self)^.clr := $00000004;
  24902. end;
  24903. procedure TUART4_UodMODE.setPDSEL1(thebits : TBits_1); inline;
  24904. begin
  24905. if thebits = 0 then
  24906. pTDefRegMap(@Self)^.clr := $00000004
  24907. else
  24908. pTDefRegMap(@Self)^.&set := $00000004;
  24909. end;
  24910. function TUART4_UodMODE.getPDSEL1 : TBits_1; inline;
  24911. begin
  24912. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24913. end;
  24914. procedure TUART4_UodMODE.setUEN0; inline;
  24915. begin
  24916. pTDefRegMap(@Self)^.&set := $00000100;
  24917. end;
  24918. procedure TUART4_UodMODE.clearUEN0; inline;
  24919. begin
  24920. pTDefRegMap(@Self)^.clr := $00000100;
  24921. end;
  24922. procedure TUART4_UodMODE.setUEN0(thebits : TBits_1); inline;
  24923. begin
  24924. if thebits = 0 then
  24925. pTDefRegMap(@Self)^.clr := $00000100
  24926. else
  24927. pTDefRegMap(@Self)^.&set := $00000100;
  24928. end;
  24929. function TUART4_UodMODE.getUEN0 : TBits_1; inline;
  24930. begin
  24931. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24932. end;
  24933. procedure TUART4_UodMODE.setUEN1; inline;
  24934. begin
  24935. pTDefRegMap(@Self)^.&set := $00000200;
  24936. end;
  24937. procedure TUART4_UodMODE.clearUEN1; inline;
  24938. begin
  24939. pTDefRegMap(@Self)^.clr := $00000200;
  24940. end;
  24941. procedure TUART4_UodMODE.setUEN1(thebits : TBits_1); inline;
  24942. begin
  24943. if thebits = 0 then
  24944. pTDefRegMap(@Self)^.clr := $00000200
  24945. else
  24946. pTDefRegMap(@Self)^.&set := $00000200;
  24947. end;
  24948. function TUART4_UodMODE.getUEN1 : TBits_1; inline;
  24949. begin
  24950. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24951. end;
  24952. procedure TUART4_UodMODE.setUSIDL; inline;
  24953. begin
  24954. pTDefRegMap(@Self)^.&set := $00002000;
  24955. end;
  24956. procedure TUART4_UodMODE.clearUSIDL; inline;
  24957. begin
  24958. pTDefRegMap(@Self)^.clr := $00002000;
  24959. end;
  24960. procedure TUART4_UodMODE.setUSIDL(thebits : TBits_1); inline;
  24961. begin
  24962. if thebits = 0 then
  24963. pTDefRegMap(@Self)^.clr := $00002000
  24964. else
  24965. pTDefRegMap(@Self)^.&set := $00002000;
  24966. end;
  24967. function TUART4_UodMODE.getUSIDL : TBits_1; inline;
  24968. begin
  24969. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24970. end;
  24971. procedure TUART4_UodMODE.setUARTEN; inline;
  24972. begin
  24973. pTDefRegMap(@Self)^.&set := $00008000;
  24974. end;
  24975. procedure TUART4_UodMODE.clearUARTEN; inline;
  24976. begin
  24977. pTDefRegMap(@Self)^.clr := $00008000;
  24978. end;
  24979. procedure TUART4_UodMODE.setUARTEN(thebits : TBits_1); inline;
  24980. begin
  24981. if thebits = 0 then
  24982. pTDefRegMap(@Self)^.clr := $00008000
  24983. else
  24984. pTDefRegMap(@Self)^.&set := $00008000;
  24985. end;
  24986. function TUART4_UodMODE.getUARTEN : TBits_1; inline;
  24987. begin
  24988. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24989. end;
  24990. procedure TUART4_UodMODE.setw(thebits : TBits_32); inline;
  24991. begin
  24992. pTDefRegMap(@Self)^.val := thebits;
  24993. end;
  24994. function TUART4_UodMODE.getw : TBits_32; inline;
  24995. begin
  24996. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24997. end;
  24998. procedure TUART4_U4STA.setURXDA; inline;
  24999. begin
  25000. pTDefRegMap(@Self)^.&set := $00000001;
  25001. end;
  25002. procedure TUART4_U4STA.clearURXDA; inline;
  25003. begin
  25004. pTDefRegMap(@Self)^.clr := $00000001;
  25005. end;
  25006. procedure TUART4_U4STA.setURXDA(thebits : TBits_1); inline;
  25007. begin
  25008. if thebits = 0 then
  25009. pTDefRegMap(@Self)^.clr := $00000001
  25010. else
  25011. pTDefRegMap(@Self)^.&set := $00000001;
  25012. end;
  25013. function TUART4_U4STA.getURXDA : TBits_1; inline;
  25014. begin
  25015. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25016. end;
  25017. procedure TUART4_U4STA.setOERR; inline;
  25018. begin
  25019. pTDefRegMap(@Self)^.&set := $00000002;
  25020. end;
  25021. procedure TUART4_U4STA.clearOERR; inline;
  25022. begin
  25023. pTDefRegMap(@Self)^.clr := $00000002;
  25024. end;
  25025. procedure TUART4_U4STA.setOERR(thebits : TBits_1); inline;
  25026. begin
  25027. if thebits = 0 then
  25028. pTDefRegMap(@Self)^.clr := $00000002
  25029. else
  25030. pTDefRegMap(@Self)^.&set := $00000002;
  25031. end;
  25032. function TUART4_U4STA.getOERR : TBits_1; inline;
  25033. begin
  25034. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25035. end;
  25036. procedure TUART4_U4STA.setFERR; inline;
  25037. begin
  25038. pTDefRegMap(@Self)^.&set := $00000004;
  25039. end;
  25040. procedure TUART4_U4STA.clearFERR; inline;
  25041. begin
  25042. pTDefRegMap(@Self)^.clr := $00000004;
  25043. end;
  25044. procedure TUART4_U4STA.setFERR(thebits : TBits_1); inline;
  25045. begin
  25046. if thebits = 0 then
  25047. pTDefRegMap(@Self)^.clr := $00000004
  25048. else
  25049. pTDefRegMap(@Self)^.&set := $00000004;
  25050. end;
  25051. function TUART4_U4STA.getFERR : TBits_1; inline;
  25052. begin
  25053. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25054. end;
  25055. procedure TUART4_U4STA.setPERR; inline;
  25056. begin
  25057. pTDefRegMap(@Self)^.&set := $00000008;
  25058. end;
  25059. procedure TUART4_U4STA.clearPERR; inline;
  25060. begin
  25061. pTDefRegMap(@Self)^.clr := $00000008;
  25062. end;
  25063. procedure TUART4_U4STA.setPERR(thebits : TBits_1); inline;
  25064. begin
  25065. if thebits = 0 then
  25066. pTDefRegMap(@Self)^.clr := $00000008
  25067. else
  25068. pTDefRegMap(@Self)^.&set := $00000008;
  25069. end;
  25070. function TUART4_U4STA.getPERR : TBits_1; inline;
  25071. begin
  25072. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25073. end;
  25074. procedure TUART4_U4STA.setRIDLE; inline;
  25075. begin
  25076. pTDefRegMap(@Self)^.&set := $00000010;
  25077. end;
  25078. procedure TUART4_U4STA.clearRIDLE; inline;
  25079. begin
  25080. pTDefRegMap(@Self)^.clr := $00000010;
  25081. end;
  25082. procedure TUART4_U4STA.setRIDLE(thebits : TBits_1); inline;
  25083. begin
  25084. if thebits = 0 then
  25085. pTDefRegMap(@Self)^.clr := $00000010
  25086. else
  25087. pTDefRegMap(@Self)^.&set := $00000010;
  25088. end;
  25089. function TUART4_U4STA.getRIDLE : TBits_1; inline;
  25090. begin
  25091. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25092. end;
  25093. procedure TUART4_U4STA.setADDEN; inline;
  25094. begin
  25095. pTDefRegMap(@Self)^.&set := $00000020;
  25096. end;
  25097. procedure TUART4_U4STA.clearADDEN; inline;
  25098. begin
  25099. pTDefRegMap(@Self)^.clr := $00000020;
  25100. end;
  25101. procedure TUART4_U4STA.setADDEN(thebits : TBits_1); inline;
  25102. begin
  25103. if thebits = 0 then
  25104. pTDefRegMap(@Self)^.clr := $00000020
  25105. else
  25106. pTDefRegMap(@Self)^.&set := $00000020;
  25107. end;
  25108. function TUART4_U4STA.getADDEN : TBits_1; inline;
  25109. begin
  25110. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25111. end;
  25112. procedure TUART4_U4STA.setURXISEL(thebits : TBits_2); inline;
  25113. begin
  25114. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  25115. end;
  25116. function TUART4_U4STA.getURXISEL : TBits_2; inline;
  25117. begin
  25118. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  25119. end;
  25120. procedure TUART4_U4STA.setTRMT; inline;
  25121. begin
  25122. pTDefRegMap(@Self)^.&set := $00000100;
  25123. end;
  25124. procedure TUART4_U4STA.clearTRMT; inline;
  25125. begin
  25126. pTDefRegMap(@Self)^.clr := $00000100;
  25127. end;
  25128. procedure TUART4_U4STA.setTRMT(thebits : TBits_1); inline;
  25129. begin
  25130. if thebits = 0 then
  25131. pTDefRegMap(@Self)^.clr := $00000100
  25132. else
  25133. pTDefRegMap(@Self)^.&set := $00000100;
  25134. end;
  25135. function TUART4_U4STA.getTRMT : TBits_1; inline;
  25136. begin
  25137. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25138. end;
  25139. procedure TUART4_U4STA.setUTXBF; inline;
  25140. begin
  25141. pTDefRegMap(@Self)^.&set := $00000200;
  25142. end;
  25143. procedure TUART4_U4STA.clearUTXBF; inline;
  25144. begin
  25145. pTDefRegMap(@Self)^.clr := $00000200;
  25146. end;
  25147. procedure TUART4_U4STA.setUTXBF(thebits : TBits_1); inline;
  25148. begin
  25149. if thebits = 0 then
  25150. pTDefRegMap(@Self)^.clr := $00000200
  25151. else
  25152. pTDefRegMap(@Self)^.&set := $00000200;
  25153. end;
  25154. function TUART4_U4STA.getUTXBF : TBits_1; inline;
  25155. begin
  25156. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25157. end;
  25158. procedure TUART4_U4STA.setUTXEN; inline;
  25159. begin
  25160. pTDefRegMap(@Self)^.&set := $00000400;
  25161. end;
  25162. procedure TUART4_U4STA.clearUTXEN; inline;
  25163. begin
  25164. pTDefRegMap(@Self)^.clr := $00000400;
  25165. end;
  25166. procedure TUART4_U4STA.setUTXEN(thebits : TBits_1); inline;
  25167. begin
  25168. if thebits = 0 then
  25169. pTDefRegMap(@Self)^.clr := $00000400
  25170. else
  25171. pTDefRegMap(@Self)^.&set := $00000400;
  25172. end;
  25173. function TUART4_U4STA.getUTXEN : TBits_1; inline;
  25174. begin
  25175. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25176. end;
  25177. procedure TUART4_U4STA.setUTXBRK; inline;
  25178. begin
  25179. pTDefRegMap(@Self)^.&set := $00000800;
  25180. end;
  25181. procedure TUART4_U4STA.clearUTXBRK; inline;
  25182. begin
  25183. pTDefRegMap(@Self)^.clr := $00000800;
  25184. end;
  25185. procedure TUART4_U4STA.setUTXBRK(thebits : TBits_1); inline;
  25186. begin
  25187. if thebits = 0 then
  25188. pTDefRegMap(@Self)^.clr := $00000800
  25189. else
  25190. pTDefRegMap(@Self)^.&set := $00000800;
  25191. end;
  25192. function TUART4_U4STA.getUTXBRK : TBits_1; inline;
  25193. begin
  25194. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25195. end;
  25196. procedure TUART4_U4STA.setURXEN; inline;
  25197. begin
  25198. pTDefRegMap(@Self)^.&set := $00001000;
  25199. end;
  25200. procedure TUART4_U4STA.clearURXEN; inline;
  25201. begin
  25202. pTDefRegMap(@Self)^.clr := $00001000;
  25203. end;
  25204. procedure TUART4_U4STA.setURXEN(thebits : TBits_1); inline;
  25205. begin
  25206. if thebits = 0 then
  25207. pTDefRegMap(@Self)^.clr := $00001000
  25208. else
  25209. pTDefRegMap(@Self)^.&set := $00001000;
  25210. end;
  25211. function TUART4_U4STA.getURXEN : TBits_1; inline;
  25212. begin
  25213. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25214. end;
  25215. procedure TUART4_U4STA.setUTXINV; inline;
  25216. begin
  25217. pTDefRegMap(@Self)^.&set := $00002000;
  25218. end;
  25219. procedure TUART4_U4STA.clearUTXINV; inline;
  25220. begin
  25221. pTDefRegMap(@Self)^.clr := $00002000;
  25222. end;
  25223. procedure TUART4_U4STA.setUTXINV(thebits : TBits_1); inline;
  25224. begin
  25225. if thebits = 0 then
  25226. pTDefRegMap(@Self)^.clr := $00002000
  25227. else
  25228. pTDefRegMap(@Self)^.&set := $00002000;
  25229. end;
  25230. function TUART4_U4STA.getUTXINV : TBits_1; inline;
  25231. begin
  25232. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25233. end;
  25234. procedure TUART4_U4STA.setUTXISEL(thebits : TBits_2); inline;
  25235. begin
  25236. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25237. end;
  25238. function TUART4_U4STA.getUTXISEL : TBits_2; inline;
  25239. begin
  25240. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25241. end;
  25242. procedure TUART4_U4STA.setADDR(thebits : TBits_8); inline;
  25243. begin
  25244. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  25245. end;
  25246. function TUART4_U4STA.getADDR : TBits_8; inline;
  25247. begin
  25248. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  25249. end;
  25250. procedure TUART4_U4STA.setADM_EN; inline;
  25251. begin
  25252. pTDefRegMap(@Self)^.&set := $01000000;
  25253. end;
  25254. procedure TUART4_U4STA.clearADM_EN; inline;
  25255. begin
  25256. pTDefRegMap(@Self)^.clr := $01000000;
  25257. end;
  25258. procedure TUART4_U4STA.setADM_EN(thebits : TBits_1); inline;
  25259. begin
  25260. if thebits = 0 then
  25261. pTDefRegMap(@Self)^.clr := $01000000
  25262. else
  25263. pTDefRegMap(@Self)^.&set := $01000000;
  25264. end;
  25265. function TUART4_U4STA.getADM_EN : TBits_1; inline;
  25266. begin
  25267. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25268. end;
  25269. procedure TUART4_U4STA.setURXISEL0; inline;
  25270. begin
  25271. pTDefRegMap(@Self)^.&set := $00000040;
  25272. end;
  25273. procedure TUART4_U4STA.clearURXISEL0; inline;
  25274. begin
  25275. pTDefRegMap(@Self)^.clr := $00000040;
  25276. end;
  25277. procedure TUART4_U4STA.setURXISEL0(thebits : TBits_1); inline;
  25278. begin
  25279. if thebits = 0 then
  25280. pTDefRegMap(@Self)^.clr := $00000040
  25281. else
  25282. pTDefRegMap(@Self)^.&set := $00000040;
  25283. end;
  25284. function TUART4_U4STA.getURXISEL0 : TBits_1; inline;
  25285. begin
  25286. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25287. end;
  25288. procedure TUART4_U4STA.setURXISEL1; inline;
  25289. begin
  25290. pTDefRegMap(@Self)^.&set := $00000080;
  25291. end;
  25292. procedure TUART4_U4STA.clearURXISEL1; inline;
  25293. begin
  25294. pTDefRegMap(@Self)^.clr := $00000080;
  25295. end;
  25296. procedure TUART4_U4STA.setURXISEL1(thebits : TBits_1); inline;
  25297. begin
  25298. if thebits = 0 then
  25299. pTDefRegMap(@Self)^.clr := $00000080
  25300. else
  25301. pTDefRegMap(@Self)^.&set := $00000080;
  25302. end;
  25303. function TUART4_U4STA.getURXISEL1 : TBits_1; inline;
  25304. begin
  25305. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25306. end;
  25307. procedure TUART4_U4STA.setUTXISEL0; inline;
  25308. begin
  25309. pTDefRegMap(@Self)^.&set := $00004000;
  25310. end;
  25311. procedure TUART4_U4STA.clearUTXISEL0; inline;
  25312. begin
  25313. pTDefRegMap(@Self)^.clr := $00004000;
  25314. end;
  25315. procedure TUART4_U4STA.setUTXISEL0(thebits : TBits_1); inline;
  25316. begin
  25317. if thebits = 0 then
  25318. pTDefRegMap(@Self)^.clr := $00004000
  25319. else
  25320. pTDefRegMap(@Self)^.&set := $00004000;
  25321. end;
  25322. function TUART4_U4STA.getUTXISEL0 : TBits_1; inline;
  25323. begin
  25324. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25325. end;
  25326. procedure TUART4_U4STA.setUTXISEL1; inline;
  25327. begin
  25328. pTDefRegMap(@Self)^.&set := $00008000;
  25329. end;
  25330. procedure TUART4_U4STA.clearUTXISEL1; inline;
  25331. begin
  25332. pTDefRegMap(@Self)^.clr := $00008000;
  25333. end;
  25334. procedure TUART4_U4STA.setUTXISEL1(thebits : TBits_1); inline;
  25335. begin
  25336. if thebits = 0 then
  25337. pTDefRegMap(@Self)^.clr := $00008000
  25338. else
  25339. pTDefRegMap(@Self)^.&set := $00008000;
  25340. end;
  25341. function TUART4_U4STA.getUTXISEL1 : TBits_1; inline;
  25342. begin
  25343. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25344. end;
  25345. procedure TUART4_U4STA.setUTXSEL(thebits : TBits_2); inline;
  25346. begin
  25347. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25348. end;
  25349. function TUART4_U4STA.getUTXSEL : TBits_2; inline;
  25350. begin
  25351. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25352. end;
  25353. procedure TUART4_U4STA.setw(thebits : TBits_32); inline;
  25354. begin
  25355. pTDefRegMap(@Self)^.val := thebits;
  25356. end;
  25357. function TUART4_U4STA.getw : TBits_32; inline;
  25358. begin
  25359. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25360. end;
  25361. procedure TUART4_UodSTA.setURXDA; inline;
  25362. begin
  25363. pTDefRegMap(@Self)^.&set := $00000001;
  25364. end;
  25365. procedure TUART4_UodSTA.clearURXDA; inline;
  25366. begin
  25367. pTDefRegMap(@Self)^.clr := $00000001;
  25368. end;
  25369. procedure TUART4_UodSTA.setURXDA(thebits : TBits_1); inline;
  25370. begin
  25371. if thebits = 0 then
  25372. pTDefRegMap(@Self)^.clr := $00000001
  25373. else
  25374. pTDefRegMap(@Self)^.&set := $00000001;
  25375. end;
  25376. function TUART4_UodSTA.getURXDA : TBits_1; inline;
  25377. begin
  25378. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25379. end;
  25380. procedure TUART4_UodSTA.setOERR; inline;
  25381. begin
  25382. pTDefRegMap(@Self)^.&set := $00000002;
  25383. end;
  25384. procedure TUART4_UodSTA.clearOERR; inline;
  25385. begin
  25386. pTDefRegMap(@Self)^.clr := $00000002;
  25387. end;
  25388. procedure TUART4_UodSTA.setOERR(thebits : TBits_1); inline;
  25389. begin
  25390. if thebits = 0 then
  25391. pTDefRegMap(@Self)^.clr := $00000002
  25392. else
  25393. pTDefRegMap(@Self)^.&set := $00000002;
  25394. end;
  25395. function TUART4_UodSTA.getOERR : TBits_1; inline;
  25396. begin
  25397. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25398. end;
  25399. procedure TUART4_UodSTA.setFERR; inline;
  25400. begin
  25401. pTDefRegMap(@Self)^.&set := $00000004;
  25402. end;
  25403. procedure TUART4_UodSTA.clearFERR; inline;
  25404. begin
  25405. pTDefRegMap(@Self)^.clr := $00000004;
  25406. end;
  25407. procedure TUART4_UodSTA.setFERR(thebits : TBits_1); inline;
  25408. begin
  25409. if thebits = 0 then
  25410. pTDefRegMap(@Self)^.clr := $00000004
  25411. else
  25412. pTDefRegMap(@Self)^.&set := $00000004;
  25413. end;
  25414. function TUART4_UodSTA.getFERR : TBits_1; inline;
  25415. begin
  25416. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25417. end;
  25418. procedure TUART4_UodSTA.setPERR; inline;
  25419. begin
  25420. pTDefRegMap(@Self)^.&set := $00000008;
  25421. end;
  25422. procedure TUART4_UodSTA.clearPERR; inline;
  25423. begin
  25424. pTDefRegMap(@Self)^.clr := $00000008;
  25425. end;
  25426. procedure TUART4_UodSTA.setPERR(thebits : TBits_1); inline;
  25427. begin
  25428. if thebits = 0 then
  25429. pTDefRegMap(@Self)^.clr := $00000008
  25430. else
  25431. pTDefRegMap(@Self)^.&set := $00000008;
  25432. end;
  25433. function TUART4_UodSTA.getPERR : TBits_1; inline;
  25434. begin
  25435. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25436. end;
  25437. procedure TUART4_UodSTA.setRIDLE; inline;
  25438. begin
  25439. pTDefRegMap(@Self)^.&set := $00000010;
  25440. end;
  25441. procedure TUART4_UodSTA.clearRIDLE; inline;
  25442. begin
  25443. pTDefRegMap(@Self)^.clr := $00000010;
  25444. end;
  25445. procedure TUART4_UodSTA.setRIDLE(thebits : TBits_1); inline;
  25446. begin
  25447. if thebits = 0 then
  25448. pTDefRegMap(@Self)^.clr := $00000010
  25449. else
  25450. pTDefRegMap(@Self)^.&set := $00000010;
  25451. end;
  25452. function TUART4_UodSTA.getRIDLE : TBits_1; inline;
  25453. begin
  25454. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25455. end;
  25456. procedure TUART4_UodSTA.setADDEN; inline;
  25457. begin
  25458. pTDefRegMap(@Self)^.&set := $00000020;
  25459. end;
  25460. procedure TUART4_UodSTA.clearADDEN; inline;
  25461. begin
  25462. pTDefRegMap(@Self)^.clr := $00000020;
  25463. end;
  25464. procedure TUART4_UodSTA.setADDEN(thebits : TBits_1); inline;
  25465. begin
  25466. if thebits = 0 then
  25467. pTDefRegMap(@Self)^.clr := $00000020
  25468. else
  25469. pTDefRegMap(@Self)^.&set := $00000020;
  25470. end;
  25471. function TUART4_UodSTA.getADDEN : TBits_1; inline;
  25472. begin
  25473. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25474. end;
  25475. procedure TUART4_UodSTA.setURXISEL(thebits : TBits_2); inline;
  25476. begin
  25477. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  25478. end;
  25479. function TUART4_UodSTA.getURXISEL : TBits_2; inline;
  25480. begin
  25481. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  25482. end;
  25483. procedure TUART4_UodSTA.setTRMT; inline;
  25484. begin
  25485. pTDefRegMap(@Self)^.&set := $00000100;
  25486. end;
  25487. procedure TUART4_UodSTA.clearTRMT; inline;
  25488. begin
  25489. pTDefRegMap(@Self)^.clr := $00000100;
  25490. end;
  25491. procedure TUART4_UodSTA.setTRMT(thebits : TBits_1); inline;
  25492. begin
  25493. if thebits = 0 then
  25494. pTDefRegMap(@Self)^.clr := $00000100
  25495. else
  25496. pTDefRegMap(@Self)^.&set := $00000100;
  25497. end;
  25498. function TUART4_UodSTA.getTRMT : TBits_1; inline;
  25499. begin
  25500. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25501. end;
  25502. procedure TUART4_UodSTA.setUTXBF; inline;
  25503. begin
  25504. pTDefRegMap(@Self)^.&set := $00000200;
  25505. end;
  25506. procedure TUART4_UodSTA.clearUTXBF; inline;
  25507. begin
  25508. pTDefRegMap(@Self)^.clr := $00000200;
  25509. end;
  25510. procedure TUART4_UodSTA.setUTXBF(thebits : TBits_1); inline;
  25511. begin
  25512. if thebits = 0 then
  25513. pTDefRegMap(@Self)^.clr := $00000200
  25514. else
  25515. pTDefRegMap(@Self)^.&set := $00000200;
  25516. end;
  25517. function TUART4_UodSTA.getUTXBF : TBits_1; inline;
  25518. begin
  25519. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25520. end;
  25521. procedure TUART4_UodSTA.setUTXEN; inline;
  25522. begin
  25523. pTDefRegMap(@Self)^.&set := $00000400;
  25524. end;
  25525. procedure TUART4_UodSTA.clearUTXEN; inline;
  25526. begin
  25527. pTDefRegMap(@Self)^.clr := $00000400;
  25528. end;
  25529. procedure TUART4_UodSTA.setUTXEN(thebits : TBits_1); inline;
  25530. begin
  25531. if thebits = 0 then
  25532. pTDefRegMap(@Self)^.clr := $00000400
  25533. else
  25534. pTDefRegMap(@Self)^.&set := $00000400;
  25535. end;
  25536. function TUART4_UodSTA.getUTXEN : TBits_1; inline;
  25537. begin
  25538. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25539. end;
  25540. procedure TUART4_UodSTA.setUTXBRK; inline;
  25541. begin
  25542. pTDefRegMap(@Self)^.&set := $00000800;
  25543. end;
  25544. procedure TUART4_UodSTA.clearUTXBRK; inline;
  25545. begin
  25546. pTDefRegMap(@Self)^.clr := $00000800;
  25547. end;
  25548. procedure TUART4_UodSTA.setUTXBRK(thebits : TBits_1); inline;
  25549. begin
  25550. if thebits = 0 then
  25551. pTDefRegMap(@Self)^.clr := $00000800
  25552. else
  25553. pTDefRegMap(@Self)^.&set := $00000800;
  25554. end;
  25555. function TUART4_UodSTA.getUTXBRK : TBits_1; inline;
  25556. begin
  25557. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25558. end;
  25559. procedure TUART4_UodSTA.setURXEN; inline;
  25560. begin
  25561. pTDefRegMap(@Self)^.&set := $00001000;
  25562. end;
  25563. procedure TUART4_UodSTA.clearURXEN; inline;
  25564. begin
  25565. pTDefRegMap(@Self)^.clr := $00001000;
  25566. end;
  25567. procedure TUART4_UodSTA.setURXEN(thebits : TBits_1); inline;
  25568. begin
  25569. if thebits = 0 then
  25570. pTDefRegMap(@Self)^.clr := $00001000
  25571. else
  25572. pTDefRegMap(@Self)^.&set := $00001000;
  25573. end;
  25574. function TUART4_UodSTA.getURXEN : TBits_1; inline;
  25575. begin
  25576. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25577. end;
  25578. procedure TUART4_UodSTA.setUTXINV; inline;
  25579. begin
  25580. pTDefRegMap(@Self)^.&set := $00002000;
  25581. end;
  25582. procedure TUART4_UodSTA.clearUTXINV; inline;
  25583. begin
  25584. pTDefRegMap(@Self)^.clr := $00002000;
  25585. end;
  25586. procedure TUART4_UodSTA.setUTXINV(thebits : TBits_1); inline;
  25587. begin
  25588. if thebits = 0 then
  25589. pTDefRegMap(@Self)^.clr := $00002000
  25590. else
  25591. pTDefRegMap(@Self)^.&set := $00002000;
  25592. end;
  25593. function TUART4_UodSTA.getUTXINV : TBits_1; inline;
  25594. begin
  25595. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25596. end;
  25597. procedure TUART4_UodSTA.setUTXISEL(thebits : TBits_2); inline;
  25598. begin
  25599. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25600. end;
  25601. function TUART4_UodSTA.getUTXISEL : TBits_2; inline;
  25602. begin
  25603. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25604. end;
  25605. procedure TUART4_UodSTA.setADDR(thebits : TBits_8); inline;
  25606. begin
  25607. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  25608. end;
  25609. function TUART4_UodSTA.getADDR : TBits_8; inline;
  25610. begin
  25611. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  25612. end;
  25613. procedure TUART4_UodSTA.setADM_EN; inline;
  25614. begin
  25615. pTDefRegMap(@Self)^.&set := $01000000;
  25616. end;
  25617. procedure TUART4_UodSTA.clearADM_EN; inline;
  25618. begin
  25619. pTDefRegMap(@Self)^.clr := $01000000;
  25620. end;
  25621. procedure TUART4_UodSTA.setADM_EN(thebits : TBits_1); inline;
  25622. begin
  25623. if thebits = 0 then
  25624. pTDefRegMap(@Self)^.clr := $01000000
  25625. else
  25626. pTDefRegMap(@Self)^.&set := $01000000;
  25627. end;
  25628. function TUART4_UodSTA.getADM_EN : TBits_1; inline;
  25629. begin
  25630. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25631. end;
  25632. procedure TUART4_UodSTA.setURXISEL0; inline;
  25633. begin
  25634. pTDefRegMap(@Self)^.&set := $00000040;
  25635. end;
  25636. procedure TUART4_UodSTA.clearURXISEL0; inline;
  25637. begin
  25638. pTDefRegMap(@Self)^.clr := $00000040;
  25639. end;
  25640. procedure TUART4_UodSTA.setURXISEL0(thebits : TBits_1); inline;
  25641. begin
  25642. if thebits = 0 then
  25643. pTDefRegMap(@Self)^.clr := $00000040
  25644. else
  25645. pTDefRegMap(@Self)^.&set := $00000040;
  25646. end;
  25647. function TUART4_UodSTA.getURXISEL0 : TBits_1; inline;
  25648. begin
  25649. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25650. end;
  25651. procedure TUART4_UodSTA.setURXISEL1; inline;
  25652. begin
  25653. pTDefRegMap(@Self)^.&set := $00000080;
  25654. end;
  25655. procedure TUART4_UodSTA.clearURXISEL1; inline;
  25656. begin
  25657. pTDefRegMap(@Self)^.clr := $00000080;
  25658. end;
  25659. procedure TUART4_UodSTA.setURXISEL1(thebits : TBits_1); inline;
  25660. begin
  25661. if thebits = 0 then
  25662. pTDefRegMap(@Self)^.clr := $00000080
  25663. else
  25664. pTDefRegMap(@Self)^.&set := $00000080;
  25665. end;
  25666. function TUART4_UodSTA.getURXISEL1 : TBits_1; inline;
  25667. begin
  25668. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25669. end;
  25670. procedure TUART4_UodSTA.setUTXISEL0; inline;
  25671. begin
  25672. pTDefRegMap(@Self)^.&set := $00004000;
  25673. end;
  25674. procedure TUART4_UodSTA.clearUTXISEL0; inline;
  25675. begin
  25676. pTDefRegMap(@Self)^.clr := $00004000;
  25677. end;
  25678. procedure TUART4_UodSTA.setUTXISEL0(thebits : TBits_1); inline;
  25679. begin
  25680. if thebits = 0 then
  25681. pTDefRegMap(@Self)^.clr := $00004000
  25682. else
  25683. pTDefRegMap(@Self)^.&set := $00004000;
  25684. end;
  25685. function TUART4_UodSTA.getUTXISEL0 : TBits_1; inline;
  25686. begin
  25687. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25688. end;
  25689. procedure TUART4_UodSTA.setUTXISEL1; inline;
  25690. begin
  25691. pTDefRegMap(@Self)^.&set := $00008000;
  25692. end;
  25693. procedure TUART4_UodSTA.clearUTXISEL1; inline;
  25694. begin
  25695. pTDefRegMap(@Self)^.clr := $00008000;
  25696. end;
  25697. procedure TUART4_UodSTA.setUTXISEL1(thebits : TBits_1); inline;
  25698. begin
  25699. if thebits = 0 then
  25700. pTDefRegMap(@Self)^.clr := $00008000
  25701. else
  25702. pTDefRegMap(@Self)^.&set := $00008000;
  25703. end;
  25704. function TUART4_UodSTA.getUTXISEL1 : TBits_1; inline;
  25705. begin
  25706. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25707. end;
  25708. procedure TUART4_UodSTA.setUTXSEL(thebits : TBits_2); inline;
  25709. begin
  25710. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25711. end;
  25712. function TUART4_UodSTA.getUTXSEL : TBits_2; inline;
  25713. begin
  25714. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25715. end;
  25716. procedure TUART4_UodSTA.setw(thebits : TBits_32); inline;
  25717. begin
  25718. pTDefRegMap(@Self)^.val := thebits;
  25719. end;
  25720. function TUART4_UodSTA.getw : TBits_32; inline;
  25721. begin
  25722. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25723. end;
  25724. procedure TPMP_PMCON.setRDSP; inline;
  25725. begin
  25726. pTDefRegMap(@Self)^.&set := $00000001;
  25727. end;
  25728. procedure TPMP_PMCON.clearRDSP; inline;
  25729. begin
  25730. pTDefRegMap(@Self)^.clr := $00000001;
  25731. end;
  25732. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  25733. begin
  25734. if thebits = 0 then
  25735. pTDefRegMap(@Self)^.clr := $00000001
  25736. else
  25737. pTDefRegMap(@Self)^.&set := $00000001;
  25738. end;
  25739. function TPMP_PMCON.getRDSP : TBits_1; inline;
  25740. begin
  25741. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25742. end;
  25743. procedure TPMP_PMCON.setWRSP; inline;
  25744. begin
  25745. pTDefRegMap(@Self)^.&set := $00000002;
  25746. end;
  25747. procedure TPMP_PMCON.clearWRSP; inline;
  25748. begin
  25749. pTDefRegMap(@Self)^.clr := $00000002;
  25750. end;
  25751. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  25752. begin
  25753. if thebits = 0 then
  25754. pTDefRegMap(@Self)^.clr := $00000002
  25755. else
  25756. pTDefRegMap(@Self)^.&set := $00000002;
  25757. end;
  25758. function TPMP_PMCON.getWRSP : TBits_1; inline;
  25759. begin
  25760. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25761. end;
  25762. procedure TPMP_PMCON.setCS1P; inline;
  25763. begin
  25764. pTDefRegMap(@Self)^.&set := $00000008;
  25765. end;
  25766. procedure TPMP_PMCON.clearCS1P; inline;
  25767. begin
  25768. pTDefRegMap(@Self)^.clr := $00000008;
  25769. end;
  25770. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  25771. begin
  25772. if thebits = 0 then
  25773. pTDefRegMap(@Self)^.clr := $00000008
  25774. else
  25775. pTDefRegMap(@Self)^.&set := $00000008;
  25776. end;
  25777. function TPMP_PMCON.getCS1P : TBits_1; inline;
  25778. begin
  25779. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25780. end;
  25781. procedure TPMP_PMCON.setCS2P; inline;
  25782. begin
  25783. pTDefRegMap(@Self)^.&set := $00000010;
  25784. end;
  25785. procedure TPMP_PMCON.clearCS2P; inline;
  25786. begin
  25787. pTDefRegMap(@Self)^.clr := $00000010;
  25788. end;
  25789. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  25790. begin
  25791. if thebits = 0 then
  25792. pTDefRegMap(@Self)^.clr := $00000010
  25793. else
  25794. pTDefRegMap(@Self)^.&set := $00000010;
  25795. end;
  25796. function TPMP_PMCON.getCS2P : TBits_1; inline;
  25797. begin
  25798. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25799. end;
  25800. procedure TPMP_PMCON.setALP; inline;
  25801. begin
  25802. pTDefRegMap(@Self)^.&set := $00000020;
  25803. end;
  25804. procedure TPMP_PMCON.clearALP; inline;
  25805. begin
  25806. pTDefRegMap(@Self)^.clr := $00000020;
  25807. end;
  25808. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  25809. begin
  25810. if thebits = 0 then
  25811. pTDefRegMap(@Self)^.clr := $00000020
  25812. else
  25813. pTDefRegMap(@Self)^.&set := $00000020;
  25814. end;
  25815. function TPMP_PMCON.getALP : TBits_1; inline;
  25816. begin
  25817. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25818. end;
  25819. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  25820. begin
  25821. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  25822. end;
  25823. function TPMP_PMCON.getCSF : TBits_2; inline;
  25824. begin
  25825. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  25826. end;
  25827. procedure TPMP_PMCON.setPTRDEN; inline;
  25828. begin
  25829. pTDefRegMap(@Self)^.&set := $00000100;
  25830. end;
  25831. procedure TPMP_PMCON.clearPTRDEN; inline;
  25832. begin
  25833. pTDefRegMap(@Self)^.clr := $00000100;
  25834. end;
  25835. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  25836. begin
  25837. if thebits = 0 then
  25838. pTDefRegMap(@Self)^.clr := $00000100
  25839. else
  25840. pTDefRegMap(@Self)^.&set := $00000100;
  25841. end;
  25842. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  25843. begin
  25844. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25845. end;
  25846. procedure TPMP_PMCON.setPTWREN; inline;
  25847. begin
  25848. pTDefRegMap(@Self)^.&set := $00000200;
  25849. end;
  25850. procedure TPMP_PMCON.clearPTWREN; inline;
  25851. begin
  25852. pTDefRegMap(@Self)^.clr := $00000200;
  25853. end;
  25854. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  25855. begin
  25856. if thebits = 0 then
  25857. pTDefRegMap(@Self)^.clr := $00000200
  25858. else
  25859. pTDefRegMap(@Self)^.&set := $00000200;
  25860. end;
  25861. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  25862. begin
  25863. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25864. end;
  25865. procedure TPMP_PMCON.setPMPTTL; inline;
  25866. begin
  25867. pTDefRegMap(@Self)^.&set := $00000400;
  25868. end;
  25869. procedure TPMP_PMCON.clearPMPTTL; inline;
  25870. begin
  25871. pTDefRegMap(@Self)^.clr := $00000400;
  25872. end;
  25873. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  25874. begin
  25875. if thebits = 0 then
  25876. pTDefRegMap(@Self)^.clr := $00000400
  25877. else
  25878. pTDefRegMap(@Self)^.&set := $00000400;
  25879. end;
  25880. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  25881. begin
  25882. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25883. end;
  25884. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  25885. begin
  25886. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  25887. end;
  25888. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  25889. begin
  25890. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  25891. end;
  25892. procedure TPMP_PMCON.setSIDL; inline;
  25893. begin
  25894. pTDefRegMap(@Self)^.&set := $00002000;
  25895. end;
  25896. procedure TPMP_PMCON.clearSIDL; inline;
  25897. begin
  25898. pTDefRegMap(@Self)^.clr := $00002000;
  25899. end;
  25900. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  25901. begin
  25902. if thebits = 0 then
  25903. pTDefRegMap(@Self)^.clr := $00002000
  25904. else
  25905. pTDefRegMap(@Self)^.&set := $00002000;
  25906. end;
  25907. function TPMP_PMCON.getSIDL : TBits_1; inline;
  25908. begin
  25909. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25910. end;
  25911. procedure TPMP_PMCON.setON; inline;
  25912. begin
  25913. pTDefRegMap(@Self)^.&set := $00008000;
  25914. end;
  25915. procedure TPMP_PMCON.clearON; inline;
  25916. begin
  25917. pTDefRegMap(@Self)^.clr := $00008000;
  25918. end;
  25919. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  25920. begin
  25921. if thebits = 0 then
  25922. pTDefRegMap(@Self)^.clr := $00008000
  25923. else
  25924. pTDefRegMap(@Self)^.&set := $00008000;
  25925. end;
  25926. function TPMP_PMCON.getON : TBits_1; inline;
  25927. begin
  25928. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25929. end;
  25930. procedure TPMP_PMCON.setCSF0; inline;
  25931. begin
  25932. pTDefRegMap(@Self)^.&set := $00000040;
  25933. end;
  25934. procedure TPMP_PMCON.clearCSF0; inline;
  25935. begin
  25936. pTDefRegMap(@Self)^.clr := $00000040;
  25937. end;
  25938. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  25939. begin
  25940. if thebits = 0 then
  25941. pTDefRegMap(@Self)^.clr := $00000040
  25942. else
  25943. pTDefRegMap(@Self)^.&set := $00000040;
  25944. end;
  25945. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  25946. begin
  25947. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25948. end;
  25949. procedure TPMP_PMCON.setCSF1; inline;
  25950. begin
  25951. pTDefRegMap(@Self)^.&set := $00000080;
  25952. end;
  25953. procedure TPMP_PMCON.clearCSF1; inline;
  25954. begin
  25955. pTDefRegMap(@Self)^.clr := $00000080;
  25956. end;
  25957. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  25958. begin
  25959. if thebits = 0 then
  25960. pTDefRegMap(@Self)^.clr := $00000080
  25961. else
  25962. pTDefRegMap(@Self)^.&set := $00000080;
  25963. end;
  25964. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  25965. begin
  25966. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25967. end;
  25968. procedure TPMP_PMCON.setADRMUX0; inline;
  25969. begin
  25970. pTDefRegMap(@Self)^.&set := $00000800;
  25971. end;
  25972. procedure TPMP_PMCON.clearADRMUX0; inline;
  25973. begin
  25974. pTDefRegMap(@Self)^.clr := $00000800;
  25975. end;
  25976. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  25977. begin
  25978. if thebits = 0 then
  25979. pTDefRegMap(@Self)^.clr := $00000800
  25980. else
  25981. pTDefRegMap(@Self)^.&set := $00000800;
  25982. end;
  25983. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  25984. begin
  25985. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25986. end;
  25987. procedure TPMP_PMCON.setADRMUX1; inline;
  25988. begin
  25989. pTDefRegMap(@Self)^.&set := $00001000;
  25990. end;
  25991. procedure TPMP_PMCON.clearADRMUX1; inline;
  25992. begin
  25993. pTDefRegMap(@Self)^.clr := $00001000;
  25994. end;
  25995. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  25996. begin
  25997. if thebits = 0 then
  25998. pTDefRegMap(@Self)^.clr := $00001000
  25999. else
  26000. pTDefRegMap(@Self)^.&set := $00001000;
  26001. end;
  26002. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  26003. begin
  26004. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26005. end;
  26006. procedure TPMP_PMCON.setPSIDL; inline;
  26007. begin
  26008. pTDefRegMap(@Self)^.&set := $00002000;
  26009. end;
  26010. procedure TPMP_PMCON.clearPSIDL; inline;
  26011. begin
  26012. pTDefRegMap(@Self)^.clr := $00002000;
  26013. end;
  26014. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  26015. begin
  26016. if thebits = 0 then
  26017. pTDefRegMap(@Self)^.clr := $00002000
  26018. else
  26019. pTDefRegMap(@Self)^.&set := $00002000;
  26020. end;
  26021. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  26022. begin
  26023. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26024. end;
  26025. procedure TPMP_PMCON.setPMPEN; inline;
  26026. begin
  26027. pTDefRegMap(@Self)^.&set := $00008000;
  26028. end;
  26029. procedure TPMP_PMCON.clearPMPEN; inline;
  26030. begin
  26031. pTDefRegMap(@Self)^.clr := $00008000;
  26032. end;
  26033. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  26034. begin
  26035. if thebits = 0 then
  26036. pTDefRegMap(@Self)^.clr := $00008000
  26037. else
  26038. pTDefRegMap(@Self)^.&set := $00008000;
  26039. end;
  26040. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  26041. begin
  26042. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26043. end;
  26044. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  26045. begin
  26046. pTDefRegMap(@Self)^.val := thebits;
  26047. end;
  26048. function TPMP_PMCON.getw : TBits_32; inline;
  26049. begin
  26050. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26051. end;
  26052. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  26053. begin
  26054. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  26055. end;
  26056. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  26057. begin
  26058. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  26059. end;
  26060. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  26061. begin
  26062. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  26063. end;
  26064. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  26065. begin
  26066. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  26067. end;
  26068. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  26069. begin
  26070. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  26071. end;
  26072. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  26073. begin
  26074. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  26075. end;
  26076. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  26077. begin
  26078. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  26079. end;
  26080. function TPMP_PMMODE.getMODE : TBits_2; inline;
  26081. begin
  26082. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  26083. end;
  26084. procedure TPMP_PMMODE.setMODE16; inline;
  26085. begin
  26086. pTDefRegMap(@Self)^.&set := $00000400;
  26087. end;
  26088. procedure TPMP_PMMODE.clearMODE16; inline;
  26089. begin
  26090. pTDefRegMap(@Self)^.clr := $00000400;
  26091. end;
  26092. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  26093. begin
  26094. if thebits = 0 then
  26095. pTDefRegMap(@Self)^.clr := $00000400
  26096. else
  26097. pTDefRegMap(@Self)^.&set := $00000400;
  26098. end;
  26099. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  26100. begin
  26101. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26102. end;
  26103. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  26104. begin
  26105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  26106. end;
  26107. function TPMP_PMMODE.getINCM : TBits_2; inline;
  26108. begin
  26109. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  26110. end;
  26111. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  26112. begin
  26113. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  26114. end;
  26115. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  26116. begin
  26117. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  26118. end;
  26119. procedure TPMP_PMMODE.setBUSY; inline;
  26120. begin
  26121. pTDefRegMap(@Self)^.&set := $00008000;
  26122. end;
  26123. procedure TPMP_PMMODE.clearBUSY; inline;
  26124. begin
  26125. pTDefRegMap(@Self)^.clr := $00008000;
  26126. end;
  26127. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  26128. begin
  26129. if thebits = 0 then
  26130. pTDefRegMap(@Self)^.clr := $00008000
  26131. else
  26132. pTDefRegMap(@Self)^.&set := $00008000;
  26133. end;
  26134. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  26135. begin
  26136. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26137. end;
  26138. procedure TPMP_PMMODE.setWAITE0; inline;
  26139. begin
  26140. pTDefRegMap(@Self)^.&set := $00000001;
  26141. end;
  26142. procedure TPMP_PMMODE.clearWAITE0; inline;
  26143. begin
  26144. pTDefRegMap(@Self)^.clr := $00000001;
  26145. end;
  26146. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  26147. begin
  26148. if thebits = 0 then
  26149. pTDefRegMap(@Self)^.clr := $00000001
  26150. else
  26151. pTDefRegMap(@Self)^.&set := $00000001;
  26152. end;
  26153. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  26154. begin
  26155. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26156. end;
  26157. procedure TPMP_PMMODE.setWAITE1; inline;
  26158. begin
  26159. pTDefRegMap(@Self)^.&set := $00000002;
  26160. end;
  26161. procedure TPMP_PMMODE.clearWAITE1; inline;
  26162. begin
  26163. pTDefRegMap(@Self)^.clr := $00000002;
  26164. end;
  26165. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  26166. begin
  26167. if thebits = 0 then
  26168. pTDefRegMap(@Self)^.clr := $00000002
  26169. else
  26170. pTDefRegMap(@Self)^.&set := $00000002;
  26171. end;
  26172. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  26173. begin
  26174. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26175. end;
  26176. procedure TPMP_PMMODE.setWAITM0; inline;
  26177. begin
  26178. pTDefRegMap(@Self)^.&set := $00000004;
  26179. end;
  26180. procedure TPMP_PMMODE.clearWAITM0; inline;
  26181. begin
  26182. pTDefRegMap(@Self)^.clr := $00000004;
  26183. end;
  26184. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  26185. begin
  26186. if thebits = 0 then
  26187. pTDefRegMap(@Self)^.clr := $00000004
  26188. else
  26189. pTDefRegMap(@Self)^.&set := $00000004;
  26190. end;
  26191. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  26192. begin
  26193. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26194. end;
  26195. procedure TPMP_PMMODE.setWAITM1; inline;
  26196. begin
  26197. pTDefRegMap(@Self)^.&set := $00000008;
  26198. end;
  26199. procedure TPMP_PMMODE.clearWAITM1; inline;
  26200. begin
  26201. pTDefRegMap(@Self)^.clr := $00000008;
  26202. end;
  26203. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  26204. begin
  26205. if thebits = 0 then
  26206. pTDefRegMap(@Self)^.clr := $00000008
  26207. else
  26208. pTDefRegMap(@Self)^.&set := $00000008;
  26209. end;
  26210. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  26211. begin
  26212. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26213. end;
  26214. procedure TPMP_PMMODE.setWAITM2; inline;
  26215. begin
  26216. pTDefRegMap(@Self)^.&set := $00000010;
  26217. end;
  26218. procedure TPMP_PMMODE.clearWAITM2; inline;
  26219. begin
  26220. pTDefRegMap(@Self)^.clr := $00000010;
  26221. end;
  26222. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  26223. begin
  26224. if thebits = 0 then
  26225. pTDefRegMap(@Self)^.clr := $00000010
  26226. else
  26227. pTDefRegMap(@Self)^.&set := $00000010;
  26228. end;
  26229. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  26230. begin
  26231. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26232. end;
  26233. procedure TPMP_PMMODE.setWAITM3; inline;
  26234. begin
  26235. pTDefRegMap(@Self)^.&set := $00000020;
  26236. end;
  26237. procedure TPMP_PMMODE.clearWAITM3; inline;
  26238. begin
  26239. pTDefRegMap(@Self)^.clr := $00000020;
  26240. end;
  26241. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  26242. begin
  26243. if thebits = 0 then
  26244. pTDefRegMap(@Self)^.clr := $00000020
  26245. else
  26246. pTDefRegMap(@Self)^.&set := $00000020;
  26247. end;
  26248. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  26249. begin
  26250. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26251. end;
  26252. procedure TPMP_PMMODE.setWAITB0; inline;
  26253. begin
  26254. pTDefRegMap(@Self)^.&set := $00000040;
  26255. end;
  26256. procedure TPMP_PMMODE.clearWAITB0; inline;
  26257. begin
  26258. pTDefRegMap(@Self)^.clr := $00000040;
  26259. end;
  26260. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  26261. begin
  26262. if thebits = 0 then
  26263. pTDefRegMap(@Self)^.clr := $00000040
  26264. else
  26265. pTDefRegMap(@Self)^.&set := $00000040;
  26266. end;
  26267. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  26268. begin
  26269. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26270. end;
  26271. procedure TPMP_PMMODE.setWAITB1; inline;
  26272. begin
  26273. pTDefRegMap(@Self)^.&set := $00000080;
  26274. end;
  26275. procedure TPMP_PMMODE.clearWAITB1; inline;
  26276. begin
  26277. pTDefRegMap(@Self)^.clr := $00000080;
  26278. end;
  26279. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  26280. begin
  26281. if thebits = 0 then
  26282. pTDefRegMap(@Self)^.clr := $00000080
  26283. else
  26284. pTDefRegMap(@Self)^.&set := $00000080;
  26285. end;
  26286. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  26287. begin
  26288. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26289. end;
  26290. procedure TPMP_PMMODE.setMODE0; inline;
  26291. begin
  26292. pTDefRegMap(@Self)^.&set := $00000100;
  26293. end;
  26294. procedure TPMP_PMMODE.clearMODE0; inline;
  26295. begin
  26296. pTDefRegMap(@Self)^.clr := $00000100;
  26297. end;
  26298. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  26299. begin
  26300. if thebits = 0 then
  26301. pTDefRegMap(@Self)^.clr := $00000100
  26302. else
  26303. pTDefRegMap(@Self)^.&set := $00000100;
  26304. end;
  26305. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  26306. begin
  26307. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26308. end;
  26309. procedure TPMP_PMMODE.setMODE1; inline;
  26310. begin
  26311. pTDefRegMap(@Self)^.&set := $00000200;
  26312. end;
  26313. procedure TPMP_PMMODE.clearMODE1; inline;
  26314. begin
  26315. pTDefRegMap(@Self)^.clr := $00000200;
  26316. end;
  26317. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  26318. begin
  26319. if thebits = 0 then
  26320. pTDefRegMap(@Self)^.clr := $00000200
  26321. else
  26322. pTDefRegMap(@Self)^.&set := $00000200;
  26323. end;
  26324. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  26325. begin
  26326. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26327. end;
  26328. procedure TPMP_PMMODE.setINCM0; inline;
  26329. begin
  26330. pTDefRegMap(@Self)^.&set := $00000800;
  26331. end;
  26332. procedure TPMP_PMMODE.clearINCM0; inline;
  26333. begin
  26334. pTDefRegMap(@Self)^.clr := $00000800;
  26335. end;
  26336. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  26337. begin
  26338. if thebits = 0 then
  26339. pTDefRegMap(@Self)^.clr := $00000800
  26340. else
  26341. pTDefRegMap(@Self)^.&set := $00000800;
  26342. end;
  26343. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  26344. begin
  26345. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26346. end;
  26347. procedure TPMP_PMMODE.setINCM1; inline;
  26348. begin
  26349. pTDefRegMap(@Self)^.&set := $00001000;
  26350. end;
  26351. procedure TPMP_PMMODE.clearINCM1; inline;
  26352. begin
  26353. pTDefRegMap(@Self)^.clr := $00001000;
  26354. end;
  26355. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  26356. begin
  26357. if thebits = 0 then
  26358. pTDefRegMap(@Self)^.clr := $00001000
  26359. else
  26360. pTDefRegMap(@Self)^.&set := $00001000;
  26361. end;
  26362. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  26363. begin
  26364. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26365. end;
  26366. procedure TPMP_PMMODE.setIRQM0; inline;
  26367. begin
  26368. pTDefRegMap(@Self)^.&set := $00002000;
  26369. end;
  26370. procedure TPMP_PMMODE.clearIRQM0; inline;
  26371. begin
  26372. pTDefRegMap(@Self)^.clr := $00002000;
  26373. end;
  26374. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  26375. begin
  26376. if thebits = 0 then
  26377. pTDefRegMap(@Self)^.clr := $00002000
  26378. else
  26379. pTDefRegMap(@Self)^.&set := $00002000;
  26380. end;
  26381. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  26382. begin
  26383. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26384. end;
  26385. procedure TPMP_PMMODE.setIRQM1; inline;
  26386. begin
  26387. pTDefRegMap(@Self)^.&set := $00004000;
  26388. end;
  26389. procedure TPMP_PMMODE.clearIRQM1; inline;
  26390. begin
  26391. pTDefRegMap(@Self)^.clr := $00004000;
  26392. end;
  26393. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  26394. begin
  26395. if thebits = 0 then
  26396. pTDefRegMap(@Self)^.clr := $00004000
  26397. else
  26398. pTDefRegMap(@Self)^.&set := $00004000;
  26399. end;
  26400. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  26401. begin
  26402. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26403. end;
  26404. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  26405. begin
  26406. pTDefRegMap(@Self)^.val := thebits;
  26407. end;
  26408. function TPMP_PMMODE.getw : TBits_32; inline;
  26409. begin
  26410. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26411. end;
  26412. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  26413. begin
  26414. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  26415. end;
  26416. function TPMP_PMADDR.getADDR : TBits_14; inline;
  26417. begin
  26418. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  26419. end;
  26420. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  26421. begin
  26422. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  26423. end;
  26424. function TPMP_PMADDR.getCS : TBits_2; inline;
  26425. begin
  26426. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  26427. end;
  26428. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  26429. begin
  26430. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  26431. end;
  26432. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  26433. begin
  26434. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  26435. end;
  26436. procedure TPMP_PMADDR.setCS1; inline;
  26437. begin
  26438. pTDefRegMap(@Self)^.&set := $00004000;
  26439. end;
  26440. procedure TPMP_PMADDR.clearCS1; inline;
  26441. begin
  26442. pTDefRegMap(@Self)^.clr := $00004000;
  26443. end;
  26444. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  26445. begin
  26446. if thebits = 0 then
  26447. pTDefRegMap(@Self)^.clr := $00004000
  26448. else
  26449. pTDefRegMap(@Self)^.&set := $00004000;
  26450. end;
  26451. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  26452. begin
  26453. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26454. end;
  26455. procedure TPMP_PMADDR.setCS2; inline;
  26456. begin
  26457. pTDefRegMap(@Self)^.&set := $00008000;
  26458. end;
  26459. procedure TPMP_PMADDR.clearCS2; inline;
  26460. begin
  26461. pTDefRegMap(@Self)^.clr := $00008000;
  26462. end;
  26463. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  26464. begin
  26465. if thebits = 0 then
  26466. pTDefRegMap(@Self)^.clr := $00008000
  26467. else
  26468. pTDefRegMap(@Self)^.&set := $00008000;
  26469. end;
  26470. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  26471. begin
  26472. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26473. end;
  26474. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  26475. begin
  26476. pTDefRegMap(@Self)^.val := thebits;
  26477. end;
  26478. function TPMP_PMADDR.getw : TBits_32; inline;
  26479. begin
  26480. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26481. end;
  26482. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  26483. begin
  26484. pTDefRegMap(@Self)^.val := thebits;
  26485. end;
  26486. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  26487. begin
  26488. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26489. end;
  26490. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  26491. begin
  26492. pTDefRegMap(@Self)^.val := thebits;
  26493. end;
  26494. function TPMP_PMDOUT.getw : TBits_32; inline;
  26495. begin
  26496. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26497. end;
  26498. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  26499. begin
  26500. pTDefRegMap(@Self)^.val := thebits;
  26501. end;
  26502. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  26503. begin
  26504. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26505. end;
  26506. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  26507. begin
  26508. pTDefRegMap(@Self)^.val := thebits;
  26509. end;
  26510. function TPMP_PMDIN.getw : TBits_32; inline;
  26511. begin
  26512. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26513. end;
  26514. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  26515. begin
  26516. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  26517. end;
  26518. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  26519. begin
  26520. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  26521. end;
  26522. procedure TPMP_PMAEN.setPTEN0; inline;
  26523. begin
  26524. pTDefRegMap(@Self)^.&set := $00000001;
  26525. end;
  26526. procedure TPMP_PMAEN.clearPTEN0; inline;
  26527. begin
  26528. pTDefRegMap(@Self)^.clr := $00000001;
  26529. end;
  26530. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  26531. begin
  26532. if thebits = 0 then
  26533. pTDefRegMap(@Self)^.clr := $00000001
  26534. else
  26535. pTDefRegMap(@Self)^.&set := $00000001;
  26536. end;
  26537. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  26538. begin
  26539. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26540. end;
  26541. procedure TPMP_PMAEN.setPTEN1; inline;
  26542. begin
  26543. pTDefRegMap(@Self)^.&set := $00000002;
  26544. end;
  26545. procedure TPMP_PMAEN.clearPTEN1; inline;
  26546. begin
  26547. pTDefRegMap(@Self)^.clr := $00000002;
  26548. end;
  26549. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  26550. begin
  26551. if thebits = 0 then
  26552. pTDefRegMap(@Self)^.clr := $00000002
  26553. else
  26554. pTDefRegMap(@Self)^.&set := $00000002;
  26555. end;
  26556. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  26557. begin
  26558. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26559. end;
  26560. procedure TPMP_PMAEN.setPTEN2; inline;
  26561. begin
  26562. pTDefRegMap(@Self)^.&set := $00000004;
  26563. end;
  26564. procedure TPMP_PMAEN.clearPTEN2; inline;
  26565. begin
  26566. pTDefRegMap(@Self)^.clr := $00000004;
  26567. end;
  26568. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  26569. begin
  26570. if thebits = 0 then
  26571. pTDefRegMap(@Self)^.clr := $00000004
  26572. else
  26573. pTDefRegMap(@Self)^.&set := $00000004;
  26574. end;
  26575. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  26576. begin
  26577. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26578. end;
  26579. procedure TPMP_PMAEN.setPTEN3; inline;
  26580. begin
  26581. pTDefRegMap(@Self)^.&set := $00000008;
  26582. end;
  26583. procedure TPMP_PMAEN.clearPTEN3; inline;
  26584. begin
  26585. pTDefRegMap(@Self)^.clr := $00000008;
  26586. end;
  26587. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  26588. begin
  26589. if thebits = 0 then
  26590. pTDefRegMap(@Self)^.clr := $00000008
  26591. else
  26592. pTDefRegMap(@Self)^.&set := $00000008;
  26593. end;
  26594. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  26595. begin
  26596. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26597. end;
  26598. procedure TPMP_PMAEN.setPTEN4; inline;
  26599. begin
  26600. pTDefRegMap(@Self)^.&set := $00000010;
  26601. end;
  26602. procedure TPMP_PMAEN.clearPTEN4; inline;
  26603. begin
  26604. pTDefRegMap(@Self)^.clr := $00000010;
  26605. end;
  26606. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  26607. begin
  26608. if thebits = 0 then
  26609. pTDefRegMap(@Self)^.clr := $00000010
  26610. else
  26611. pTDefRegMap(@Self)^.&set := $00000010;
  26612. end;
  26613. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  26614. begin
  26615. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26616. end;
  26617. procedure TPMP_PMAEN.setPTEN5; inline;
  26618. begin
  26619. pTDefRegMap(@Self)^.&set := $00000020;
  26620. end;
  26621. procedure TPMP_PMAEN.clearPTEN5; inline;
  26622. begin
  26623. pTDefRegMap(@Self)^.clr := $00000020;
  26624. end;
  26625. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  26626. begin
  26627. if thebits = 0 then
  26628. pTDefRegMap(@Self)^.clr := $00000020
  26629. else
  26630. pTDefRegMap(@Self)^.&set := $00000020;
  26631. end;
  26632. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  26633. begin
  26634. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26635. end;
  26636. procedure TPMP_PMAEN.setPTEN6; inline;
  26637. begin
  26638. pTDefRegMap(@Self)^.&set := $00000040;
  26639. end;
  26640. procedure TPMP_PMAEN.clearPTEN6; inline;
  26641. begin
  26642. pTDefRegMap(@Self)^.clr := $00000040;
  26643. end;
  26644. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  26645. begin
  26646. if thebits = 0 then
  26647. pTDefRegMap(@Self)^.clr := $00000040
  26648. else
  26649. pTDefRegMap(@Self)^.&set := $00000040;
  26650. end;
  26651. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  26652. begin
  26653. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26654. end;
  26655. procedure TPMP_PMAEN.setPTEN7; inline;
  26656. begin
  26657. pTDefRegMap(@Self)^.&set := $00000080;
  26658. end;
  26659. procedure TPMP_PMAEN.clearPTEN7; inline;
  26660. begin
  26661. pTDefRegMap(@Self)^.clr := $00000080;
  26662. end;
  26663. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  26664. begin
  26665. if thebits = 0 then
  26666. pTDefRegMap(@Self)^.clr := $00000080
  26667. else
  26668. pTDefRegMap(@Self)^.&set := $00000080;
  26669. end;
  26670. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  26671. begin
  26672. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26673. end;
  26674. procedure TPMP_PMAEN.setPTEN8; inline;
  26675. begin
  26676. pTDefRegMap(@Self)^.&set := $00000100;
  26677. end;
  26678. procedure TPMP_PMAEN.clearPTEN8; inline;
  26679. begin
  26680. pTDefRegMap(@Self)^.clr := $00000100;
  26681. end;
  26682. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  26683. begin
  26684. if thebits = 0 then
  26685. pTDefRegMap(@Self)^.clr := $00000100
  26686. else
  26687. pTDefRegMap(@Self)^.&set := $00000100;
  26688. end;
  26689. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  26690. begin
  26691. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26692. end;
  26693. procedure TPMP_PMAEN.setPTEN9; inline;
  26694. begin
  26695. pTDefRegMap(@Self)^.&set := $00000200;
  26696. end;
  26697. procedure TPMP_PMAEN.clearPTEN9; inline;
  26698. begin
  26699. pTDefRegMap(@Self)^.clr := $00000200;
  26700. end;
  26701. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  26702. begin
  26703. if thebits = 0 then
  26704. pTDefRegMap(@Self)^.clr := $00000200
  26705. else
  26706. pTDefRegMap(@Self)^.&set := $00000200;
  26707. end;
  26708. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  26709. begin
  26710. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26711. end;
  26712. procedure TPMP_PMAEN.setPTEN10; inline;
  26713. begin
  26714. pTDefRegMap(@Self)^.&set := $00000400;
  26715. end;
  26716. procedure TPMP_PMAEN.clearPTEN10; inline;
  26717. begin
  26718. pTDefRegMap(@Self)^.clr := $00000400;
  26719. end;
  26720. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  26721. begin
  26722. if thebits = 0 then
  26723. pTDefRegMap(@Self)^.clr := $00000400
  26724. else
  26725. pTDefRegMap(@Self)^.&set := $00000400;
  26726. end;
  26727. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  26728. begin
  26729. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26730. end;
  26731. procedure TPMP_PMAEN.setPTEN11; inline;
  26732. begin
  26733. pTDefRegMap(@Self)^.&set := $00000800;
  26734. end;
  26735. procedure TPMP_PMAEN.clearPTEN11; inline;
  26736. begin
  26737. pTDefRegMap(@Self)^.clr := $00000800;
  26738. end;
  26739. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  26740. begin
  26741. if thebits = 0 then
  26742. pTDefRegMap(@Self)^.clr := $00000800
  26743. else
  26744. pTDefRegMap(@Self)^.&set := $00000800;
  26745. end;
  26746. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  26747. begin
  26748. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26749. end;
  26750. procedure TPMP_PMAEN.setPTEN12; inline;
  26751. begin
  26752. pTDefRegMap(@Self)^.&set := $00001000;
  26753. end;
  26754. procedure TPMP_PMAEN.clearPTEN12; inline;
  26755. begin
  26756. pTDefRegMap(@Self)^.clr := $00001000;
  26757. end;
  26758. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  26759. begin
  26760. if thebits = 0 then
  26761. pTDefRegMap(@Self)^.clr := $00001000
  26762. else
  26763. pTDefRegMap(@Self)^.&set := $00001000;
  26764. end;
  26765. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  26766. begin
  26767. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26768. end;
  26769. procedure TPMP_PMAEN.setPTEN13; inline;
  26770. begin
  26771. pTDefRegMap(@Self)^.&set := $00002000;
  26772. end;
  26773. procedure TPMP_PMAEN.clearPTEN13; inline;
  26774. begin
  26775. pTDefRegMap(@Self)^.clr := $00002000;
  26776. end;
  26777. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  26778. begin
  26779. if thebits = 0 then
  26780. pTDefRegMap(@Self)^.clr := $00002000
  26781. else
  26782. pTDefRegMap(@Self)^.&set := $00002000;
  26783. end;
  26784. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  26785. begin
  26786. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26787. end;
  26788. procedure TPMP_PMAEN.setPTEN14; inline;
  26789. begin
  26790. pTDefRegMap(@Self)^.&set := $00004000;
  26791. end;
  26792. procedure TPMP_PMAEN.clearPTEN14; inline;
  26793. begin
  26794. pTDefRegMap(@Self)^.clr := $00004000;
  26795. end;
  26796. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  26797. begin
  26798. if thebits = 0 then
  26799. pTDefRegMap(@Self)^.clr := $00004000
  26800. else
  26801. pTDefRegMap(@Self)^.&set := $00004000;
  26802. end;
  26803. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  26804. begin
  26805. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26806. end;
  26807. procedure TPMP_PMAEN.setPTEN15; inline;
  26808. begin
  26809. pTDefRegMap(@Self)^.&set := $00008000;
  26810. end;
  26811. procedure TPMP_PMAEN.clearPTEN15; inline;
  26812. begin
  26813. pTDefRegMap(@Self)^.clr := $00008000;
  26814. end;
  26815. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  26816. begin
  26817. if thebits = 0 then
  26818. pTDefRegMap(@Self)^.clr := $00008000
  26819. else
  26820. pTDefRegMap(@Self)^.&set := $00008000;
  26821. end;
  26822. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  26823. begin
  26824. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26825. end;
  26826. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  26827. begin
  26828. pTDefRegMap(@Self)^.val := thebits;
  26829. end;
  26830. function TPMP_PMAEN.getw : TBits_32; inline;
  26831. begin
  26832. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26833. end;
  26834. procedure TPMP_PMSTAT.setOB0E; inline;
  26835. begin
  26836. pTDefRegMap(@Self)^.&set := $00000001;
  26837. end;
  26838. procedure TPMP_PMSTAT.clearOB0E; inline;
  26839. begin
  26840. pTDefRegMap(@Self)^.clr := $00000001;
  26841. end;
  26842. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  26843. begin
  26844. if thebits = 0 then
  26845. pTDefRegMap(@Self)^.clr := $00000001
  26846. else
  26847. pTDefRegMap(@Self)^.&set := $00000001;
  26848. end;
  26849. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  26850. begin
  26851. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26852. end;
  26853. procedure TPMP_PMSTAT.setOB1E; inline;
  26854. begin
  26855. pTDefRegMap(@Self)^.&set := $00000002;
  26856. end;
  26857. procedure TPMP_PMSTAT.clearOB1E; inline;
  26858. begin
  26859. pTDefRegMap(@Self)^.clr := $00000002;
  26860. end;
  26861. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  26862. begin
  26863. if thebits = 0 then
  26864. pTDefRegMap(@Self)^.clr := $00000002
  26865. else
  26866. pTDefRegMap(@Self)^.&set := $00000002;
  26867. end;
  26868. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  26869. begin
  26870. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26871. end;
  26872. procedure TPMP_PMSTAT.setOB2E; inline;
  26873. begin
  26874. pTDefRegMap(@Self)^.&set := $00000004;
  26875. end;
  26876. procedure TPMP_PMSTAT.clearOB2E; inline;
  26877. begin
  26878. pTDefRegMap(@Self)^.clr := $00000004;
  26879. end;
  26880. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  26881. begin
  26882. if thebits = 0 then
  26883. pTDefRegMap(@Self)^.clr := $00000004
  26884. else
  26885. pTDefRegMap(@Self)^.&set := $00000004;
  26886. end;
  26887. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  26888. begin
  26889. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26890. end;
  26891. procedure TPMP_PMSTAT.setOB3E; inline;
  26892. begin
  26893. pTDefRegMap(@Self)^.&set := $00000008;
  26894. end;
  26895. procedure TPMP_PMSTAT.clearOB3E; inline;
  26896. begin
  26897. pTDefRegMap(@Self)^.clr := $00000008;
  26898. end;
  26899. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  26900. begin
  26901. if thebits = 0 then
  26902. pTDefRegMap(@Self)^.clr := $00000008
  26903. else
  26904. pTDefRegMap(@Self)^.&set := $00000008;
  26905. end;
  26906. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  26907. begin
  26908. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26909. end;
  26910. procedure TPMP_PMSTAT.setOBUF; inline;
  26911. begin
  26912. pTDefRegMap(@Self)^.&set := $00000040;
  26913. end;
  26914. procedure TPMP_PMSTAT.clearOBUF; inline;
  26915. begin
  26916. pTDefRegMap(@Self)^.clr := $00000040;
  26917. end;
  26918. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  26919. begin
  26920. if thebits = 0 then
  26921. pTDefRegMap(@Self)^.clr := $00000040
  26922. else
  26923. pTDefRegMap(@Self)^.&set := $00000040;
  26924. end;
  26925. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  26926. begin
  26927. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26928. end;
  26929. procedure TPMP_PMSTAT.setOBE; inline;
  26930. begin
  26931. pTDefRegMap(@Self)^.&set := $00000080;
  26932. end;
  26933. procedure TPMP_PMSTAT.clearOBE; inline;
  26934. begin
  26935. pTDefRegMap(@Self)^.clr := $00000080;
  26936. end;
  26937. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  26938. begin
  26939. if thebits = 0 then
  26940. pTDefRegMap(@Self)^.clr := $00000080
  26941. else
  26942. pTDefRegMap(@Self)^.&set := $00000080;
  26943. end;
  26944. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  26945. begin
  26946. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26947. end;
  26948. procedure TPMP_PMSTAT.setIB0F; inline;
  26949. begin
  26950. pTDefRegMap(@Self)^.&set := $00000100;
  26951. end;
  26952. procedure TPMP_PMSTAT.clearIB0F; inline;
  26953. begin
  26954. pTDefRegMap(@Self)^.clr := $00000100;
  26955. end;
  26956. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  26957. begin
  26958. if thebits = 0 then
  26959. pTDefRegMap(@Self)^.clr := $00000100
  26960. else
  26961. pTDefRegMap(@Self)^.&set := $00000100;
  26962. end;
  26963. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  26964. begin
  26965. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26966. end;
  26967. procedure TPMP_PMSTAT.setIB1F; inline;
  26968. begin
  26969. pTDefRegMap(@Self)^.&set := $00000200;
  26970. end;
  26971. procedure TPMP_PMSTAT.clearIB1F; inline;
  26972. begin
  26973. pTDefRegMap(@Self)^.clr := $00000200;
  26974. end;
  26975. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  26976. begin
  26977. if thebits = 0 then
  26978. pTDefRegMap(@Self)^.clr := $00000200
  26979. else
  26980. pTDefRegMap(@Self)^.&set := $00000200;
  26981. end;
  26982. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  26983. begin
  26984. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26985. end;
  26986. procedure TPMP_PMSTAT.setIB2F; inline;
  26987. begin
  26988. pTDefRegMap(@Self)^.&set := $00000400;
  26989. end;
  26990. procedure TPMP_PMSTAT.clearIB2F; inline;
  26991. begin
  26992. pTDefRegMap(@Self)^.clr := $00000400;
  26993. end;
  26994. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  26995. begin
  26996. if thebits = 0 then
  26997. pTDefRegMap(@Self)^.clr := $00000400
  26998. else
  26999. pTDefRegMap(@Self)^.&set := $00000400;
  27000. end;
  27001. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  27002. begin
  27003. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27004. end;
  27005. procedure TPMP_PMSTAT.setIB3F; inline;
  27006. begin
  27007. pTDefRegMap(@Self)^.&set := $00000800;
  27008. end;
  27009. procedure TPMP_PMSTAT.clearIB3F; inline;
  27010. begin
  27011. pTDefRegMap(@Self)^.clr := $00000800;
  27012. end;
  27013. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  27014. begin
  27015. if thebits = 0 then
  27016. pTDefRegMap(@Self)^.clr := $00000800
  27017. else
  27018. pTDefRegMap(@Self)^.&set := $00000800;
  27019. end;
  27020. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  27021. begin
  27022. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27023. end;
  27024. procedure TPMP_PMSTAT.setIBOV; inline;
  27025. begin
  27026. pTDefRegMap(@Self)^.&set := $00004000;
  27027. end;
  27028. procedure TPMP_PMSTAT.clearIBOV; inline;
  27029. begin
  27030. pTDefRegMap(@Self)^.clr := $00004000;
  27031. end;
  27032. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  27033. begin
  27034. if thebits = 0 then
  27035. pTDefRegMap(@Self)^.clr := $00004000
  27036. else
  27037. pTDefRegMap(@Self)^.&set := $00004000;
  27038. end;
  27039. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  27040. begin
  27041. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27042. end;
  27043. procedure TPMP_PMSTAT.setIBF; inline;
  27044. begin
  27045. pTDefRegMap(@Self)^.&set := $00008000;
  27046. end;
  27047. procedure TPMP_PMSTAT.clearIBF; inline;
  27048. begin
  27049. pTDefRegMap(@Self)^.clr := $00008000;
  27050. end;
  27051. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  27052. begin
  27053. if thebits = 0 then
  27054. pTDefRegMap(@Self)^.clr := $00008000
  27055. else
  27056. pTDefRegMap(@Self)^.&set := $00008000;
  27057. end;
  27058. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  27059. begin
  27060. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27061. end;
  27062. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  27063. begin
  27064. pTDefRegMap(@Self)^.val := thebits;
  27065. end;
  27066. function TPMP_PMSTAT.getw : TBits_32; inline;
  27067. begin
  27068. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27069. end;
  27070. procedure TADC10_AD1CON1.setDONE; inline;
  27071. begin
  27072. pTDefRegMap(@Self)^.&set := $00000001;
  27073. end;
  27074. procedure TADC10_AD1CON1.clearDONE; inline;
  27075. begin
  27076. pTDefRegMap(@Self)^.clr := $00000001;
  27077. end;
  27078. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  27079. begin
  27080. if thebits = 0 then
  27081. pTDefRegMap(@Self)^.clr := $00000001
  27082. else
  27083. pTDefRegMap(@Self)^.&set := $00000001;
  27084. end;
  27085. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  27086. begin
  27087. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27088. end;
  27089. procedure TADC10_AD1CON1.setSAMP; inline;
  27090. begin
  27091. pTDefRegMap(@Self)^.&set := $00000002;
  27092. end;
  27093. procedure TADC10_AD1CON1.clearSAMP; inline;
  27094. begin
  27095. pTDefRegMap(@Self)^.clr := $00000002;
  27096. end;
  27097. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  27098. begin
  27099. if thebits = 0 then
  27100. pTDefRegMap(@Self)^.clr := $00000002
  27101. else
  27102. pTDefRegMap(@Self)^.&set := $00000002;
  27103. end;
  27104. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  27105. begin
  27106. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27107. end;
  27108. procedure TADC10_AD1CON1.setASAM; inline;
  27109. begin
  27110. pTDefRegMap(@Self)^.&set := $00000004;
  27111. end;
  27112. procedure TADC10_AD1CON1.clearASAM; inline;
  27113. begin
  27114. pTDefRegMap(@Self)^.clr := $00000004;
  27115. end;
  27116. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  27117. begin
  27118. if thebits = 0 then
  27119. pTDefRegMap(@Self)^.clr := $00000004
  27120. else
  27121. pTDefRegMap(@Self)^.&set := $00000004;
  27122. end;
  27123. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  27124. begin
  27125. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27126. end;
  27127. procedure TADC10_AD1CON1.setCLRASAM; inline;
  27128. begin
  27129. pTDefRegMap(@Self)^.&set := $00000010;
  27130. end;
  27131. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  27132. begin
  27133. pTDefRegMap(@Self)^.clr := $00000010;
  27134. end;
  27135. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  27136. begin
  27137. if thebits = 0 then
  27138. pTDefRegMap(@Self)^.clr := $00000010
  27139. else
  27140. pTDefRegMap(@Self)^.&set := $00000010;
  27141. end;
  27142. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  27143. begin
  27144. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27145. end;
  27146. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  27147. begin
  27148. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  27149. end;
  27150. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  27151. begin
  27152. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  27153. end;
  27154. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  27155. begin
  27156. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  27157. end;
  27158. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  27159. begin
  27160. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  27161. end;
  27162. procedure TADC10_AD1CON1.setSIDL; inline;
  27163. begin
  27164. pTDefRegMap(@Self)^.&set := $00002000;
  27165. end;
  27166. procedure TADC10_AD1CON1.clearSIDL; inline;
  27167. begin
  27168. pTDefRegMap(@Self)^.clr := $00002000;
  27169. end;
  27170. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  27171. begin
  27172. if thebits = 0 then
  27173. pTDefRegMap(@Self)^.clr := $00002000
  27174. else
  27175. pTDefRegMap(@Self)^.&set := $00002000;
  27176. end;
  27177. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  27178. begin
  27179. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27180. end;
  27181. procedure TADC10_AD1CON1.setON; inline;
  27182. begin
  27183. pTDefRegMap(@Self)^.&set := $00008000;
  27184. end;
  27185. procedure TADC10_AD1CON1.clearON; inline;
  27186. begin
  27187. pTDefRegMap(@Self)^.clr := $00008000;
  27188. end;
  27189. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  27190. begin
  27191. if thebits = 0 then
  27192. pTDefRegMap(@Self)^.clr := $00008000
  27193. else
  27194. pTDefRegMap(@Self)^.&set := $00008000;
  27195. end;
  27196. function TADC10_AD1CON1.getON : TBits_1; inline;
  27197. begin
  27198. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27199. end;
  27200. procedure TADC10_AD1CON1.setSSRC0; inline;
  27201. begin
  27202. pTDefRegMap(@Self)^.&set := $00000020;
  27203. end;
  27204. procedure TADC10_AD1CON1.clearSSRC0; inline;
  27205. begin
  27206. pTDefRegMap(@Self)^.clr := $00000020;
  27207. end;
  27208. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  27209. begin
  27210. if thebits = 0 then
  27211. pTDefRegMap(@Self)^.clr := $00000020
  27212. else
  27213. pTDefRegMap(@Self)^.&set := $00000020;
  27214. end;
  27215. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  27216. begin
  27217. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27218. end;
  27219. procedure TADC10_AD1CON1.setSSRC1; inline;
  27220. begin
  27221. pTDefRegMap(@Self)^.&set := $00000040;
  27222. end;
  27223. procedure TADC10_AD1CON1.clearSSRC1; inline;
  27224. begin
  27225. pTDefRegMap(@Self)^.clr := $00000040;
  27226. end;
  27227. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  27228. begin
  27229. if thebits = 0 then
  27230. pTDefRegMap(@Self)^.clr := $00000040
  27231. else
  27232. pTDefRegMap(@Self)^.&set := $00000040;
  27233. end;
  27234. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  27235. begin
  27236. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27237. end;
  27238. procedure TADC10_AD1CON1.setSSRC2; inline;
  27239. begin
  27240. pTDefRegMap(@Self)^.&set := $00000080;
  27241. end;
  27242. procedure TADC10_AD1CON1.clearSSRC2; inline;
  27243. begin
  27244. pTDefRegMap(@Self)^.clr := $00000080;
  27245. end;
  27246. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  27247. begin
  27248. if thebits = 0 then
  27249. pTDefRegMap(@Self)^.clr := $00000080
  27250. else
  27251. pTDefRegMap(@Self)^.&set := $00000080;
  27252. end;
  27253. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  27254. begin
  27255. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27256. end;
  27257. procedure TADC10_AD1CON1.setFORM0; inline;
  27258. begin
  27259. pTDefRegMap(@Self)^.&set := $00000100;
  27260. end;
  27261. procedure TADC10_AD1CON1.clearFORM0; inline;
  27262. begin
  27263. pTDefRegMap(@Self)^.clr := $00000100;
  27264. end;
  27265. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  27266. begin
  27267. if thebits = 0 then
  27268. pTDefRegMap(@Self)^.clr := $00000100
  27269. else
  27270. pTDefRegMap(@Self)^.&set := $00000100;
  27271. end;
  27272. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  27273. begin
  27274. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27275. end;
  27276. procedure TADC10_AD1CON1.setFORM1; inline;
  27277. begin
  27278. pTDefRegMap(@Self)^.&set := $00000200;
  27279. end;
  27280. procedure TADC10_AD1CON1.clearFORM1; inline;
  27281. begin
  27282. pTDefRegMap(@Self)^.clr := $00000200;
  27283. end;
  27284. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  27285. begin
  27286. if thebits = 0 then
  27287. pTDefRegMap(@Self)^.clr := $00000200
  27288. else
  27289. pTDefRegMap(@Self)^.&set := $00000200;
  27290. end;
  27291. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  27292. begin
  27293. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27294. end;
  27295. procedure TADC10_AD1CON1.setFORM2; inline;
  27296. begin
  27297. pTDefRegMap(@Self)^.&set := $00000400;
  27298. end;
  27299. procedure TADC10_AD1CON1.clearFORM2; inline;
  27300. begin
  27301. pTDefRegMap(@Self)^.clr := $00000400;
  27302. end;
  27303. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  27304. begin
  27305. if thebits = 0 then
  27306. pTDefRegMap(@Self)^.clr := $00000400
  27307. else
  27308. pTDefRegMap(@Self)^.&set := $00000400;
  27309. end;
  27310. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  27311. begin
  27312. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27313. end;
  27314. procedure TADC10_AD1CON1.setADSIDL; inline;
  27315. begin
  27316. pTDefRegMap(@Self)^.&set := $00002000;
  27317. end;
  27318. procedure TADC10_AD1CON1.clearADSIDL; inline;
  27319. begin
  27320. pTDefRegMap(@Self)^.clr := $00002000;
  27321. end;
  27322. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  27323. begin
  27324. if thebits = 0 then
  27325. pTDefRegMap(@Self)^.clr := $00002000
  27326. else
  27327. pTDefRegMap(@Self)^.&set := $00002000;
  27328. end;
  27329. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  27330. begin
  27331. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27332. end;
  27333. procedure TADC10_AD1CON1.setADON; inline;
  27334. begin
  27335. pTDefRegMap(@Self)^.&set := $00008000;
  27336. end;
  27337. procedure TADC10_AD1CON1.clearADON; inline;
  27338. begin
  27339. pTDefRegMap(@Self)^.clr := $00008000;
  27340. end;
  27341. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  27342. begin
  27343. if thebits = 0 then
  27344. pTDefRegMap(@Self)^.clr := $00008000
  27345. else
  27346. pTDefRegMap(@Self)^.&set := $00008000;
  27347. end;
  27348. function TADC10_AD1CON1.getADON : TBits_1; inline;
  27349. begin
  27350. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27351. end;
  27352. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  27353. begin
  27354. pTDefRegMap(@Self)^.val := thebits;
  27355. end;
  27356. function TADC10_AD1CON1.getw : TBits_32; inline;
  27357. begin
  27358. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27359. end;
  27360. procedure TADC10_AD1CON2.setALTS; inline;
  27361. begin
  27362. pTDefRegMap(@Self)^.&set := $00000001;
  27363. end;
  27364. procedure TADC10_AD1CON2.clearALTS; inline;
  27365. begin
  27366. pTDefRegMap(@Self)^.clr := $00000001;
  27367. end;
  27368. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  27369. begin
  27370. if thebits = 0 then
  27371. pTDefRegMap(@Self)^.clr := $00000001
  27372. else
  27373. pTDefRegMap(@Self)^.&set := $00000001;
  27374. end;
  27375. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  27376. begin
  27377. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27378. end;
  27379. procedure TADC10_AD1CON2.setBUFM; inline;
  27380. begin
  27381. pTDefRegMap(@Self)^.&set := $00000002;
  27382. end;
  27383. procedure TADC10_AD1CON2.clearBUFM; inline;
  27384. begin
  27385. pTDefRegMap(@Self)^.clr := $00000002;
  27386. end;
  27387. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  27388. begin
  27389. if thebits = 0 then
  27390. pTDefRegMap(@Self)^.clr := $00000002
  27391. else
  27392. pTDefRegMap(@Self)^.&set := $00000002;
  27393. end;
  27394. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  27395. begin
  27396. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27397. end;
  27398. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  27399. begin
  27400. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  27401. end;
  27402. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  27403. begin
  27404. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  27405. end;
  27406. procedure TADC10_AD1CON2.setBUFS; inline;
  27407. begin
  27408. pTDefRegMap(@Self)^.&set := $00000080;
  27409. end;
  27410. procedure TADC10_AD1CON2.clearBUFS; inline;
  27411. begin
  27412. pTDefRegMap(@Self)^.clr := $00000080;
  27413. end;
  27414. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  27415. begin
  27416. if thebits = 0 then
  27417. pTDefRegMap(@Self)^.clr := $00000080
  27418. else
  27419. pTDefRegMap(@Self)^.&set := $00000080;
  27420. end;
  27421. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  27422. begin
  27423. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27424. end;
  27425. procedure TADC10_AD1CON2.setCSCNA; inline;
  27426. begin
  27427. pTDefRegMap(@Self)^.&set := $00000400;
  27428. end;
  27429. procedure TADC10_AD1CON2.clearCSCNA; inline;
  27430. begin
  27431. pTDefRegMap(@Self)^.clr := $00000400;
  27432. end;
  27433. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  27434. begin
  27435. if thebits = 0 then
  27436. pTDefRegMap(@Self)^.clr := $00000400
  27437. else
  27438. pTDefRegMap(@Self)^.&set := $00000400;
  27439. end;
  27440. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  27441. begin
  27442. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27443. end;
  27444. procedure TADC10_AD1CON2.setOFFCAL; inline;
  27445. begin
  27446. pTDefRegMap(@Self)^.&set := $00001000;
  27447. end;
  27448. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  27449. begin
  27450. pTDefRegMap(@Self)^.clr := $00001000;
  27451. end;
  27452. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  27453. begin
  27454. if thebits = 0 then
  27455. pTDefRegMap(@Self)^.clr := $00001000
  27456. else
  27457. pTDefRegMap(@Self)^.&set := $00001000;
  27458. end;
  27459. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  27460. begin
  27461. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27462. end;
  27463. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  27464. begin
  27465. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  27466. end;
  27467. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  27468. begin
  27469. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  27470. end;
  27471. procedure TADC10_AD1CON2.setSMPI0; inline;
  27472. begin
  27473. pTDefRegMap(@Self)^.&set := $00000004;
  27474. end;
  27475. procedure TADC10_AD1CON2.clearSMPI0; inline;
  27476. begin
  27477. pTDefRegMap(@Self)^.clr := $00000004;
  27478. end;
  27479. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  27480. begin
  27481. if thebits = 0 then
  27482. pTDefRegMap(@Self)^.clr := $00000004
  27483. else
  27484. pTDefRegMap(@Self)^.&set := $00000004;
  27485. end;
  27486. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  27487. begin
  27488. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27489. end;
  27490. procedure TADC10_AD1CON2.setSMPI1; inline;
  27491. begin
  27492. pTDefRegMap(@Self)^.&set := $00000008;
  27493. end;
  27494. procedure TADC10_AD1CON2.clearSMPI1; inline;
  27495. begin
  27496. pTDefRegMap(@Self)^.clr := $00000008;
  27497. end;
  27498. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  27499. begin
  27500. if thebits = 0 then
  27501. pTDefRegMap(@Self)^.clr := $00000008
  27502. else
  27503. pTDefRegMap(@Self)^.&set := $00000008;
  27504. end;
  27505. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  27506. begin
  27507. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27508. end;
  27509. procedure TADC10_AD1CON2.setSMPI2; inline;
  27510. begin
  27511. pTDefRegMap(@Self)^.&set := $00000010;
  27512. end;
  27513. procedure TADC10_AD1CON2.clearSMPI2; inline;
  27514. begin
  27515. pTDefRegMap(@Self)^.clr := $00000010;
  27516. end;
  27517. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  27518. begin
  27519. if thebits = 0 then
  27520. pTDefRegMap(@Self)^.clr := $00000010
  27521. else
  27522. pTDefRegMap(@Self)^.&set := $00000010;
  27523. end;
  27524. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  27525. begin
  27526. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27527. end;
  27528. procedure TADC10_AD1CON2.setSMPI3; inline;
  27529. begin
  27530. pTDefRegMap(@Self)^.&set := $00000020;
  27531. end;
  27532. procedure TADC10_AD1CON2.clearSMPI3; inline;
  27533. begin
  27534. pTDefRegMap(@Self)^.clr := $00000020;
  27535. end;
  27536. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  27537. begin
  27538. if thebits = 0 then
  27539. pTDefRegMap(@Self)^.clr := $00000020
  27540. else
  27541. pTDefRegMap(@Self)^.&set := $00000020;
  27542. end;
  27543. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  27544. begin
  27545. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27546. end;
  27547. procedure TADC10_AD1CON2.setVCFG0; inline;
  27548. begin
  27549. pTDefRegMap(@Self)^.&set := $00002000;
  27550. end;
  27551. procedure TADC10_AD1CON2.clearVCFG0; inline;
  27552. begin
  27553. pTDefRegMap(@Self)^.clr := $00002000;
  27554. end;
  27555. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  27556. begin
  27557. if thebits = 0 then
  27558. pTDefRegMap(@Self)^.clr := $00002000
  27559. else
  27560. pTDefRegMap(@Self)^.&set := $00002000;
  27561. end;
  27562. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  27563. begin
  27564. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27565. end;
  27566. procedure TADC10_AD1CON2.setVCFG1; inline;
  27567. begin
  27568. pTDefRegMap(@Self)^.&set := $00004000;
  27569. end;
  27570. procedure TADC10_AD1CON2.clearVCFG1; inline;
  27571. begin
  27572. pTDefRegMap(@Self)^.clr := $00004000;
  27573. end;
  27574. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  27575. begin
  27576. if thebits = 0 then
  27577. pTDefRegMap(@Self)^.clr := $00004000
  27578. else
  27579. pTDefRegMap(@Self)^.&set := $00004000;
  27580. end;
  27581. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  27582. begin
  27583. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27584. end;
  27585. procedure TADC10_AD1CON2.setVCFG2; inline;
  27586. begin
  27587. pTDefRegMap(@Self)^.&set := $00008000;
  27588. end;
  27589. procedure TADC10_AD1CON2.clearVCFG2; inline;
  27590. begin
  27591. pTDefRegMap(@Self)^.clr := $00008000;
  27592. end;
  27593. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  27594. begin
  27595. if thebits = 0 then
  27596. pTDefRegMap(@Self)^.clr := $00008000
  27597. else
  27598. pTDefRegMap(@Self)^.&set := $00008000;
  27599. end;
  27600. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  27601. begin
  27602. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27603. end;
  27604. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  27605. begin
  27606. pTDefRegMap(@Self)^.val := thebits;
  27607. end;
  27608. function TADC10_AD1CON2.getw : TBits_32; inline;
  27609. begin
  27610. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27611. end;
  27612. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  27613. begin
  27614. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  27615. end;
  27616. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  27617. begin
  27618. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  27619. end;
  27620. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  27621. begin
  27622. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  27623. end;
  27624. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  27625. begin
  27626. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  27627. end;
  27628. procedure TADC10_AD1CON3.setADRC; inline;
  27629. begin
  27630. pTDefRegMap(@Self)^.&set := $00008000;
  27631. end;
  27632. procedure TADC10_AD1CON3.clearADRC; inline;
  27633. begin
  27634. pTDefRegMap(@Self)^.clr := $00008000;
  27635. end;
  27636. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  27637. begin
  27638. if thebits = 0 then
  27639. pTDefRegMap(@Self)^.clr := $00008000
  27640. else
  27641. pTDefRegMap(@Self)^.&set := $00008000;
  27642. end;
  27643. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  27644. begin
  27645. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27646. end;
  27647. procedure TADC10_AD1CON3.setADCS0; inline;
  27648. begin
  27649. pTDefRegMap(@Self)^.&set := $00000001;
  27650. end;
  27651. procedure TADC10_AD1CON3.clearADCS0; inline;
  27652. begin
  27653. pTDefRegMap(@Self)^.clr := $00000001;
  27654. end;
  27655. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  27656. begin
  27657. if thebits = 0 then
  27658. pTDefRegMap(@Self)^.clr := $00000001
  27659. else
  27660. pTDefRegMap(@Self)^.&set := $00000001;
  27661. end;
  27662. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  27663. begin
  27664. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27665. end;
  27666. procedure TADC10_AD1CON3.setADCS1; inline;
  27667. begin
  27668. pTDefRegMap(@Self)^.&set := $00000002;
  27669. end;
  27670. procedure TADC10_AD1CON3.clearADCS1; inline;
  27671. begin
  27672. pTDefRegMap(@Self)^.clr := $00000002;
  27673. end;
  27674. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  27675. begin
  27676. if thebits = 0 then
  27677. pTDefRegMap(@Self)^.clr := $00000002
  27678. else
  27679. pTDefRegMap(@Self)^.&set := $00000002;
  27680. end;
  27681. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  27682. begin
  27683. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27684. end;
  27685. procedure TADC10_AD1CON3.setADCS2; inline;
  27686. begin
  27687. pTDefRegMap(@Self)^.&set := $00000004;
  27688. end;
  27689. procedure TADC10_AD1CON3.clearADCS2; inline;
  27690. begin
  27691. pTDefRegMap(@Self)^.clr := $00000004;
  27692. end;
  27693. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  27694. begin
  27695. if thebits = 0 then
  27696. pTDefRegMap(@Self)^.clr := $00000004
  27697. else
  27698. pTDefRegMap(@Self)^.&set := $00000004;
  27699. end;
  27700. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  27701. begin
  27702. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27703. end;
  27704. procedure TADC10_AD1CON3.setADCS3; inline;
  27705. begin
  27706. pTDefRegMap(@Self)^.&set := $00000008;
  27707. end;
  27708. procedure TADC10_AD1CON3.clearADCS3; inline;
  27709. begin
  27710. pTDefRegMap(@Self)^.clr := $00000008;
  27711. end;
  27712. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  27713. begin
  27714. if thebits = 0 then
  27715. pTDefRegMap(@Self)^.clr := $00000008
  27716. else
  27717. pTDefRegMap(@Self)^.&set := $00000008;
  27718. end;
  27719. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  27720. begin
  27721. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27722. end;
  27723. procedure TADC10_AD1CON3.setADCS4; inline;
  27724. begin
  27725. pTDefRegMap(@Self)^.&set := $00000010;
  27726. end;
  27727. procedure TADC10_AD1CON3.clearADCS4; inline;
  27728. begin
  27729. pTDefRegMap(@Self)^.clr := $00000010;
  27730. end;
  27731. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  27732. begin
  27733. if thebits = 0 then
  27734. pTDefRegMap(@Self)^.clr := $00000010
  27735. else
  27736. pTDefRegMap(@Self)^.&set := $00000010;
  27737. end;
  27738. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  27739. begin
  27740. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27741. end;
  27742. procedure TADC10_AD1CON3.setADCS5; inline;
  27743. begin
  27744. pTDefRegMap(@Self)^.&set := $00000020;
  27745. end;
  27746. procedure TADC10_AD1CON3.clearADCS5; inline;
  27747. begin
  27748. pTDefRegMap(@Self)^.clr := $00000020;
  27749. end;
  27750. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  27751. begin
  27752. if thebits = 0 then
  27753. pTDefRegMap(@Self)^.clr := $00000020
  27754. else
  27755. pTDefRegMap(@Self)^.&set := $00000020;
  27756. end;
  27757. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  27758. begin
  27759. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27760. end;
  27761. procedure TADC10_AD1CON3.setADCS6; inline;
  27762. begin
  27763. pTDefRegMap(@Self)^.&set := $00000040;
  27764. end;
  27765. procedure TADC10_AD1CON3.clearADCS6; inline;
  27766. begin
  27767. pTDefRegMap(@Self)^.clr := $00000040;
  27768. end;
  27769. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  27770. begin
  27771. if thebits = 0 then
  27772. pTDefRegMap(@Self)^.clr := $00000040
  27773. else
  27774. pTDefRegMap(@Self)^.&set := $00000040;
  27775. end;
  27776. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  27777. begin
  27778. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27779. end;
  27780. procedure TADC10_AD1CON3.setADCS7; inline;
  27781. begin
  27782. pTDefRegMap(@Self)^.&set := $00000080;
  27783. end;
  27784. procedure TADC10_AD1CON3.clearADCS7; inline;
  27785. begin
  27786. pTDefRegMap(@Self)^.clr := $00000080;
  27787. end;
  27788. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  27789. begin
  27790. if thebits = 0 then
  27791. pTDefRegMap(@Self)^.clr := $00000080
  27792. else
  27793. pTDefRegMap(@Self)^.&set := $00000080;
  27794. end;
  27795. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  27796. begin
  27797. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27798. end;
  27799. procedure TADC10_AD1CON3.setSAMC0; inline;
  27800. begin
  27801. pTDefRegMap(@Self)^.&set := $00000100;
  27802. end;
  27803. procedure TADC10_AD1CON3.clearSAMC0; inline;
  27804. begin
  27805. pTDefRegMap(@Self)^.clr := $00000100;
  27806. end;
  27807. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  27808. begin
  27809. if thebits = 0 then
  27810. pTDefRegMap(@Self)^.clr := $00000100
  27811. else
  27812. pTDefRegMap(@Self)^.&set := $00000100;
  27813. end;
  27814. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  27815. begin
  27816. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27817. end;
  27818. procedure TADC10_AD1CON3.setSAMC1; inline;
  27819. begin
  27820. pTDefRegMap(@Self)^.&set := $00000200;
  27821. end;
  27822. procedure TADC10_AD1CON3.clearSAMC1; inline;
  27823. begin
  27824. pTDefRegMap(@Self)^.clr := $00000200;
  27825. end;
  27826. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  27827. begin
  27828. if thebits = 0 then
  27829. pTDefRegMap(@Self)^.clr := $00000200
  27830. else
  27831. pTDefRegMap(@Self)^.&set := $00000200;
  27832. end;
  27833. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  27834. begin
  27835. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27836. end;
  27837. procedure TADC10_AD1CON3.setSAMC2; inline;
  27838. begin
  27839. pTDefRegMap(@Self)^.&set := $00000400;
  27840. end;
  27841. procedure TADC10_AD1CON3.clearSAMC2; inline;
  27842. begin
  27843. pTDefRegMap(@Self)^.clr := $00000400;
  27844. end;
  27845. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  27846. begin
  27847. if thebits = 0 then
  27848. pTDefRegMap(@Self)^.clr := $00000400
  27849. else
  27850. pTDefRegMap(@Self)^.&set := $00000400;
  27851. end;
  27852. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  27853. begin
  27854. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27855. end;
  27856. procedure TADC10_AD1CON3.setSAMC3; inline;
  27857. begin
  27858. pTDefRegMap(@Self)^.&set := $00000800;
  27859. end;
  27860. procedure TADC10_AD1CON3.clearSAMC3; inline;
  27861. begin
  27862. pTDefRegMap(@Self)^.clr := $00000800;
  27863. end;
  27864. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  27865. begin
  27866. if thebits = 0 then
  27867. pTDefRegMap(@Self)^.clr := $00000800
  27868. else
  27869. pTDefRegMap(@Self)^.&set := $00000800;
  27870. end;
  27871. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  27872. begin
  27873. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27874. end;
  27875. procedure TADC10_AD1CON3.setSAMC4; inline;
  27876. begin
  27877. pTDefRegMap(@Self)^.&set := $00001000;
  27878. end;
  27879. procedure TADC10_AD1CON3.clearSAMC4; inline;
  27880. begin
  27881. pTDefRegMap(@Self)^.clr := $00001000;
  27882. end;
  27883. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  27884. begin
  27885. if thebits = 0 then
  27886. pTDefRegMap(@Self)^.clr := $00001000
  27887. else
  27888. pTDefRegMap(@Self)^.&set := $00001000;
  27889. end;
  27890. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  27891. begin
  27892. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27893. end;
  27894. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  27895. begin
  27896. pTDefRegMap(@Self)^.val := thebits;
  27897. end;
  27898. function TADC10_AD1CON3.getw : TBits_32; inline;
  27899. begin
  27900. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27901. end;
  27902. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_5); inline;
  27903. begin
  27904. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27905. end;
  27906. function TADC10_AD1CHS.getCH0SA : TBits_5; inline;
  27907. begin
  27908. getCH0SA := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27909. end;
  27910. procedure TADC10_AD1CHS.setCH0NA; inline;
  27911. begin
  27912. pTDefRegMap(@Self)^.&set := $00800000;
  27913. end;
  27914. procedure TADC10_AD1CHS.clearCH0NA; inline;
  27915. begin
  27916. pTDefRegMap(@Self)^.clr := $00800000;
  27917. end;
  27918. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  27919. begin
  27920. if thebits = 0 then
  27921. pTDefRegMap(@Self)^.clr := $00800000
  27922. else
  27923. pTDefRegMap(@Self)^.&set := $00800000;
  27924. end;
  27925. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  27926. begin
  27927. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27928. end;
  27929. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_5); inline;
  27930. begin
  27931. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  27932. end;
  27933. function TADC10_AD1CHS.getCH0SB : TBits_5; inline;
  27934. begin
  27935. getCH0SB := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  27936. end;
  27937. procedure TADC10_AD1CHS.setCH0NB; inline;
  27938. begin
  27939. pTDefRegMap(@Self)^.&set := $80000000;
  27940. end;
  27941. procedure TADC10_AD1CHS.clearCH0NB; inline;
  27942. begin
  27943. pTDefRegMap(@Self)^.clr := $80000000;
  27944. end;
  27945. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  27946. begin
  27947. if thebits = 0 then
  27948. pTDefRegMap(@Self)^.clr := $80000000
  27949. else
  27950. pTDefRegMap(@Self)^.&set := $80000000;
  27951. end;
  27952. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  27953. begin
  27954. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27955. end;
  27956. procedure TADC10_AD1CHS.setCH0SA0; inline;
  27957. begin
  27958. pTDefRegMap(@Self)^.&set := $00010000;
  27959. end;
  27960. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  27961. begin
  27962. pTDefRegMap(@Self)^.clr := $00010000;
  27963. end;
  27964. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  27965. begin
  27966. if thebits = 0 then
  27967. pTDefRegMap(@Self)^.clr := $00010000
  27968. else
  27969. pTDefRegMap(@Self)^.&set := $00010000;
  27970. end;
  27971. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  27972. begin
  27973. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27974. end;
  27975. procedure TADC10_AD1CHS.setCH0SA1; inline;
  27976. begin
  27977. pTDefRegMap(@Self)^.&set := $00020000;
  27978. end;
  27979. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  27980. begin
  27981. pTDefRegMap(@Self)^.clr := $00020000;
  27982. end;
  27983. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  27984. begin
  27985. if thebits = 0 then
  27986. pTDefRegMap(@Self)^.clr := $00020000
  27987. else
  27988. pTDefRegMap(@Self)^.&set := $00020000;
  27989. end;
  27990. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  27991. begin
  27992. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27993. end;
  27994. procedure TADC10_AD1CHS.setCH0SA2; inline;
  27995. begin
  27996. pTDefRegMap(@Self)^.&set := $00040000;
  27997. end;
  27998. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  27999. begin
  28000. pTDefRegMap(@Self)^.clr := $00040000;
  28001. end;
  28002. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  28003. begin
  28004. if thebits = 0 then
  28005. pTDefRegMap(@Self)^.clr := $00040000
  28006. else
  28007. pTDefRegMap(@Self)^.&set := $00040000;
  28008. end;
  28009. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  28010. begin
  28011. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28012. end;
  28013. procedure TADC10_AD1CHS.setCH0SA3; inline;
  28014. begin
  28015. pTDefRegMap(@Self)^.&set := $00080000;
  28016. end;
  28017. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  28018. begin
  28019. pTDefRegMap(@Self)^.clr := $00080000;
  28020. end;
  28021. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  28022. begin
  28023. if thebits = 0 then
  28024. pTDefRegMap(@Self)^.clr := $00080000
  28025. else
  28026. pTDefRegMap(@Self)^.&set := $00080000;
  28027. end;
  28028. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  28029. begin
  28030. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28031. end;
  28032. procedure TADC10_AD1CHS.setCH0SA4; inline;
  28033. begin
  28034. pTDefRegMap(@Self)^.&set := $00100000;
  28035. end;
  28036. procedure TADC10_AD1CHS.clearCH0SA4; inline;
  28037. begin
  28038. pTDefRegMap(@Self)^.clr := $00100000;
  28039. end;
  28040. procedure TADC10_AD1CHS.setCH0SA4(thebits : TBits_1); inline;
  28041. begin
  28042. if thebits = 0 then
  28043. pTDefRegMap(@Self)^.clr := $00100000
  28044. else
  28045. pTDefRegMap(@Self)^.&set := $00100000;
  28046. end;
  28047. function TADC10_AD1CHS.getCH0SA4 : TBits_1; inline;
  28048. begin
  28049. getCH0SA4 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28050. end;
  28051. procedure TADC10_AD1CHS.setCH0SB0; inline;
  28052. begin
  28053. pTDefRegMap(@Self)^.&set := $01000000;
  28054. end;
  28055. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  28056. begin
  28057. pTDefRegMap(@Self)^.clr := $01000000;
  28058. end;
  28059. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  28060. begin
  28061. if thebits = 0 then
  28062. pTDefRegMap(@Self)^.clr := $01000000
  28063. else
  28064. pTDefRegMap(@Self)^.&set := $01000000;
  28065. end;
  28066. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  28067. begin
  28068. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28069. end;
  28070. procedure TADC10_AD1CHS.setCH0SB1; inline;
  28071. begin
  28072. pTDefRegMap(@Self)^.&set := $02000000;
  28073. end;
  28074. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  28075. begin
  28076. pTDefRegMap(@Self)^.clr := $02000000;
  28077. end;
  28078. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  28079. begin
  28080. if thebits = 0 then
  28081. pTDefRegMap(@Self)^.clr := $02000000
  28082. else
  28083. pTDefRegMap(@Self)^.&set := $02000000;
  28084. end;
  28085. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  28086. begin
  28087. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28088. end;
  28089. procedure TADC10_AD1CHS.setCH0SB2; inline;
  28090. begin
  28091. pTDefRegMap(@Self)^.&set := $04000000;
  28092. end;
  28093. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  28094. begin
  28095. pTDefRegMap(@Self)^.clr := $04000000;
  28096. end;
  28097. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  28098. begin
  28099. if thebits = 0 then
  28100. pTDefRegMap(@Self)^.clr := $04000000
  28101. else
  28102. pTDefRegMap(@Self)^.&set := $04000000;
  28103. end;
  28104. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  28105. begin
  28106. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28107. end;
  28108. procedure TADC10_AD1CHS.setCH0SB3; inline;
  28109. begin
  28110. pTDefRegMap(@Self)^.&set := $08000000;
  28111. end;
  28112. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  28113. begin
  28114. pTDefRegMap(@Self)^.clr := $08000000;
  28115. end;
  28116. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  28117. begin
  28118. if thebits = 0 then
  28119. pTDefRegMap(@Self)^.clr := $08000000
  28120. else
  28121. pTDefRegMap(@Self)^.&set := $08000000;
  28122. end;
  28123. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  28124. begin
  28125. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28126. end;
  28127. procedure TADC10_AD1CHS.setCH0SB4; inline;
  28128. begin
  28129. pTDefRegMap(@Self)^.&set := $10000000;
  28130. end;
  28131. procedure TADC10_AD1CHS.clearCH0SB4; inline;
  28132. begin
  28133. pTDefRegMap(@Self)^.clr := $10000000;
  28134. end;
  28135. procedure TADC10_AD1CHS.setCH0SB4(thebits : TBits_1); inline;
  28136. begin
  28137. if thebits = 0 then
  28138. pTDefRegMap(@Self)^.clr := $10000000
  28139. else
  28140. pTDefRegMap(@Self)^.&set := $10000000;
  28141. end;
  28142. function TADC10_AD1CHS.getCH0SB4 : TBits_1; inline;
  28143. begin
  28144. getCH0SB4 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28145. end;
  28146. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  28147. begin
  28148. pTDefRegMap(@Self)^.val := thebits;
  28149. end;
  28150. function TADC10_AD1CHS.getw : TBits_32; inline;
  28151. begin
  28152. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28153. end;
  28154. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_31); inline;
  28155. begin
  28156. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $80000000 or ( thebits shl 0 );
  28157. end;
  28158. function TADC10_AD1CSSL.getCSSL : TBits_31; inline;
  28159. begin
  28160. getCSSL := (pTDefRegMap(@Self)^.val and $7FFFFFFF) shr 0;
  28161. end;
  28162. procedure TADC10_AD1CSSL.setCSSL0; inline;
  28163. begin
  28164. pTDefRegMap(@Self)^.&set := $00000001;
  28165. end;
  28166. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  28167. begin
  28168. pTDefRegMap(@Self)^.clr := $00000001;
  28169. end;
  28170. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  28171. begin
  28172. if thebits = 0 then
  28173. pTDefRegMap(@Self)^.clr := $00000001
  28174. else
  28175. pTDefRegMap(@Self)^.&set := $00000001;
  28176. end;
  28177. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  28178. begin
  28179. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28180. end;
  28181. procedure TADC10_AD1CSSL.setCSSL1; inline;
  28182. begin
  28183. pTDefRegMap(@Self)^.&set := $00000002;
  28184. end;
  28185. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  28186. begin
  28187. pTDefRegMap(@Self)^.clr := $00000002;
  28188. end;
  28189. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  28190. begin
  28191. if thebits = 0 then
  28192. pTDefRegMap(@Self)^.clr := $00000002
  28193. else
  28194. pTDefRegMap(@Self)^.&set := $00000002;
  28195. end;
  28196. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  28197. begin
  28198. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28199. end;
  28200. procedure TADC10_AD1CSSL.setCSSL2; inline;
  28201. begin
  28202. pTDefRegMap(@Self)^.&set := $00000004;
  28203. end;
  28204. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  28205. begin
  28206. pTDefRegMap(@Self)^.clr := $00000004;
  28207. end;
  28208. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  28209. begin
  28210. if thebits = 0 then
  28211. pTDefRegMap(@Self)^.clr := $00000004
  28212. else
  28213. pTDefRegMap(@Self)^.&set := $00000004;
  28214. end;
  28215. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  28216. begin
  28217. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28218. end;
  28219. procedure TADC10_AD1CSSL.setCSSL3; inline;
  28220. begin
  28221. pTDefRegMap(@Self)^.&set := $00000008;
  28222. end;
  28223. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  28224. begin
  28225. pTDefRegMap(@Self)^.clr := $00000008;
  28226. end;
  28227. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  28228. begin
  28229. if thebits = 0 then
  28230. pTDefRegMap(@Self)^.clr := $00000008
  28231. else
  28232. pTDefRegMap(@Self)^.&set := $00000008;
  28233. end;
  28234. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  28235. begin
  28236. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28237. end;
  28238. procedure TADC10_AD1CSSL.setCSSL4; inline;
  28239. begin
  28240. pTDefRegMap(@Self)^.&set := $00000010;
  28241. end;
  28242. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  28243. begin
  28244. pTDefRegMap(@Self)^.clr := $00000010;
  28245. end;
  28246. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  28247. begin
  28248. if thebits = 0 then
  28249. pTDefRegMap(@Self)^.clr := $00000010
  28250. else
  28251. pTDefRegMap(@Self)^.&set := $00000010;
  28252. end;
  28253. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  28254. begin
  28255. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28256. end;
  28257. procedure TADC10_AD1CSSL.setCSSL5; inline;
  28258. begin
  28259. pTDefRegMap(@Self)^.&set := $00000020;
  28260. end;
  28261. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  28262. begin
  28263. pTDefRegMap(@Self)^.clr := $00000020;
  28264. end;
  28265. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  28266. begin
  28267. if thebits = 0 then
  28268. pTDefRegMap(@Self)^.clr := $00000020
  28269. else
  28270. pTDefRegMap(@Self)^.&set := $00000020;
  28271. end;
  28272. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  28273. begin
  28274. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28275. end;
  28276. procedure TADC10_AD1CSSL.setCSSL6; inline;
  28277. begin
  28278. pTDefRegMap(@Self)^.&set := $00000040;
  28279. end;
  28280. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  28281. begin
  28282. pTDefRegMap(@Self)^.clr := $00000040;
  28283. end;
  28284. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  28285. begin
  28286. if thebits = 0 then
  28287. pTDefRegMap(@Self)^.clr := $00000040
  28288. else
  28289. pTDefRegMap(@Self)^.&set := $00000040;
  28290. end;
  28291. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  28292. begin
  28293. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28294. end;
  28295. procedure TADC10_AD1CSSL.setCSSL7; inline;
  28296. begin
  28297. pTDefRegMap(@Self)^.&set := $00000080;
  28298. end;
  28299. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  28300. begin
  28301. pTDefRegMap(@Self)^.clr := $00000080;
  28302. end;
  28303. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  28304. begin
  28305. if thebits = 0 then
  28306. pTDefRegMap(@Self)^.clr := $00000080
  28307. else
  28308. pTDefRegMap(@Self)^.&set := $00000080;
  28309. end;
  28310. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  28311. begin
  28312. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28313. end;
  28314. procedure TADC10_AD1CSSL.setCSSL8; inline;
  28315. begin
  28316. pTDefRegMap(@Self)^.&set := $00000100;
  28317. end;
  28318. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  28319. begin
  28320. pTDefRegMap(@Self)^.clr := $00000100;
  28321. end;
  28322. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  28323. begin
  28324. if thebits = 0 then
  28325. pTDefRegMap(@Self)^.clr := $00000100
  28326. else
  28327. pTDefRegMap(@Self)^.&set := $00000100;
  28328. end;
  28329. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  28330. begin
  28331. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28332. end;
  28333. procedure TADC10_AD1CSSL.setCSSL9; inline;
  28334. begin
  28335. pTDefRegMap(@Self)^.&set := $00000200;
  28336. end;
  28337. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  28338. begin
  28339. pTDefRegMap(@Self)^.clr := $00000200;
  28340. end;
  28341. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  28342. begin
  28343. if thebits = 0 then
  28344. pTDefRegMap(@Self)^.clr := $00000200
  28345. else
  28346. pTDefRegMap(@Self)^.&set := $00000200;
  28347. end;
  28348. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  28349. begin
  28350. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28351. end;
  28352. procedure TADC10_AD1CSSL.setCSSL10; inline;
  28353. begin
  28354. pTDefRegMap(@Self)^.&set := $00000400;
  28355. end;
  28356. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  28357. begin
  28358. pTDefRegMap(@Self)^.clr := $00000400;
  28359. end;
  28360. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  28361. begin
  28362. if thebits = 0 then
  28363. pTDefRegMap(@Self)^.clr := $00000400
  28364. else
  28365. pTDefRegMap(@Self)^.&set := $00000400;
  28366. end;
  28367. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  28368. begin
  28369. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28370. end;
  28371. procedure TADC10_AD1CSSL.setCSSL11; inline;
  28372. begin
  28373. pTDefRegMap(@Self)^.&set := $00000800;
  28374. end;
  28375. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  28376. begin
  28377. pTDefRegMap(@Self)^.clr := $00000800;
  28378. end;
  28379. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  28380. begin
  28381. if thebits = 0 then
  28382. pTDefRegMap(@Self)^.clr := $00000800
  28383. else
  28384. pTDefRegMap(@Self)^.&set := $00000800;
  28385. end;
  28386. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  28387. begin
  28388. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28389. end;
  28390. procedure TADC10_AD1CSSL.setCSSL12; inline;
  28391. begin
  28392. pTDefRegMap(@Self)^.&set := $00001000;
  28393. end;
  28394. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  28395. begin
  28396. pTDefRegMap(@Self)^.clr := $00001000;
  28397. end;
  28398. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  28399. begin
  28400. if thebits = 0 then
  28401. pTDefRegMap(@Self)^.clr := $00001000
  28402. else
  28403. pTDefRegMap(@Self)^.&set := $00001000;
  28404. end;
  28405. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  28406. begin
  28407. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28408. end;
  28409. procedure TADC10_AD1CSSL.setCSSL13; inline;
  28410. begin
  28411. pTDefRegMap(@Self)^.&set := $00002000;
  28412. end;
  28413. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  28414. begin
  28415. pTDefRegMap(@Self)^.clr := $00002000;
  28416. end;
  28417. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  28418. begin
  28419. if thebits = 0 then
  28420. pTDefRegMap(@Self)^.clr := $00002000
  28421. else
  28422. pTDefRegMap(@Self)^.&set := $00002000;
  28423. end;
  28424. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  28425. begin
  28426. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28427. end;
  28428. procedure TADC10_AD1CSSL.setCSSL14; inline;
  28429. begin
  28430. pTDefRegMap(@Self)^.&set := $00004000;
  28431. end;
  28432. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  28433. begin
  28434. pTDefRegMap(@Self)^.clr := $00004000;
  28435. end;
  28436. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  28437. begin
  28438. if thebits = 0 then
  28439. pTDefRegMap(@Self)^.clr := $00004000
  28440. else
  28441. pTDefRegMap(@Self)^.&set := $00004000;
  28442. end;
  28443. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  28444. begin
  28445. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28446. end;
  28447. procedure TADC10_AD1CSSL.setCSSL15; inline;
  28448. begin
  28449. pTDefRegMap(@Self)^.&set := $00008000;
  28450. end;
  28451. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  28452. begin
  28453. pTDefRegMap(@Self)^.clr := $00008000;
  28454. end;
  28455. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  28456. begin
  28457. if thebits = 0 then
  28458. pTDefRegMap(@Self)^.clr := $00008000
  28459. else
  28460. pTDefRegMap(@Self)^.&set := $00008000;
  28461. end;
  28462. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  28463. begin
  28464. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28465. end;
  28466. procedure TADC10_AD1CSSL.setCSSL16; inline;
  28467. begin
  28468. pTDefRegMap(@Self)^.&set := $00010000;
  28469. end;
  28470. procedure TADC10_AD1CSSL.clearCSSL16; inline;
  28471. begin
  28472. pTDefRegMap(@Self)^.clr := $00010000;
  28473. end;
  28474. procedure TADC10_AD1CSSL.setCSSL16(thebits : TBits_1); inline;
  28475. begin
  28476. if thebits = 0 then
  28477. pTDefRegMap(@Self)^.clr := $00010000
  28478. else
  28479. pTDefRegMap(@Self)^.&set := $00010000;
  28480. end;
  28481. function TADC10_AD1CSSL.getCSSL16 : TBits_1; inline;
  28482. begin
  28483. getCSSL16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28484. end;
  28485. procedure TADC10_AD1CSSL.setCSSL17; inline;
  28486. begin
  28487. pTDefRegMap(@Self)^.&set := $00020000;
  28488. end;
  28489. procedure TADC10_AD1CSSL.clearCSSL17; inline;
  28490. begin
  28491. pTDefRegMap(@Self)^.clr := $00020000;
  28492. end;
  28493. procedure TADC10_AD1CSSL.setCSSL17(thebits : TBits_1); inline;
  28494. begin
  28495. if thebits = 0 then
  28496. pTDefRegMap(@Self)^.clr := $00020000
  28497. else
  28498. pTDefRegMap(@Self)^.&set := $00020000;
  28499. end;
  28500. function TADC10_AD1CSSL.getCSSL17 : TBits_1; inline;
  28501. begin
  28502. getCSSL17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28503. end;
  28504. procedure TADC10_AD1CSSL.setCSSL18; inline;
  28505. begin
  28506. pTDefRegMap(@Self)^.&set := $00040000;
  28507. end;
  28508. procedure TADC10_AD1CSSL.clearCSSL18; inline;
  28509. begin
  28510. pTDefRegMap(@Self)^.clr := $00040000;
  28511. end;
  28512. procedure TADC10_AD1CSSL.setCSSL18(thebits : TBits_1); inline;
  28513. begin
  28514. if thebits = 0 then
  28515. pTDefRegMap(@Self)^.clr := $00040000
  28516. else
  28517. pTDefRegMap(@Self)^.&set := $00040000;
  28518. end;
  28519. function TADC10_AD1CSSL.getCSSL18 : TBits_1; inline;
  28520. begin
  28521. getCSSL18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28522. end;
  28523. procedure TADC10_AD1CSSL.setCSSL19; inline;
  28524. begin
  28525. pTDefRegMap(@Self)^.&set := $00080000;
  28526. end;
  28527. procedure TADC10_AD1CSSL.clearCSSL19; inline;
  28528. begin
  28529. pTDefRegMap(@Self)^.clr := $00080000;
  28530. end;
  28531. procedure TADC10_AD1CSSL.setCSSL19(thebits : TBits_1); inline;
  28532. begin
  28533. if thebits = 0 then
  28534. pTDefRegMap(@Self)^.clr := $00080000
  28535. else
  28536. pTDefRegMap(@Self)^.&set := $00080000;
  28537. end;
  28538. function TADC10_AD1CSSL.getCSSL19 : TBits_1; inline;
  28539. begin
  28540. getCSSL19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28541. end;
  28542. procedure TADC10_AD1CSSL.setCSSL20; inline;
  28543. begin
  28544. pTDefRegMap(@Self)^.&set := $00100000;
  28545. end;
  28546. procedure TADC10_AD1CSSL.clearCSSL20; inline;
  28547. begin
  28548. pTDefRegMap(@Self)^.clr := $00100000;
  28549. end;
  28550. procedure TADC10_AD1CSSL.setCSSL20(thebits : TBits_1); inline;
  28551. begin
  28552. if thebits = 0 then
  28553. pTDefRegMap(@Self)^.clr := $00100000
  28554. else
  28555. pTDefRegMap(@Self)^.&set := $00100000;
  28556. end;
  28557. function TADC10_AD1CSSL.getCSSL20 : TBits_1; inline;
  28558. begin
  28559. getCSSL20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28560. end;
  28561. procedure TADC10_AD1CSSL.setCSSL21; inline;
  28562. begin
  28563. pTDefRegMap(@Self)^.&set := $00200000;
  28564. end;
  28565. procedure TADC10_AD1CSSL.clearCSSL21; inline;
  28566. begin
  28567. pTDefRegMap(@Self)^.clr := $00200000;
  28568. end;
  28569. procedure TADC10_AD1CSSL.setCSSL21(thebits : TBits_1); inline;
  28570. begin
  28571. if thebits = 0 then
  28572. pTDefRegMap(@Self)^.clr := $00200000
  28573. else
  28574. pTDefRegMap(@Self)^.&set := $00200000;
  28575. end;
  28576. function TADC10_AD1CSSL.getCSSL21 : TBits_1; inline;
  28577. begin
  28578. getCSSL21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28579. end;
  28580. procedure TADC10_AD1CSSL.setCSSL22; inline;
  28581. begin
  28582. pTDefRegMap(@Self)^.&set := $00400000;
  28583. end;
  28584. procedure TADC10_AD1CSSL.clearCSSL22; inline;
  28585. begin
  28586. pTDefRegMap(@Self)^.clr := $00400000;
  28587. end;
  28588. procedure TADC10_AD1CSSL.setCSSL22(thebits : TBits_1); inline;
  28589. begin
  28590. if thebits = 0 then
  28591. pTDefRegMap(@Self)^.clr := $00400000
  28592. else
  28593. pTDefRegMap(@Self)^.&set := $00400000;
  28594. end;
  28595. function TADC10_AD1CSSL.getCSSL22 : TBits_1; inline;
  28596. begin
  28597. getCSSL22 := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28598. end;
  28599. procedure TADC10_AD1CSSL.setCSSL23; inline;
  28600. begin
  28601. pTDefRegMap(@Self)^.&set := $00800000;
  28602. end;
  28603. procedure TADC10_AD1CSSL.clearCSSL23; inline;
  28604. begin
  28605. pTDefRegMap(@Self)^.clr := $00800000;
  28606. end;
  28607. procedure TADC10_AD1CSSL.setCSSL23(thebits : TBits_1); inline;
  28608. begin
  28609. if thebits = 0 then
  28610. pTDefRegMap(@Self)^.clr := $00800000
  28611. else
  28612. pTDefRegMap(@Self)^.&set := $00800000;
  28613. end;
  28614. function TADC10_AD1CSSL.getCSSL23 : TBits_1; inline;
  28615. begin
  28616. getCSSL23 := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28617. end;
  28618. procedure TADC10_AD1CSSL.setCSSL24; inline;
  28619. begin
  28620. pTDefRegMap(@Self)^.&set := $01000000;
  28621. end;
  28622. procedure TADC10_AD1CSSL.clearCSSL24; inline;
  28623. begin
  28624. pTDefRegMap(@Self)^.clr := $01000000;
  28625. end;
  28626. procedure TADC10_AD1CSSL.setCSSL24(thebits : TBits_1); inline;
  28627. begin
  28628. if thebits = 0 then
  28629. pTDefRegMap(@Self)^.clr := $01000000
  28630. else
  28631. pTDefRegMap(@Self)^.&set := $01000000;
  28632. end;
  28633. function TADC10_AD1CSSL.getCSSL24 : TBits_1; inline;
  28634. begin
  28635. getCSSL24 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28636. end;
  28637. procedure TADC10_AD1CSSL.setCSSL25; inline;
  28638. begin
  28639. pTDefRegMap(@Self)^.&set := $02000000;
  28640. end;
  28641. procedure TADC10_AD1CSSL.clearCSSL25; inline;
  28642. begin
  28643. pTDefRegMap(@Self)^.clr := $02000000;
  28644. end;
  28645. procedure TADC10_AD1CSSL.setCSSL25(thebits : TBits_1); inline;
  28646. begin
  28647. if thebits = 0 then
  28648. pTDefRegMap(@Self)^.clr := $02000000
  28649. else
  28650. pTDefRegMap(@Self)^.&set := $02000000;
  28651. end;
  28652. function TADC10_AD1CSSL.getCSSL25 : TBits_1; inline;
  28653. begin
  28654. getCSSL25 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28655. end;
  28656. procedure TADC10_AD1CSSL.setCSSL26; inline;
  28657. begin
  28658. pTDefRegMap(@Self)^.&set := $04000000;
  28659. end;
  28660. procedure TADC10_AD1CSSL.clearCSSL26; inline;
  28661. begin
  28662. pTDefRegMap(@Self)^.clr := $04000000;
  28663. end;
  28664. procedure TADC10_AD1CSSL.setCSSL26(thebits : TBits_1); inline;
  28665. begin
  28666. if thebits = 0 then
  28667. pTDefRegMap(@Self)^.clr := $04000000
  28668. else
  28669. pTDefRegMap(@Self)^.&set := $04000000;
  28670. end;
  28671. function TADC10_AD1CSSL.getCSSL26 : TBits_1; inline;
  28672. begin
  28673. getCSSL26 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28674. end;
  28675. procedure TADC10_AD1CSSL.setCSSL27; inline;
  28676. begin
  28677. pTDefRegMap(@Self)^.&set := $08000000;
  28678. end;
  28679. procedure TADC10_AD1CSSL.clearCSSL27; inline;
  28680. begin
  28681. pTDefRegMap(@Self)^.clr := $08000000;
  28682. end;
  28683. procedure TADC10_AD1CSSL.setCSSL27(thebits : TBits_1); inline;
  28684. begin
  28685. if thebits = 0 then
  28686. pTDefRegMap(@Self)^.clr := $08000000
  28687. else
  28688. pTDefRegMap(@Self)^.&set := $08000000;
  28689. end;
  28690. function TADC10_AD1CSSL.getCSSL27 : TBits_1; inline;
  28691. begin
  28692. getCSSL27 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28693. end;
  28694. procedure TADC10_AD1CSSL.setCSSL28; inline;
  28695. begin
  28696. pTDefRegMap(@Self)^.&set := $10000000;
  28697. end;
  28698. procedure TADC10_AD1CSSL.clearCSSL28; inline;
  28699. begin
  28700. pTDefRegMap(@Self)^.clr := $10000000;
  28701. end;
  28702. procedure TADC10_AD1CSSL.setCSSL28(thebits : TBits_1); inline;
  28703. begin
  28704. if thebits = 0 then
  28705. pTDefRegMap(@Self)^.clr := $10000000
  28706. else
  28707. pTDefRegMap(@Self)^.&set := $10000000;
  28708. end;
  28709. function TADC10_AD1CSSL.getCSSL28 : TBits_1; inline;
  28710. begin
  28711. getCSSL28 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28712. end;
  28713. procedure TADC10_AD1CSSL.setCSSL29; inline;
  28714. begin
  28715. pTDefRegMap(@Self)^.&set := $20000000;
  28716. end;
  28717. procedure TADC10_AD1CSSL.clearCSSL29; inline;
  28718. begin
  28719. pTDefRegMap(@Self)^.clr := $20000000;
  28720. end;
  28721. procedure TADC10_AD1CSSL.setCSSL29(thebits : TBits_1); inline;
  28722. begin
  28723. if thebits = 0 then
  28724. pTDefRegMap(@Self)^.clr := $20000000
  28725. else
  28726. pTDefRegMap(@Self)^.&set := $20000000;
  28727. end;
  28728. function TADC10_AD1CSSL.getCSSL29 : TBits_1; inline;
  28729. begin
  28730. getCSSL29 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28731. end;
  28732. procedure TADC10_AD1CSSL.setCSSL30; inline;
  28733. begin
  28734. pTDefRegMap(@Self)^.&set := $40000000;
  28735. end;
  28736. procedure TADC10_AD1CSSL.clearCSSL30; inline;
  28737. begin
  28738. pTDefRegMap(@Self)^.clr := $40000000;
  28739. end;
  28740. procedure TADC10_AD1CSSL.setCSSL30(thebits : TBits_1); inline;
  28741. begin
  28742. if thebits = 0 then
  28743. pTDefRegMap(@Self)^.clr := $40000000
  28744. else
  28745. pTDefRegMap(@Self)^.&set := $40000000;
  28746. end;
  28747. function TADC10_AD1CSSL.getCSSL30 : TBits_1; inline;
  28748. begin
  28749. getCSSL30 := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28750. end;
  28751. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  28752. begin
  28753. pTDefRegMap(@Self)^.val := thebits;
  28754. end;
  28755. function TADC10_AD1CSSL.getw : TBits_32; inline;
  28756. begin
  28757. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28758. end;
  28759. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  28760. begin
  28761. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  28762. end;
  28763. function TCVR_CVRCON.getCVR : TBits_4; inline;
  28764. begin
  28765. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  28766. end;
  28767. procedure TCVR_CVRCON.setCVRSS; inline;
  28768. begin
  28769. pTDefRegMap(@Self)^.&set := $00000010;
  28770. end;
  28771. procedure TCVR_CVRCON.clearCVRSS; inline;
  28772. begin
  28773. pTDefRegMap(@Self)^.clr := $00000010;
  28774. end;
  28775. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  28776. begin
  28777. if thebits = 0 then
  28778. pTDefRegMap(@Self)^.clr := $00000010
  28779. else
  28780. pTDefRegMap(@Self)^.&set := $00000010;
  28781. end;
  28782. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  28783. begin
  28784. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28785. end;
  28786. procedure TCVR_CVRCON.setCVRR; inline;
  28787. begin
  28788. pTDefRegMap(@Self)^.&set := $00000020;
  28789. end;
  28790. procedure TCVR_CVRCON.clearCVRR; inline;
  28791. begin
  28792. pTDefRegMap(@Self)^.clr := $00000020;
  28793. end;
  28794. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  28795. begin
  28796. if thebits = 0 then
  28797. pTDefRegMap(@Self)^.clr := $00000020
  28798. else
  28799. pTDefRegMap(@Self)^.&set := $00000020;
  28800. end;
  28801. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  28802. begin
  28803. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28804. end;
  28805. procedure TCVR_CVRCON.setCVROE; inline;
  28806. begin
  28807. pTDefRegMap(@Self)^.&set := $00000040;
  28808. end;
  28809. procedure TCVR_CVRCON.clearCVROE; inline;
  28810. begin
  28811. pTDefRegMap(@Self)^.clr := $00000040;
  28812. end;
  28813. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  28814. begin
  28815. if thebits = 0 then
  28816. pTDefRegMap(@Self)^.clr := $00000040
  28817. else
  28818. pTDefRegMap(@Self)^.&set := $00000040;
  28819. end;
  28820. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  28821. begin
  28822. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28823. end;
  28824. procedure TCVR_CVRCON.setON; inline;
  28825. begin
  28826. pTDefRegMap(@Self)^.&set := $00008000;
  28827. end;
  28828. procedure TCVR_CVRCON.clearON; inline;
  28829. begin
  28830. pTDefRegMap(@Self)^.clr := $00008000;
  28831. end;
  28832. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  28833. begin
  28834. if thebits = 0 then
  28835. pTDefRegMap(@Self)^.clr := $00008000
  28836. else
  28837. pTDefRegMap(@Self)^.&set := $00008000;
  28838. end;
  28839. function TCVR_CVRCON.getON : TBits_1; inline;
  28840. begin
  28841. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28842. end;
  28843. procedure TCVR_CVRCON.setCVR0; inline;
  28844. begin
  28845. pTDefRegMap(@Self)^.&set := $00000001;
  28846. end;
  28847. procedure TCVR_CVRCON.clearCVR0; inline;
  28848. begin
  28849. pTDefRegMap(@Self)^.clr := $00000001;
  28850. end;
  28851. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  28852. begin
  28853. if thebits = 0 then
  28854. pTDefRegMap(@Self)^.clr := $00000001
  28855. else
  28856. pTDefRegMap(@Self)^.&set := $00000001;
  28857. end;
  28858. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  28859. begin
  28860. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28861. end;
  28862. procedure TCVR_CVRCON.setCVR1; inline;
  28863. begin
  28864. pTDefRegMap(@Self)^.&set := $00000002;
  28865. end;
  28866. procedure TCVR_CVRCON.clearCVR1; inline;
  28867. begin
  28868. pTDefRegMap(@Self)^.clr := $00000002;
  28869. end;
  28870. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  28871. begin
  28872. if thebits = 0 then
  28873. pTDefRegMap(@Self)^.clr := $00000002
  28874. else
  28875. pTDefRegMap(@Self)^.&set := $00000002;
  28876. end;
  28877. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  28878. begin
  28879. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28880. end;
  28881. procedure TCVR_CVRCON.setCVR2; inline;
  28882. begin
  28883. pTDefRegMap(@Self)^.&set := $00000004;
  28884. end;
  28885. procedure TCVR_CVRCON.clearCVR2; inline;
  28886. begin
  28887. pTDefRegMap(@Self)^.clr := $00000004;
  28888. end;
  28889. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  28890. begin
  28891. if thebits = 0 then
  28892. pTDefRegMap(@Self)^.clr := $00000004
  28893. else
  28894. pTDefRegMap(@Self)^.&set := $00000004;
  28895. end;
  28896. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  28897. begin
  28898. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28899. end;
  28900. procedure TCVR_CVRCON.setCVR3; inline;
  28901. begin
  28902. pTDefRegMap(@Self)^.&set := $00000008;
  28903. end;
  28904. procedure TCVR_CVRCON.clearCVR3; inline;
  28905. begin
  28906. pTDefRegMap(@Self)^.clr := $00000008;
  28907. end;
  28908. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  28909. begin
  28910. if thebits = 0 then
  28911. pTDefRegMap(@Self)^.clr := $00000008
  28912. else
  28913. pTDefRegMap(@Self)^.&set := $00000008;
  28914. end;
  28915. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  28916. begin
  28917. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28918. end;
  28919. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  28920. begin
  28921. pTDefRegMap(@Self)^.val := thebits;
  28922. end;
  28923. function TCVR_CVRCON.getw : TBits_32; inline;
  28924. begin
  28925. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28926. end;
  28927. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  28928. begin
  28929. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28930. end;
  28931. function TCMP_CM1CON.getCCH : TBits_2; inline;
  28932. begin
  28933. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28934. end;
  28935. procedure TCMP_CM1CON.setCREF; inline;
  28936. begin
  28937. pTDefRegMap(@Self)^.&set := $00000010;
  28938. end;
  28939. procedure TCMP_CM1CON.clearCREF; inline;
  28940. begin
  28941. pTDefRegMap(@Self)^.clr := $00000010;
  28942. end;
  28943. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  28944. begin
  28945. if thebits = 0 then
  28946. pTDefRegMap(@Self)^.clr := $00000010
  28947. else
  28948. pTDefRegMap(@Self)^.&set := $00000010;
  28949. end;
  28950. function TCMP_CM1CON.getCREF : TBits_1; inline;
  28951. begin
  28952. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28953. end;
  28954. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  28955. begin
  28956. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  28957. end;
  28958. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  28959. begin
  28960. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  28961. end;
  28962. procedure TCMP_CM1CON.setCOUT; inline;
  28963. begin
  28964. pTDefRegMap(@Self)^.&set := $00000100;
  28965. end;
  28966. procedure TCMP_CM1CON.clearCOUT; inline;
  28967. begin
  28968. pTDefRegMap(@Self)^.clr := $00000100;
  28969. end;
  28970. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  28971. begin
  28972. if thebits = 0 then
  28973. pTDefRegMap(@Self)^.clr := $00000100
  28974. else
  28975. pTDefRegMap(@Self)^.&set := $00000100;
  28976. end;
  28977. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  28978. begin
  28979. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28980. end;
  28981. procedure TCMP_CM1CON.setCPOL; inline;
  28982. begin
  28983. pTDefRegMap(@Self)^.&set := $00002000;
  28984. end;
  28985. procedure TCMP_CM1CON.clearCPOL; inline;
  28986. begin
  28987. pTDefRegMap(@Self)^.clr := $00002000;
  28988. end;
  28989. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  28990. begin
  28991. if thebits = 0 then
  28992. pTDefRegMap(@Self)^.clr := $00002000
  28993. else
  28994. pTDefRegMap(@Self)^.&set := $00002000;
  28995. end;
  28996. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  28997. begin
  28998. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28999. end;
  29000. procedure TCMP_CM1CON.setCOE; inline;
  29001. begin
  29002. pTDefRegMap(@Self)^.&set := $00004000;
  29003. end;
  29004. procedure TCMP_CM1CON.clearCOE; inline;
  29005. begin
  29006. pTDefRegMap(@Self)^.clr := $00004000;
  29007. end;
  29008. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  29009. begin
  29010. if thebits = 0 then
  29011. pTDefRegMap(@Self)^.clr := $00004000
  29012. else
  29013. pTDefRegMap(@Self)^.&set := $00004000;
  29014. end;
  29015. function TCMP_CM1CON.getCOE : TBits_1; inline;
  29016. begin
  29017. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29018. end;
  29019. procedure TCMP_CM1CON.setON; inline;
  29020. begin
  29021. pTDefRegMap(@Self)^.&set := $00008000;
  29022. end;
  29023. procedure TCMP_CM1CON.clearON; inline;
  29024. begin
  29025. pTDefRegMap(@Self)^.clr := $00008000;
  29026. end;
  29027. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  29028. begin
  29029. if thebits = 0 then
  29030. pTDefRegMap(@Self)^.clr := $00008000
  29031. else
  29032. pTDefRegMap(@Self)^.&set := $00008000;
  29033. end;
  29034. function TCMP_CM1CON.getON : TBits_1; inline;
  29035. begin
  29036. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29037. end;
  29038. procedure TCMP_CM1CON.setCCH0; inline;
  29039. begin
  29040. pTDefRegMap(@Self)^.&set := $00000001;
  29041. end;
  29042. procedure TCMP_CM1CON.clearCCH0; inline;
  29043. begin
  29044. pTDefRegMap(@Self)^.clr := $00000001;
  29045. end;
  29046. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  29047. begin
  29048. if thebits = 0 then
  29049. pTDefRegMap(@Self)^.clr := $00000001
  29050. else
  29051. pTDefRegMap(@Self)^.&set := $00000001;
  29052. end;
  29053. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  29054. begin
  29055. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29056. end;
  29057. procedure TCMP_CM1CON.setCCH1; inline;
  29058. begin
  29059. pTDefRegMap(@Self)^.&set := $00000002;
  29060. end;
  29061. procedure TCMP_CM1CON.clearCCH1; inline;
  29062. begin
  29063. pTDefRegMap(@Self)^.clr := $00000002;
  29064. end;
  29065. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  29066. begin
  29067. if thebits = 0 then
  29068. pTDefRegMap(@Self)^.clr := $00000002
  29069. else
  29070. pTDefRegMap(@Self)^.&set := $00000002;
  29071. end;
  29072. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  29073. begin
  29074. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29075. end;
  29076. procedure TCMP_CM1CON.setEVPOL0; inline;
  29077. begin
  29078. pTDefRegMap(@Self)^.&set := $00000040;
  29079. end;
  29080. procedure TCMP_CM1CON.clearEVPOL0; inline;
  29081. begin
  29082. pTDefRegMap(@Self)^.clr := $00000040;
  29083. end;
  29084. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  29085. begin
  29086. if thebits = 0 then
  29087. pTDefRegMap(@Self)^.clr := $00000040
  29088. else
  29089. pTDefRegMap(@Self)^.&set := $00000040;
  29090. end;
  29091. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  29092. begin
  29093. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29094. end;
  29095. procedure TCMP_CM1CON.setEVPOL1; inline;
  29096. begin
  29097. pTDefRegMap(@Self)^.&set := $00000080;
  29098. end;
  29099. procedure TCMP_CM1CON.clearEVPOL1; inline;
  29100. begin
  29101. pTDefRegMap(@Self)^.clr := $00000080;
  29102. end;
  29103. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  29104. begin
  29105. if thebits = 0 then
  29106. pTDefRegMap(@Self)^.clr := $00000080
  29107. else
  29108. pTDefRegMap(@Self)^.&set := $00000080;
  29109. end;
  29110. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  29111. begin
  29112. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29113. end;
  29114. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  29115. begin
  29116. pTDefRegMap(@Self)^.val := thebits;
  29117. end;
  29118. function TCMP_CM1CON.getw : TBits_32; inline;
  29119. begin
  29120. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29121. end;
  29122. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  29123. begin
  29124. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29125. end;
  29126. function TCMP_CM2CON.getCCH : TBits_2; inline;
  29127. begin
  29128. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29129. end;
  29130. procedure TCMP_CM2CON.setCREF; inline;
  29131. begin
  29132. pTDefRegMap(@Self)^.&set := $00000010;
  29133. end;
  29134. procedure TCMP_CM2CON.clearCREF; inline;
  29135. begin
  29136. pTDefRegMap(@Self)^.clr := $00000010;
  29137. end;
  29138. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  29139. begin
  29140. if thebits = 0 then
  29141. pTDefRegMap(@Self)^.clr := $00000010
  29142. else
  29143. pTDefRegMap(@Self)^.&set := $00000010;
  29144. end;
  29145. function TCMP_CM2CON.getCREF : TBits_1; inline;
  29146. begin
  29147. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29148. end;
  29149. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  29150. begin
  29151. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29152. end;
  29153. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  29154. begin
  29155. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29156. end;
  29157. procedure TCMP_CM2CON.setCOUT; inline;
  29158. begin
  29159. pTDefRegMap(@Self)^.&set := $00000100;
  29160. end;
  29161. procedure TCMP_CM2CON.clearCOUT; inline;
  29162. begin
  29163. pTDefRegMap(@Self)^.clr := $00000100;
  29164. end;
  29165. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  29166. begin
  29167. if thebits = 0 then
  29168. pTDefRegMap(@Self)^.clr := $00000100
  29169. else
  29170. pTDefRegMap(@Self)^.&set := $00000100;
  29171. end;
  29172. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  29173. begin
  29174. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29175. end;
  29176. procedure TCMP_CM2CON.setCPOL; inline;
  29177. begin
  29178. pTDefRegMap(@Self)^.&set := $00002000;
  29179. end;
  29180. procedure TCMP_CM2CON.clearCPOL; inline;
  29181. begin
  29182. pTDefRegMap(@Self)^.clr := $00002000;
  29183. end;
  29184. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  29185. begin
  29186. if thebits = 0 then
  29187. pTDefRegMap(@Self)^.clr := $00002000
  29188. else
  29189. pTDefRegMap(@Self)^.&set := $00002000;
  29190. end;
  29191. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  29192. begin
  29193. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29194. end;
  29195. procedure TCMP_CM2CON.setCOE; inline;
  29196. begin
  29197. pTDefRegMap(@Self)^.&set := $00004000;
  29198. end;
  29199. procedure TCMP_CM2CON.clearCOE; inline;
  29200. begin
  29201. pTDefRegMap(@Self)^.clr := $00004000;
  29202. end;
  29203. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  29204. begin
  29205. if thebits = 0 then
  29206. pTDefRegMap(@Self)^.clr := $00004000
  29207. else
  29208. pTDefRegMap(@Self)^.&set := $00004000;
  29209. end;
  29210. function TCMP_CM2CON.getCOE : TBits_1; inline;
  29211. begin
  29212. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29213. end;
  29214. procedure TCMP_CM2CON.setON; inline;
  29215. begin
  29216. pTDefRegMap(@Self)^.&set := $00008000;
  29217. end;
  29218. procedure TCMP_CM2CON.clearON; inline;
  29219. begin
  29220. pTDefRegMap(@Self)^.clr := $00008000;
  29221. end;
  29222. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  29223. begin
  29224. if thebits = 0 then
  29225. pTDefRegMap(@Self)^.clr := $00008000
  29226. else
  29227. pTDefRegMap(@Self)^.&set := $00008000;
  29228. end;
  29229. function TCMP_CM2CON.getON : TBits_1; inline;
  29230. begin
  29231. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29232. end;
  29233. procedure TCMP_CM2CON.setCCH0; inline;
  29234. begin
  29235. pTDefRegMap(@Self)^.&set := $00000001;
  29236. end;
  29237. procedure TCMP_CM2CON.clearCCH0; inline;
  29238. begin
  29239. pTDefRegMap(@Self)^.clr := $00000001;
  29240. end;
  29241. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  29242. begin
  29243. if thebits = 0 then
  29244. pTDefRegMap(@Self)^.clr := $00000001
  29245. else
  29246. pTDefRegMap(@Self)^.&set := $00000001;
  29247. end;
  29248. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  29249. begin
  29250. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29251. end;
  29252. procedure TCMP_CM2CON.setCCH1; inline;
  29253. begin
  29254. pTDefRegMap(@Self)^.&set := $00000002;
  29255. end;
  29256. procedure TCMP_CM2CON.clearCCH1; inline;
  29257. begin
  29258. pTDefRegMap(@Self)^.clr := $00000002;
  29259. end;
  29260. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  29261. begin
  29262. if thebits = 0 then
  29263. pTDefRegMap(@Self)^.clr := $00000002
  29264. else
  29265. pTDefRegMap(@Self)^.&set := $00000002;
  29266. end;
  29267. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  29268. begin
  29269. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29270. end;
  29271. procedure TCMP_CM2CON.setEVPOL0; inline;
  29272. begin
  29273. pTDefRegMap(@Self)^.&set := $00000040;
  29274. end;
  29275. procedure TCMP_CM2CON.clearEVPOL0; inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.clr := $00000040;
  29278. end;
  29279. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  29280. begin
  29281. if thebits = 0 then
  29282. pTDefRegMap(@Self)^.clr := $00000040
  29283. else
  29284. pTDefRegMap(@Self)^.&set := $00000040;
  29285. end;
  29286. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  29287. begin
  29288. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29289. end;
  29290. procedure TCMP_CM2CON.setEVPOL1; inline;
  29291. begin
  29292. pTDefRegMap(@Self)^.&set := $00000080;
  29293. end;
  29294. procedure TCMP_CM2CON.clearEVPOL1; inline;
  29295. begin
  29296. pTDefRegMap(@Self)^.clr := $00000080;
  29297. end;
  29298. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  29299. begin
  29300. if thebits = 0 then
  29301. pTDefRegMap(@Self)^.clr := $00000080
  29302. else
  29303. pTDefRegMap(@Self)^.&set := $00000080;
  29304. end;
  29305. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  29306. begin
  29307. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29308. end;
  29309. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  29310. begin
  29311. pTDefRegMap(@Self)^.val := thebits;
  29312. end;
  29313. function TCMP_CM2CON.getw : TBits_32; inline;
  29314. begin
  29315. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29316. end;
  29317. procedure TCMP_CMSTAT.setC1OUT; inline;
  29318. begin
  29319. pTDefRegMap(@Self)^.&set := $00000001;
  29320. end;
  29321. procedure TCMP_CMSTAT.clearC1OUT; inline;
  29322. begin
  29323. pTDefRegMap(@Self)^.clr := $00000001;
  29324. end;
  29325. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  29326. begin
  29327. if thebits = 0 then
  29328. pTDefRegMap(@Self)^.clr := $00000001
  29329. else
  29330. pTDefRegMap(@Self)^.&set := $00000001;
  29331. end;
  29332. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  29333. begin
  29334. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29335. end;
  29336. procedure TCMP_CMSTAT.setC2OUT; inline;
  29337. begin
  29338. pTDefRegMap(@Self)^.&set := $00000002;
  29339. end;
  29340. procedure TCMP_CMSTAT.clearC2OUT; inline;
  29341. begin
  29342. pTDefRegMap(@Self)^.clr := $00000002;
  29343. end;
  29344. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  29345. begin
  29346. if thebits = 0 then
  29347. pTDefRegMap(@Self)^.clr := $00000002
  29348. else
  29349. pTDefRegMap(@Self)^.&set := $00000002;
  29350. end;
  29351. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  29352. begin
  29353. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29354. end;
  29355. procedure TCMP_CMSTAT.setSIDL; inline;
  29356. begin
  29357. pTDefRegMap(@Self)^.&set := $00002000;
  29358. end;
  29359. procedure TCMP_CMSTAT.clearSIDL; inline;
  29360. begin
  29361. pTDefRegMap(@Self)^.clr := $00002000;
  29362. end;
  29363. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  29364. begin
  29365. if thebits = 0 then
  29366. pTDefRegMap(@Self)^.clr := $00002000
  29367. else
  29368. pTDefRegMap(@Self)^.&set := $00002000;
  29369. end;
  29370. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  29371. begin
  29372. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29373. end;
  29374. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  29375. begin
  29376. pTDefRegMap(@Self)^.val := thebits;
  29377. end;
  29378. function TCMP_CMSTAT.getw : TBits_32; inline;
  29379. begin
  29380. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29381. end;
  29382. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  29383. begin
  29384. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29385. end;
  29386. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  29387. begin
  29388. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29389. end;
  29390. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  29391. begin
  29392. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  29393. end;
  29394. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  29395. begin
  29396. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  29397. end;
  29398. procedure TCMP_CTMUCON.setCTTRIG; inline;
  29399. begin
  29400. pTDefRegMap(@Self)^.&set := $00000100;
  29401. end;
  29402. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  29403. begin
  29404. pTDefRegMap(@Self)^.clr := $00000100;
  29405. end;
  29406. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  29407. begin
  29408. if thebits = 0 then
  29409. pTDefRegMap(@Self)^.clr := $00000100
  29410. else
  29411. pTDefRegMap(@Self)^.&set := $00000100;
  29412. end;
  29413. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  29414. begin
  29415. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29416. end;
  29417. procedure TCMP_CTMUCON.setIDISSEN; inline;
  29418. begin
  29419. pTDefRegMap(@Self)^.&set := $00000200;
  29420. end;
  29421. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  29422. begin
  29423. pTDefRegMap(@Self)^.clr := $00000200;
  29424. end;
  29425. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  29426. begin
  29427. if thebits = 0 then
  29428. pTDefRegMap(@Self)^.clr := $00000200
  29429. else
  29430. pTDefRegMap(@Self)^.&set := $00000200;
  29431. end;
  29432. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  29433. begin
  29434. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29435. end;
  29436. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  29437. begin
  29438. pTDefRegMap(@Self)^.&set := $00000400;
  29439. end;
  29440. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  29441. begin
  29442. pTDefRegMap(@Self)^.clr := $00000400;
  29443. end;
  29444. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  29445. begin
  29446. if thebits = 0 then
  29447. pTDefRegMap(@Self)^.clr := $00000400
  29448. else
  29449. pTDefRegMap(@Self)^.&set := $00000400;
  29450. end;
  29451. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  29452. begin
  29453. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29454. end;
  29455. procedure TCMP_CTMUCON.setEDGEN; inline;
  29456. begin
  29457. pTDefRegMap(@Self)^.&set := $00000800;
  29458. end;
  29459. procedure TCMP_CTMUCON.clearEDGEN; inline;
  29460. begin
  29461. pTDefRegMap(@Self)^.clr := $00000800;
  29462. end;
  29463. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  29464. begin
  29465. if thebits = 0 then
  29466. pTDefRegMap(@Self)^.clr := $00000800
  29467. else
  29468. pTDefRegMap(@Self)^.&set := $00000800;
  29469. end;
  29470. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  29471. begin
  29472. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29473. end;
  29474. procedure TCMP_CTMUCON.setTGEN; inline;
  29475. begin
  29476. pTDefRegMap(@Self)^.&set := $00001000;
  29477. end;
  29478. procedure TCMP_CTMUCON.clearTGEN; inline;
  29479. begin
  29480. pTDefRegMap(@Self)^.clr := $00001000;
  29481. end;
  29482. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  29483. begin
  29484. if thebits = 0 then
  29485. pTDefRegMap(@Self)^.clr := $00001000
  29486. else
  29487. pTDefRegMap(@Self)^.&set := $00001000;
  29488. end;
  29489. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  29490. begin
  29491. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29492. end;
  29493. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  29494. begin
  29495. pTDefRegMap(@Self)^.&set := $00002000;
  29496. end;
  29497. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  29498. begin
  29499. pTDefRegMap(@Self)^.clr := $00002000;
  29500. end;
  29501. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  29502. begin
  29503. if thebits = 0 then
  29504. pTDefRegMap(@Self)^.clr := $00002000
  29505. else
  29506. pTDefRegMap(@Self)^.&set := $00002000;
  29507. end;
  29508. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  29509. begin
  29510. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29511. end;
  29512. procedure TCMP_CTMUCON.setON; inline;
  29513. begin
  29514. pTDefRegMap(@Self)^.&set := $00008000;
  29515. end;
  29516. procedure TCMP_CTMUCON.clearON; inline;
  29517. begin
  29518. pTDefRegMap(@Self)^.clr := $00008000;
  29519. end;
  29520. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  29521. begin
  29522. if thebits = 0 then
  29523. pTDefRegMap(@Self)^.clr := $00008000
  29524. else
  29525. pTDefRegMap(@Self)^.&set := $00008000;
  29526. end;
  29527. function TCMP_CTMUCON.getON : TBits_1; inline;
  29528. begin
  29529. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29530. end;
  29531. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  29532. begin
  29533. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  29534. end;
  29535. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  29536. begin
  29537. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  29538. end;
  29539. procedure TCMP_CTMUCON.setEDG2POL; inline;
  29540. begin
  29541. pTDefRegMap(@Self)^.&set := $00400000;
  29542. end;
  29543. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  29544. begin
  29545. pTDefRegMap(@Self)^.clr := $00400000;
  29546. end;
  29547. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  29548. begin
  29549. if thebits = 0 then
  29550. pTDefRegMap(@Self)^.clr := $00400000
  29551. else
  29552. pTDefRegMap(@Self)^.&set := $00400000;
  29553. end;
  29554. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  29555. begin
  29556. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  29557. end;
  29558. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  29559. begin
  29560. pTDefRegMap(@Self)^.&set := $00800000;
  29561. end;
  29562. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  29563. begin
  29564. pTDefRegMap(@Self)^.clr := $00800000;
  29565. end;
  29566. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  29567. begin
  29568. if thebits = 0 then
  29569. pTDefRegMap(@Self)^.clr := $00800000
  29570. else
  29571. pTDefRegMap(@Self)^.&set := $00800000;
  29572. end;
  29573. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  29574. begin
  29575. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  29576. end;
  29577. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  29578. begin
  29579. pTDefRegMap(@Self)^.&set := $01000000;
  29580. end;
  29581. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  29582. begin
  29583. pTDefRegMap(@Self)^.clr := $01000000;
  29584. end;
  29585. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  29586. begin
  29587. if thebits = 0 then
  29588. pTDefRegMap(@Self)^.clr := $01000000
  29589. else
  29590. pTDefRegMap(@Self)^.&set := $01000000;
  29591. end;
  29592. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  29593. begin
  29594. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29595. end;
  29596. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  29597. begin
  29598. pTDefRegMap(@Self)^.&set := $02000000;
  29599. end;
  29600. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  29601. begin
  29602. pTDefRegMap(@Self)^.clr := $02000000;
  29603. end;
  29604. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  29605. begin
  29606. if thebits = 0 then
  29607. pTDefRegMap(@Self)^.clr := $02000000
  29608. else
  29609. pTDefRegMap(@Self)^.&set := $02000000;
  29610. end;
  29611. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  29612. begin
  29613. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  29614. end;
  29615. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  29616. begin
  29617. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  29618. end;
  29619. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  29620. begin
  29621. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  29622. end;
  29623. procedure TCMP_CTMUCON.setEDG1POL; inline;
  29624. begin
  29625. pTDefRegMap(@Self)^.&set := $40000000;
  29626. end;
  29627. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  29628. begin
  29629. pTDefRegMap(@Self)^.clr := $40000000;
  29630. end;
  29631. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  29632. begin
  29633. if thebits = 0 then
  29634. pTDefRegMap(@Self)^.clr := $40000000
  29635. else
  29636. pTDefRegMap(@Self)^.&set := $40000000;
  29637. end;
  29638. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  29639. begin
  29640. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  29641. end;
  29642. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  29643. begin
  29644. pTDefRegMap(@Self)^.&set := $80000000;
  29645. end;
  29646. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  29647. begin
  29648. pTDefRegMap(@Self)^.clr := $80000000;
  29649. end;
  29650. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  29651. begin
  29652. if thebits = 0 then
  29653. pTDefRegMap(@Self)^.clr := $80000000
  29654. else
  29655. pTDefRegMap(@Self)^.&set := $80000000;
  29656. end;
  29657. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  29658. begin
  29659. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  29660. end;
  29661. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  29662. begin
  29663. pTDefRegMap(@Self)^.val := thebits;
  29664. end;
  29665. function TCMP_CTMUCON.getw : TBits_32; inline;
  29666. begin
  29667. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29668. end;
  29669. procedure TOSC_OSCCON.setOSWEN; inline;
  29670. begin
  29671. pTDefRegMap(@Self)^.&set := $00000001;
  29672. end;
  29673. procedure TOSC_OSCCON.clearOSWEN; inline;
  29674. begin
  29675. pTDefRegMap(@Self)^.clr := $00000001;
  29676. end;
  29677. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  29678. begin
  29679. if thebits = 0 then
  29680. pTDefRegMap(@Self)^.clr := $00000001
  29681. else
  29682. pTDefRegMap(@Self)^.&set := $00000001;
  29683. end;
  29684. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  29685. begin
  29686. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29687. end;
  29688. procedure TOSC_OSCCON.setSOSCEN; inline;
  29689. begin
  29690. pTDefRegMap(@Self)^.&set := $00000002;
  29691. end;
  29692. procedure TOSC_OSCCON.clearSOSCEN; inline;
  29693. begin
  29694. pTDefRegMap(@Self)^.clr := $00000002;
  29695. end;
  29696. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  29697. begin
  29698. if thebits = 0 then
  29699. pTDefRegMap(@Self)^.clr := $00000002
  29700. else
  29701. pTDefRegMap(@Self)^.&set := $00000002;
  29702. end;
  29703. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  29704. begin
  29705. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29706. end;
  29707. procedure TOSC_OSCCON.setUFRCEN; inline;
  29708. begin
  29709. pTDefRegMap(@Self)^.&set := $00000004;
  29710. end;
  29711. procedure TOSC_OSCCON.clearUFRCEN; inline;
  29712. begin
  29713. pTDefRegMap(@Self)^.clr := $00000004;
  29714. end;
  29715. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  29716. begin
  29717. if thebits = 0 then
  29718. pTDefRegMap(@Self)^.clr := $00000004
  29719. else
  29720. pTDefRegMap(@Self)^.&set := $00000004;
  29721. end;
  29722. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  29723. begin
  29724. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29725. end;
  29726. procedure TOSC_OSCCON.setCF; inline;
  29727. begin
  29728. pTDefRegMap(@Self)^.&set := $00000008;
  29729. end;
  29730. procedure TOSC_OSCCON.clearCF; inline;
  29731. begin
  29732. pTDefRegMap(@Self)^.clr := $00000008;
  29733. end;
  29734. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  29735. begin
  29736. if thebits = 0 then
  29737. pTDefRegMap(@Self)^.clr := $00000008
  29738. else
  29739. pTDefRegMap(@Self)^.&set := $00000008;
  29740. end;
  29741. function TOSC_OSCCON.getCF : TBits_1; inline;
  29742. begin
  29743. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29744. end;
  29745. procedure TOSC_OSCCON.setSLPEN; inline;
  29746. begin
  29747. pTDefRegMap(@Self)^.&set := $00000010;
  29748. end;
  29749. procedure TOSC_OSCCON.clearSLPEN; inline;
  29750. begin
  29751. pTDefRegMap(@Self)^.clr := $00000010;
  29752. end;
  29753. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  29754. begin
  29755. if thebits = 0 then
  29756. pTDefRegMap(@Self)^.clr := $00000010
  29757. else
  29758. pTDefRegMap(@Self)^.&set := $00000010;
  29759. end;
  29760. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  29761. begin
  29762. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29763. end;
  29764. procedure TOSC_OSCCON.setSLOCK; inline;
  29765. begin
  29766. pTDefRegMap(@Self)^.&set := $00000020;
  29767. end;
  29768. procedure TOSC_OSCCON.clearSLOCK; inline;
  29769. begin
  29770. pTDefRegMap(@Self)^.clr := $00000020;
  29771. end;
  29772. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  29773. begin
  29774. if thebits = 0 then
  29775. pTDefRegMap(@Self)^.clr := $00000020
  29776. else
  29777. pTDefRegMap(@Self)^.&set := $00000020;
  29778. end;
  29779. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  29780. begin
  29781. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29782. end;
  29783. procedure TOSC_OSCCON.setULOCK; inline;
  29784. begin
  29785. pTDefRegMap(@Self)^.&set := $00000040;
  29786. end;
  29787. procedure TOSC_OSCCON.clearULOCK; inline;
  29788. begin
  29789. pTDefRegMap(@Self)^.clr := $00000040;
  29790. end;
  29791. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  29792. begin
  29793. if thebits = 0 then
  29794. pTDefRegMap(@Self)^.clr := $00000040
  29795. else
  29796. pTDefRegMap(@Self)^.&set := $00000040;
  29797. end;
  29798. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  29799. begin
  29800. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29801. end;
  29802. procedure TOSC_OSCCON.setCLKLOCK; inline;
  29803. begin
  29804. pTDefRegMap(@Self)^.&set := $00000080;
  29805. end;
  29806. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  29807. begin
  29808. pTDefRegMap(@Self)^.clr := $00000080;
  29809. end;
  29810. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  29811. begin
  29812. if thebits = 0 then
  29813. pTDefRegMap(@Self)^.clr := $00000080
  29814. else
  29815. pTDefRegMap(@Self)^.&set := $00000080;
  29816. end;
  29817. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  29818. begin
  29819. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29820. end;
  29821. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  29822. begin
  29823. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  29824. end;
  29825. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  29826. begin
  29827. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  29828. end;
  29829. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  29830. begin
  29831. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  29832. end;
  29833. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  29834. begin
  29835. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  29836. end;
  29837. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  29838. begin
  29839. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  29840. end;
  29841. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  29842. begin
  29843. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  29844. end;
  29845. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  29846. begin
  29847. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  29848. end;
  29849. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  29850. begin
  29851. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  29852. end;
  29853. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  29854. begin
  29855. pTDefRegMap(@Self)^.&set := $00200000;
  29856. end;
  29857. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  29858. begin
  29859. pTDefRegMap(@Self)^.clr := $00200000;
  29860. end;
  29861. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  29862. begin
  29863. if thebits = 0 then
  29864. pTDefRegMap(@Self)^.clr := $00200000
  29865. else
  29866. pTDefRegMap(@Self)^.&set := $00200000;
  29867. end;
  29868. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  29869. begin
  29870. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  29871. end;
  29872. procedure TOSC_OSCCON.setSOSCRDY; inline;
  29873. begin
  29874. pTDefRegMap(@Self)^.&set := $00400000;
  29875. end;
  29876. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  29877. begin
  29878. pTDefRegMap(@Self)^.clr := $00400000;
  29879. end;
  29880. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  29881. begin
  29882. if thebits = 0 then
  29883. pTDefRegMap(@Self)^.clr := $00400000
  29884. else
  29885. pTDefRegMap(@Self)^.&set := $00400000;
  29886. end;
  29887. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  29888. begin
  29889. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  29890. end;
  29891. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  29892. begin
  29893. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  29894. end;
  29895. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  29896. begin
  29897. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  29898. end;
  29899. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  29900. begin
  29901. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  29902. end;
  29903. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  29904. begin
  29905. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  29906. end;
  29907. procedure TOSC_OSCCON.setNOSC0; inline;
  29908. begin
  29909. pTDefRegMap(@Self)^.&set := $00000100;
  29910. end;
  29911. procedure TOSC_OSCCON.clearNOSC0; inline;
  29912. begin
  29913. pTDefRegMap(@Self)^.clr := $00000100;
  29914. end;
  29915. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  29916. begin
  29917. if thebits = 0 then
  29918. pTDefRegMap(@Self)^.clr := $00000100
  29919. else
  29920. pTDefRegMap(@Self)^.&set := $00000100;
  29921. end;
  29922. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  29923. begin
  29924. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29925. end;
  29926. procedure TOSC_OSCCON.setNOSC1; inline;
  29927. begin
  29928. pTDefRegMap(@Self)^.&set := $00000200;
  29929. end;
  29930. procedure TOSC_OSCCON.clearNOSC1; inline;
  29931. begin
  29932. pTDefRegMap(@Self)^.clr := $00000200;
  29933. end;
  29934. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  29935. begin
  29936. if thebits = 0 then
  29937. pTDefRegMap(@Self)^.clr := $00000200
  29938. else
  29939. pTDefRegMap(@Self)^.&set := $00000200;
  29940. end;
  29941. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  29942. begin
  29943. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29944. end;
  29945. procedure TOSC_OSCCON.setNOSC2; inline;
  29946. begin
  29947. pTDefRegMap(@Self)^.&set := $00000400;
  29948. end;
  29949. procedure TOSC_OSCCON.clearNOSC2; inline;
  29950. begin
  29951. pTDefRegMap(@Self)^.clr := $00000400;
  29952. end;
  29953. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  29954. begin
  29955. if thebits = 0 then
  29956. pTDefRegMap(@Self)^.clr := $00000400
  29957. else
  29958. pTDefRegMap(@Self)^.&set := $00000400;
  29959. end;
  29960. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  29961. begin
  29962. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29963. end;
  29964. procedure TOSC_OSCCON.setCOSC0; inline;
  29965. begin
  29966. pTDefRegMap(@Self)^.&set := $00001000;
  29967. end;
  29968. procedure TOSC_OSCCON.clearCOSC0; inline;
  29969. begin
  29970. pTDefRegMap(@Self)^.clr := $00001000;
  29971. end;
  29972. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  29973. begin
  29974. if thebits = 0 then
  29975. pTDefRegMap(@Self)^.clr := $00001000
  29976. else
  29977. pTDefRegMap(@Self)^.&set := $00001000;
  29978. end;
  29979. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  29980. begin
  29981. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29982. end;
  29983. procedure TOSC_OSCCON.setCOSC1; inline;
  29984. begin
  29985. pTDefRegMap(@Self)^.&set := $00002000;
  29986. end;
  29987. procedure TOSC_OSCCON.clearCOSC1; inline;
  29988. begin
  29989. pTDefRegMap(@Self)^.clr := $00002000;
  29990. end;
  29991. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  29992. begin
  29993. if thebits = 0 then
  29994. pTDefRegMap(@Self)^.clr := $00002000
  29995. else
  29996. pTDefRegMap(@Self)^.&set := $00002000;
  29997. end;
  29998. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  29999. begin
  30000. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30001. end;
  30002. procedure TOSC_OSCCON.setCOSC2; inline;
  30003. begin
  30004. pTDefRegMap(@Self)^.&set := $00004000;
  30005. end;
  30006. procedure TOSC_OSCCON.clearCOSC2; inline;
  30007. begin
  30008. pTDefRegMap(@Self)^.clr := $00004000;
  30009. end;
  30010. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  30011. begin
  30012. if thebits = 0 then
  30013. pTDefRegMap(@Self)^.clr := $00004000
  30014. else
  30015. pTDefRegMap(@Self)^.&set := $00004000;
  30016. end;
  30017. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  30018. begin
  30019. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30020. end;
  30021. procedure TOSC_OSCCON.setPLLMULT0; inline;
  30022. begin
  30023. pTDefRegMap(@Self)^.&set := $00010000;
  30024. end;
  30025. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  30026. begin
  30027. pTDefRegMap(@Self)^.clr := $00010000;
  30028. end;
  30029. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  30030. begin
  30031. if thebits = 0 then
  30032. pTDefRegMap(@Self)^.clr := $00010000
  30033. else
  30034. pTDefRegMap(@Self)^.&set := $00010000;
  30035. end;
  30036. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  30037. begin
  30038. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30039. end;
  30040. procedure TOSC_OSCCON.setPLLMULT1; inline;
  30041. begin
  30042. pTDefRegMap(@Self)^.&set := $00020000;
  30043. end;
  30044. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  30045. begin
  30046. pTDefRegMap(@Self)^.clr := $00020000;
  30047. end;
  30048. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  30049. begin
  30050. if thebits = 0 then
  30051. pTDefRegMap(@Self)^.clr := $00020000
  30052. else
  30053. pTDefRegMap(@Self)^.&set := $00020000;
  30054. end;
  30055. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  30056. begin
  30057. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30058. end;
  30059. procedure TOSC_OSCCON.setPLLMULT2; inline;
  30060. begin
  30061. pTDefRegMap(@Self)^.&set := $00040000;
  30062. end;
  30063. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  30064. begin
  30065. pTDefRegMap(@Self)^.clr := $00040000;
  30066. end;
  30067. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  30068. begin
  30069. if thebits = 0 then
  30070. pTDefRegMap(@Self)^.clr := $00040000
  30071. else
  30072. pTDefRegMap(@Self)^.&set := $00040000;
  30073. end;
  30074. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  30075. begin
  30076. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30077. end;
  30078. procedure TOSC_OSCCON.setPBDIV0; inline;
  30079. begin
  30080. pTDefRegMap(@Self)^.&set := $00080000;
  30081. end;
  30082. procedure TOSC_OSCCON.clearPBDIV0; inline;
  30083. begin
  30084. pTDefRegMap(@Self)^.clr := $00080000;
  30085. end;
  30086. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  30087. begin
  30088. if thebits = 0 then
  30089. pTDefRegMap(@Self)^.clr := $00080000
  30090. else
  30091. pTDefRegMap(@Self)^.&set := $00080000;
  30092. end;
  30093. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  30094. begin
  30095. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30096. end;
  30097. procedure TOSC_OSCCON.setPBDIV1; inline;
  30098. begin
  30099. pTDefRegMap(@Self)^.&set := $00100000;
  30100. end;
  30101. procedure TOSC_OSCCON.clearPBDIV1; inline;
  30102. begin
  30103. pTDefRegMap(@Self)^.clr := $00100000;
  30104. end;
  30105. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  30106. begin
  30107. if thebits = 0 then
  30108. pTDefRegMap(@Self)^.clr := $00100000
  30109. else
  30110. pTDefRegMap(@Self)^.&set := $00100000;
  30111. end;
  30112. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  30113. begin
  30114. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30115. end;
  30116. procedure TOSC_OSCCON.setFRCDIV0; inline;
  30117. begin
  30118. pTDefRegMap(@Self)^.&set := $01000000;
  30119. end;
  30120. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  30121. begin
  30122. pTDefRegMap(@Self)^.clr := $01000000;
  30123. end;
  30124. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  30125. begin
  30126. if thebits = 0 then
  30127. pTDefRegMap(@Self)^.clr := $01000000
  30128. else
  30129. pTDefRegMap(@Self)^.&set := $01000000;
  30130. end;
  30131. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  30132. begin
  30133. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30134. end;
  30135. procedure TOSC_OSCCON.setFRCDIV1; inline;
  30136. begin
  30137. pTDefRegMap(@Self)^.&set := $02000000;
  30138. end;
  30139. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  30140. begin
  30141. pTDefRegMap(@Self)^.clr := $02000000;
  30142. end;
  30143. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  30144. begin
  30145. if thebits = 0 then
  30146. pTDefRegMap(@Self)^.clr := $02000000
  30147. else
  30148. pTDefRegMap(@Self)^.&set := $02000000;
  30149. end;
  30150. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  30151. begin
  30152. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  30153. end;
  30154. procedure TOSC_OSCCON.setFRCDIV2; inline;
  30155. begin
  30156. pTDefRegMap(@Self)^.&set := $04000000;
  30157. end;
  30158. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  30159. begin
  30160. pTDefRegMap(@Self)^.clr := $04000000;
  30161. end;
  30162. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  30163. begin
  30164. if thebits = 0 then
  30165. pTDefRegMap(@Self)^.clr := $04000000
  30166. else
  30167. pTDefRegMap(@Self)^.&set := $04000000;
  30168. end;
  30169. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  30170. begin
  30171. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  30172. end;
  30173. procedure TOSC_OSCCON.setPLLODIV0; inline;
  30174. begin
  30175. pTDefRegMap(@Self)^.&set := $08000000;
  30176. end;
  30177. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  30178. begin
  30179. pTDefRegMap(@Self)^.clr := $08000000;
  30180. end;
  30181. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  30182. begin
  30183. if thebits = 0 then
  30184. pTDefRegMap(@Self)^.clr := $08000000
  30185. else
  30186. pTDefRegMap(@Self)^.&set := $08000000;
  30187. end;
  30188. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  30189. begin
  30190. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  30191. end;
  30192. procedure TOSC_OSCCON.setPLLODIV1; inline;
  30193. begin
  30194. pTDefRegMap(@Self)^.&set := $10000000;
  30195. end;
  30196. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  30197. begin
  30198. pTDefRegMap(@Self)^.clr := $10000000;
  30199. end;
  30200. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  30201. begin
  30202. if thebits = 0 then
  30203. pTDefRegMap(@Self)^.clr := $10000000
  30204. else
  30205. pTDefRegMap(@Self)^.&set := $10000000;
  30206. end;
  30207. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  30208. begin
  30209. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  30210. end;
  30211. procedure TOSC_OSCCON.setPLLODIV2; inline;
  30212. begin
  30213. pTDefRegMap(@Self)^.&set := $20000000;
  30214. end;
  30215. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  30216. begin
  30217. pTDefRegMap(@Self)^.clr := $20000000;
  30218. end;
  30219. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  30220. begin
  30221. if thebits = 0 then
  30222. pTDefRegMap(@Self)^.clr := $20000000
  30223. else
  30224. pTDefRegMap(@Self)^.&set := $20000000;
  30225. end;
  30226. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  30227. begin
  30228. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  30229. end;
  30230. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  30231. begin
  30232. pTDefRegMap(@Self)^.val := thebits;
  30233. end;
  30234. function TOSC_OSCCON.getw : TBits_32; inline;
  30235. begin
  30236. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30237. end;
  30238. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  30239. begin
  30240. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  30241. end;
  30242. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  30243. begin
  30244. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  30245. end;
  30246. procedure TOSC_OSCTUN.setTUN0; inline;
  30247. begin
  30248. pTDefRegMap(@Self)^.&set := $00000001;
  30249. end;
  30250. procedure TOSC_OSCTUN.clearTUN0; inline;
  30251. begin
  30252. pTDefRegMap(@Self)^.clr := $00000001;
  30253. end;
  30254. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  30255. begin
  30256. if thebits = 0 then
  30257. pTDefRegMap(@Self)^.clr := $00000001
  30258. else
  30259. pTDefRegMap(@Self)^.&set := $00000001;
  30260. end;
  30261. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  30262. begin
  30263. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30264. end;
  30265. procedure TOSC_OSCTUN.setTUN1; inline;
  30266. begin
  30267. pTDefRegMap(@Self)^.&set := $00000002;
  30268. end;
  30269. procedure TOSC_OSCTUN.clearTUN1; inline;
  30270. begin
  30271. pTDefRegMap(@Self)^.clr := $00000002;
  30272. end;
  30273. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  30274. begin
  30275. if thebits = 0 then
  30276. pTDefRegMap(@Self)^.clr := $00000002
  30277. else
  30278. pTDefRegMap(@Self)^.&set := $00000002;
  30279. end;
  30280. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  30281. begin
  30282. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30283. end;
  30284. procedure TOSC_OSCTUN.setTUN2; inline;
  30285. begin
  30286. pTDefRegMap(@Self)^.&set := $00000004;
  30287. end;
  30288. procedure TOSC_OSCTUN.clearTUN2; inline;
  30289. begin
  30290. pTDefRegMap(@Self)^.clr := $00000004;
  30291. end;
  30292. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  30293. begin
  30294. if thebits = 0 then
  30295. pTDefRegMap(@Self)^.clr := $00000004
  30296. else
  30297. pTDefRegMap(@Self)^.&set := $00000004;
  30298. end;
  30299. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  30300. begin
  30301. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30302. end;
  30303. procedure TOSC_OSCTUN.setTUN3; inline;
  30304. begin
  30305. pTDefRegMap(@Self)^.&set := $00000008;
  30306. end;
  30307. procedure TOSC_OSCTUN.clearTUN3; inline;
  30308. begin
  30309. pTDefRegMap(@Self)^.clr := $00000008;
  30310. end;
  30311. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  30312. begin
  30313. if thebits = 0 then
  30314. pTDefRegMap(@Self)^.clr := $00000008
  30315. else
  30316. pTDefRegMap(@Self)^.&set := $00000008;
  30317. end;
  30318. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  30319. begin
  30320. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30321. end;
  30322. procedure TOSC_OSCTUN.setTUN4; inline;
  30323. begin
  30324. pTDefRegMap(@Self)^.&set := $00000010;
  30325. end;
  30326. procedure TOSC_OSCTUN.clearTUN4; inline;
  30327. begin
  30328. pTDefRegMap(@Self)^.clr := $00000010;
  30329. end;
  30330. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  30331. begin
  30332. if thebits = 0 then
  30333. pTDefRegMap(@Self)^.clr := $00000010
  30334. else
  30335. pTDefRegMap(@Self)^.&set := $00000010;
  30336. end;
  30337. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  30338. begin
  30339. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30340. end;
  30341. procedure TOSC_OSCTUN.setTUN5; inline;
  30342. begin
  30343. pTDefRegMap(@Self)^.&set := $00000020;
  30344. end;
  30345. procedure TOSC_OSCTUN.clearTUN5; inline;
  30346. begin
  30347. pTDefRegMap(@Self)^.clr := $00000020;
  30348. end;
  30349. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  30350. begin
  30351. if thebits = 0 then
  30352. pTDefRegMap(@Self)^.clr := $00000020
  30353. else
  30354. pTDefRegMap(@Self)^.&set := $00000020;
  30355. end;
  30356. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  30357. begin
  30358. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30359. end;
  30360. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  30361. begin
  30362. pTDefRegMap(@Self)^.val := thebits;
  30363. end;
  30364. function TOSC_OSCTUN.getw : TBits_32; inline;
  30365. begin
  30366. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30367. end;
  30368. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  30369. begin
  30370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  30371. end;
  30372. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  30373. begin
  30374. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  30375. end;
  30376. procedure TOSC_REFOCON.setACTIVE; inline;
  30377. begin
  30378. pTDefRegMap(@Self)^.&set := $00000100;
  30379. end;
  30380. procedure TOSC_REFOCON.clearACTIVE; inline;
  30381. begin
  30382. pTDefRegMap(@Self)^.clr := $00000100;
  30383. end;
  30384. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  30385. begin
  30386. if thebits = 0 then
  30387. pTDefRegMap(@Self)^.clr := $00000100
  30388. else
  30389. pTDefRegMap(@Self)^.&set := $00000100;
  30390. end;
  30391. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  30392. begin
  30393. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30394. end;
  30395. procedure TOSC_REFOCON.setDIVSWEN; inline;
  30396. begin
  30397. pTDefRegMap(@Self)^.&set := $00000200;
  30398. end;
  30399. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  30400. begin
  30401. pTDefRegMap(@Self)^.clr := $00000200;
  30402. end;
  30403. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  30404. begin
  30405. if thebits = 0 then
  30406. pTDefRegMap(@Self)^.clr := $00000200
  30407. else
  30408. pTDefRegMap(@Self)^.&set := $00000200;
  30409. end;
  30410. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  30411. begin
  30412. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30413. end;
  30414. procedure TOSC_REFOCON.setRSLP; inline;
  30415. begin
  30416. pTDefRegMap(@Self)^.&set := $00000800;
  30417. end;
  30418. procedure TOSC_REFOCON.clearRSLP; inline;
  30419. begin
  30420. pTDefRegMap(@Self)^.clr := $00000800;
  30421. end;
  30422. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  30423. begin
  30424. if thebits = 0 then
  30425. pTDefRegMap(@Self)^.clr := $00000800
  30426. else
  30427. pTDefRegMap(@Self)^.&set := $00000800;
  30428. end;
  30429. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  30430. begin
  30431. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30432. end;
  30433. procedure TOSC_REFOCON.setOE; inline;
  30434. begin
  30435. pTDefRegMap(@Self)^.&set := $00001000;
  30436. end;
  30437. procedure TOSC_REFOCON.clearOE; inline;
  30438. begin
  30439. pTDefRegMap(@Self)^.clr := $00001000;
  30440. end;
  30441. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  30442. begin
  30443. if thebits = 0 then
  30444. pTDefRegMap(@Self)^.clr := $00001000
  30445. else
  30446. pTDefRegMap(@Self)^.&set := $00001000;
  30447. end;
  30448. function TOSC_REFOCON.getOE : TBits_1; inline;
  30449. begin
  30450. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30451. end;
  30452. procedure TOSC_REFOCON.setSIDL; inline;
  30453. begin
  30454. pTDefRegMap(@Self)^.&set := $00002000;
  30455. end;
  30456. procedure TOSC_REFOCON.clearSIDL; inline;
  30457. begin
  30458. pTDefRegMap(@Self)^.clr := $00002000;
  30459. end;
  30460. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  30461. begin
  30462. if thebits = 0 then
  30463. pTDefRegMap(@Self)^.clr := $00002000
  30464. else
  30465. pTDefRegMap(@Self)^.&set := $00002000;
  30466. end;
  30467. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  30468. begin
  30469. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30470. end;
  30471. procedure TOSC_REFOCON.setON; inline;
  30472. begin
  30473. pTDefRegMap(@Self)^.&set := $00008000;
  30474. end;
  30475. procedure TOSC_REFOCON.clearON; inline;
  30476. begin
  30477. pTDefRegMap(@Self)^.clr := $00008000;
  30478. end;
  30479. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  30480. begin
  30481. if thebits = 0 then
  30482. pTDefRegMap(@Self)^.clr := $00008000
  30483. else
  30484. pTDefRegMap(@Self)^.&set := $00008000;
  30485. end;
  30486. function TOSC_REFOCON.getON : TBits_1; inline;
  30487. begin
  30488. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30489. end;
  30490. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  30491. begin
  30492. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  30493. end;
  30494. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  30495. begin
  30496. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  30497. end;
  30498. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  30499. begin
  30500. pTDefRegMap(@Self)^.val := thebits;
  30501. end;
  30502. function TOSC_REFOCON.getw : TBits_32; inline;
  30503. begin
  30504. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30505. end;
  30506. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  30507. begin
  30508. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  30509. end;
  30510. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  30511. begin
  30512. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  30513. end;
  30514. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  30515. begin
  30516. pTDefRegMap(@Self)^.val := thebits;
  30517. end;
  30518. function TOSC_REFOTRIM.getw : TBits_32; inline;
  30519. begin
  30520. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30521. end;
  30522. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  30523. begin
  30524. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  30525. end;
  30526. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  30527. begin
  30528. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  30529. end;
  30530. procedure TNVM_NVMCON.setLVDSTAT; inline;
  30531. begin
  30532. pTDefRegMap(@Self)^.&set := $00000800;
  30533. end;
  30534. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  30535. begin
  30536. pTDefRegMap(@Self)^.clr := $00000800;
  30537. end;
  30538. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  30539. begin
  30540. if thebits = 0 then
  30541. pTDefRegMap(@Self)^.clr := $00000800
  30542. else
  30543. pTDefRegMap(@Self)^.&set := $00000800;
  30544. end;
  30545. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  30546. begin
  30547. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30548. end;
  30549. procedure TNVM_NVMCON.setLVDERR; inline;
  30550. begin
  30551. pTDefRegMap(@Self)^.&set := $00001000;
  30552. end;
  30553. procedure TNVM_NVMCON.clearLVDERR; inline;
  30554. begin
  30555. pTDefRegMap(@Self)^.clr := $00001000;
  30556. end;
  30557. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  30558. begin
  30559. if thebits = 0 then
  30560. pTDefRegMap(@Self)^.clr := $00001000
  30561. else
  30562. pTDefRegMap(@Self)^.&set := $00001000;
  30563. end;
  30564. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  30565. begin
  30566. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30567. end;
  30568. procedure TNVM_NVMCON.setWRERR; inline;
  30569. begin
  30570. pTDefRegMap(@Self)^.&set := $00002000;
  30571. end;
  30572. procedure TNVM_NVMCON.clearWRERR; inline;
  30573. begin
  30574. pTDefRegMap(@Self)^.clr := $00002000;
  30575. end;
  30576. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  30577. begin
  30578. if thebits = 0 then
  30579. pTDefRegMap(@Self)^.clr := $00002000
  30580. else
  30581. pTDefRegMap(@Self)^.&set := $00002000;
  30582. end;
  30583. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  30584. begin
  30585. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30586. end;
  30587. procedure TNVM_NVMCON.setWREN; inline;
  30588. begin
  30589. pTDefRegMap(@Self)^.&set := $00004000;
  30590. end;
  30591. procedure TNVM_NVMCON.clearWREN; inline;
  30592. begin
  30593. pTDefRegMap(@Self)^.clr := $00004000;
  30594. end;
  30595. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  30596. begin
  30597. if thebits = 0 then
  30598. pTDefRegMap(@Self)^.clr := $00004000
  30599. else
  30600. pTDefRegMap(@Self)^.&set := $00004000;
  30601. end;
  30602. function TNVM_NVMCON.getWREN : TBits_1; inline;
  30603. begin
  30604. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30605. end;
  30606. procedure TNVM_NVMCON.setWR; inline;
  30607. begin
  30608. pTDefRegMap(@Self)^.&set := $00008000;
  30609. end;
  30610. procedure TNVM_NVMCON.clearWR; inline;
  30611. begin
  30612. pTDefRegMap(@Self)^.clr := $00008000;
  30613. end;
  30614. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  30615. begin
  30616. if thebits = 0 then
  30617. pTDefRegMap(@Self)^.clr := $00008000
  30618. else
  30619. pTDefRegMap(@Self)^.&set := $00008000;
  30620. end;
  30621. function TNVM_NVMCON.getWR : TBits_1; inline;
  30622. begin
  30623. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30624. end;
  30625. procedure TNVM_NVMCON.setNVMOP0; inline;
  30626. begin
  30627. pTDefRegMap(@Self)^.&set := $00000001;
  30628. end;
  30629. procedure TNVM_NVMCON.clearNVMOP0; inline;
  30630. begin
  30631. pTDefRegMap(@Self)^.clr := $00000001;
  30632. end;
  30633. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  30634. begin
  30635. if thebits = 0 then
  30636. pTDefRegMap(@Self)^.clr := $00000001
  30637. else
  30638. pTDefRegMap(@Self)^.&set := $00000001;
  30639. end;
  30640. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  30641. begin
  30642. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30643. end;
  30644. procedure TNVM_NVMCON.setNVMOP1; inline;
  30645. begin
  30646. pTDefRegMap(@Self)^.&set := $00000002;
  30647. end;
  30648. procedure TNVM_NVMCON.clearNVMOP1; inline;
  30649. begin
  30650. pTDefRegMap(@Self)^.clr := $00000002;
  30651. end;
  30652. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  30653. begin
  30654. if thebits = 0 then
  30655. pTDefRegMap(@Self)^.clr := $00000002
  30656. else
  30657. pTDefRegMap(@Self)^.&set := $00000002;
  30658. end;
  30659. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  30660. begin
  30661. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30662. end;
  30663. procedure TNVM_NVMCON.setNVMOP2; inline;
  30664. begin
  30665. pTDefRegMap(@Self)^.&set := $00000004;
  30666. end;
  30667. procedure TNVM_NVMCON.clearNVMOP2; inline;
  30668. begin
  30669. pTDefRegMap(@Self)^.clr := $00000004;
  30670. end;
  30671. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  30672. begin
  30673. if thebits = 0 then
  30674. pTDefRegMap(@Self)^.clr := $00000004
  30675. else
  30676. pTDefRegMap(@Self)^.&set := $00000004;
  30677. end;
  30678. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  30679. begin
  30680. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30681. end;
  30682. procedure TNVM_NVMCON.setNVMOP3; inline;
  30683. begin
  30684. pTDefRegMap(@Self)^.&set := $00000008;
  30685. end;
  30686. procedure TNVM_NVMCON.clearNVMOP3; inline;
  30687. begin
  30688. pTDefRegMap(@Self)^.clr := $00000008;
  30689. end;
  30690. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  30691. begin
  30692. if thebits = 0 then
  30693. pTDefRegMap(@Self)^.clr := $00000008
  30694. else
  30695. pTDefRegMap(@Self)^.&set := $00000008;
  30696. end;
  30697. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  30698. begin
  30699. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30700. end;
  30701. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  30702. begin
  30703. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  30704. end;
  30705. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  30706. begin
  30707. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  30708. end;
  30709. procedure TNVM_NVMCON.setPROGOP0; inline;
  30710. begin
  30711. pTDefRegMap(@Self)^.&set := $00000001;
  30712. end;
  30713. procedure TNVM_NVMCON.clearPROGOP0; inline;
  30714. begin
  30715. pTDefRegMap(@Self)^.clr := $00000001;
  30716. end;
  30717. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  30718. begin
  30719. if thebits = 0 then
  30720. pTDefRegMap(@Self)^.clr := $00000001
  30721. else
  30722. pTDefRegMap(@Self)^.&set := $00000001;
  30723. end;
  30724. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  30725. begin
  30726. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30727. end;
  30728. procedure TNVM_NVMCON.setPROGOP1; inline;
  30729. begin
  30730. pTDefRegMap(@Self)^.&set := $00000002;
  30731. end;
  30732. procedure TNVM_NVMCON.clearPROGOP1; inline;
  30733. begin
  30734. pTDefRegMap(@Self)^.clr := $00000002;
  30735. end;
  30736. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  30737. begin
  30738. if thebits = 0 then
  30739. pTDefRegMap(@Self)^.clr := $00000002
  30740. else
  30741. pTDefRegMap(@Self)^.&set := $00000002;
  30742. end;
  30743. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  30744. begin
  30745. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30746. end;
  30747. procedure TNVM_NVMCON.setPROGOP2; inline;
  30748. begin
  30749. pTDefRegMap(@Self)^.&set := $00000004;
  30750. end;
  30751. procedure TNVM_NVMCON.clearPROGOP2; inline;
  30752. begin
  30753. pTDefRegMap(@Self)^.clr := $00000004;
  30754. end;
  30755. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  30756. begin
  30757. if thebits = 0 then
  30758. pTDefRegMap(@Self)^.clr := $00000004
  30759. else
  30760. pTDefRegMap(@Self)^.&set := $00000004;
  30761. end;
  30762. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  30763. begin
  30764. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30765. end;
  30766. procedure TNVM_NVMCON.setPROGOP3; inline;
  30767. begin
  30768. pTDefRegMap(@Self)^.&set := $00000008;
  30769. end;
  30770. procedure TNVM_NVMCON.clearPROGOP3; inline;
  30771. begin
  30772. pTDefRegMap(@Self)^.clr := $00000008;
  30773. end;
  30774. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  30775. begin
  30776. if thebits = 0 then
  30777. pTDefRegMap(@Self)^.clr := $00000008
  30778. else
  30779. pTDefRegMap(@Self)^.&set := $00000008;
  30780. end;
  30781. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  30782. begin
  30783. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30784. end;
  30785. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  30786. begin
  30787. pTDefRegMap(@Self)^.val := thebits;
  30788. end;
  30789. function TNVM_NVMCON.getw : TBits_32; inline;
  30790. begin
  30791. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30792. end;
  30793. procedure TRCON_RCON.setPOR; inline;
  30794. begin
  30795. pTDefRegMap(@Self)^.&set := $00000001;
  30796. end;
  30797. procedure TRCON_RCON.clearPOR; inline;
  30798. begin
  30799. pTDefRegMap(@Self)^.clr := $00000001;
  30800. end;
  30801. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  30802. begin
  30803. if thebits = 0 then
  30804. pTDefRegMap(@Self)^.clr := $00000001
  30805. else
  30806. pTDefRegMap(@Self)^.&set := $00000001;
  30807. end;
  30808. function TRCON_RCON.getPOR : TBits_1; inline;
  30809. begin
  30810. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30811. end;
  30812. procedure TRCON_RCON.setBOR; inline;
  30813. begin
  30814. pTDefRegMap(@Self)^.&set := $00000002;
  30815. end;
  30816. procedure TRCON_RCON.clearBOR; inline;
  30817. begin
  30818. pTDefRegMap(@Self)^.clr := $00000002;
  30819. end;
  30820. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  30821. begin
  30822. if thebits = 0 then
  30823. pTDefRegMap(@Self)^.clr := $00000002
  30824. else
  30825. pTDefRegMap(@Self)^.&set := $00000002;
  30826. end;
  30827. function TRCON_RCON.getBOR : TBits_1; inline;
  30828. begin
  30829. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30830. end;
  30831. procedure TRCON_RCON.setIDLE; inline;
  30832. begin
  30833. pTDefRegMap(@Self)^.&set := $00000004;
  30834. end;
  30835. procedure TRCON_RCON.clearIDLE; inline;
  30836. begin
  30837. pTDefRegMap(@Self)^.clr := $00000004;
  30838. end;
  30839. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  30840. begin
  30841. if thebits = 0 then
  30842. pTDefRegMap(@Self)^.clr := $00000004
  30843. else
  30844. pTDefRegMap(@Self)^.&set := $00000004;
  30845. end;
  30846. function TRCON_RCON.getIDLE : TBits_1; inline;
  30847. begin
  30848. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30849. end;
  30850. procedure TRCON_RCON.setSLEEP; inline;
  30851. begin
  30852. pTDefRegMap(@Self)^.&set := $00000008;
  30853. end;
  30854. procedure TRCON_RCON.clearSLEEP; inline;
  30855. begin
  30856. pTDefRegMap(@Self)^.clr := $00000008;
  30857. end;
  30858. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  30859. begin
  30860. if thebits = 0 then
  30861. pTDefRegMap(@Self)^.clr := $00000008
  30862. else
  30863. pTDefRegMap(@Self)^.&set := $00000008;
  30864. end;
  30865. function TRCON_RCON.getSLEEP : TBits_1; inline;
  30866. begin
  30867. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30868. end;
  30869. procedure TRCON_RCON.setWDTO; inline;
  30870. begin
  30871. pTDefRegMap(@Self)^.&set := $00000010;
  30872. end;
  30873. procedure TRCON_RCON.clearWDTO; inline;
  30874. begin
  30875. pTDefRegMap(@Self)^.clr := $00000010;
  30876. end;
  30877. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  30878. begin
  30879. if thebits = 0 then
  30880. pTDefRegMap(@Self)^.clr := $00000010
  30881. else
  30882. pTDefRegMap(@Self)^.&set := $00000010;
  30883. end;
  30884. function TRCON_RCON.getWDTO : TBits_1; inline;
  30885. begin
  30886. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30887. end;
  30888. procedure TRCON_RCON.setSWR; inline;
  30889. begin
  30890. pTDefRegMap(@Self)^.&set := $00000040;
  30891. end;
  30892. procedure TRCON_RCON.clearSWR; inline;
  30893. begin
  30894. pTDefRegMap(@Self)^.clr := $00000040;
  30895. end;
  30896. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  30897. begin
  30898. if thebits = 0 then
  30899. pTDefRegMap(@Self)^.clr := $00000040
  30900. else
  30901. pTDefRegMap(@Self)^.&set := $00000040;
  30902. end;
  30903. function TRCON_RCON.getSWR : TBits_1; inline;
  30904. begin
  30905. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30906. end;
  30907. procedure TRCON_RCON.setEXTR; inline;
  30908. begin
  30909. pTDefRegMap(@Self)^.&set := $00000080;
  30910. end;
  30911. procedure TRCON_RCON.clearEXTR; inline;
  30912. begin
  30913. pTDefRegMap(@Self)^.clr := $00000080;
  30914. end;
  30915. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  30916. begin
  30917. if thebits = 0 then
  30918. pTDefRegMap(@Self)^.clr := $00000080
  30919. else
  30920. pTDefRegMap(@Self)^.&set := $00000080;
  30921. end;
  30922. function TRCON_RCON.getEXTR : TBits_1; inline;
  30923. begin
  30924. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30925. end;
  30926. procedure TRCON_RCON.setVREGS; inline;
  30927. begin
  30928. pTDefRegMap(@Self)^.&set := $00000100;
  30929. end;
  30930. procedure TRCON_RCON.clearVREGS; inline;
  30931. begin
  30932. pTDefRegMap(@Self)^.clr := $00000100;
  30933. end;
  30934. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  30935. begin
  30936. if thebits = 0 then
  30937. pTDefRegMap(@Self)^.clr := $00000100
  30938. else
  30939. pTDefRegMap(@Self)^.&set := $00000100;
  30940. end;
  30941. function TRCON_RCON.getVREGS : TBits_1; inline;
  30942. begin
  30943. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30944. end;
  30945. procedure TRCON_RCON.setCMR; inline;
  30946. begin
  30947. pTDefRegMap(@Self)^.&set := $00000200;
  30948. end;
  30949. procedure TRCON_RCON.clearCMR; inline;
  30950. begin
  30951. pTDefRegMap(@Self)^.clr := $00000200;
  30952. end;
  30953. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  30954. begin
  30955. if thebits = 0 then
  30956. pTDefRegMap(@Self)^.clr := $00000200
  30957. else
  30958. pTDefRegMap(@Self)^.&set := $00000200;
  30959. end;
  30960. function TRCON_RCON.getCMR : TBits_1; inline;
  30961. begin
  30962. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30963. end;
  30964. procedure TRCON_RCON.setHVDR; inline;
  30965. begin
  30966. pTDefRegMap(@Self)^.&set := $20000000;
  30967. end;
  30968. procedure TRCON_RCON.clearHVDR; inline;
  30969. begin
  30970. pTDefRegMap(@Self)^.clr := $20000000;
  30971. end;
  30972. procedure TRCON_RCON.setHVDR(thebits : TBits_1); inline;
  30973. begin
  30974. if thebits = 0 then
  30975. pTDefRegMap(@Self)^.clr := $20000000
  30976. else
  30977. pTDefRegMap(@Self)^.&set := $20000000;
  30978. end;
  30979. function TRCON_RCON.getHVDR : TBits_1; inline;
  30980. begin
  30981. getHVDR := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  30982. end;
  30983. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  30984. begin
  30985. pTDefRegMap(@Self)^.val := thebits;
  30986. end;
  30987. function TRCON_RCON.getw : TBits_32; inline;
  30988. begin
  30989. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30990. end;
  30991. procedure TRCON_RSWRST.setSWRST; inline;
  30992. begin
  30993. pTDefRegMap(@Self)^.&set := $00000001;
  30994. end;
  30995. procedure TRCON_RSWRST.clearSWRST; inline;
  30996. begin
  30997. pTDefRegMap(@Self)^.clr := $00000001;
  30998. end;
  30999. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  31000. begin
  31001. if thebits = 0 then
  31002. pTDefRegMap(@Self)^.clr := $00000001
  31003. else
  31004. pTDefRegMap(@Self)^.&set := $00000001;
  31005. end;
  31006. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  31007. begin
  31008. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31009. end;
  31010. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  31011. begin
  31012. pTDefRegMap(@Self)^.val := thebits;
  31013. end;
  31014. function TRCON_RSWRST.getw : TBits_32; inline;
  31015. begin
  31016. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31017. end;
  31018. procedure TINT_INTCON.setINT0EP; inline;
  31019. begin
  31020. pTDefRegMap(@Self)^.&set := $00000001;
  31021. end;
  31022. procedure TINT_INTCON.clearINT0EP; inline;
  31023. begin
  31024. pTDefRegMap(@Self)^.clr := $00000001;
  31025. end;
  31026. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  31027. begin
  31028. if thebits = 0 then
  31029. pTDefRegMap(@Self)^.clr := $00000001
  31030. else
  31031. pTDefRegMap(@Self)^.&set := $00000001;
  31032. end;
  31033. function TINT_INTCON.getINT0EP : TBits_1; inline;
  31034. begin
  31035. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31036. end;
  31037. procedure TINT_INTCON.setINT1EP; inline;
  31038. begin
  31039. pTDefRegMap(@Self)^.&set := $00000002;
  31040. end;
  31041. procedure TINT_INTCON.clearINT1EP; inline;
  31042. begin
  31043. pTDefRegMap(@Self)^.clr := $00000002;
  31044. end;
  31045. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  31046. begin
  31047. if thebits = 0 then
  31048. pTDefRegMap(@Self)^.clr := $00000002
  31049. else
  31050. pTDefRegMap(@Self)^.&set := $00000002;
  31051. end;
  31052. function TINT_INTCON.getINT1EP : TBits_1; inline;
  31053. begin
  31054. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31055. end;
  31056. procedure TINT_INTCON.setINT2EP; inline;
  31057. begin
  31058. pTDefRegMap(@Self)^.&set := $00000004;
  31059. end;
  31060. procedure TINT_INTCON.clearINT2EP; inline;
  31061. begin
  31062. pTDefRegMap(@Self)^.clr := $00000004;
  31063. end;
  31064. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  31065. begin
  31066. if thebits = 0 then
  31067. pTDefRegMap(@Self)^.clr := $00000004
  31068. else
  31069. pTDefRegMap(@Self)^.&set := $00000004;
  31070. end;
  31071. function TINT_INTCON.getINT2EP : TBits_1; inline;
  31072. begin
  31073. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31074. end;
  31075. procedure TINT_INTCON.setINT3EP; inline;
  31076. begin
  31077. pTDefRegMap(@Self)^.&set := $00000008;
  31078. end;
  31079. procedure TINT_INTCON.clearINT3EP; inline;
  31080. begin
  31081. pTDefRegMap(@Self)^.clr := $00000008;
  31082. end;
  31083. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  31084. begin
  31085. if thebits = 0 then
  31086. pTDefRegMap(@Self)^.clr := $00000008
  31087. else
  31088. pTDefRegMap(@Self)^.&set := $00000008;
  31089. end;
  31090. function TINT_INTCON.getINT3EP : TBits_1; inline;
  31091. begin
  31092. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31093. end;
  31094. procedure TINT_INTCON.setINT4EP; inline;
  31095. begin
  31096. pTDefRegMap(@Self)^.&set := $00000010;
  31097. end;
  31098. procedure TINT_INTCON.clearINT4EP; inline;
  31099. begin
  31100. pTDefRegMap(@Self)^.clr := $00000010;
  31101. end;
  31102. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  31103. begin
  31104. if thebits = 0 then
  31105. pTDefRegMap(@Self)^.clr := $00000010
  31106. else
  31107. pTDefRegMap(@Self)^.&set := $00000010;
  31108. end;
  31109. function TINT_INTCON.getINT4EP : TBits_1; inline;
  31110. begin
  31111. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31112. end;
  31113. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  31114. begin
  31115. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  31116. end;
  31117. function TINT_INTCON.getTPC : TBits_3; inline;
  31118. begin
  31119. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  31120. end;
  31121. procedure TINT_INTCON.setMVEC; inline;
  31122. begin
  31123. pTDefRegMap(@Self)^.&set := $00001000;
  31124. end;
  31125. procedure TINT_INTCON.clearMVEC; inline;
  31126. begin
  31127. pTDefRegMap(@Self)^.clr := $00001000;
  31128. end;
  31129. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  31130. begin
  31131. if thebits = 0 then
  31132. pTDefRegMap(@Self)^.clr := $00001000
  31133. else
  31134. pTDefRegMap(@Self)^.&set := $00001000;
  31135. end;
  31136. function TINT_INTCON.getMVEC : TBits_1; inline;
  31137. begin
  31138. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31139. end;
  31140. procedure TINT_INTCON.setSS0; inline;
  31141. begin
  31142. pTDefRegMap(@Self)^.&set := $00010000;
  31143. end;
  31144. procedure TINT_INTCON.clearSS0; inline;
  31145. begin
  31146. pTDefRegMap(@Self)^.clr := $00010000;
  31147. end;
  31148. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  31149. begin
  31150. if thebits = 0 then
  31151. pTDefRegMap(@Self)^.clr := $00010000
  31152. else
  31153. pTDefRegMap(@Self)^.&set := $00010000;
  31154. end;
  31155. function TINT_INTCON.getSS0 : TBits_1; inline;
  31156. begin
  31157. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31158. end;
  31159. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  31160. begin
  31161. pTDefRegMap(@Self)^.val := thebits;
  31162. end;
  31163. function TINT_INTCON.getw : TBits_32; inline;
  31164. begin
  31165. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31166. end;
  31167. procedure TINT_IFS0.setCTIF; inline;
  31168. begin
  31169. pTDefRegMap(@Self)^.&set := $00000001;
  31170. end;
  31171. procedure TINT_IFS0.clearCTIF; inline;
  31172. begin
  31173. pTDefRegMap(@Self)^.clr := $00000001;
  31174. end;
  31175. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  31176. begin
  31177. if thebits = 0 then
  31178. pTDefRegMap(@Self)^.clr := $00000001
  31179. else
  31180. pTDefRegMap(@Self)^.&set := $00000001;
  31181. end;
  31182. function TINT_IFS0.getCTIF : TBits_1; inline;
  31183. begin
  31184. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31185. end;
  31186. procedure TINT_IFS0.setCS0IF; inline;
  31187. begin
  31188. pTDefRegMap(@Self)^.&set := $00000002;
  31189. end;
  31190. procedure TINT_IFS0.clearCS0IF; inline;
  31191. begin
  31192. pTDefRegMap(@Self)^.clr := $00000002;
  31193. end;
  31194. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  31195. begin
  31196. if thebits = 0 then
  31197. pTDefRegMap(@Self)^.clr := $00000002
  31198. else
  31199. pTDefRegMap(@Self)^.&set := $00000002;
  31200. end;
  31201. function TINT_IFS0.getCS0IF : TBits_1; inline;
  31202. begin
  31203. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31204. end;
  31205. procedure TINT_IFS0.setCS1IF; inline;
  31206. begin
  31207. pTDefRegMap(@Self)^.&set := $00000004;
  31208. end;
  31209. procedure TINT_IFS0.clearCS1IF; inline;
  31210. begin
  31211. pTDefRegMap(@Self)^.clr := $00000004;
  31212. end;
  31213. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  31214. begin
  31215. if thebits = 0 then
  31216. pTDefRegMap(@Self)^.clr := $00000004
  31217. else
  31218. pTDefRegMap(@Self)^.&set := $00000004;
  31219. end;
  31220. function TINT_IFS0.getCS1IF : TBits_1; inline;
  31221. begin
  31222. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31223. end;
  31224. procedure TINT_IFS0.setINT0IF; inline;
  31225. begin
  31226. pTDefRegMap(@Self)^.&set := $00000008;
  31227. end;
  31228. procedure TINT_IFS0.clearINT0IF; inline;
  31229. begin
  31230. pTDefRegMap(@Self)^.clr := $00000008;
  31231. end;
  31232. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  31233. begin
  31234. if thebits = 0 then
  31235. pTDefRegMap(@Self)^.clr := $00000008
  31236. else
  31237. pTDefRegMap(@Self)^.&set := $00000008;
  31238. end;
  31239. function TINT_IFS0.getINT0IF : TBits_1; inline;
  31240. begin
  31241. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31242. end;
  31243. procedure TINT_IFS0.setT1IF; inline;
  31244. begin
  31245. pTDefRegMap(@Self)^.&set := $00000010;
  31246. end;
  31247. procedure TINT_IFS0.clearT1IF; inline;
  31248. begin
  31249. pTDefRegMap(@Self)^.clr := $00000010;
  31250. end;
  31251. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  31252. begin
  31253. if thebits = 0 then
  31254. pTDefRegMap(@Self)^.clr := $00000010
  31255. else
  31256. pTDefRegMap(@Self)^.&set := $00000010;
  31257. end;
  31258. function TINT_IFS0.getT1IF : TBits_1; inline;
  31259. begin
  31260. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31261. end;
  31262. procedure TINT_IFS0.setIC1EIF; inline;
  31263. begin
  31264. pTDefRegMap(@Self)^.&set := $00000020;
  31265. end;
  31266. procedure TINT_IFS0.clearIC1EIF; inline;
  31267. begin
  31268. pTDefRegMap(@Self)^.clr := $00000020;
  31269. end;
  31270. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  31271. begin
  31272. if thebits = 0 then
  31273. pTDefRegMap(@Self)^.clr := $00000020
  31274. else
  31275. pTDefRegMap(@Self)^.&set := $00000020;
  31276. end;
  31277. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  31278. begin
  31279. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31280. end;
  31281. procedure TINT_IFS0.setIC1IF; inline;
  31282. begin
  31283. pTDefRegMap(@Self)^.&set := $00000040;
  31284. end;
  31285. procedure TINT_IFS0.clearIC1IF; inline;
  31286. begin
  31287. pTDefRegMap(@Self)^.clr := $00000040;
  31288. end;
  31289. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  31290. begin
  31291. if thebits = 0 then
  31292. pTDefRegMap(@Self)^.clr := $00000040
  31293. else
  31294. pTDefRegMap(@Self)^.&set := $00000040;
  31295. end;
  31296. function TINT_IFS0.getIC1IF : TBits_1; inline;
  31297. begin
  31298. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31299. end;
  31300. procedure TINT_IFS0.setOC1IF; inline;
  31301. begin
  31302. pTDefRegMap(@Self)^.&set := $00000080;
  31303. end;
  31304. procedure TINT_IFS0.clearOC1IF; inline;
  31305. begin
  31306. pTDefRegMap(@Self)^.clr := $00000080;
  31307. end;
  31308. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  31309. begin
  31310. if thebits = 0 then
  31311. pTDefRegMap(@Self)^.clr := $00000080
  31312. else
  31313. pTDefRegMap(@Self)^.&set := $00000080;
  31314. end;
  31315. function TINT_IFS0.getOC1IF : TBits_1; inline;
  31316. begin
  31317. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31318. end;
  31319. procedure TINT_IFS0.setINT1IF; inline;
  31320. begin
  31321. pTDefRegMap(@Self)^.&set := $00000100;
  31322. end;
  31323. procedure TINT_IFS0.clearINT1IF; inline;
  31324. begin
  31325. pTDefRegMap(@Self)^.clr := $00000100;
  31326. end;
  31327. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  31328. begin
  31329. if thebits = 0 then
  31330. pTDefRegMap(@Self)^.clr := $00000100
  31331. else
  31332. pTDefRegMap(@Self)^.&set := $00000100;
  31333. end;
  31334. function TINT_IFS0.getINT1IF : TBits_1; inline;
  31335. begin
  31336. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31337. end;
  31338. procedure TINT_IFS0.setT2IF; inline;
  31339. begin
  31340. pTDefRegMap(@Self)^.&set := $00000200;
  31341. end;
  31342. procedure TINT_IFS0.clearT2IF; inline;
  31343. begin
  31344. pTDefRegMap(@Self)^.clr := $00000200;
  31345. end;
  31346. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  31347. begin
  31348. if thebits = 0 then
  31349. pTDefRegMap(@Self)^.clr := $00000200
  31350. else
  31351. pTDefRegMap(@Self)^.&set := $00000200;
  31352. end;
  31353. function TINT_IFS0.getT2IF : TBits_1; inline;
  31354. begin
  31355. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31356. end;
  31357. procedure TINT_IFS0.setIC2EIF; inline;
  31358. begin
  31359. pTDefRegMap(@Self)^.&set := $00000400;
  31360. end;
  31361. procedure TINT_IFS0.clearIC2EIF; inline;
  31362. begin
  31363. pTDefRegMap(@Self)^.clr := $00000400;
  31364. end;
  31365. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  31366. begin
  31367. if thebits = 0 then
  31368. pTDefRegMap(@Self)^.clr := $00000400
  31369. else
  31370. pTDefRegMap(@Self)^.&set := $00000400;
  31371. end;
  31372. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  31373. begin
  31374. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31375. end;
  31376. procedure TINT_IFS0.setIC2IF; inline;
  31377. begin
  31378. pTDefRegMap(@Self)^.&set := $00000800;
  31379. end;
  31380. procedure TINT_IFS0.clearIC2IF; inline;
  31381. begin
  31382. pTDefRegMap(@Self)^.clr := $00000800;
  31383. end;
  31384. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  31385. begin
  31386. if thebits = 0 then
  31387. pTDefRegMap(@Self)^.clr := $00000800
  31388. else
  31389. pTDefRegMap(@Self)^.&set := $00000800;
  31390. end;
  31391. function TINT_IFS0.getIC2IF : TBits_1; inline;
  31392. begin
  31393. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31394. end;
  31395. procedure TINT_IFS0.setOC2IF; inline;
  31396. begin
  31397. pTDefRegMap(@Self)^.&set := $00001000;
  31398. end;
  31399. procedure TINT_IFS0.clearOC2IF; inline;
  31400. begin
  31401. pTDefRegMap(@Self)^.clr := $00001000;
  31402. end;
  31403. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  31404. begin
  31405. if thebits = 0 then
  31406. pTDefRegMap(@Self)^.clr := $00001000
  31407. else
  31408. pTDefRegMap(@Self)^.&set := $00001000;
  31409. end;
  31410. function TINT_IFS0.getOC2IF : TBits_1; inline;
  31411. begin
  31412. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31413. end;
  31414. procedure TINT_IFS0.setINT2IF; inline;
  31415. begin
  31416. pTDefRegMap(@Self)^.&set := $00002000;
  31417. end;
  31418. procedure TINT_IFS0.clearINT2IF; inline;
  31419. begin
  31420. pTDefRegMap(@Self)^.clr := $00002000;
  31421. end;
  31422. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  31423. begin
  31424. if thebits = 0 then
  31425. pTDefRegMap(@Self)^.clr := $00002000
  31426. else
  31427. pTDefRegMap(@Self)^.&set := $00002000;
  31428. end;
  31429. function TINT_IFS0.getINT2IF : TBits_1; inline;
  31430. begin
  31431. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31432. end;
  31433. procedure TINT_IFS0.setT3IF; inline;
  31434. begin
  31435. pTDefRegMap(@Self)^.&set := $00004000;
  31436. end;
  31437. procedure TINT_IFS0.clearT3IF; inline;
  31438. begin
  31439. pTDefRegMap(@Self)^.clr := $00004000;
  31440. end;
  31441. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  31442. begin
  31443. if thebits = 0 then
  31444. pTDefRegMap(@Self)^.clr := $00004000
  31445. else
  31446. pTDefRegMap(@Self)^.&set := $00004000;
  31447. end;
  31448. function TINT_IFS0.getT3IF : TBits_1; inline;
  31449. begin
  31450. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31451. end;
  31452. procedure TINT_IFS0.setIC3EIF; inline;
  31453. begin
  31454. pTDefRegMap(@Self)^.&set := $00008000;
  31455. end;
  31456. procedure TINT_IFS0.clearIC3EIF; inline;
  31457. begin
  31458. pTDefRegMap(@Self)^.clr := $00008000;
  31459. end;
  31460. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  31461. begin
  31462. if thebits = 0 then
  31463. pTDefRegMap(@Self)^.clr := $00008000
  31464. else
  31465. pTDefRegMap(@Self)^.&set := $00008000;
  31466. end;
  31467. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  31468. begin
  31469. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31470. end;
  31471. procedure TINT_IFS0.setIC3IF; inline;
  31472. begin
  31473. pTDefRegMap(@Self)^.&set := $00010000;
  31474. end;
  31475. procedure TINT_IFS0.clearIC3IF; inline;
  31476. begin
  31477. pTDefRegMap(@Self)^.clr := $00010000;
  31478. end;
  31479. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  31480. begin
  31481. if thebits = 0 then
  31482. pTDefRegMap(@Self)^.clr := $00010000
  31483. else
  31484. pTDefRegMap(@Self)^.&set := $00010000;
  31485. end;
  31486. function TINT_IFS0.getIC3IF : TBits_1; inline;
  31487. begin
  31488. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31489. end;
  31490. procedure TINT_IFS0.setOC3IF; inline;
  31491. begin
  31492. pTDefRegMap(@Self)^.&set := $00020000;
  31493. end;
  31494. procedure TINT_IFS0.clearOC3IF; inline;
  31495. begin
  31496. pTDefRegMap(@Self)^.clr := $00020000;
  31497. end;
  31498. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  31499. begin
  31500. if thebits = 0 then
  31501. pTDefRegMap(@Self)^.clr := $00020000
  31502. else
  31503. pTDefRegMap(@Self)^.&set := $00020000;
  31504. end;
  31505. function TINT_IFS0.getOC3IF : TBits_1; inline;
  31506. begin
  31507. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31508. end;
  31509. procedure TINT_IFS0.setINT3IF; inline;
  31510. begin
  31511. pTDefRegMap(@Self)^.&set := $00040000;
  31512. end;
  31513. procedure TINT_IFS0.clearINT3IF; inline;
  31514. begin
  31515. pTDefRegMap(@Self)^.clr := $00040000;
  31516. end;
  31517. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  31518. begin
  31519. if thebits = 0 then
  31520. pTDefRegMap(@Self)^.clr := $00040000
  31521. else
  31522. pTDefRegMap(@Self)^.&set := $00040000;
  31523. end;
  31524. function TINT_IFS0.getINT3IF : TBits_1; inline;
  31525. begin
  31526. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31527. end;
  31528. procedure TINT_IFS0.setT4IF; inline;
  31529. begin
  31530. pTDefRegMap(@Self)^.&set := $00080000;
  31531. end;
  31532. procedure TINT_IFS0.clearT4IF; inline;
  31533. begin
  31534. pTDefRegMap(@Self)^.clr := $00080000;
  31535. end;
  31536. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  31537. begin
  31538. if thebits = 0 then
  31539. pTDefRegMap(@Self)^.clr := $00080000
  31540. else
  31541. pTDefRegMap(@Self)^.&set := $00080000;
  31542. end;
  31543. function TINT_IFS0.getT4IF : TBits_1; inline;
  31544. begin
  31545. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31546. end;
  31547. procedure TINT_IFS0.setIC4EIF; inline;
  31548. begin
  31549. pTDefRegMap(@Self)^.&set := $00100000;
  31550. end;
  31551. procedure TINT_IFS0.clearIC4EIF; inline;
  31552. begin
  31553. pTDefRegMap(@Self)^.clr := $00100000;
  31554. end;
  31555. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  31556. begin
  31557. if thebits = 0 then
  31558. pTDefRegMap(@Self)^.clr := $00100000
  31559. else
  31560. pTDefRegMap(@Self)^.&set := $00100000;
  31561. end;
  31562. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  31563. begin
  31564. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31565. end;
  31566. procedure TINT_IFS0.setIC4IF; inline;
  31567. begin
  31568. pTDefRegMap(@Self)^.&set := $00200000;
  31569. end;
  31570. procedure TINT_IFS0.clearIC4IF; inline;
  31571. begin
  31572. pTDefRegMap(@Self)^.clr := $00200000;
  31573. end;
  31574. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  31575. begin
  31576. if thebits = 0 then
  31577. pTDefRegMap(@Self)^.clr := $00200000
  31578. else
  31579. pTDefRegMap(@Self)^.&set := $00200000;
  31580. end;
  31581. function TINT_IFS0.getIC4IF : TBits_1; inline;
  31582. begin
  31583. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31584. end;
  31585. procedure TINT_IFS0.setOC4IF; inline;
  31586. begin
  31587. pTDefRegMap(@Self)^.&set := $00400000;
  31588. end;
  31589. procedure TINT_IFS0.clearOC4IF; inline;
  31590. begin
  31591. pTDefRegMap(@Self)^.clr := $00400000;
  31592. end;
  31593. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  31594. begin
  31595. if thebits = 0 then
  31596. pTDefRegMap(@Self)^.clr := $00400000
  31597. else
  31598. pTDefRegMap(@Self)^.&set := $00400000;
  31599. end;
  31600. function TINT_IFS0.getOC4IF : TBits_1; inline;
  31601. begin
  31602. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31603. end;
  31604. procedure TINT_IFS0.setINT4IF; inline;
  31605. begin
  31606. pTDefRegMap(@Self)^.&set := $00800000;
  31607. end;
  31608. procedure TINT_IFS0.clearINT4IF; inline;
  31609. begin
  31610. pTDefRegMap(@Self)^.clr := $00800000;
  31611. end;
  31612. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  31613. begin
  31614. if thebits = 0 then
  31615. pTDefRegMap(@Self)^.clr := $00800000
  31616. else
  31617. pTDefRegMap(@Self)^.&set := $00800000;
  31618. end;
  31619. function TINT_IFS0.getINT4IF : TBits_1; inline;
  31620. begin
  31621. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31622. end;
  31623. procedure TINT_IFS0.setT5IF; inline;
  31624. begin
  31625. pTDefRegMap(@Self)^.&set := $01000000;
  31626. end;
  31627. procedure TINT_IFS0.clearT5IF; inline;
  31628. begin
  31629. pTDefRegMap(@Self)^.clr := $01000000;
  31630. end;
  31631. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  31632. begin
  31633. if thebits = 0 then
  31634. pTDefRegMap(@Self)^.clr := $01000000
  31635. else
  31636. pTDefRegMap(@Self)^.&set := $01000000;
  31637. end;
  31638. function TINT_IFS0.getT5IF : TBits_1; inline;
  31639. begin
  31640. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31641. end;
  31642. procedure TINT_IFS0.setIC5EIF; inline;
  31643. begin
  31644. pTDefRegMap(@Self)^.&set := $02000000;
  31645. end;
  31646. procedure TINT_IFS0.clearIC5EIF; inline;
  31647. begin
  31648. pTDefRegMap(@Self)^.clr := $02000000;
  31649. end;
  31650. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  31651. begin
  31652. if thebits = 0 then
  31653. pTDefRegMap(@Self)^.clr := $02000000
  31654. else
  31655. pTDefRegMap(@Self)^.&set := $02000000;
  31656. end;
  31657. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  31658. begin
  31659. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  31660. end;
  31661. procedure TINT_IFS0.setIC5IF; inline;
  31662. begin
  31663. pTDefRegMap(@Self)^.&set := $04000000;
  31664. end;
  31665. procedure TINT_IFS0.clearIC5IF; inline;
  31666. begin
  31667. pTDefRegMap(@Self)^.clr := $04000000;
  31668. end;
  31669. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  31670. begin
  31671. if thebits = 0 then
  31672. pTDefRegMap(@Self)^.clr := $04000000
  31673. else
  31674. pTDefRegMap(@Self)^.&set := $04000000;
  31675. end;
  31676. function TINT_IFS0.getIC5IF : TBits_1; inline;
  31677. begin
  31678. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  31679. end;
  31680. procedure TINT_IFS0.setOC5IF; inline;
  31681. begin
  31682. pTDefRegMap(@Self)^.&set := $08000000;
  31683. end;
  31684. procedure TINT_IFS0.clearOC5IF; inline;
  31685. begin
  31686. pTDefRegMap(@Self)^.clr := $08000000;
  31687. end;
  31688. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  31689. begin
  31690. if thebits = 0 then
  31691. pTDefRegMap(@Self)^.clr := $08000000
  31692. else
  31693. pTDefRegMap(@Self)^.&set := $08000000;
  31694. end;
  31695. function TINT_IFS0.getOC5IF : TBits_1; inline;
  31696. begin
  31697. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  31698. end;
  31699. procedure TINT_IFS0.setAD1IF; inline;
  31700. begin
  31701. pTDefRegMap(@Self)^.&set := $10000000;
  31702. end;
  31703. procedure TINT_IFS0.clearAD1IF; inline;
  31704. begin
  31705. pTDefRegMap(@Self)^.clr := $10000000;
  31706. end;
  31707. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  31708. begin
  31709. if thebits = 0 then
  31710. pTDefRegMap(@Self)^.clr := $10000000
  31711. else
  31712. pTDefRegMap(@Self)^.&set := $10000000;
  31713. end;
  31714. function TINT_IFS0.getAD1IF : TBits_1; inline;
  31715. begin
  31716. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  31717. end;
  31718. procedure TINT_IFS0.setFSCMIF; inline;
  31719. begin
  31720. pTDefRegMap(@Self)^.&set := $20000000;
  31721. end;
  31722. procedure TINT_IFS0.clearFSCMIF; inline;
  31723. begin
  31724. pTDefRegMap(@Self)^.clr := $20000000;
  31725. end;
  31726. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  31727. begin
  31728. if thebits = 0 then
  31729. pTDefRegMap(@Self)^.clr := $20000000
  31730. else
  31731. pTDefRegMap(@Self)^.&set := $20000000;
  31732. end;
  31733. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  31734. begin
  31735. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  31736. end;
  31737. procedure TINT_IFS0.setRTCCIF; inline;
  31738. begin
  31739. pTDefRegMap(@Self)^.&set := $40000000;
  31740. end;
  31741. procedure TINT_IFS0.clearRTCCIF; inline;
  31742. begin
  31743. pTDefRegMap(@Self)^.clr := $40000000;
  31744. end;
  31745. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  31746. begin
  31747. if thebits = 0 then
  31748. pTDefRegMap(@Self)^.clr := $40000000
  31749. else
  31750. pTDefRegMap(@Self)^.&set := $40000000;
  31751. end;
  31752. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  31753. begin
  31754. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  31755. end;
  31756. procedure TINT_IFS0.setFCEIF; inline;
  31757. begin
  31758. pTDefRegMap(@Self)^.&set := $80000000;
  31759. end;
  31760. procedure TINT_IFS0.clearFCEIF; inline;
  31761. begin
  31762. pTDefRegMap(@Self)^.clr := $80000000;
  31763. end;
  31764. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  31765. begin
  31766. if thebits = 0 then
  31767. pTDefRegMap(@Self)^.clr := $80000000
  31768. else
  31769. pTDefRegMap(@Self)^.&set := $80000000;
  31770. end;
  31771. function TINT_IFS0.getFCEIF : TBits_1; inline;
  31772. begin
  31773. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  31774. end;
  31775. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  31776. begin
  31777. pTDefRegMap(@Self)^.val := thebits;
  31778. end;
  31779. function TINT_IFS0.getw : TBits_32; inline;
  31780. begin
  31781. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31782. end;
  31783. procedure TINT_IFS1.setCMP1IF; inline;
  31784. begin
  31785. pTDefRegMap(@Self)^.&set := $00000001;
  31786. end;
  31787. procedure TINT_IFS1.clearCMP1IF; inline;
  31788. begin
  31789. pTDefRegMap(@Self)^.clr := $00000001;
  31790. end;
  31791. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  31792. begin
  31793. if thebits = 0 then
  31794. pTDefRegMap(@Self)^.clr := $00000001
  31795. else
  31796. pTDefRegMap(@Self)^.&set := $00000001;
  31797. end;
  31798. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  31799. begin
  31800. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31801. end;
  31802. procedure TINT_IFS1.setCMP2IF; inline;
  31803. begin
  31804. pTDefRegMap(@Self)^.&set := $00000002;
  31805. end;
  31806. procedure TINT_IFS1.clearCMP2IF; inline;
  31807. begin
  31808. pTDefRegMap(@Self)^.clr := $00000002;
  31809. end;
  31810. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  31811. begin
  31812. if thebits = 0 then
  31813. pTDefRegMap(@Self)^.clr := $00000002
  31814. else
  31815. pTDefRegMap(@Self)^.&set := $00000002;
  31816. end;
  31817. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  31818. begin
  31819. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31820. end;
  31821. procedure TINT_IFS1.setSPI1EIF; inline;
  31822. begin
  31823. pTDefRegMap(@Self)^.&set := $00000008;
  31824. end;
  31825. procedure TINT_IFS1.clearSPI1EIF; inline;
  31826. begin
  31827. pTDefRegMap(@Self)^.clr := $00000008;
  31828. end;
  31829. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  31830. begin
  31831. if thebits = 0 then
  31832. pTDefRegMap(@Self)^.clr := $00000008
  31833. else
  31834. pTDefRegMap(@Self)^.&set := $00000008;
  31835. end;
  31836. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  31837. begin
  31838. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31839. end;
  31840. procedure TINT_IFS1.setSPI1RXIF; inline;
  31841. begin
  31842. pTDefRegMap(@Self)^.&set := $00000010;
  31843. end;
  31844. procedure TINT_IFS1.clearSPI1RXIF; inline;
  31845. begin
  31846. pTDefRegMap(@Self)^.clr := $00000010;
  31847. end;
  31848. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  31849. begin
  31850. if thebits = 0 then
  31851. pTDefRegMap(@Self)^.clr := $00000010
  31852. else
  31853. pTDefRegMap(@Self)^.&set := $00000010;
  31854. end;
  31855. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  31856. begin
  31857. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31858. end;
  31859. procedure TINT_IFS1.setSPI1TXIF; inline;
  31860. begin
  31861. pTDefRegMap(@Self)^.&set := $00000020;
  31862. end;
  31863. procedure TINT_IFS1.clearSPI1TXIF; inline;
  31864. begin
  31865. pTDefRegMap(@Self)^.clr := $00000020;
  31866. end;
  31867. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  31868. begin
  31869. if thebits = 0 then
  31870. pTDefRegMap(@Self)^.clr := $00000020
  31871. else
  31872. pTDefRegMap(@Self)^.&set := $00000020;
  31873. end;
  31874. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  31875. begin
  31876. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31877. end;
  31878. procedure TINT_IFS1.setU1EIF; inline;
  31879. begin
  31880. pTDefRegMap(@Self)^.&set := $00000040;
  31881. end;
  31882. procedure TINT_IFS1.clearU1EIF; inline;
  31883. begin
  31884. pTDefRegMap(@Self)^.clr := $00000040;
  31885. end;
  31886. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  31887. begin
  31888. if thebits = 0 then
  31889. pTDefRegMap(@Self)^.clr := $00000040
  31890. else
  31891. pTDefRegMap(@Self)^.&set := $00000040;
  31892. end;
  31893. function TINT_IFS1.getU1EIF : TBits_1; inline;
  31894. begin
  31895. getU1EIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31896. end;
  31897. procedure TINT_IFS1.setU1RXIF; inline;
  31898. begin
  31899. pTDefRegMap(@Self)^.&set := $00000080;
  31900. end;
  31901. procedure TINT_IFS1.clearU1RXIF; inline;
  31902. begin
  31903. pTDefRegMap(@Self)^.clr := $00000080;
  31904. end;
  31905. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  31906. begin
  31907. if thebits = 0 then
  31908. pTDefRegMap(@Self)^.clr := $00000080
  31909. else
  31910. pTDefRegMap(@Self)^.&set := $00000080;
  31911. end;
  31912. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  31913. begin
  31914. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31915. end;
  31916. procedure TINT_IFS1.setU1TXIF; inline;
  31917. begin
  31918. pTDefRegMap(@Self)^.&set := $00000100;
  31919. end;
  31920. procedure TINT_IFS1.clearU1TXIF; inline;
  31921. begin
  31922. pTDefRegMap(@Self)^.clr := $00000100;
  31923. end;
  31924. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  31925. begin
  31926. if thebits = 0 then
  31927. pTDefRegMap(@Self)^.clr := $00000100
  31928. else
  31929. pTDefRegMap(@Self)^.&set := $00000100;
  31930. end;
  31931. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  31932. begin
  31933. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31934. end;
  31935. procedure TINT_IFS1.setI2C1BIF; inline;
  31936. begin
  31937. pTDefRegMap(@Self)^.&set := $00000200;
  31938. end;
  31939. procedure TINT_IFS1.clearI2C1BIF; inline;
  31940. begin
  31941. pTDefRegMap(@Self)^.clr := $00000200;
  31942. end;
  31943. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  31944. begin
  31945. if thebits = 0 then
  31946. pTDefRegMap(@Self)^.clr := $00000200
  31947. else
  31948. pTDefRegMap(@Self)^.&set := $00000200;
  31949. end;
  31950. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  31951. begin
  31952. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31953. end;
  31954. procedure TINT_IFS1.setI2C1SIF; inline;
  31955. begin
  31956. pTDefRegMap(@Self)^.&set := $00000400;
  31957. end;
  31958. procedure TINT_IFS1.clearI2C1SIF; inline;
  31959. begin
  31960. pTDefRegMap(@Self)^.clr := $00000400;
  31961. end;
  31962. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  31963. begin
  31964. if thebits = 0 then
  31965. pTDefRegMap(@Self)^.clr := $00000400
  31966. else
  31967. pTDefRegMap(@Self)^.&set := $00000400;
  31968. end;
  31969. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  31970. begin
  31971. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31972. end;
  31973. procedure TINT_IFS1.setI2C1MIF; inline;
  31974. begin
  31975. pTDefRegMap(@Self)^.&set := $00000800;
  31976. end;
  31977. procedure TINT_IFS1.clearI2C1MIF; inline;
  31978. begin
  31979. pTDefRegMap(@Self)^.clr := $00000800;
  31980. end;
  31981. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  31982. begin
  31983. if thebits = 0 then
  31984. pTDefRegMap(@Self)^.clr := $00000800
  31985. else
  31986. pTDefRegMap(@Self)^.&set := $00000800;
  31987. end;
  31988. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  31989. begin
  31990. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31991. end;
  31992. procedure TINT_IFS1.setCNAIF; inline;
  31993. begin
  31994. pTDefRegMap(@Self)^.&set := $00001000;
  31995. end;
  31996. procedure TINT_IFS1.clearCNAIF; inline;
  31997. begin
  31998. pTDefRegMap(@Self)^.clr := $00001000;
  31999. end;
  32000. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  32001. begin
  32002. if thebits = 0 then
  32003. pTDefRegMap(@Self)^.clr := $00001000
  32004. else
  32005. pTDefRegMap(@Self)^.&set := $00001000;
  32006. end;
  32007. function TINT_IFS1.getCNAIF : TBits_1; inline;
  32008. begin
  32009. getCNAIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32010. end;
  32011. procedure TINT_IFS1.setCNBIF; inline;
  32012. begin
  32013. pTDefRegMap(@Self)^.&set := $00002000;
  32014. end;
  32015. procedure TINT_IFS1.clearCNBIF; inline;
  32016. begin
  32017. pTDefRegMap(@Self)^.clr := $00002000;
  32018. end;
  32019. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  32020. begin
  32021. if thebits = 0 then
  32022. pTDefRegMap(@Self)^.clr := $00002000
  32023. else
  32024. pTDefRegMap(@Self)^.&set := $00002000;
  32025. end;
  32026. function TINT_IFS1.getCNBIF : TBits_1; inline;
  32027. begin
  32028. getCNBIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32029. end;
  32030. procedure TINT_IFS1.setCNCIF; inline;
  32031. begin
  32032. pTDefRegMap(@Self)^.&set := $00004000;
  32033. end;
  32034. procedure TINT_IFS1.clearCNCIF; inline;
  32035. begin
  32036. pTDefRegMap(@Self)^.clr := $00004000;
  32037. end;
  32038. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  32039. begin
  32040. if thebits = 0 then
  32041. pTDefRegMap(@Self)^.clr := $00004000
  32042. else
  32043. pTDefRegMap(@Self)^.&set := $00004000;
  32044. end;
  32045. function TINT_IFS1.getCNCIF : TBits_1; inline;
  32046. begin
  32047. getCNCIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32048. end;
  32049. procedure TINT_IFS1.setCNDIF; inline;
  32050. begin
  32051. pTDefRegMap(@Self)^.&set := $00008000;
  32052. end;
  32053. procedure TINT_IFS1.clearCNDIF; inline;
  32054. begin
  32055. pTDefRegMap(@Self)^.clr := $00008000;
  32056. end;
  32057. procedure TINT_IFS1.setCNDIF(thebits : TBits_1); inline;
  32058. begin
  32059. if thebits = 0 then
  32060. pTDefRegMap(@Self)^.clr := $00008000
  32061. else
  32062. pTDefRegMap(@Self)^.&set := $00008000;
  32063. end;
  32064. function TINT_IFS1.getCNDIF : TBits_1; inline;
  32065. begin
  32066. getCNDIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32067. end;
  32068. procedure TINT_IFS1.setCNEIF; inline;
  32069. begin
  32070. pTDefRegMap(@Self)^.&set := $00010000;
  32071. end;
  32072. procedure TINT_IFS1.clearCNEIF; inline;
  32073. begin
  32074. pTDefRegMap(@Self)^.clr := $00010000;
  32075. end;
  32076. procedure TINT_IFS1.setCNEIF(thebits : TBits_1); inline;
  32077. begin
  32078. if thebits = 0 then
  32079. pTDefRegMap(@Self)^.clr := $00010000
  32080. else
  32081. pTDefRegMap(@Self)^.&set := $00010000;
  32082. end;
  32083. function TINT_IFS1.getCNEIF : TBits_1; inline;
  32084. begin
  32085. getCNEIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32086. end;
  32087. procedure TINT_IFS1.setCNFIF; inline;
  32088. begin
  32089. pTDefRegMap(@Self)^.&set := $00020000;
  32090. end;
  32091. procedure TINT_IFS1.clearCNFIF; inline;
  32092. begin
  32093. pTDefRegMap(@Self)^.clr := $00020000;
  32094. end;
  32095. procedure TINT_IFS1.setCNFIF(thebits : TBits_1); inline;
  32096. begin
  32097. if thebits = 0 then
  32098. pTDefRegMap(@Self)^.clr := $00020000
  32099. else
  32100. pTDefRegMap(@Self)^.&set := $00020000;
  32101. end;
  32102. function TINT_IFS1.getCNFIF : TBits_1; inline;
  32103. begin
  32104. getCNFIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32105. end;
  32106. procedure TINT_IFS1.setCNGIF; inline;
  32107. begin
  32108. pTDefRegMap(@Self)^.&set := $00040000;
  32109. end;
  32110. procedure TINT_IFS1.clearCNGIF; inline;
  32111. begin
  32112. pTDefRegMap(@Self)^.clr := $00040000;
  32113. end;
  32114. procedure TINT_IFS1.setCNGIF(thebits : TBits_1); inline;
  32115. begin
  32116. if thebits = 0 then
  32117. pTDefRegMap(@Self)^.clr := $00040000
  32118. else
  32119. pTDefRegMap(@Self)^.&set := $00040000;
  32120. end;
  32121. function TINT_IFS1.getCNGIF : TBits_1; inline;
  32122. begin
  32123. getCNGIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32124. end;
  32125. procedure TINT_IFS1.setPMPIF; inline;
  32126. begin
  32127. pTDefRegMap(@Self)^.&set := $00080000;
  32128. end;
  32129. procedure TINT_IFS1.clearPMPIF; inline;
  32130. begin
  32131. pTDefRegMap(@Self)^.clr := $00080000;
  32132. end;
  32133. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  32134. begin
  32135. if thebits = 0 then
  32136. pTDefRegMap(@Self)^.clr := $00080000
  32137. else
  32138. pTDefRegMap(@Self)^.&set := $00080000;
  32139. end;
  32140. function TINT_IFS1.getPMPIF : TBits_1; inline;
  32141. begin
  32142. getPMPIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32143. end;
  32144. procedure TINT_IFS1.setPMPEIF; inline;
  32145. begin
  32146. pTDefRegMap(@Self)^.&set := $00100000;
  32147. end;
  32148. procedure TINT_IFS1.clearPMPEIF; inline;
  32149. begin
  32150. pTDefRegMap(@Self)^.clr := $00100000;
  32151. end;
  32152. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  32153. begin
  32154. if thebits = 0 then
  32155. pTDefRegMap(@Self)^.clr := $00100000
  32156. else
  32157. pTDefRegMap(@Self)^.&set := $00100000;
  32158. end;
  32159. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  32160. begin
  32161. getPMPEIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32162. end;
  32163. procedure TINT_IFS1.setSPI2EIF; inline;
  32164. begin
  32165. pTDefRegMap(@Self)^.&set := $00200000;
  32166. end;
  32167. procedure TINT_IFS1.clearSPI2EIF; inline;
  32168. begin
  32169. pTDefRegMap(@Self)^.clr := $00200000;
  32170. end;
  32171. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  32172. begin
  32173. if thebits = 0 then
  32174. pTDefRegMap(@Self)^.clr := $00200000
  32175. else
  32176. pTDefRegMap(@Self)^.&set := $00200000;
  32177. end;
  32178. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  32179. begin
  32180. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32181. end;
  32182. procedure TINT_IFS1.setSPI2RXIF; inline;
  32183. begin
  32184. pTDefRegMap(@Self)^.&set := $00400000;
  32185. end;
  32186. procedure TINT_IFS1.clearSPI2RXIF; inline;
  32187. begin
  32188. pTDefRegMap(@Self)^.clr := $00400000;
  32189. end;
  32190. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  32191. begin
  32192. if thebits = 0 then
  32193. pTDefRegMap(@Self)^.clr := $00400000
  32194. else
  32195. pTDefRegMap(@Self)^.&set := $00400000;
  32196. end;
  32197. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  32198. begin
  32199. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32200. end;
  32201. procedure TINT_IFS1.setSPI2TXIF; inline;
  32202. begin
  32203. pTDefRegMap(@Self)^.&set := $00800000;
  32204. end;
  32205. procedure TINT_IFS1.clearSPI2TXIF; inline;
  32206. begin
  32207. pTDefRegMap(@Self)^.clr := $00800000;
  32208. end;
  32209. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  32210. begin
  32211. if thebits = 0 then
  32212. pTDefRegMap(@Self)^.clr := $00800000
  32213. else
  32214. pTDefRegMap(@Self)^.&set := $00800000;
  32215. end;
  32216. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  32217. begin
  32218. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32219. end;
  32220. procedure TINT_IFS1.setU2EIF; inline;
  32221. begin
  32222. pTDefRegMap(@Self)^.&set := $01000000;
  32223. end;
  32224. procedure TINT_IFS1.clearU2EIF; inline;
  32225. begin
  32226. pTDefRegMap(@Self)^.clr := $01000000;
  32227. end;
  32228. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  32229. begin
  32230. if thebits = 0 then
  32231. pTDefRegMap(@Self)^.clr := $01000000
  32232. else
  32233. pTDefRegMap(@Self)^.&set := $01000000;
  32234. end;
  32235. function TINT_IFS1.getU2EIF : TBits_1; inline;
  32236. begin
  32237. getU2EIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32238. end;
  32239. procedure TINT_IFS1.setU2RXIF; inline;
  32240. begin
  32241. pTDefRegMap(@Self)^.&set := $02000000;
  32242. end;
  32243. procedure TINT_IFS1.clearU2RXIF; inline;
  32244. begin
  32245. pTDefRegMap(@Self)^.clr := $02000000;
  32246. end;
  32247. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  32248. begin
  32249. if thebits = 0 then
  32250. pTDefRegMap(@Self)^.clr := $02000000
  32251. else
  32252. pTDefRegMap(@Self)^.&set := $02000000;
  32253. end;
  32254. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  32255. begin
  32256. getU2RXIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  32257. end;
  32258. procedure TINT_IFS1.setU2TXIF; inline;
  32259. begin
  32260. pTDefRegMap(@Self)^.&set := $04000000;
  32261. end;
  32262. procedure TINT_IFS1.clearU2TXIF; inline;
  32263. begin
  32264. pTDefRegMap(@Self)^.clr := $04000000;
  32265. end;
  32266. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  32267. begin
  32268. if thebits = 0 then
  32269. pTDefRegMap(@Self)^.clr := $04000000
  32270. else
  32271. pTDefRegMap(@Self)^.&set := $04000000;
  32272. end;
  32273. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  32274. begin
  32275. getU2TXIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  32276. end;
  32277. procedure TINT_IFS1.setI2C2BIF; inline;
  32278. begin
  32279. pTDefRegMap(@Self)^.&set := $08000000;
  32280. end;
  32281. procedure TINT_IFS1.clearI2C2BIF; inline;
  32282. begin
  32283. pTDefRegMap(@Self)^.clr := $08000000;
  32284. end;
  32285. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  32286. begin
  32287. if thebits = 0 then
  32288. pTDefRegMap(@Self)^.clr := $08000000
  32289. else
  32290. pTDefRegMap(@Self)^.&set := $08000000;
  32291. end;
  32292. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  32293. begin
  32294. getI2C2BIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  32295. end;
  32296. procedure TINT_IFS1.setI2C2SIF; inline;
  32297. begin
  32298. pTDefRegMap(@Self)^.&set := $10000000;
  32299. end;
  32300. procedure TINT_IFS1.clearI2C2SIF; inline;
  32301. begin
  32302. pTDefRegMap(@Self)^.clr := $10000000;
  32303. end;
  32304. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  32305. begin
  32306. if thebits = 0 then
  32307. pTDefRegMap(@Self)^.clr := $10000000
  32308. else
  32309. pTDefRegMap(@Self)^.&set := $10000000;
  32310. end;
  32311. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  32312. begin
  32313. getI2C2SIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  32314. end;
  32315. procedure TINT_IFS1.setI2C2MIF; inline;
  32316. begin
  32317. pTDefRegMap(@Self)^.&set := $20000000;
  32318. end;
  32319. procedure TINT_IFS1.clearI2C2MIF; inline;
  32320. begin
  32321. pTDefRegMap(@Self)^.clr := $20000000;
  32322. end;
  32323. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  32324. begin
  32325. if thebits = 0 then
  32326. pTDefRegMap(@Self)^.clr := $20000000
  32327. else
  32328. pTDefRegMap(@Self)^.&set := $20000000;
  32329. end;
  32330. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  32331. begin
  32332. getI2C2MIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  32333. end;
  32334. procedure TINT_IFS1.setU3EIF; inline;
  32335. begin
  32336. pTDefRegMap(@Self)^.&set := $40000000;
  32337. end;
  32338. procedure TINT_IFS1.clearU3EIF; inline;
  32339. begin
  32340. pTDefRegMap(@Self)^.clr := $40000000;
  32341. end;
  32342. procedure TINT_IFS1.setU3EIF(thebits : TBits_1); inline;
  32343. begin
  32344. if thebits = 0 then
  32345. pTDefRegMap(@Self)^.clr := $40000000
  32346. else
  32347. pTDefRegMap(@Self)^.&set := $40000000;
  32348. end;
  32349. function TINT_IFS1.getU3EIF : TBits_1; inline;
  32350. begin
  32351. getU3EIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  32352. end;
  32353. procedure TINT_IFS1.setU3RXIF; inline;
  32354. begin
  32355. pTDefRegMap(@Self)^.&set := $80000000;
  32356. end;
  32357. procedure TINT_IFS1.clearU3RXIF; inline;
  32358. begin
  32359. pTDefRegMap(@Self)^.clr := $80000000;
  32360. end;
  32361. procedure TINT_IFS1.setU3RXIF(thebits : TBits_1); inline;
  32362. begin
  32363. if thebits = 0 then
  32364. pTDefRegMap(@Self)^.clr := $80000000
  32365. else
  32366. pTDefRegMap(@Self)^.&set := $80000000;
  32367. end;
  32368. function TINT_IFS1.getU3RXIF : TBits_1; inline;
  32369. begin
  32370. getU3RXIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  32371. end;
  32372. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  32373. begin
  32374. pTDefRegMap(@Self)^.val := thebits;
  32375. end;
  32376. function TINT_IFS1.getw : TBits_32; inline;
  32377. begin
  32378. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32379. end;
  32380. procedure TINT_IEC0.setCTIE; inline;
  32381. begin
  32382. pTDefRegMap(@Self)^.&set := $00000001;
  32383. end;
  32384. procedure TINT_IEC0.clearCTIE; inline;
  32385. begin
  32386. pTDefRegMap(@Self)^.clr := $00000001;
  32387. end;
  32388. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  32389. begin
  32390. if thebits = 0 then
  32391. pTDefRegMap(@Self)^.clr := $00000001
  32392. else
  32393. pTDefRegMap(@Self)^.&set := $00000001;
  32394. end;
  32395. function TINT_IEC0.getCTIE : TBits_1; inline;
  32396. begin
  32397. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32398. end;
  32399. procedure TINT_IEC0.setCS0IE; inline;
  32400. begin
  32401. pTDefRegMap(@Self)^.&set := $00000002;
  32402. end;
  32403. procedure TINT_IEC0.clearCS0IE; inline;
  32404. begin
  32405. pTDefRegMap(@Self)^.clr := $00000002;
  32406. end;
  32407. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  32408. begin
  32409. if thebits = 0 then
  32410. pTDefRegMap(@Self)^.clr := $00000002
  32411. else
  32412. pTDefRegMap(@Self)^.&set := $00000002;
  32413. end;
  32414. function TINT_IEC0.getCS0IE : TBits_1; inline;
  32415. begin
  32416. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32417. end;
  32418. procedure TINT_IEC0.setCS1IE; inline;
  32419. begin
  32420. pTDefRegMap(@Self)^.&set := $00000004;
  32421. end;
  32422. procedure TINT_IEC0.clearCS1IE; inline;
  32423. begin
  32424. pTDefRegMap(@Self)^.clr := $00000004;
  32425. end;
  32426. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  32427. begin
  32428. if thebits = 0 then
  32429. pTDefRegMap(@Self)^.clr := $00000004
  32430. else
  32431. pTDefRegMap(@Self)^.&set := $00000004;
  32432. end;
  32433. function TINT_IEC0.getCS1IE : TBits_1; inline;
  32434. begin
  32435. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32436. end;
  32437. procedure TINT_IEC0.setINT0IE; inline;
  32438. begin
  32439. pTDefRegMap(@Self)^.&set := $00000008;
  32440. end;
  32441. procedure TINT_IEC0.clearINT0IE; inline;
  32442. begin
  32443. pTDefRegMap(@Self)^.clr := $00000008;
  32444. end;
  32445. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  32446. begin
  32447. if thebits = 0 then
  32448. pTDefRegMap(@Self)^.clr := $00000008
  32449. else
  32450. pTDefRegMap(@Self)^.&set := $00000008;
  32451. end;
  32452. function TINT_IEC0.getINT0IE : TBits_1; inline;
  32453. begin
  32454. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32455. end;
  32456. procedure TINT_IEC0.setT1IE; inline;
  32457. begin
  32458. pTDefRegMap(@Self)^.&set := $00000010;
  32459. end;
  32460. procedure TINT_IEC0.clearT1IE; inline;
  32461. begin
  32462. pTDefRegMap(@Self)^.clr := $00000010;
  32463. end;
  32464. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  32465. begin
  32466. if thebits = 0 then
  32467. pTDefRegMap(@Self)^.clr := $00000010
  32468. else
  32469. pTDefRegMap(@Self)^.&set := $00000010;
  32470. end;
  32471. function TINT_IEC0.getT1IE : TBits_1; inline;
  32472. begin
  32473. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32474. end;
  32475. procedure TINT_IEC0.setIC1EIE; inline;
  32476. begin
  32477. pTDefRegMap(@Self)^.&set := $00000020;
  32478. end;
  32479. procedure TINT_IEC0.clearIC1EIE; inline;
  32480. begin
  32481. pTDefRegMap(@Self)^.clr := $00000020;
  32482. end;
  32483. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  32484. begin
  32485. if thebits = 0 then
  32486. pTDefRegMap(@Self)^.clr := $00000020
  32487. else
  32488. pTDefRegMap(@Self)^.&set := $00000020;
  32489. end;
  32490. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  32491. begin
  32492. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32493. end;
  32494. procedure TINT_IEC0.setIC1IE; inline;
  32495. begin
  32496. pTDefRegMap(@Self)^.&set := $00000040;
  32497. end;
  32498. procedure TINT_IEC0.clearIC1IE; inline;
  32499. begin
  32500. pTDefRegMap(@Self)^.clr := $00000040;
  32501. end;
  32502. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  32503. begin
  32504. if thebits = 0 then
  32505. pTDefRegMap(@Self)^.clr := $00000040
  32506. else
  32507. pTDefRegMap(@Self)^.&set := $00000040;
  32508. end;
  32509. function TINT_IEC0.getIC1IE : TBits_1; inline;
  32510. begin
  32511. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32512. end;
  32513. procedure TINT_IEC0.setOC1IE; inline;
  32514. begin
  32515. pTDefRegMap(@Self)^.&set := $00000080;
  32516. end;
  32517. procedure TINT_IEC0.clearOC1IE; inline;
  32518. begin
  32519. pTDefRegMap(@Self)^.clr := $00000080;
  32520. end;
  32521. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  32522. begin
  32523. if thebits = 0 then
  32524. pTDefRegMap(@Self)^.clr := $00000080
  32525. else
  32526. pTDefRegMap(@Self)^.&set := $00000080;
  32527. end;
  32528. function TINT_IEC0.getOC1IE : TBits_1; inline;
  32529. begin
  32530. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32531. end;
  32532. procedure TINT_IEC0.setINT1IE; inline;
  32533. begin
  32534. pTDefRegMap(@Self)^.&set := $00000100;
  32535. end;
  32536. procedure TINT_IEC0.clearINT1IE; inline;
  32537. begin
  32538. pTDefRegMap(@Self)^.clr := $00000100;
  32539. end;
  32540. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  32541. begin
  32542. if thebits = 0 then
  32543. pTDefRegMap(@Self)^.clr := $00000100
  32544. else
  32545. pTDefRegMap(@Self)^.&set := $00000100;
  32546. end;
  32547. function TINT_IEC0.getINT1IE : TBits_1; inline;
  32548. begin
  32549. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32550. end;
  32551. procedure TINT_IEC0.setT2IE; inline;
  32552. begin
  32553. pTDefRegMap(@Self)^.&set := $00000200;
  32554. end;
  32555. procedure TINT_IEC0.clearT2IE; inline;
  32556. begin
  32557. pTDefRegMap(@Self)^.clr := $00000200;
  32558. end;
  32559. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  32560. begin
  32561. if thebits = 0 then
  32562. pTDefRegMap(@Self)^.clr := $00000200
  32563. else
  32564. pTDefRegMap(@Self)^.&set := $00000200;
  32565. end;
  32566. function TINT_IEC0.getT2IE : TBits_1; inline;
  32567. begin
  32568. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32569. end;
  32570. procedure TINT_IEC0.setIC2EIE; inline;
  32571. begin
  32572. pTDefRegMap(@Self)^.&set := $00000400;
  32573. end;
  32574. procedure TINT_IEC0.clearIC2EIE; inline;
  32575. begin
  32576. pTDefRegMap(@Self)^.clr := $00000400;
  32577. end;
  32578. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  32579. begin
  32580. if thebits = 0 then
  32581. pTDefRegMap(@Self)^.clr := $00000400
  32582. else
  32583. pTDefRegMap(@Self)^.&set := $00000400;
  32584. end;
  32585. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  32586. begin
  32587. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32588. end;
  32589. procedure TINT_IEC0.setIC2IE; inline;
  32590. begin
  32591. pTDefRegMap(@Self)^.&set := $00000800;
  32592. end;
  32593. procedure TINT_IEC0.clearIC2IE; inline;
  32594. begin
  32595. pTDefRegMap(@Self)^.clr := $00000800;
  32596. end;
  32597. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  32598. begin
  32599. if thebits = 0 then
  32600. pTDefRegMap(@Self)^.clr := $00000800
  32601. else
  32602. pTDefRegMap(@Self)^.&set := $00000800;
  32603. end;
  32604. function TINT_IEC0.getIC2IE : TBits_1; inline;
  32605. begin
  32606. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32607. end;
  32608. procedure TINT_IEC0.setOC2IE; inline;
  32609. begin
  32610. pTDefRegMap(@Self)^.&set := $00001000;
  32611. end;
  32612. procedure TINT_IEC0.clearOC2IE; inline;
  32613. begin
  32614. pTDefRegMap(@Self)^.clr := $00001000;
  32615. end;
  32616. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  32617. begin
  32618. if thebits = 0 then
  32619. pTDefRegMap(@Self)^.clr := $00001000
  32620. else
  32621. pTDefRegMap(@Self)^.&set := $00001000;
  32622. end;
  32623. function TINT_IEC0.getOC2IE : TBits_1; inline;
  32624. begin
  32625. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32626. end;
  32627. procedure TINT_IEC0.setINT2IE; inline;
  32628. begin
  32629. pTDefRegMap(@Self)^.&set := $00002000;
  32630. end;
  32631. procedure TINT_IEC0.clearINT2IE; inline;
  32632. begin
  32633. pTDefRegMap(@Self)^.clr := $00002000;
  32634. end;
  32635. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  32636. begin
  32637. if thebits = 0 then
  32638. pTDefRegMap(@Self)^.clr := $00002000
  32639. else
  32640. pTDefRegMap(@Self)^.&set := $00002000;
  32641. end;
  32642. function TINT_IEC0.getINT2IE : TBits_1; inline;
  32643. begin
  32644. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32645. end;
  32646. procedure TINT_IEC0.setT3IE; inline;
  32647. begin
  32648. pTDefRegMap(@Self)^.&set := $00004000;
  32649. end;
  32650. procedure TINT_IEC0.clearT3IE; inline;
  32651. begin
  32652. pTDefRegMap(@Self)^.clr := $00004000;
  32653. end;
  32654. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  32655. begin
  32656. if thebits = 0 then
  32657. pTDefRegMap(@Self)^.clr := $00004000
  32658. else
  32659. pTDefRegMap(@Self)^.&set := $00004000;
  32660. end;
  32661. function TINT_IEC0.getT3IE : TBits_1; inline;
  32662. begin
  32663. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32664. end;
  32665. procedure TINT_IEC0.setIC3EIE; inline;
  32666. begin
  32667. pTDefRegMap(@Self)^.&set := $00008000;
  32668. end;
  32669. procedure TINT_IEC0.clearIC3EIE; inline;
  32670. begin
  32671. pTDefRegMap(@Self)^.clr := $00008000;
  32672. end;
  32673. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  32674. begin
  32675. if thebits = 0 then
  32676. pTDefRegMap(@Self)^.clr := $00008000
  32677. else
  32678. pTDefRegMap(@Self)^.&set := $00008000;
  32679. end;
  32680. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  32681. begin
  32682. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32683. end;
  32684. procedure TINT_IEC0.setIC3IE; inline;
  32685. begin
  32686. pTDefRegMap(@Self)^.&set := $00010000;
  32687. end;
  32688. procedure TINT_IEC0.clearIC3IE; inline;
  32689. begin
  32690. pTDefRegMap(@Self)^.clr := $00010000;
  32691. end;
  32692. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  32693. begin
  32694. if thebits = 0 then
  32695. pTDefRegMap(@Self)^.clr := $00010000
  32696. else
  32697. pTDefRegMap(@Self)^.&set := $00010000;
  32698. end;
  32699. function TINT_IEC0.getIC3IE : TBits_1; inline;
  32700. begin
  32701. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32702. end;
  32703. procedure TINT_IEC0.setOC3IE; inline;
  32704. begin
  32705. pTDefRegMap(@Self)^.&set := $00020000;
  32706. end;
  32707. procedure TINT_IEC0.clearOC3IE; inline;
  32708. begin
  32709. pTDefRegMap(@Self)^.clr := $00020000;
  32710. end;
  32711. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  32712. begin
  32713. if thebits = 0 then
  32714. pTDefRegMap(@Self)^.clr := $00020000
  32715. else
  32716. pTDefRegMap(@Self)^.&set := $00020000;
  32717. end;
  32718. function TINT_IEC0.getOC3IE : TBits_1; inline;
  32719. begin
  32720. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32721. end;
  32722. procedure TINT_IEC0.setINT3IE; inline;
  32723. begin
  32724. pTDefRegMap(@Self)^.&set := $00040000;
  32725. end;
  32726. procedure TINT_IEC0.clearINT3IE; inline;
  32727. begin
  32728. pTDefRegMap(@Self)^.clr := $00040000;
  32729. end;
  32730. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  32731. begin
  32732. if thebits = 0 then
  32733. pTDefRegMap(@Self)^.clr := $00040000
  32734. else
  32735. pTDefRegMap(@Self)^.&set := $00040000;
  32736. end;
  32737. function TINT_IEC0.getINT3IE : TBits_1; inline;
  32738. begin
  32739. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32740. end;
  32741. procedure TINT_IEC0.setT4IE; inline;
  32742. begin
  32743. pTDefRegMap(@Self)^.&set := $00080000;
  32744. end;
  32745. procedure TINT_IEC0.clearT4IE; inline;
  32746. begin
  32747. pTDefRegMap(@Self)^.clr := $00080000;
  32748. end;
  32749. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  32750. begin
  32751. if thebits = 0 then
  32752. pTDefRegMap(@Self)^.clr := $00080000
  32753. else
  32754. pTDefRegMap(@Self)^.&set := $00080000;
  32755. end;
  32756. function TINT_IEC0.getT4IE : TBits_1; inline;
  32757. begin
  32758. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32759. end;
  32760. procedure TINT_IEC0.setIC4EIE; inline;
  32761. begin
  32762. pTDefRegMap(@Self)^.&set := $00100000;
  32763. end;
  32764. procedure TINT_IEC0.clearIC4EIE; inline;
  32765. begin
  32766. pTDefRegMap(@Self)^.clr := $00100000;
  32767. end;
  32768. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  32769. begin
  32770. if thebits = 0 then
  32771. pTDefRegMap(@Self)^.clr := $00100000
  32772. else
  32773. pTDefRegMap(@Self)^.&set := $00100000;
  32774. end;
  32775. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  32776. begin
  32777. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32778. end;
  32779. procedure TINT_IEC0.setIC4IE; inline;
  32780. begin
  32781. pTDefRegMap(@Self)^.&set := $00200000;
  32782. end;
  32783. procedure TINT_IEC0.clearIC4IE; inline;
  32784. begin
  32785. pTDefRegMap(@Self)^.clr := $00200000;
  32786. end;
  32787. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  32788. begin
  32789. if thebits = 0 then
  32790. pTDefRegMap(@Self)^.clr := $00200000
  32791. else
  32792. pTDefRegMap(@Self)^.&set := $00200000;
  32793. end;
  32794. function TINT_IEC0.getIC4IE : TBits_1; inline;
  32795. begin
  32796. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32797. end;
  32798. procedure TINT_IEC0.setOC4IE; inline;
  32799. begin
  32800. pTDefRegMap(@Self)^.&set := $00400000;
  32801. end;
  32802. procedure TINT_IEC0.clearOC4IE; inline;
  32803. begin
  32804. pTDefRegMap(@Self)^.clr := $00400000;
  32805. end;
  32806. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  32807. begin
  32808. if thebits = 0 then
  32809. pTDefRegMap(@Self)^.clr := $00400000
  32810. else
  32811. pTDefRegMap(@Self)^.&set := $00400000;
  32812. end;
  32813. function TINT_IEC0.getOC4IE : TBits_1; inline;
  32814. begin
  32815. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32816. end;
  32817. procedure TINT_IEC0.setINT4IE; inline;
  32818. begin
  32819. pTDefRegMap(@Self)^.&set := $00800000;
  32820. end;
  32821. procedure TINT_IEC0.clearINT4IE; inline;
  32822. begin
  32823. pTDefRegMap(@Self)^.clr := $00800000;
  32824. end;
  32825. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  32826. begin
  32827. if thebits = 0 then
  32828. pTDefRegMap(@Self)^.clr := $00800000
  32829. else
  32830. pTDefRegMap(@Self)^.&set := $00800000;
  32831. end;
  32832. function TINT_IEC0.getINT4IE : TBits_1; inline;
  32833. begin
  32834. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32835. end;
  32836. procedure TINT_IEC0.setT5IE; inline;
  32837. begin
  32838. pTDefRegMap(@Self)^.&set := $01000000;
  32839. end;
  32840. procedure TINT_IEC0.clearT5IE; inline;
  32841. begin
  32842. pTDefRegMap(@Self)^.clr := $01000000;
  32843. end;
  32844. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  32845. begin
  32846. if thebits = 0 then
  32847. pTDefRegMap(@Self)^.clr := $01000000
  32848. else
  32849. pTDefRegMap(@Self)^.&set := $01000000;
  32850. end;
  32851. function TINT_IEC0.getT5IE : TBits_1; inline;
  32852. begin
  32853. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32854. end;
  32855. procedure TINT_IEC0.setIC5EIE; inline;
  32856. begin
  32857. pTDefRegMap(@Self)^.&set := $02000000;
  32858. end;
  32859. procedure TINT_IEC0.clearIC5EIE; inline;
  32860. begin
  32861. pTDefRegMap(@Self)^.clr := $02000000;
  32862. end;
  32863. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  32864. begin
  32865. if thebits = 0 then
  32866. pTDefRegMap(@Self)^.clr := $02000000
  32867. else
  32868. pTDefRegMap(@Self)^.&set := $02000000;
  32869. end;
  32870. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  32871. begin
  32872. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  32873. end;
  32874. procedure TINT_IEC0.setIC5IE; inline;
  32875. begin
  32876. pTDefRegMap(@Self)^.&set := $04000000;
  32877. end;
  32878. procedure TINT_IEC0.clearIC5IE; inline;
  32879. begin
  32880. pTDefRegMap(@Self)^.clr := $04000000;
  32881. end;
  32882. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  32883. begin
  32884. if thebits = 0 then
  32885. pTDefRegMap(@Self)^.clr := $04000000
  32886. else
  32887. pTDefRegMap(@Self)^.&set := $04000000;
  32888. end;
  32889. function TINT_IEC0.getIC5IE : TBits_1; inline;
  32890. begin
  32891. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  32892. end;
  32893. procedure TINT_IEC0.setOC5IE; inline;
  32894. begin
  32895. pTDefRegMap(@Self)^.&set := $08000000;
  32896. end;
  32897. procedure TINT_IEC0.clearOC5IE; inline;
  32898. begin
  32899. pTDefRegMap(@Self)^.clr := $08000000;
  32900. end;
  32901. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  32902. begin
  32903. if thebits = 0 then
  32904. pTDefRegMap(@Self)^.clr := $08000000
  32905. else
  32906. pTDefRegMap(@Self)^.&set := $08000000;
  32907. end;
  32908. function TINT_IEC0.getOC5IE : TBits_1; inline;
  32909. begin
  32910. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  32911. end;
  32912. procedure TINT_IEC0.setAD1IE; inline;
  32913. begin
  32914. pTDefRegMap(@Self)^.&set := $10000000;
  32915. end;
  32916. procedure TINT_IEC0.clearAD1IE; inline;
  32917. begin
  32918. pTDefRegMap(@Self)^.clr := $10000000;
  32919. end;
  32920. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  32921. begin
  32922. if thebits = 0 then
  32923. pTDefRegMap(@Self)^.clr := $10000000
  32924. else
  32925. pTDefRegMap(@Self)^.&set := $10000000;
  32926. end;
  32927. function TINT_IEC0.getAD1IE : TBits_1; inline;
  32928. begin
  32929. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  32930. end;
  32931. procedure TINT_IEC0.setFSCMIE; inline;
  32932. begin
  32933. pTDefRegMap(@Self)^.&set := $20000000;
  32934. end;
  32935. procedure TINT_IEC0.clearFSCMIE; inline;
  32936. begin
  32937. pTDefRegMap(@Self)^.clr := $20000000;
  32938. end;
  32939. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  32940. begin
  32941. if thebits = 0 then
  32942. pTDefRegMap(@Self)^.clr := $20000000
  32943. else
  32944. pTDefRegMap(@Self)^.&set := $20000000;
  32945. end;
  32946. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  32947. begin
  32948. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  32949. end;
  32950. procedure TINT_IEC0.setRTCCIE; inline;
  32951. begin
  32952. pTDefRegMap(@Self)^.&set := $40000000;
  32953. end;
  32954. procedure TINT_IEC0.clearRTCCIE; inline;
  32955. begin
  32956. pTDefRegMap(@Self)^.clr := $40000000;
  32957. end;
  32958. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  32959. begin
  32960. if thebits = 0 then
  32961. pTDefRegMap(@Self)^.clr := $40000000
  32962. else
  32963. pTDefRegMap(@Self)^.&set := $40000000;
  32964. end;
  32965. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  32966. begin
  32967. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  32968. end;
  32969. procedure TINT_IEC0.setFCEIE; inline;
  32970. begin
  32971. pTDefRegMap(@Self)^.&set := $80000000;
  32972. end;
  32973. procedure TINT_IEC0.clearFCEIE; inline;
  32974. begin
  32975. pTDefRegMap(@Self)^.clr := $80000000;
  32976. end;
  32977. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  32978. begin
  32979. if thebits = 0 then
  32980. pTDefRegMap(@Self)^.clr := $80000000
  32981. else
  32982. pTDefRegMap(@Self)^.&set := $80000000;
  32983. end;
  32984. function TINT_IEC0.getFCEIE : TBits_1; inline;
  32985. begin
  32986. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  32987. end;
  32988. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  32989. begin
  32990. pTDefRegMap(@Self)^.val := thebits;
  32991. end;
  32992. function TINT_IEC0.getw : TBits_32; inline;
  32993. begin
  32994. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32995. end;
  32996. procedure TINT_IEC1.setCMP1IE; inline;
  32997. begin
  32998. pTDefRegMap(@Self)^.&set := $00000001;
  32999. end;
  33000. procedure TINT_IEC1.clearCMP1IE; inline;
  33001. begin
  33002. pTDefRegMap(@Self)^.clr := $00000001;
  33003. end;
  33004. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  33005. begin
  33006. if thebits = 0 then
  33007. pTDefRegMap(@Self)^.clr := $00000001
  33008. else
  33009. pTDefRegMap(@Self)^.&set := $00000001;
  33010. end;
  33011. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  33012. begin
  33013. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33014. end;
  33015. procedure TINT_IEC1.setCMP2IE; inline;
  33016. begin
  33017. pTDefRegMap(@Self)^.&set := $00000002;
  33018. end;
  33019. procedure TINT_IEC1.clearCMP2IE; inline;
  33020. begin
  33021. pTDefRegMap(@Self)^.clr := $00000002;
  33022. end;
  33023. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  33024. begin
  33025. if thebits = 0 then
  33026. pTDefRegMap(@Self)^.clr := $00000002
  33027. else
  33028. pTDefRegMap(@Self)^.&set := $00000002;
  33029. end;
  33030. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  33031. begin
  33032. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33033. end;
  33034. procedure TINT_IEC1.setSPI1EIE; inline;
  33035. begin
  33036. pTDefRegMap(@Self)^.&set := $00000008;
  33037. end;
  33038. procedure TINT_IEC1.clearSPI1EIE; inline;
  33039. begin
  33040. pTDefRegMap(@Self)^.clr := $00000008;
  33041. end;
  33042. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  33043. begin
  33044. if thebits = 0 then
  33045. pTDefRegMap(@Self)^.clr := $00000008
  33046. else
  33047. pTDefRegMap(@Self)^.&set := $00000008;
  33048. end;
  33049. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  33050. begin
  33051. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33052. end;
  33053. procedure TINT_IEC1.setSPI1RXIE; inline;
  33054. begin
  33055. pTDefRegMap(@Self)^.&set := $00000010;
  33056. end;
  33057. procedure TINT_IEC1.clearSPI1RXIE; inline;
  33058. begin
  33059. pTDefRegMap(@Self)^.clr := $00000010;
  33060. end;
  33061. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  33062. begin
  33063. if thebits = 0 then
  33064. pTDefRegMap(@Self)^.clr := $00000010
  33065. else
  33066. pTDefRegMap(@Self)^.&set := $00000010;
  33067. end;
  33068. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  33069. begin
  33070. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33071. end;
  33072. procedure TINT_IEC1.setSPI1TXIE; inline;
  33073. begin
  33074. pTDefRegMap(@Self)^.&set := $00000020;
  33075. end;
  33076. procedure TINT_IEC1.clearSPI1TXIE; inline;
  33077. begin
  33078. pTDefRegMap(@Self)^.clr := $00000020;
  33079. end;
  33080. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  33081. begin
  33082. if thebits = 0 then
  33083. pTDefRegMap(@Self)^.clr := $00000020
  33084. else
  33085. pTDefRegMap(@Self)^.&set := $00000020;
  33086. end;
  33087. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  33088. begin
  33089. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33090. end;
  33091. procedure TINT_IEC1.setU1EIE; inline;
  33092. begin
  33093. pTDefRegMap(@Self)^.&set := $00000040;
  33094. end;
  33095. procedure TINT_IEC1.clearU1EIE; inline;
  33096. begin
  33097. pTDefRegMap(@Self)^.clr := $00000040;
  33098. end;
  33099. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  33100. begin
  33101. if thebits = 0 then
  33102. pTDefRegMap(@Self)^.clr := $00000040
  33103. else
  33104. pTDefRegMap(@Self)^.&set := $00000040;
  33105. end;
  33106. function TINT_IEC1.getU1EIE : TBits_1; inline;
  33107. begin
  33108. getU1EIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33109. end;
  33110. procedure TINT_IEC1.setU1RXIE; inline;
  33111. begin
  33112. pTDefRegMap(@Self)^.&set := $00000080;
  33113. end;
  33114. procedure TINT_IEC1.clearU1RXIE; inline;
  33115. begin
  33116. pTDefRegMap(@Self)^.clr := $00000080;
  33117. end;
  33118. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  33119. begin
  33120. if thebits = 0 then
  33121. pTDefRegMap(@Self)^.clr := $00000080
  33122. else
  33123. pTDefRegMap(@Self)^.&set := $00000080;
  33124. end;
  33125. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  33126. begin
  33127. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33128. end;
  33129. procedure TINT_IEC1.setU1TXIE; inline;
  33130. begin
  33131. pTDefRegMap(@Self)^.&set := $00000100;
  33132. end;
  33133. procedure TINT_IEC1.clearU1TXIE; inline;
  33134. begin
  33135. pTDefRegMap(@Self)^.clr := $00000100;
  33136. end;
  33137. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  33138. begin
  33139. if thebits = 0 then
  33140. pTDefRegMap(@Self)^.clr := $00000100
  33141. else
  33142. pTDefRegMap(@Self)^.&set := $00000100;
  33143. end;
  33144. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  33145. begin
  33146. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33147. end;
  33148. procedure TINT_IEC1.setI2C1BIE; inline;
  33149. begin
  33150. pTDefRegMap(@Self)^.&set := $00000200;
  33151. end;
  33152. procedure TINT_IEC1.clearI2C1BIE; inline;
  33153. begin
  33154. pTDefRegMap(@Self)^.clr := $00000200;
  33155. end;
  33156. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  33157. begin
  33158. if thebits = 0 then
  33159. pTDefRegMap(@Self)^.clr := $00000200
  33160. else
  33161. pTDefRegMap(@Self)^.&set := $00000200;
  33162. end;
  33163. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  33164. begin
  33165. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33166. end;
  33167. procedure TINT_IEC1.setI2C1SIE; inline;
  33168. begin
  33169. pTDefRegMap(@Self)^.&set := $00000400;
  33170. end;
  33171. procedure TINT_IEC1.clearI2C1SIE; inline;
  33172. begin
  33173. pTDefRegMap(@Self)^.clr := $00000400;
  33174. end;
  33175. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  33176. begin
  33177. if thebits = 0 then
  33178. pTDefRegMap(@Self)^.clr := $00000400
  33179. else
  33180. pTDefRegMap(@Self)^.&set := $00000400;
  33181. end;
  33182. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  33183. begin
  33184. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33185. end;
  33186. procedure TINT_IEC1.setI2C1MIE; inline;
  33187. begin
  33188. pTDefRegMap(@Self)^.&set := $00000800;
  33189. end;
  33190. procedure TINT_IEC1.clearI2C1MIE; inline;
  33191. begin
  33192. pTDefRegMap(@Self)^.clr := $00000800;
  33193. end;
  33194. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  33195. begin
  33196. if thebits = 0 then
  33197. pTDefRegMap(@Self)^.clr := $00000800
  33198. else
  33199. pTDefRegMap(@Self)^.&set := $00000800;
  33200. end;
  33201. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  33202. begin
  33203. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33204. end;
  33205. procedure TINT_IEC1.setCNAIE; inline;
  33206. begin
  33207. pTDefRegMap(@Self)^.&set := $00001000;
  33208. end;
  33209. procedure TINT_IEC1.clearCNAIE; inline;
  33210. begin
  33211. pTDefRegMap(@Self)^.clr := $00001000;
  33212. end;
  33213. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  33214. begin
  33215. if thebits = 0 then
  33216. pTDefRegMap(@Self)^.clr := $00001000
  33217. else
  33218. pTDefRegMap(@Self)^.&set := $00001000;
  33219. end;
  33220. function TINT_IEC1.getCNAIE : TBits_1; inline;
  33221. begin
  33222. getCNAIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33223. end;
  33224. procedure TINT_IEC1.setCNBIE; inline;
  33225. begin
  33226. pTDefRegMap(@Self)^.&set := $00002000;
  33227. end;
  33228. procedure TINT_IEC1.clearCNBIE; inline;
  33229. begin
  33230. pTDefRegMap(@Self)^.clr := $00002000;
  33231. end;
  33232. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  33233. begin
  33234. if thebits = 0 then
  33235. pTDefRegMap(@Self)^.clr := $00002000
  33236. else
  33237. pTDefRegMap(@Self)^.&set := $00002000;
  33238. end;
  33239. function TINT_IEC1.getCNBIE : TBits_1; inline;
  33240. begin
  33241. getCNBIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33242. end;
  33243. procedure TINT_IEC1.setCNCIE; inline;
  33244. begin
  33245. pTDefRegMap(@Self)^.&set := $00004000;
  33246. end;
  33247. procedure TINT_IEC1.clearCNCIE; inline;
  33248. begin
  33249. pTDefRegMap(@Self)^.clr := $00004000;
  33250. end;
  33251. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  33252. begin
  33253. if thebits = 0 then
  33254. pTDefRegMap(@Self)^.clr := $00004000
  33255. else
  33256. pTDefRegMap(@Self)^.&set := $00004000;
  33257. end;
  33258. function TINT_IEC1.getCNCIE : TBits_1; inline;
  33259. begin
  33260. getCNCIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33261. end;
  33262. procedure TINT_IEC1.setCNDIE; inline;
  33263. begin
  33264. pTDefRegMap(@Self)^.&set := $00008000;
  33265. end;
  33266. procedure TINT_IEC1.clearCNDIE; inline;
  33267. begin
  33268. pTDefRegMap(@Self)^.clr := $00008000;
  33269. end;
  33270. procedure TINT_IEC1.setCNDIE(thebits : TBits_1); inline;
  33271. begin
  33272. if thebits = 0 then
  33273. pTDefRegMap(@Self)^.clr := $00008000
  33274. else
  33275. pTDefRegMap(@Self)^.&set := $00008000;
  33276. end;
  33277. function TINT_IEC1.getCNDIE : TBits_1; inline;
  33278. begin
  33279. getCNDIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33280. end;
  33281. procedure TINT_IEC1.setCNEIE; inline;
  33282. begin
  33283. pTDefRegMap(@Self)^.&set := $00010000;
  33284. end;
  33285. procedure TINT_IEC1.clearCNEIE; inline;
  33286. begin
  33287. pTDefRegMap(@Self)^.clr := $00010000;
  33288. end;
  33289. procedure TINT_IEC1.setCNEIE(thebits : TBits_1); inline;
  33290. begin
  33291. if thebits = 0 then
  33292. pTDefRegMap(@Self)^.clr := $00010000
  33293. else
  33294. pTDefRegMap(@Self)^.&set := $00010000;
  33295. end;
  33296. function TINT_IEC1.getCNEIE : TBits_1; inline;
  33297. begin
  33298. getCNEIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  33299. end;
  33300. procedure TINT_IEC1.setCNFIE; inline;
  33301. begin
  33302. pTDefRegMap(@Self)^.&set := $00020000;
  33303. end;
  33304. procedure TINT_IEC1.clearCNFIE; inline;
  33305. begin
  33306. pTDefRegMap(@Self)^.clr := $00020000;
  33307. end;
  33308. procedure TINT_IEC1.setCNFIE(thebits : TBits_1); inline;
  33309. begin
  33310. if thebits = 0 then
  33311. pTDefRegMap(@Self)^.clr := $00020000
  33312. else
  33313. pTDefRegMap(@Self)^.&set := $00020000;
  33314. end;
  33315. function TINT_IEC1.getCNFIE : TBits_1; inline;
  33316. begin
  33317. getCNFIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  33318. end;
  33319. procedure TINT_IEC1.setCNGIE; inline;
  33320. begin
  33321. pTDefRegMap(@Self)^.&set := $00040000;
  33322. end;
  33323. procedure TINT_IEC1.clearCNGIE; inline;
  33324. begin
  33325. pTDefRegMap(@Self)^.clr := $00040000;
  33326. end;
  33327. procedure TINT_IEC1.setCNGIE(thebits : TBits_1); inline;
  33328. begin
  33329. if thebits = 0 then
  33330. pTDefRegMap(@Self)^.clr := $00040000
  33331. else
  33332. pTDefRegMap(@Self)^.&set := $00040000;
  33333. end;
  33334. function TINT_IEC1.getCNGIE : TBits_1; inline;
  33335. begin
  33336. getCNGIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  33337. end;
  33338. procedure TINT_IEC1.setPMPIE; inline;
  33339. begin
  33340. pTDefRegMap(@Self)^.&set := $00080000;
  33341. end;
  33342. procedure TINT_IEC1.clearPMPIE; inline;
  33343. begin
  33344. pTDefRegMap(@Self)^.clr := $00080000;
  33345. end;
  33346. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  33347. begin
  33348. if thebits = 0 then
  33349. pTDefRegMap(@Self)^.clr := $00080000
  33350. else
  33351. pTDefRegMap(@Self)^.&set := $00080000;
  33352. end;
  33353. function TINT_IEC1.getPMPIE : TBits_1; inline;
  33354. begin
  33355. getPMPIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  33356. end;
  33357. procedure TINT_IEC1.setPMPEIE; inline;
  33358. begin
  33359. pTDefRegMap(@Self)^.&set := $00100000;
  33360. end;
  33361. procedure TINT_IEC1.clearPMPEIE; inline;
  33362. begin
  33363. pTDefRegMap(@Self)^.clr := $00100000;
  33364. end;
  33365. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  33366. begin
  33367. if thebits = 0 then
  33368. pTDefRegMap(@Self)^.clr := $00100000
  33369. else
  33370. pTDefRegMap(@Self)^.&set := $00100000;
  33371. end;
  33372. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  33373. begin
  33374. getPMPEIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  33375. end;
  33376. procedure TINT_IEC1.setSPI2EIE; inline;
  33377. begin
  33378. pTDefRegMap(@Self)^.&set := $00200000;
  33379. end;
  33380. procedure TINT_IEC1.clearSPI2EIE; inline;
  33381. begin
  33382. pTDefRegMap(@Self)^.clr := $00200000;
  33383. end;
  33384. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  33385. begin
  33386. if thebits = 0 then
  33387. pTDefRegMap(@Self)^.clr := $00200000
  33388. else
  33389. pTDefRegMap(@Self)^.&set := $00200000;
  33390. end;
  33391. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  33392. begin
  33393. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  33394. end;
  33395. procedure TINT_IEC1.setSPI2RXIE; inline;
  33396. begin
  33397. pTDefRegMap(@Self)^.&set := $00400000;
  33398. end;
  33399. procedure TINT_IEC1.clearSPI2RXIE; inline;
  33400. begin
  33401. pTDefRegMap(@Self)^.clr := $00400000;
  33402. end;
  33403. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  33404. begin
  33405. if thebits = 0 then
  33406. pTDefRegMap(@Self)^.clr := $00400000
  33407. else
  33408. pTDefRegMap(@Self)^.&set := $00400000;
  33409. end;
  33410. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  33411. begin
  33412. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  33413. end;
  33414. procedure TINT_IEC1.setSPI2TXIE; inline;
  33415. begin
  33416. pTDefRegMap(@Self)^.&set := $00800000;
  33417. end;
  33418. procedure TINT_IEC1.clearSPI2TXIE; inline;
  33419. begin
  33420. pTDefRegMap(@Self)^.clr := $00800000;
  33421. end;
  33422. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  33423. begin
  33424. if thebits = 0 then
  33425. pTDefRegMap(@Self)^.clr := $00800000
  33426. else
  33427. pTDefRegMap(@Self)^.&set := $00800000;
  33428. end;
  33429. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  33430. begin
  33431. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  33432. end;
  33433. procedure TINT_IEC1.setU2EIE; inline;
  33434. begin
  33435. pTDefRegMap(@Self)^.&set := $01000000;
  33436. end;
  33437. procedure TINT_IEC1.clearU2EIE; inline;
  33438. begin
  33439. pTDefRegMap(@Self)^.clr := $01000000;
  33440. end;
  33441. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  33442. begin
  33443. if thebits = 0 then
  33444. pTDefRegMap(@Self)^.clr := $01000000
  33445. else
  33446. pTDefRegMap(@Self)^.&set := $01000000;
  33447. end;
  33448. function TINT_IEC1.getU2EIE : TBits_1; inline;
  33449. begin
  33450. getU2EIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33451. end;
  33452. procedure TINT_IEC1.setU2RXIE; inline;
  33453. begin
  33454. pTDefRegMap(@Self)^.&set := $02000000;
  33455. end;
  33456. procedure TINT_IEC1.clearU2RXIE; inline;
  33457. begin
  33458. pTDefRegMap(@Self)^.clr := $02000000;
  33459. end;
  33460. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  33461. begin
  33462. if thebits = 0 then
  33463. pTDefRegMap(@Self)^.clr := $02000000
  33464. else
  33465. pTDefRegMap(@Self)^.&set := $02000000;
  33466. end;
  33467. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  33468. begin
  33469. getU2RXIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  33470. end;
  33471. procedure TINT_IEC1.setU2TXIE; inline;
  33472. begin
  33473. pTDefRegMap(@Self)^.&set := $04000000;
  33474. end;
  33475. procedure TINT_IEC1.clearU2TXIE; inline;
  33476. begin
  33477. pTDefRegMap(@Self)^.clr := $04000000;
  33478. end;
  33479. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  33480. begin
  33481. if thebits = 0 then
  33482. pTDefRegMap(@Self)^.clr := $04000000
  33483. else
  33484. pTDefRegMap(@Self)^.&set := $04000000;
  33485. end;
  33486. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  33487. begin
  33488. getU2TXIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  33489. end;
  33490. procedure TINT_IEC1.setI2C2BIE; inline;
  33491. begin
  33492. pTDefRegMap(@Self)^.&set := $08000000;
  33493. end;
  33494. procedure TINT_IEC1.clearI2C2BIE; inline;
  33495. begin
  33496. pTDefRegMap(@Self)^.clr := $08000000;
  33497. end;
  33498. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  33499. begin
  33500. if thebits = 0 then
  33501. pTDefRegMap(@Self)^.clr := $08000000
  33502. else
  33503. pTDefRegMap(@Self)^.&set := $08000000;
  33504. end;
  33505. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  33506. begin
  33507. getI2C2BIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  33508. end;
  33509. procedure TINT_IEC1.setI2C2SIE; inline;
  33510. begin
  33511. pTDefRegMap(@Self)^.&set := $10000000;
  33512. end;
  33513. procedure TINT_IEC1.clearI2C2SIE; inline;
  33514. begin
  33515. pTDefRegMap(@Self)^.clr := $10000000;
  33516. end;
  33517. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  33518. begin
  33519. if thebits = 0 then
  33520. pTDefRegMap(@Self)^.clr := $10000000
  33521. else
  33522. pTDefRegMap(@Self)^.&set := $10000000;
  33523. end;
  33524. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  33525. begin
  33526. getI2C2SIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  33527. end;
  33528. procedure TINT_IEC1.setI2C2MIE; inline;
  33529. begin
  33530. pTDefRegMap(@Self)^.&set := $20000000;
  33531. end;
  33532. procedure TINT_IEC1.clearI2C2MIE; inline;
  33533. begin
  33534. pTDefRegMap(@Self)^.clr := $20000000;
  33535. end;
  33536. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  33537. begin
  33538. if thebits = 0 then
  33539. pTDefRegMap(@Self)^.clr := $20000000
  33540. else
  33541. pTDefRegMap(@Self)^.&set := $20000000;
  33542. end;
  33543. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  33544. begin
  33545. getI2C2MIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  33546. end;
  33547. procedure TINT_IEC1.setU3EIE; inline;
  33548. begin
  33549. pTDefRegMap(@Self)^.&set := $40000000;
  33550. end;
  33551. procedure TINT_IEC1.clearU3EIE; inline;
  33552. begin
  33553. pTDefRegMap(@Self)^.clr := $40000000;
  33554. end;
  33555. procedure TINT_IEC1.setU3EIE(thebits : TBits_1); inline;
  33556. begin
  33557. if thebits = 0 then
  33558. pTDefRegMap(@Self)^.clr := $40000000
  33559. else
  33560. pTDefRegMap(@Self)^.&set := $40000000;
  33561. end;
  33562. function TINT_IEC1.getU3EIE : TBits_1; inline;
  33563. begin
  33564. getU3EIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  33565. end;
  33566. procedure TINT_IEC1.setU3RXIE; inline;
  33567. begin
  33568. pTDefRegMap(@Self)^.&set := $80000000;
  33569. end;
  33570. procedure TINT_IEC1.clearU3RXIE; inline;
  33571. begin
  33572. pTDefRegMap(@Self)^.clr := $80000000;
  33573. end;
  33574. procedure TINT_IEC1.setU3RXIE(thebits : TBits_1); inline;
  33575. begin
  33576. if thebits = 0 then
  33577. pTDefRegMap(@Self)^.clr := $80000000
  33578. else
  33579. pTDefRegMap(@Self)^.&set := $80000000;
  33580. end;
  33581. function TINT_IEC1.getU3RXIE : TBits_1; inline;
  33582. begin
  33583. getU3RXIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  33584. end;
  33585. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  33586. begin
  33587. pTDefRegMap(@Self)^.val := thebits;
  33588. end;
  33589. function TINT_IEC1.getw : TBits_32; inline;
  33590. begin
  33591. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33592. end;
  33593. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  33594. begin
  33595. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  33596. end;
  33597. function TINT_IPC0.getCTIS : TBits_2; inline;
  33598. begin
  33599. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  33600. end;
  33601. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  33602. begin
  33603. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  33604. end;
  33605. function TINT_IPC0.getCTIP : TBits_3; inline;
  33606. begin
  33607. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  33608. end;
  33609. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  33610. begin
  33611. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  33612. end;
  33613. function TINT_IPC0.getCS0IS : TBits_2; inline;
  33614. begin
  33615. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  33616. end;
  33617. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  33618. begin
  33619. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  33620. end;
  33621. function TINT_IPC0.getCS0IP : TBits_3; inline;
  33622. begin
  33623. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  33624. end;
  33625. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  33626. begin
  33627. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  33628. end;
  33629. function TINT_IPC0.getCS1IS : TBits_2; inline;
  33630. begin
  33631. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  33632. end;
  33633. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  33634. begin
  33635. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  33636. end;
  33637. function TINT_IPC0.getCS1IP : TBits_3; inline;
  33638. begin
  33639. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  33640. end;
  33641. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  33642. begin
  33643. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  33644. end;
  33645. function TINT_IPC0.getINT0IS : TBits_2; inline;
  33646. begin
  33647. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  33648. end;
  33649. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  33650. begin
  33651. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  33652. end;
  33653. function TINT_IPC0.getINT0IP : TBits_3; inline;
  33654. begin
  33655. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  33656. end;
  33657. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  33658. begin
  33659. pTDefRegMap(@Self)^.val := thebits;
  33660. end;
  33661. function TINT_IPC0.getw : TBits_32; inline;
  33662. begin
  33663. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33664. end;
  33665. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  33666. begin
  33667. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  33668. end;
  33669. function TINT_IPC1.getT1IS : TBits_2; inline;
  33670. begin
  33671. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  33672. end;
  33673. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  33674. begin
  33675. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  33676. end;
  33677. function TINT_IPC1.getT1IP : TBits_3; inline;
  33678. begin
  33679. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  33680. end;
  33681. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  33682. begin
  33683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  33684. end;
  33685. function TINT_IPC1.getIC1IS : TBits_2; inline;
  33686. begin
  33687. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  33688. end;
  33689. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  33690. begin
  33691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  33692. end;
  33693. function TINT_IPC1.getIC1IP : TBits_3; inline;
  33694. begin
  33695. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  33696. end;
  33697. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  33698. begin
  33699. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  33700. end;
  33701. function TINT_IPC1.getOC1IS : TBits_2; inline;
  33702. begin
  33703. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  33704. end;
  33705. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  33706. begin
  33707. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  33708. end;
  33709. function TINT_IPC1.getOC1IP : TBits_3; inline;
  33710. begin
  33711. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  33712. end;
  33713. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  33714. begin
  33715. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  33716. end;
  33717. function TINT_IPC1.getINT1IS : TBits_2; inline;
  33718. begin
  33719. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  33720. end;
  33721. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  33722. begin
  33723. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  33724. end;
  33725. function TINT_IPC1.getINT1IP : TBits_3; inline;
  33726. begin
  33727. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  33728. end;
  33729. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  33730. begin
  33731. pTDefRegMap(@Self)^.val := thebits;
  33732. end;
  33733. function TINT_IPC1.getw : TBits_32; inline;
  33734. begin
  33735. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33736. end;
  33737. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  33738. begin
  33739. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  33740. end;
  33741. function TINT_IPC2.getT2IS : TBits_2; inline;
  33742. begin
  33743. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  33744. end;
  33745. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  33746. begin
  33747. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  33748. end;
  33749. function TINT_IPC2.getT2IP : TBits_3; inline;
  33750. begin
  33751. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  33752. end;
  33753. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  33754. begin
  33755. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  33756. end;
  33757. function TINT_IPC2.getIC2IS : TBits_2; inline;
  33758. begin
  33759. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  33760. end;
  33761. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  33762. begin
  33763. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  33764. end;
  33765. function TINT_IPC2.getIC2IP : TBits_3; inline;
  33766. begin
  33767. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  33768. end;
  33769. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  33770. begin
  33771. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  33772. end;
  33773. function TINT_IPC2.getOC2IS : TBits_2; inline;
  33774. begin
  33775. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  33776. end;
  33777. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  33778. begin
  33779. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  33780. end;
  33781. function TINT_IPC2.getOC2IP : TBits_3; inline;
  33782. begin
  33783. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  33784. end;
  33785. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  33786. begin
  33787. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  33788. end;
  33789. function TINT_IPC2.getINT2IS : TBits_2; inline;
  33790. begin
  33791. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  33792. end;
  33793. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  33794. begin
  33795. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  33796. end;
  33797. function TINT_IPC2.getINT2IP : TBits_3; inline;
  33798. begin
  33799. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  33800. end;
  33801. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  33802. begin
  33803. pTDefRegMap(@Self)^.val := thebits;
  33804. end;
  33805. function TINT_IPC2.getw : TBits_32; inline;
  33806. begin
  33807. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33808. end;
  33809. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  33810. begin
  33811. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  33812. end;
  33813. function TINT_IPC3.getT3IS : TBits_2; inline;
  33814. begin
  33815. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  33816. end;
  33817. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  33818. begin
  33819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  33820. end;
  33821. function TINT_IPC3.getT3IP : TBits_3; inline;
  33822. begin
  33823. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  33824. end;
  33825. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  33826. begin
  33827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  33828. end;
  33829. function TINT_IPC3.getIC3IS : TBits_2; inline;
  33830. begin
  33831. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  33832. end;
  33833. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  33834. begin
  33835. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  33836. end;
  33837. function TINT_IPC3.getIC3IP : TBits_3; inline;
  33838. begin
  33839. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  33840. end;
  33841. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  33842. begin
  33843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  33844. end;
  33845. function TINT_IPC3.getOC3IS : TBits_2; inline;
  33846. begin
  33847. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  33848. end;
  33849. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  33850. begin
  33851. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  33852. end;
  33853. function TINT_IPC3.getOC3IP : TBits_3; inline;
  33854. begin
  33855. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  33856. end;
  33857. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  33858. begin
  33859. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  33860. end;
  33861. function TINT_IPC3.getINT3IS : TBits_2; inline;
  33862. begin
  33863. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  33864. end;
  33865. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  33866. begin
  33867. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  33868. end;
  33869. function TINT_IPC3.getINT3IP : TBits_3; inline;
  33870. begin
  33871. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  33872. end;
  33873. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  33874. begin
  33875. pTDefRegMap(@Self)^.val := thebits;
  33876. end;
  33877. function TINT_IPC3.getw : TBits_32; inline;
  33878. begin
  33879. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33880. end;
  33881. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  33882. begin
  33883. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  33884. end;
  33885. function TINT_IPC4.getT4IS : TBits_2; inline;
  33886. begin
  33887. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  33888. end;
  33889. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  33890. begin
  33891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  33892. end;
  33893. function TINT_IPC4.getT4IP : TBits_3; inline;
  33894. begin
  33895. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  33896. end;
  33897. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  33898. begin
  33899. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  33900. end;
  33901. function TINT_IPC4.getIC4IS : TBits_2; inline;
  33902. begin
  33903. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  33904. end;
  33905. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  33906. begin
  33907. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  33908. end;
  33909. function TINT_IPC4.getIC4IP : TBits_3; inline;
  33910. begin
  33911. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  33912. end;
  33913. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  33914. begin
  33915. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  33916. end;
  33917. function TINT_IPC4.getOC4IS : TBits_2; inline;
  33918. begin
  33919. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  33920. end;
  33921. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  33922. begin
  33923. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  33924. end;
  33925. function TINT_IPC4.getOC4IP : TBits_3; inline;
  33926. begin
  33927. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  33928. end;
  33929. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  33930. begin
  33931. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  33932. end;
  33933. function TINT_IPC4.getINT4IS : TBits_2; inline;
  33934. begin
  33935. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  33936. end;
  33937. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  33938. begin
  33939. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  33940. end;
  33941. function TINT_IPC4.getINT4IP : TBits_3; inline;
  33942. begin
  33943. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  33944. end;
  33945. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  33946. begin
  33947. pTDefRegMap(@Self)^.val := thebits;
  33948. end;
  33949. function TINT_IPC4.getw : TBits_32; inline;
  33950. begin
  33951. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33952. end;
  33953. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  33954. begin
  33955. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  33956. end;
  33957. function TINT_IPC5.getT5IS : TBits_2; inline;
  33958. begin
  33959. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  33960. end;
  33961. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  33962. begin
  33963. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  33964. end;
  33965. function TINT_IPC5.getT5IP : TBits_3; inline;
  33966. begin
  33967. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  33968. end;
  33969. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  33970. begin
  33971. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  33972. end;
  33973. function TINT_IPC5.getIC5IS : TBits_2; inline;
  33974. begin
  33975. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  33976. end;
  33977. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  33978. begin
  33979. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  33980. end;
  33981. function TINT_IPC5.getIC5IP : TBits_3; inline;
  33982. begin
  33983. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  33984. end;
  33985. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  33986. begin
  33987. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  33988. end;
  33989. function TINT_IPC5.getOC5IS : TBits_2; inline;
  33990. begin
  33991. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  33992. end;
  33993. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  33994. begin
  33995. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  33996. end;
  33997. function TINT_IPC5.getOC5IP : TBits_3; inline;
  33998. begin
  33999. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34000. end;
  34001. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  34002. begin
  34003. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34004. end;
  34005. function TINT_IPC5.getAD1IS : TBits_2; inline;
  34006. begin
  34007. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34008. end;
  34009. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  34010. begin
  34011. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34012. end;
  34013. function TINT_IPC5.getAD1IP : TBits_3; inline;
  34014. begin
  34015. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34016. end;
  34017. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  34018. begin
  34019. pTDefRegMap(@Self)^.val := thebits;
  34020. end;
  34021. function TINT_IPC5.getw : TBits_32; inline;
  34022. begin
  34023. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34024. end;
  34025. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  34026. begin
  34027. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34028. end;
  34029. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  34030. begin
  34031. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34032. end;
  34033. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  34034. begin
  34035. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34036. end;
  34037. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  34038. begin
  34039. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34040. end;
  34041. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  34042. begin
  34043. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34044. end;
  34045. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  34046. begin
  34047. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34048. end;
  34049. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  34050. begin
  34051. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34052. end;
  34053. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  34054. begin
  34055. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34056. end;
  34057. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  34058. begin
  34059. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34060. end;
  34061. function TINT_IPC6.getFCEIS : TBits_2; inline;
  34062. begin
  34063. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34064. end;
  34065. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  34066. begin
  34067. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34068. end;
  34069. function TINT_IPC6.getFCEIP : TBits_3; inline;
  34070. begin
  34071. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34072. end;
  34073. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  34074. begin
  34075. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34076. end;
  34077. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  34078. begin
  34079. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34080. end;
  34081. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  34082. begin
  34083. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34084. end;
  34085. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  34086. begin
  34087. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34088. end;
  34089. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  34090. begin
  34091. pTDefRegMap(@Self)^.val := thebits;
  34092. end;
  34093. function TINT_IPC6.getw : TBits_32; inline;
  34094. begin
  34095. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34096. end;
  34097. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  34098. begin
  34099. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34100. end;
  34101. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  34102. begin
  34103. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34104. end;
  34105. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  34106. begin
  34107. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34108. end;
  34109. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  34110. begin
  34111. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34112. end;
  34113. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  34114. begin
  34115. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34116. end;
  34117. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  34118. begin
  34119. getSPI1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34120. end;
  34121. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  34122. begin
  34123. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34124. end;
  34125. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  34126. begin
  34127. getSPI1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34128. end;
  34129. procedure TINT_IPC7.setU1IS(thebits : TBits_2); inline;
  34130. begin
  34131. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34132. end;
  34133. function TINT_IPC7.getU1IS : TBits_2; inline;
  34134. begin
  34135. getU1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34136. end;
  34137. procedure TINT_IPC7.setU1IP(thebits : TBits_3); inline;
  34138. begin
  34139. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34140. end;
  34141. function TINT_IPC7.getU1IP : TBits_3; inline;
  34142. begin
  34143. getU1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34144. end;
  34145. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  34146. begin
  34147. pTDefRegMap(@Self)^.val := thebits;
  34148. end;
  34149. function TINT_IPC7.getw : TBits_32; inline;
  34150. begin
  34151. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34152. end;
  34153. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  34154. begin
  34155. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34156. end;
  34157. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  34158. begin
  34159. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34160. end;
  34161. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  34162. begin
  34163. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34164. end;
  34165. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  34166. begin
  34167. getI2C1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34168. end;
  34169. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  34170. begin
  34171. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34172. end;
  34173. function TINT_IPC8.getCNIS : TBits_2; inline;
  34174. begin
  34175. getCNIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34176. end;
  34177. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  34178. begin
  34179. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34180. end;
  34181. function TINT_IPC8.getCNIP : TBits_3; inline;
  34182. begin
  34183. getCNIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34184. end;
  34185. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  34186. begin
  34187. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34188. end;
  34189. function TINT_IPC8.getPMPIS : TBits_2; inline;
  34190. begin
  34191. getPMPIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34192. end;
  34193. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  34194. begin
  34195. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34196. end;
  34197. function TINT_IPC8.getPMPIP : TBits_3; inline;
  34198. begin
  34199. getPMPIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34200. end;
  34201. procedure TINT_IPC8.setSPI2IS(thebits : TBits_2); inline;
  34202. begin
  34203. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34204. end;
  34205. function TINT_IPC8.getSPI2IS : TBits_2; inline;
  34206. begin
  34207. getSPI2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34208. end;
  34209. procedure TINT_IPC8.setSPI2IP(thebits : TBits_3); inline;
  34210. begin
  34211. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34212. end;
  34213. function TINT_IPC8.getSPI2IP : TBits_3; inline;
  34214. begin
  34215. getSPI2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34216. end;
  34217. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  34218. begin
  34219. pTDefRegMap(@Self)^.val := thebits;
  34220. end;
  34221. function TINT_IPC8.getw : TBits_32; inline;
  34222. begin
  34223. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34224. end;
  34225. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  34226. begin
  34227. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34228. end;
  34229. function TINT_IPC9.getU2IS : TBits_2; inline;
  34230. begin
  34231. getU2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34232. end;
  34233. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  34234. begin
  34235. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34236. end;
  34237. function TINT_IPC9.getU2IP : TBits_3; inline;
  34238. begin
  34239. getU2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34240. end;
  34241. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  34242. begin
  34243. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34244. end;
  34245. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  34246. begin
  34247. getI2C2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34248. end;
  34249. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  34250. begin
  34251. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34252. end;
  34253. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  34254. begin
  34255. getI2C2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34256. end;
  34257. procedure TINT_IPC9.setU3IS(thebits : TBits_2); inline;
  34258. begin
  34259. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34260. end;
  34261. function TINT_IPC9.getU3IS : TBits_2; inline;
  34262. begin
  34263. getU3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34264. end;
  34265. procedure TINT_IPC9.setU3IP(thebits : TBits_3); inline;
  34266. begin
  34267. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34268. end;
  34269. function TINT_IPC9.getU3IP : TBits_3; inline;
  34270. begin
  34271. getU3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34272. end;
  34273. procedure TINT_IPC9.setU4IS(thebits : TBits_2); inline;
  34274. begin
  34275. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34276. end;
  34277. function TINT_IPC9.getU4IS : TBits_2; inline;
  34278. begin
  34279. getU4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34280. end;
  34281. procedure TINT_IPC9.setU4IP(thebits : TBits_3); inline;
  34282. begin
  34283. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34284. end;
  34285. function TINT_IPC9.getU4IP : TBits_3; inline;
  34286. begin
  34287. getU4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34288. end;
  34289. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  34290. begin
  34291. pTDefRegMap(@Self)^.val := thebits;
  34292. end;
  34293. function TINT_IPC9.getw : TBits_32; inline;
  34294. begin
  34295. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34296. end;
  34297. procedure TINT_IPC10.setCTMUIP(thebits : TBits_2); inline;
  34298. begin
  34299. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34300. end;
  34301. function TINT_IPC10.getCTMUIP : TBits_2; inline;
  34302. begin
  34303. getCTMUIP := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34304. end;
  34305. procedure TINT_IPC10.setCTMUIS(thebits : TBits_3); inline;
  34306. begin
  34307. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34308. end;
  34309. function TINT_IPC10.getCTMUIS : TBits_3; inline;
  34310. begin
  34311. getCTMUIS := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34312. end;
  34313. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  34314. begin
  34315. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34316. end;
  34317. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  34318. begin
  34319. getDMA0IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34320. end;
  34321. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  34322. begin
  34323. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34324. end;
  34325. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  34326. begin
  34327. getDMA0IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34328. end;
  34329. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  34330. begin
  34331. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34332. end;
  34333. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  34334. begin
  34335. getDMA1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34336. end;
  34337. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  34338. begin
  34339. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34340. end;
  34341. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  34342. begin
  34343. getDMA1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34344. end;
  34345. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  34346. begin
  34347. pTDefRegMap(@Self)^.val := thebits;
  34348. end;
  34349. function TINT_IPC10.getw : TBits_32; inline;
  34350. begin
  34351. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34352. end;
  34353. procedure TINT_IPC11.setDMA2IS(thebits : TBits_2); inline;
  34354. begin
  34355. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34356. end;
  34357. function TINT_IPC11.getDMA2IS : TBits_2; inline;
  34358. begin
  34359. getDMA2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34360. end;
  34361. procedure TINT_IPC11.setDMA2IP(thebits : TBits_3); inline;
  34362. begin
  34363. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34364. end;
  34365. function TINT_IPC11.getDMA2IP : TBits_3; inline;
  34366. begin
  34367. getDMA2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34368. end;
  34369. procedure TINT_IPC11.setDMA3IS(thebits : TBits_2); inline;
  34370. begin
  34371. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34372. end;
  34373. function TINT_IPC11.getDMA3IS : TBits_2; inline;
  34374. begin
  34375. getDMA3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34376. end;
  34377. procedure TINT_IPC11.setDMA3IP(thebits : TBits_3); inline;
  34378. begin
  34379. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34380. end;
  34381. function TINT_IPC11.getDMA3IP : TBits_3; inline;
  34382. begin
  34383. getDMA3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34384. end;
  34385. procedure TINT_IPC11.setw(thebits : TBits_32); inline;
  34386. begin
  34387. pTDefRegMap(@Self)^.val := thebits;
  34388. end;
  34389. function TINT_IPC11.getw : TBits_32; inline;
  34390. begin
  34391. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34392. end;
  34393. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  34394. begin
  34395. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  34396. end;
  34397. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  34398. begin
  34399. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  34400. end;
  34401. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  34402. begin
  34403. pTDefRegMap(@Self)^.&set := $00000040;
  34404. end;
  34405. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  34406. begin
  34407. pTDefRegMap(@Self)^.clr := $00000040;
  34408. end;
  34409. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  34410. begin
  34411. if thebits = 0 then
  34412. pTDefRegMap(@Self)^.clr := $00000040
  34413. else
  34414. pTDefRegMap(@Self)^.&set := $00000040;
  34415. end;
  34416. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  34417. begin
  34418. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34419. end;
  34420. procedure TBMX_BMXCON.setBMXERRIS; inline;
  34421. begin
  34422. pTDefRegMap(@Self)^.&set := $00010000;
  34423. end;
  34424. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  34425. begin
  34426. pTDefRegMap(@Self)^.clr := $00010000;
  34427. end;
  34428. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  34429. begin
  34430. if thebits = 0 then
  34431. pTDefRegMap(@Self)^.clr := $00010000
  34432. else
  34433. pTDefRegMap(@Self)^.&set := $00010000;
  34434. end;
  34435. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  34436. begin
  34437. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  34438. end;
  34439. procedure TBMX_BMXCON.setBMXERRDS; inline;
  34440. begin
  34441. pTDefRegMap(@Self)^.&set := $00020000;
  34442. end;
  34443. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  34444. begin
  34445. pTDefRegMap(@Self)^.clr := $00020000;
  34446. end;
  34447. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  34448. begin
  34449. if thebits = 0 then
  34450. pTDefRegMap(@Self)^.clr := $00020000
  34451. else
  34452. pTDefRegMap(@Self)^.&set := $00020000;
  34453. end;
  34454. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  34455. begin
  34456. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  34457. end;
  34458. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  34459. begin
  34460. pTDefRegMap(@Self)^.&set := $00040000;
  34461. end;
  34462. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  34463. begin
  34464. pTDefRegMap(@Self)^.clr := $00040000;
  34465. end;
  34466. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  34467. begin
  34468. if thebits = 0 then
  34469. pTDefRegMap(@Self)^.clr := $00040000
  34470. else
  34471. pTDefRegMap(@Self)^.&set := $00040000;
  34472. end;
  34473. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  34474. begin
  34475. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  34476. end;
  34477. procedure TBMX_BMXCON.setBMXERRICD; inline;
  34478. begin
  34479. pTDefRegMap(@Self)^.&set := $00080000;
  34480. end;
  34481. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  34482. begin
  34483. pTDefRegMap(@Self)^.clr := $00080000;
  34484. end;
  34485. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  34486. begin
  34487. if thebits = 0 then
  34488. pTDefRegMap(@Self)^.clr := $00080000
  34489. else
  34490. pTDefRegMap(@Self)^.&set := $00080000;
  34491. end;
  34492. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  34493. begin
  34494. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  34495. end;
  34496. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  34497. begin
  34498. pTDefRegMap(@Self)^.&set := $00100000;
  34499. end;
  34500. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  34501. begin
  34502. pTDefRegMap(@Self)^.clr := $00100000;
  34503. end;
  34504. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  34505. begin
  34506. if thebits = 0 then
  34507. pTDefRegMap(@Self)^.clr := $00100000
  34508. else
  34509. pTDefRegMap(@Self)^.&set := $00100000;
  34510. end;
  34511. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  34512. begin
  34513. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  34514. end;
  34515. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  34516. begin
  34517. pTDefRegMap(@Self)^.&set := $04000000;
  34518. end;
  34519. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  34520. begin
  34521. pTDefRegMap(@Self)^.clr := $04000000;
  34522. end;
  34523. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  34524. begin
  34525. if thebits = 0 then
  34526. pTDefRegMap(@Self)^.clr := $04000000
  34527. else
  34528. pTDefRegMap(@Self)^.&set := $04000000;
  34529. end;
  34530. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  34531. begin
  34532. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  34533. end;
  34534. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  34535. begin
  34536. pTDefRegMap(@Self)^.val := thebits;
  34537. end;
  34538. function TBMX_BMXCON.getw : TBits_32; inline;
  34539. begin
  34540. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34541. end;
  34542. procedure TDMAC_DMACON.setDMABUSY; inline;
  34543. begin
  34544. pTDefRegMap(@Self)^.&set := $00000800;
  34545. end;
  34546. procedure TDMAC_DMACON.clearDMABUSY; inline;
  34547. begin
  34548. pTDefRegMap(@Self)^.clr := $00000800;
  34549. end;
  34550. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  34551. begin
  34552. if thebits = 0 then
  34553. pTDefRegMap(@Self)^.clr := $00000800
  34554. else
  34555. pTDefRegMap(@Self)^.&set := $00000800;
  34556. end;
  34557. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  34558. begin
  34559. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34560. end;
  34561. procedure TDMAC_DMACON.setSUSPEND; inline;
  34562. begin
  34563. pTDefRegMap(@Self)^.&set := $00001000;
  34564. end;
  34565. procedure TDMAC_DMACON.clearSUSPEND; inline;
  34566. begin
  34567. pTDefRegMap(@Self)^.clr := $00001000;
  34568. end;
  34569. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  34570. begin
  34571. if thebits = 0 then
  34572. pTDefRegMap(@Self)^.clr := $00001000
  34573. else
  34574. pTDefRegMap(@Self)^.&set := $00001000;
  34575. end;
  34576. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  34577. begin
  34578. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34579. end;
  34580. procedure TDMAC_DMACON.setON; inline;
  34581. begin
  34582. pTDefRegMap(@Self)^.&set := $00008000;
  34583. end;
  34584. procedure TDMAC_DMACON.clearON; inline;
  34585. begin
  34586. pTDefRegMap(@Self)^.clr := $00008000;
  34587. end;
  34588. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  34589. begin
  34590. if thebits = 0 then
  34591. pTDefRegMap(@Self)^.clr := $00008000
  34592. else
  34593. pTDefRegMap(@Self)^.&set := $00008000;
  34594. end;
  34595. function TDMAC_DMACON.getON : TBits_1; inline;
  34596. begin
  34597. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34598. end;
  34599. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  34600. begin
  34601. pTDefRegMap(@Self)^.val := thebits;
  34602. end;
  34603. function TDMAC_DMACON.getw : TBits_32; inline;
  34604. begin
  34605. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34606. end;
  34607. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  34608. begin
  34609. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  34610. end;
  34611. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  34612. begin
  34613. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  34614. end;
  34615. procedure TDMAC_DMASTAT.setRDWR; inline;
  34616. begin
  34617. pTDefRegMap(@Self)^.&set := $00000008;
  34618. end;
  34619. procedure TDMAC_DMASTAT.clearRDWR; inline;
  34620. begin
  34621. pTDefRegMap(@Self)^.clr := $00000008;
  34622. end;
  34623. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  34624. begin
  34625. if thebits = 0 then
  34626. pTDefRegMap(@Self)^.clr := $00000008
  34627. else
  34628. pTDefRegMap(@Self)^.&set := $00000008;
  34629. end;
  34630. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  34631. begin
  34632. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34633. end;
  34634. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  34635. begin
  34636. pTDefRegMap(@Self)^.val := thebits;
  34637. end;
  34638. function TDMAC_DMASTAT.getw : TBits_32; inline;
  34639. begin
  34640. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34641. end;
  34642. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  34643. begin
  34644. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  34645. end;
  34646. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  34647. begin
  34648. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  34649. end;
  34650. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  34651. begin
  34652. pTDefRegMap(@Self)^.&set := $00000020;
  34653. end;
  34654. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  34655. begin
  34656. pTDefRegMap(@Self)^.clr := $00000020;
  34657. end;
  34658. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  34659. begin
  34660. if thebits = 0 then
  34661. pTDefRegMap(@Self)^.clr := $00000020
  34662. else
  34663. pTDefRegMap(@Self)^.&set := $00000020;
  34664. end;
  34665. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  34666. begin
  34667. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34668. end;
  34669. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  34670. begin
  34671. pTDefRegMap(@Self)^.&set := $00000040;
  34672. end;
  34673. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  34674. begin
  34675. pTDefRegMap(@Self)^.clr := $00000040;
  34676. end;
  34677. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  34678. begin
  34679. if thebits = 0 then
  34680. pTDefRegMap(@Self)^.clr := $00000040
  34681. else
  34682. pTDefRegMap(@Self)^.&set := $00000040;
  34683. end;
  34684. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  34685. begin
  34686. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34687. end;
  34688. procedure TDMAC_DCRCCON.setCRCEN; inline;
  34689. begin
  34690. pTDefRegMap(@Self)^.&set := $00000080;
  34691. end;
  34692. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  34693. begin
  34694. pTDefRegMap(@Self)^.clr := $00000080;
  34695. end;
  34696. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  34697. begin
  34698. if thebits = 0 then
  34699. pTDefRegMap(@Self)^.clr := $00000080
  34700. else
  34701. pTDefRegMap(@Self)^.&set := $00000080;
  34702. end;
  34703. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  34704. begin
  34705. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34706. end;
  34707. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  34708. begin
  34709. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  34710. end;
  34711. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  34712. begin
  34713. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  34714. end;
  34715. procedure TDMAC_DCRCCON.setBITO; inline;
  34716. begin
  34717. pTDefRegMap(@Self)^.&set := $01000000;
  34718. end;
  34719. procedure TDMAC_DCRCCON.clearBITO; inline;
  34720. begin
  34721. pTDefRegMap(@Self)^.clr := $01000000;
  34722. end;
  34723. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  34724. begin
  34725. if thebits = 0 then
  34726. pTDefRegMap(@Self)^.clr := $01000000
  34727. else
  34728. pTDefRegMap(@Self)^.&set := $01000000;
  34729. end;
  34730. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  34731. begin
  34732. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  34733. end;
  34734. procedure TDMAC_DCRCCON.setWBO; inline;
  34735. begin
  34736. pTDefRegMap(@Self)^.&set := $08000000;
  34737. end;
  34738. procedure TDMAC_DCRCCON.clearWBO; inline;
  34739. begin
  34740. pTDefRegMap(@Self)^.clr := $08000000;
  34741. end;
  34742. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  34743. begin
  34744. if thebits = 0 then
  34745. pTDefRegMap(@Self)^.clr := $08000000
  34746. else
  34747. pTDefRegMap(@Self)^.&set := $08000000;
  34748. end;
  34749. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  34750. begin
  34751. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  34752. end;
  34753. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  34754. begin
  34755. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  34756. end;
  34757. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  34758. begin
  34759. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  34760. end;
  34761. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  34762. begin
  34763. pTDefRegMap(@Self)^.val := thebits;
  34764. end;
  34765. function TDMAC_DCRCCON.getw : TBits_32; inline;
  34766. begin
  34767. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34768. end;
  34769. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  34770. begin
  34771. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34772. end;
  34773. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  34774. begin
  34775. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34776. end;
  34777. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  34778. begin
  34779. pTDefRegMap(@Self)^.&set := $00000004;
  34780. end;
  34781. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  34782. begin
  34783. pTDefRegMap(@Self)^.clr := $00000004;
  34784. end;
  34785. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  34786. begin
  34787. if thebits = 0 then
  34788. pTDefRegMap(@Self)^.clr := $00000004
  34789. else
  34790. pTDefRegMap(@Self)^.&set := $00000004;
  34791. end;
  34792. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  34793. begin
  34794. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34795. end;
  34796. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  34797. begin
  34798. pTDefRegMap(@Self)^.&set := $00000010;
  34799. end;
  34800. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  34801. begin
  34802. pTDefRegMap(@Self)^.clr := $00000010;
  34803. end;
  34804. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  34805. begin
  34806. if thebits = 0 then
  34807. pTDefRegMap(@Self)^.clr := $00000010
  34808. else
  34809. pTDefRegMap(@Self)^.&set := $00000010;
  34810. end;
  34811. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  34812. begin
  34813. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34814. end;
  34815. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  34816. begin
  34817. pTDefRegMap(@Self)^.&set := $00000020;
  34818. end;
  34819. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  34820. begin
  34821. pTDefRegMap(@Self)^.clr := $00000020;
  34822. end;
  34823. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  34824. begin
  34825. if thebits = 0 then
  34826. pTDefRegMap(@Self)^.clr := $00000020
  34827. else
  34828. pTDefRegMap(@Self)^.&set := $00000020;
  34829. end;
  34830. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  34831. begin
  34832. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34833. end;
  34834. procedure TDMAC0_DCH0CON.setCHAED; inline;
  34835. begin
  34836. pTDefRegMap(@Self)^.&set := $00000040;
  34837. end;
  34838. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  34839. begin
  34840. pTDefRegMap(@Self)^.clr := $00000040;
  34841. end;
  34842. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  34843. begin
  34844. if thebits = 0 then
  34845. pTDefRegMap(@Self)^.clr := $00000040
  34846. else
  34847. pTDefRegMap(@Self)^.&set := $00000040;
  34848. end;
  34849. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  34850. begin
  34851. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34852. end;
  34853. procedure TDMAC0_DCH0CON.setCHEN; inline;
  34854. begin
  34855. pTDefRegMap(@Self)^.&set := $00000080;
  34856. end;
  34857. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  34858. begin
  34859. pTDefRegMap(@Self)^.clr := $00000080;
  34860. end;
  34861. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  34862. begin
  34863. if thebits = 0 then
  34864. pTDefRegMap(@Self)^.clr := $00000080
  34865. else
  34866. pTDefRegMap(@Self)^.&set := $00000080;
  34867. end;
  34868. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  34869. begin
  34870. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34871. end;
  34872. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  34873. begin
  34874. pTDefRegMap(@Self)^.&set := $00000100;
  34875. end;
  34876. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  34877. begin
  34878. pTDefRegMap(@Self)^.clr := $00000100;
  34879. end;
  34880. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  34881. begin
  34882. if thebits = 0 then
  34883. pTDefRegMap(@Self)^.clr := $00000100
  34884. else
  34885. pTDefRegMap(@Self)^.&set := $00000100;
  34886. end;
  34887. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  34888. begin
  34889. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34890. end;
  34891. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  34892. begin
  34893. pTDefRegMap(@Self)^.&set := $00008000;
  34894. end;
  34895. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  34896. begin
  34897. pTDefRegMap(@Self)^.clr := $00008000;
  34898. end;
  34899. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  34900. begin
  34901. if thebits = 0 then
  34902. pTDefRegMap(@Self)^.clr := $00008000
  34903. else
  34904. pTDefRegMap(@Self)^.&set := $00008000;
  34905. end;
  34906. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  34907. begin
  34908. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34909. end;
  34910. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  34911. begin
  34912. pTDefRegMap(@Self)^.val := thebits;
  34913. end;
  34914. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  34915. begin
  34916. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34917. end;
  34918. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  34919. begin
  34920. pTDefRegMap(@Self)^.&set := $00000008;
  34921. end;
  34922. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  34923. begin
  34924. pTDefRegMap(@Self)^.clr := $00000008;
  34925. end;
  34926. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  34927. begin
  34928. if thebits = 0 then
  34929. pTDefRegMap(@Self)^.clr := $00000008
  34930. else
  34931. pTDefRegMap(@Self)^.&set := $00000008;
  34932. end;
  34933. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  34934. begin
  34935. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34936. end;
  34937. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  34938. begin
  34939. pTDefRegMap(@Self)^.&set := $00000010;
  34940. end;
  34941. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  34942. begin
  34943. pTDefRegMap(@Self)^.clr := $00000010;
  34944. end;
  34945. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  34946. begin
  34947. if thebits = 0 then
  34948. pTDefRegMap(@Self)^.clr := $00000010
  34949. else
  34950. pTDefRegMap(@Self)^.&set := $00000010;
  34951. end;
  34952. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  34953. begin
  34954. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34955. end;
  34956. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  34957. begin
  34958. pTDefRegMap(@Self)^.&set := $00000020;
  34959. end;
  34960. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  34961. begin
  34962. pTDefRegMap(@Self)^.clr := $00000020;
  34963. end;
  34964. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  34965. begin
  34966. if thebits = 0 then
  34967. pTDefRegMap(@Self)^.clr := $00000020
  34968. else
  34969. pTDefRegMap(@Self)^.&set := $00000020;
  34970. end;
  34971. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  34972. begin
  34973. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34974. end;
  34975. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  34976. begin
  34977. pTDefRegMap(@Self)^.&set := $00000040;
  34978. end;
  34979. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  34980. begin
  34981. pTDefRegMap(@Self)^.clr := $00000040;
  34982. end;
  34983. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  34984. begin
  34985. if thebits = 0 then
  34986. pTDefRegMap(@Self)^.clr := $00000040
  34987. else
  34988. pTDefRegMap(@Self)^.&set := $00000040;
  34989. end;
  34990. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  34991. begin
  34992. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34993. end;
  34994. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  34995. begin
  34996. pTDefRegMap(@Self)^.&set := $00000080;
  34997. end;
  34998. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  34999. begin
  35000. pTDefRegMap(@Self)^.clr := $00000080;
  35001. end;
  35002. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  35003. begin
  35004. if thebits = 0 then
  35005. pTDefRegMap(@Self)^.clr := $00000080
  35006. else
  35007. pTDefRegMap(@Self)^.&set := $00000080;
  35008. end;
  35009. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  35010. begin
  35011. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35012. end;
  35013. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  35014. begin
  35015. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  35016. end;
  35017. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  35018. begin
  35019. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  35020. end;
  35021. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  35022. begin
  35023. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  35024. end;
  35025. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  35026. begin
  35027. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  35028. end;
  35029. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  35030. begin
  35031. pTDefRegMap(@Self)^.val := thebits;
  35032. end;
  35033. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  35034. begin
  35035. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35036. end;
  35037. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  35038. begin
  35039. pTDefRegMap(@Self)^.&set := $00000001;
  35040. end;
  35041. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  35042. begin
  35043. pTDefRegMap(@Self)^.clr := $00000001;
  35044. end;
  35045. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  35046. begin
  35047. if thebits = 0 then
  35048. pTDefRegMap(@Self)^.clr := $00000001
  35049. else
  35050. pTDefRegMap(@Self)^.&set := $00000001;
  35051. end;
  35052. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  35053. begin
  35054. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35055. end;
  35056. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  35057. begin
  35058. pTDefRegMap(@Self)^.&set := $00000002;
  35059. end;
  35060. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  35061. begin
  35062. pTDefRegMap(@Self)^.clr := $00000002;
  35063. end;
  35064. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  35065. begin
  35066. if thebits = 0 then
  35067. pTDefRegMap(@Self)^.clr := $00000002
  35068. else
  35069. pTDefRegMap(@Self)^.&set := $00000002;
  35070. end;
  35071. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  35072. begin
  35073. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35074. end;
  35075. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  35076. begin
  35077. pTDefRegMap(@Self)^.&set := $00000004;
  35078. end;
  35079. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  35080. begin
  35081. pTDefRegMap(@Self)^.clr := $00000004;
  35082. end;
  35083. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  35084. begin
  35085. if thebits = 0 then
  35086. pTDefRegMap(@Self)^.clr := $00000004
  35087. else
  35088. pTDefRegMap(@Self)^.&set := $00000004;
  35089. end;
  35090. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  35091. begin
  35092. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35093. end;
  35094. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  35095. begin
  35096. pTDefRegMap(@Self)^.&set := $00000008;
  35097. end;
  35098. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  35099. begin
  35100. pTDefRegMap(@Self)^.clr := $00000008;
  35101. end;
  35102. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  35103. begin
  35104. if thebits = 0 then
  35105. pTDefRegMap(@Self)^.clr := $00000008
  35106. else
  35107. pTDefRegMap(@Self)^.&set := $00000008;
  35108. end;
  35109. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  35110. begin
  35111. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35112. end;
  35113. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  35114. begin
  35115. pTDefRegMap(@Self)^.&set := $00000010;
  35116. end;
  35117. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  35118. begin
  35119. pTDefRegMap(@Self)^.clr := $00000010;
  35120. end;
  35121. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  35122. begin
  35123. if thebits = 0 then
  35124. pTDefRegMap(@Self)^.clr := $00000010
  35125. else
  35126. pTDefRegMap(@Self)^.&set := $00000010;
  35127. end;
  35128. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  35129. begin
  35130. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35131. end;
  35132. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  35133. begin
  35134. pTDefRegMap(@Self)^.&set := $00000020;
  35135. end;
  35136. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  35137. begin
  35138. pTDefRegMap(@Self)^.clr := $00000020;
  35139. end;
  35140. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  35141. begin
  35142. if thebits = 0 then
  35143. pTDefRegMap(@Self)^.clr := $00000020
  35144. else
  35145. pTDefRegMap(@Self)^.&set := $00000020;
  35146. end;
  35147. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  35148. begin
  35149. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35150. end;
  35151. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  35152. begin
  35153. pTDefRegMap(@Self)^.&set := $00000040;
  35154. end;
  35155. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  35156. begin
  35157. pTDefRegMap(@Self)^.clr := $00000040;
  35158. end;
  35159. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  35160. begin
  35161. if thebits = 0 then
  35162. pTDefRegMap(@Self)^.clr := $00000040
  35163. else
  35164. pTDefRegMap(@Self)^.&set := $00000040;
  35165. end;
  35166. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  35167. begin
  35168. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35169. end;
  35170. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  35171. begin
  35172. pTDefRegMap(@Self)^.&set := $00000080;
  35173. end;
  35174. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  35175. begin
  35176. pTDefRegMap(@Self)^.clr := $00000080;
  35177. end;
  35178. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  35179. begin
  35180. if thebits = 0 then
  35181. pTDefRegMap(@Self)^.clr := $00000080
  35182. else
  35183. pTDefRegMap(@Self)^.&set := $00000080;
  35184. end;
  35185. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  35186. begin
  35187. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35188. end;
  35189. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  35190. begin
  35191. pTDefRegMap(@Self)^.&set := $00010000;
  35192. end;
  35193. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  35194. begin
  35195. pTDefRegMap(@Self)^.clr := $00010000;
  35196. end;
  35197. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  35198. begin
  35199. if thebits = 0 then
  35200. pTDefRegMap(@Self)^.clr := $00010000
  35201. else
  35202. pTDefRegMap(@Self)^.&set := $00010000;
  35203. end;
  35204. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  35205. begin
  35206. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  35207. end;
  35208. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  35209. begin
  35210. pTDefRegMap(@Self)^.&set := $00020000;
  35211. end;
  35212. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  35213. begin
  35214. pTDefRegMap(@Self)^.clr := $00020000;
  35215. end;
  35216. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  35217. begin
  35218. if thebits = 0 then
  35219. pTDefRegMap(@Self)^.clr := $00020000
  35220. else
  35221. pTDefRegMap(@Self)^.&set := $00020000;
  35222. end;
  35223. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  35224. begin
  35225. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  35226. end;
  35227. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  35228. begin
  35229. pTDefRegMap(@Self)^.&set := $00040000;
  35230. end;
  35231. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  35232. begin
  35233. pTDefRegMap(@Self)^.clr := $00040000;
  35234. end;
  35235. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  35236. begin
  35237. if thebits = 0 then
  35238. pTDefRegMap(@Self)^.clr := $00040000
  35239. else
  35240. pTDefRegMap(@Self)^.&set := $00040000;
  35241. end;
  35242. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  35243. begin
  35244. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  35245. end;
  35246. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  35247. begin
  35248. pTDefRegMap(@Self)^.&set := $00080000;
  35249. end;
  35250. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  35251. begin
  35252. pTDefRegMap(@Self)^.clr := $00080000;
  35253. end;
  35254. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  35255. begin
  35256. if thebits = 0 then
  35257. pTDefRegMap(@Self)^.clr := $00080000
  35258. else
  35259. pTDefRegMap(@Self)^.&set := $00080000;
  35260. end;
  35261. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  35262. begin
  35263. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  35264. end;
  35265. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  35266. begin
  35267. pTDefRegMap(@Self)^.&set := $00100000;
  35268. end;
  35269. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  35270. begin
  35271. pTDefRegMap(@Self)^.clr := $00100000;
  35272. end;
  35273. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  35274. begin
  35275. if thebits = 0 then
  35276. pTDefRegMap(@Self)^.clr := $00100000
  35277. else
  35278. pTDefRegMap(@Self)^.&set := $00100000;
  35279. end;
  35280. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  35281. begin
  35282. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  35283. end;
  35284. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  35285. begin
  35286. pTDefRegMap(@Self)^.&set := $00200000;
  35287. end;
  35288. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  35289. begin
  35290. pTDefRegMap(@Self)^.clr := $00200000;
  35291. end;
  35292. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  35293. begin
  35294. if thebits = 0 then
  35295. pTDefRegMap(@Self)^.clr := $00200000
  35296. else
  35297. pTDefRegMap(@Self)^.&set := $00200000;
  35298. end;
  35299. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  35300. begin
  35301. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  35302. end;
  35303. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  35304. begin
  35305. pTDefRegMap(@Self)^.&set := $00400000;
  35306. end;
  35307. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  35308. begin
  35309. pTDefRegMap(@Self)^.clr := $00400000;
  35310. end;
  35311. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  35312. begin
  35313. if thebits = 0 then
  35314. pTDefRegMap(@Self)^.clr := $00400000
  35315. else
  35316. pTDefRegMap(@Self)^.&set := $00400000;
  35317. end;
  35318. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  35319. begin
  35320. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  35321. end;
  35322. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  35323. begin
  35324. pTDefRegMap(@Self)^.&set := $00800000;
  35325. end;
  35326. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  35327. begin
  35328. pTDefRegMap(@Self)^.clr := $00800000;
  35329. end;
  35330. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  35331. begin
  35332. if thebits = 0 then
  35333. pTDefRegMap(@Self)^.clr := $00800000
  35334. else
  35335. pTDefRegMap(@Self)^.&set := $00800000;
  35336. end;
  35337. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  35338. begin
  35339. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  35340. end;
  35341. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  35342. begin
  35343. pTDefRegMap(@Self)^.val := thebits;
  35344. end;
  35345. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  35346. begin
  35347. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35348. end;
  35349. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  35350. begin
  35351. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  35352. end;
  35353. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  35354. begin
  35355. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  35356. end;
  35357. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  35358. begin
  35359. pTDefRegMap(@Self)^.&set := $00000004;
  35360. end;
  35361. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  35362. begin
  35363. pTDefRegMap(@Self)^.clr := $00000004;
  35364. end;
  35365. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  35366. begin
  35367. if thebits = 0 then
  35368. pTDefRegMap(@Self)^.clr := $00000004
  35369. else
  35370. pTDefRegMap(@Self)^.&set := $00000004;
  35371. end;
  35372. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  35373. begin
  35374. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35375. end;
  35376. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  35377. begin
  35378. pTDefRegMap(@Self)^.&set := $00000010;
  35379. end;
  35380. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  35381. begin
  35382. pTDefRegMap(@Self)^.clr := $00000010;
  35383. end;
  35384. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  35385. begin
  35386. if thebits = 0 then
  35387. pTDefRegMap(@Self)^.clr := $00000010
  35388. else
  35389. pTDefRegMap(@Self)^.&set := $00000010;
  35390. end;
  35391. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  35392. begin
  35393. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35394. end;
  35395. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  35396. begin
  35397. pTDefRegMap(@Self)^.&set := $00000020;
  35398. end;
  35399. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  35400. begin
  35401. pTDefRegMap(@Self)^.clr := $00000020;
  35402. end;
  35403. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  35404. begin
  35405. if thebits = 0 then
  35406. pTDefRegMap(@Self)^.clr := $00000020
  35407. else
  35408. pTDefRegMap(@Self)^.&set := $00000020;
  35409. end;
  35410. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  35411. begin
  35412. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35413. end;
  35414. procedure TDMAC1_DCH1CON.setCHAED; inline;
  35415. begin
  35416. pTDefRegMap(@Self)^.&set := $00000040;
  35417. end;
  35418. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  35419. begin
  35420. pTDefRegMap(@Self)^.clr := $00000040;
  35421. end;
  35422. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  35423. begin
  35424. if thebits = 0 then
  35425. pTDefRegMap(@Self)^.clr := $00000040
  35426. else
  35427. pTDefRegMap(@Self)^.&set := $00000040;
  35428. end;
  35429. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  35430. begin
  35431. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35432. end;
  35433. procedure TDMAC1_DCH1CON.setCHEN; inline;
  35434. begin
  35435. pTDefRegMap(@Self)^.&set := $00000080;
  35436. end;
  35437. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  35438. begin
  35439. pTDefRegMap(@Self)^.clr := $00000080;
  35440. end;
  35441. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  35442. begin
  35443. if thebits = 0 then
  35444. pTDefRegMap(@Self)^.clr := $00000080
  35445. else
  35446. pTDefRegMap(@Self)^.&set := $00000080;
  35447. end;
  35448. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  35449. begin
  35450. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35451. end;
  35452. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  35453. begin
  35454. pTDefRegMap(@Self)^.&set := $00000100;
  35455. end;
  35456. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  35457. begin
  35458. pTDefRegMap(@Self)^.clr := $00000100;
  35459. end;
  35460. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  35461. begin
  35462. if thebits = 0 then
  35463. pTDefRegMap(@Self)^.clr := $00000100
  35464. else
  35465. pTDefRegMap(@Self)^.&set := $00000100;
  35466. end;
  35467. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  35468. begin
  35469. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35470. end;
  35471. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  35472. begin
  35473. pTDefRegMap(@Self)^.&set := $00008000;
  35474. end;
  35475. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  35476. begin
  35477. pTDefRegMap(@Self)^.clr := $00008000;
  35478. end;
  35479. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  35480. begin
  35481. if thebits = 0 then
  35482. pTDefRegMap(@Self)^.clr := $00008000
  35483. else
  35484. pTDefRegMap(@Self)^.&set := $00008000;
  35485. end;
  35486. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  35487. begin
  35488. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35489. end;
  35490. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  35491. begin
  35492. pTDefRegMap(@Self)^.val := thebits;
  35493. end;
  35494. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  35495. begin
  35496. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35497. end;
  35498. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  35499. begin
  35500. pTDefRegMap(@Self)^.&set := $00000008;
  35501. end;
  35502. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  35503. begin
  35504. pTDefRegMap(@Self)^.clr := $00000008;
  35505. end;
  35506. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  35507. begin
  35508. if thebits = 0 then
  35509. pTDefRegMap(@Self)^.clr := $00000008
  35510. else
  35511. pTDefRegMap(@Self)^.&set := $00000008;
  35512. end;
  35513. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  35514. begin
  35515. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35516. end;
  35517. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  35518. begin
  35519. pTDefRegMap(@Self)^.&set := $00000010;
  35520. end;
  35521. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  35522. begin
  35523. pTDefRegMap(@Self)^.clr := $00000010;
  35524. end;
  35525. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  35526. begin
  35527. if thebits = 0 then
  35528. pTDefRegMap(@Self)^.clr := $00000010
  35529. else
  35530. pTDefRegMap(@Self)^.&set := $00000010;
  35531. end;
  35532. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  35533. begin
  35534. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35535. end;
  35536. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  35537. begin
  35538. pTDefRegMap(@Self)^.&set := $00000020;
  35539. end;
  35540. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  35541. begin
  35542. pTDefRegMap(@Self)^.clr := $00000020;
  35543. end;
  35544. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  35545. begin
  35546. if thebits = 0 then
  35547. pTDefRegMap(@Self)^.clr := $00000020
  35548. else
  35549. pTDefRegMap(@Self)^.&set := $00000020;
  35550. end;
  35551. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  35552. begin
  35553. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35554. end;
  35555. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  35556. begin
  35557. pTDefRegMap(@Self)^.&set := $00000040;
  35558. end;
  35559. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  35560. begin
  35561. pTDefRegMap(@Self)^.clr := $00000040;
  35562. end;
  35563. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  35564. begin
  35565. if thebits = 0 then
  35566. pTDefRegMap(@Self)^.clr := $00000040
  35567. else
  35568. pTDefRegMap(@Self)^.&set := $00000040;
  35569. end;
  35570. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  35571. begin
  35572. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35573. end;
  35574. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  35575. begin
  35576. pTDefRegMap(@Self)^.&set := $00000080;
  35577. end;
  35578. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  35579. begin
  35580. pTDefRegMap(@Self)^.clr := $00000080;
  35581. end;
  35582. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  35583. begin
  35584. if thebits = 0 then
  35585. pTDefRegMap(@Self)^.clr := $00000080
  35586. else
  35587. pTDefRegMap(@Self)^.&set := $00000080;
  35588. end;
  35589. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  35590. begin
  35591. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35592. end;
  35593. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  35594. begin
  35595. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  35596. end;
  35597. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  35598. begin
  35599. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  35600. end;
  35601. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  35602. begin
  35603. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  35604. end;
  35605. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  35606. begin
  35607. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  35608. end;
  35609. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  35610. begin
  35611. pTDefRegMap(@Self)^.val := thebits;
  35612. end;
  35613. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  35614. begin
  35615. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35616. end;
  35617. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  35618. begin
  35619. pTDefRegMap(@Self)^.&set := $00000001;
  35620. end;
  35621. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  35622. begin
  35623. pTDefRegMap(@Self)^.clr := $00000001;
  35624. end;
  35625. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  35626. begin
  35627. if thebits = 0 then
  35628. pTDefRegMap(@Self)^.clr := $00000001
  35629. else
  35630. pTDefRegMap(@Self)^.&set := $00000001;
  35631. end;
  35632. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  35633. begin
  35634. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35635. end;
  35636. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  35637. begin
  35638. pTDefRegMap(@Self)^.&set := $00000002;
  35639. end;
  35640. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  35641. begin
  35642. pTDefRegMap(@Self)^.clr := $00000002;
  35643. end;
  35644. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  35645. begin
  35646. if thebits = 0 then
  35647. pTDefRegMap(@Self)^.clr := $00000002
  35648. else
  35649. pTDefRegMap(@Self)^.&set := $00000002;
  35650. end;
  35651. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  35652. begin
  35653. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35654. end;
  35655. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  35656. begin
  35657. pTDefRegMap(@Self)^.&set := $00000004;
  35658. end;
  35659. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  35660. begin
  35661. pTDefRegMap(@Self)^.clr := $00000004;
  35662. end;
  35663. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  35664. begin
  35665. if thebits = 0 then
  35666. pTDefRegMap(@Self)^.clr := $00000004
  35667. else
  35668. pTDefRegMap(@Self)^.&set := $00000004;
  35669. end;
  35670. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  35671. begin
  35672. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35673. end;
  35674. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  35675. begin
  35676. pTDefRegMap(@Self)^.&set := $00000008;
  35677. end;
  35678. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  35679. begin
  35680. pTDefRegMap(@Self)^.clr := $00000008;
  35681. end;
  35682. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  35683. begin
  35684. if thebits = 0 then
  35685. pTDefRegMap(@Self)^.clr := $00000008
  35686. else
  35687. pTDefRegMap(@Self)^.&set := $00000008;
  35688. end;
  35689. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  35690. begin
  35691. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35692. end;
  35693. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  35694. begin
  35695. pTDefRegMap(@Self)^.&set := $00000010;
  35696. end;
  35697. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  35698. begin
  35699. pTDefRegMap(@Self)^.clr := $00000010;
  35700. end;
  35701. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  35702. begin
  35703. if thebits = 0 then
  35704. pTDefRegMap(@Self)^.clr := $00000010
  35705. else
  35706. pTDefRegMap(@Self)^.&set := $00000010;
  35707. end;
  35708. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  35709. begin
  35710. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35711. end;
  35712. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  35713. begin
  35714. pTDefRegMap(@Self)^.&set := $00000020;
  35715. end;
  35716. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  35717. begin
  35718. pTDefRegMap(@Self)^.clr := $00000020;
  35719. end;
  35720. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  35721. begin
  35722. if thebits = 0 then
  35723. pTDefRegMap(@Self)^.clr := $00000020
  35724. else
  35725. pTDefRegMap(@Self)^.&set := $00000020;
  35726. end;
  35727. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  35728. begin
  35729. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35730. end;
  35731. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  35732. begin
  35733. pTDefRegMap(@Self)^.&set := $00000040;
  35734. end;
  35735. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  35736. begin
  35737. pTDefRegMap(@Self)^.clr := $00000040;
  35738. end;
  35739. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  35740. begin
  35741. if thebits = 0 then
  35742. pTDefRegMap(@Self)^.clr := $00000040
  35743. else
  35744. pTDefRegMap(@Self)^.&set := $00000040;
  35745. end;
  35746. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  35747. begin
  35748. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35749. end;
  35750. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  35751. begin
  35752. pTDefRegMap(@Self)^.&set := $00000080;
  35753. end;
  35754. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  35755. begin
  35756. pTDefRegMap(@Self)^.clr := $00000080;
  35757. end;
  35758. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  35759. begin
  35760. if thebits = 0 then
  35761. pTDefRegMap(@Self)^.clr := $00000080
  35762. else
  35763. pTDefRegMap(@Self)^.&set := $00000080;
  35764. end;
  35765. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  35766. begin
  35767. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35768. end;
  35769. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  35770. begin
  35771. pTDefRegMap(@Self)^.&set := $00010000;
  35772. end;
  35773. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  35774. begin
  35775. pTDefRegMap(@Self)^.clr := $00010000;
  35776. end;
  35777. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  35778. begin
  35779. if thebits = 0 then
  35780. pTDefRegMap(@Self)^.clr := $00010000
  35781. else
  35782. pTDefRegMap(@Self)^.&set := $00010000;
  35783. end;
  35784. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  35785. begin
  35786. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  35787. end;
  35788. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  35789. begin
  35790. pTDefRegMap(@Self)^.&set := $00020000;
  35791. end;
  35792. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  35793. begin
  35794. pTDefRegMap(@Self)^.clr := $00020000;
  35795. end;
  35796. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  35797. begin
  35798. if thebits = 0 then
  35799. pTDefRegMap(@Self)^.clr := $00020000
  35800. else
  35801. pTDefRegMap(@Self)^.&set := $00020000;
  35802. end;
  35803. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  35804. begin
  35805. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  35806. end;
  35807. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  35808. begin
  35809. pTDefRegMap(@Self)^.&set := $00040000;
  35810. end;
  35811. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  35812. begin
  35813. pTDefRegMap(@Self)^.clr := $00040000;
  35814. end;
  35815. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  35816. begin
  35817. if thebits = 0 then
  35818. pTDefRegMap(@Self)^.clr := $00040000
  35819. else
  35820. pTDefRegMap(@Self)^.&set := $00040000;
  35821. end;
  35822. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  35823. begin
  35824. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  35825. end;
  35826. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  35827. begin
  35828. pTDefRegMap(@Self)^.&set := $00080000;
  35829. end;
  35830. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  35831. begin
  35832. pTDefRegMap(@Self)^.clr := $00080000;
  35833. end;
  35834. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  35835. begin
  35836. if thebits = 0 then
  35837. pTDefRegMap(@Self)^.clr := $00080000
  35838. else
  35839. pTDefRegMap(@Self)^.&set := $00080000;
  35840. end;
  35841. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  35842. begin
  35843. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  35844. end;
  35845. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  35846. begin
  35847. pTDefRegMap(@Self)^.&set := $00100000;
  35848. end;
  35849. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  35850. begin
  35851. pTDefRegMap(@Self)^.clr := $00100000;
  35852. end;
  35853. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  35854. begin
  35855. if thebits = 0 then
  35856. pTDefRegMap(@Self)^.clr := $00100000
  35857. else
  35858. pTDefRegMap(@Self)^.&set := $00100000;
  35859. end;
  35860. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  35861. begin
  35862. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  35863. end;
  35864. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  35865. begin
  35866. pTDefRegMap(@Self)^.&set := $00200000;
  35867. end;
  35868. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  35869. begin
  35870. pTDefRegMap(@Self)^.clr := $00200000;
  35871. end;
  35872. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  35873. begin
  35874. if thebits = 0 then
  35875. pTDefRegMap(@Self)^.clr := $00200000
  35876. else
  35877. pTDefRegMap(@Self)^.&set := $00200000;
  35878. end;
  35879. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  35880. begin
  35881. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  35882. end;
  35883. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  35884. begin
  35885. pTDefRegMap(@Self)^.&set := $00400000;
  35886. end;
  35887. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  35888. begin
  35889. pTDefRegMap(@Self)^.clr := $00400000;
  35890. end;
  35891. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  35892. begin
  35893. if thebits = 0 then
  35894. pTDefRegMap(@Self)^.clr := $00400000
  35895. else
  35896. pTDefRegMap(@Self)^.&set := $00400000;
  35897. end;
  35898. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  35899. begin
  35900. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  35901. end;
  35902. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  35903. begin
  35904. pTDefRegMap(@Self)^.&set := $00800000;
  35905. end;
  35906. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  35907. begin
  35908. pTDefRegMap(@Self)^.clr := $00800000;
  35909. end;
  35910. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  35911. begin
  35912. if thebits = 0 then
  35913. pTDefRegMap(@Self)^.clr := $00800000
  35914. else
  35915. pTDefRegMap(@Self)^.&set := $00800000;
  35916. end;
  35917. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  35918. begin
  35919. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  35920. end;
  35921. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  35922. begin
  35923. pTDefRegMap(@Self)^.val := thebits;
  35924. end;
  35925. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  35926. begin
  35927. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35928. end;
  35929. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  35930. begin
  35931. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  35932. end;
  35933. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  35934. begin
  35935. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  35936. end;
  35937. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  35938. begin
  35939. pTDefRegMap(@Self)^.&set := $00000004;
  35940. end;
  35941. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  35942. begin
  35943. pTDefRegMap(@Self)^.clr := $00000004;
  35944. end;
  35945. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  35946. begin
  35947. if thebits = 0 then
  35948. pTDefRegMap(@Self)^.clr := $00000004
  35949. else
  35950. pTDefRegMap(@Self)^.&set := $00000004;
  35951. end;
  35952. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  35953. begin
  35954. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35955. end;
  35956. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  35957. begin
  35958. pTDefRegMap(@Self)^.&set := $00000010;
  35959. end;
  35960. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  35961. begin
  35962. pTDefRegMap(@Self)^.clr := $00000010;
  35963. end;
  35964. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  35965. begin
  35966. if thebits = 0 then
  35967. pTDefRegMap(@Self)^.clr := $00000010
  35968. else
  35969. pTDefRegMap(@Self)^.&set := $00000010;
  35970. end;
  35971. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  35972. begin
  35973. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35974. end;
  35975. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  35976. begin
  35977. pTDefRegMap(@Self)^.&set := $00000020;
  35978. end;
  35979. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  35980. begin
  35981. pTDefRegMap(@Self)^.clr := $00000020;
  35982. end;
  35983. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  35984. begin
  35985. if thebits = 0 then
  35986. pTDefRegMap(@Self)^.clr := $00000020
  35987. else
  35988. pTDefRegMap(@Self)^.&set := $00000020;
  35989. end;
  35990. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  35991. begin
  35992. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35993. end;
  35994. procedure TDMAC2_DCH2CON.setCHAED; inline;
  35995. begin
  35996. pTDefRegMap(@Self)^.&set := $00000040;
  35997. end;
  35998. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  35999. begin
  36000. pTDefRegMap(@Self)^.clr := $00000040;
  36001. end;
  36002. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  36003. begin
  36004. if thebits = 0 then
  36005. pTDefRegMap(@Self)^.clr := $00000040
  36006. else
  36007. pTDefRegMap(@Self)^.&set := $00000040;
  36008. end;
  36009. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  36010. begin
  36011. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36012. end;
  36013. procedure TDMAC2_DCH2CON.setCHEN; inline;
  36014. begin
  36015. pTDefRegMap(@Self)^.&set := $00000080;
  36016. end;
  36017. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  36018. begin
  36019. pTDefRegMap(@Self)^.clr := $00000080;
  36020. end;
  36021. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  36022. begin
  36023. if thebits = 0 then
  36024. pTDefRegMap(@Self)^.clr := $00000080
  36025. else
  36026. pTDefRegMap(@Self)^.&set := $00000080;
  36027. end;
  36028. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  36029. begin
  36030. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36031. end;
  36032. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  36033. begin
  36034. pTDefRegMap(@Self)^.&set := $00000100;
  36035. end;
  36036. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  36037. begin
  36038. pTDefRegMap(@Self)^.clr := $00000100;
  36039. end;
  36040. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  36041. begin
  36042. if thebits = 0 then
  36043. pTDefRegMap(@Self)^.clr := $00000100
  36044. else
  36045. pTDefRegMap(@Self)^.&set := $00000100;
  36046. end;
  36047. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  36048. begin
  36049. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36050. end;
  36051. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  36052. begin
  36053. pTDefRegMap(@Self)^.&set := $00008000;
  36054. end;
  36055. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  36056. begin
  36057. pTDefRegMap(@Self)^.clr := $00008000;
  36058. end;
  36059. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  36060. begin
  36061. if thebits = 0 then
  36062. pTDefRegMap(@Self)^.clr := $00008000
  36063. else
  36064. pTDefRegMap(@Self)^.&set := $00008000;
  36065. end;
  36066. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  36067. begin
  36068. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36069. end;
  36070. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  36071. begin
  36072. pTDefRegMap(@Self)^.val := thebits;
  36073. end;
  36074. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  36075. begin
  36076. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36077. end;
  36078. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  36079. begin
  36080. pTDefRegMap(@Self)^.&set := $00000008;
  36081. end;
  36082. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  36083. begin
  36084. pTDefRegMap(@Self)^.clr := $00000008;
  36085. end;
  36086. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  36087. begin
  36088. if thebits = 0 then
  36089. pTDefRegMap(@Self)^.clr := $00000008
  36090. else
  36091. pTDefRegMap(@Self)^.&set := $00000008;
  36092. end;
  36093. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  36094. begin
  36095. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36096. end;
  36097. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  36098. begin
  36099. pTDefRegMap(@Self)^.&set := $00000010;
  36100. end;
  36101. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  36102. begin
  36103. pTDefRegMap(@Self)^.clr := $00000010;
  36104. end;
  36105. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  36106. begin
  36107. if thebits = 0 then
  36108. pTDefRegMap(@Self)^.clr := $00000010
  36109. else
  36110. pTDefRegMap(@Self)^.&set := $00000010;
  36111. end;
  36112. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  36113. begin
  36114. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36115. end;
  36116. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  36117. begin
  36118. pTDefRegMap(@Self)^.&set := $00000020;
  36119. end;
  36120. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  36121. begin
  36122. pTDefRegMap(@Self)^.clr := $00000020;
  36123. end;
  36124. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  36125. begin
  36126. if thebits = 0 then
  36127. pTDefRegMap(@Self)^.clr := $00000020
  36128. else
  36129. pTDefRegMap(@Self)^.&set := $00000020;
  36130. end;
  36131. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  36132. begin
  36133. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36134. end;
  36135. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  36136. begin
  36137. pTDefRegMap(@Self)^.&set := $00000040;
  36138. end;
  36139. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  36140. begin
  36141. pTDefRegMap(@Self)^.clr := $00000040;
  36142. end;
  36143. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  36144. begin
  36145. if thebits = 0 then
  36146. pTDefRegMap(@Self)^.clr := $00000040
  36147. else
  36148. pTDefRegMap(@Self)^.&set := $00000040;
  36149. end;
  36150. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  36151. begin
  36152. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36153. end;
  36154. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  36155. begin
  36156. pTDefRegMap(@Self)^.&set := $00000080;
  36157. end;
  36158. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  36159. begin
  36160. pTDefRegMap(@Self)^.clr := $00000080;
  36161. end;
  36162. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  36163. begin
  36164. if thebits = 0 then
  36165. pTDefRegMap(@Self)^.clr := $00000080
  36166. else
  36167. pTDefRegMap(@Self)^.&set := $00000080;
  36168. end;
  36169. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  36170. begin
  36171. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36172. end;
  36173. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  36174. begin
  36175. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  36176. end;
  36177. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  36178. begin
  36179. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  36180. end;
  36181. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  36182. begin
  36183. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  36184. end;
  36185. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  36186. begin
  36187. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  36188. end;
  36189. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  36190. begin
  36191. pTDefRegMap(@Self)^.val := thebits;
  36192. end;
  36193. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  36194. begin
  36195. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36196. end;
  36197. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  36198. begin
  36199. pTDefRegMap(@Self)^.&set := $00000001;
  36200. end;
  36201. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  36202. begin
  36203. pTDefRegMap(@Self)^.clr := $00000001;
  36204. end;
  36205. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  36206. begin
  36207. if thebits = 0 then
  36208. pTDefRegMap(@Self)^.clr := $00000001
  36209. else
  36210. pTDefRegMap(@Self)^.&set := $00000001;
  36211. end;
  36212. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  36213. begin
  36214. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36215. end;
  36216. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  36217. begin
  36218. pTDefRegMap(@Self)^.&set := $00000002;
  36219. end;
  36220. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  36221. begin
  36222. pTDefRegMap(@Self)^.clr := $00000002;
  36223. end;
  36224. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  36225. begin
  36226. if thebits = 0 then
  36227. pTDefRegMap(@Self)^.clr := $00000002
  36228. else
  36229. pTDefRegMap(@Self)^.&set := $00000002;
  36230. end;
  36231. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  36232. begin
  36233. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36234. end;
  36235. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  36236. begin
  36237. pTDefRegMap(@Self)^.&set := $00000004;
  36238. end;
  36239. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  36240. begin
  36241. pTDefRegMap(@Self)^.clr := $00000004;
  36242. end;
  36243. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  36244. begin
  36245. if thebits = 0 then
  36246. pTDefRegMap(@Self)^.clr := $00000004
  36247. else
  36248. pTDefRegMap(@Self)^.&set := $00000004;
  36249. end;
  36250. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  36251. begin
  36252. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36253. end;
  36254. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  36255. begin
  36256. pTDefRegMap(@Self)^.&set := $00000008;
  36257. end;
  36258. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  36259. begin
  36260. pTDefRegMap(@Self)^.clr := $00000008;
  36261. end;
  36262. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  36263. begin
  36264. if thebits = 0 then
  36265. pTDefRegMap(@Self)^.clr := $00000008
  36266. else
  36267. pTDefRegMap(@Self)^.&set := $00000008;
  36268. end;
  36269. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  36270. begin
  36271. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36272. end;
  36273. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  36274. begin
  36275. pTDefRegMap(@Self)^.&set := $00000010;
  36276. end;
  36277. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  36278. begin
  36279. pTDefRegMap(@Self)^.clr := $00000010;
  36280. end;
  36281. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  36282. begin
  36283. if thebits = 0 then
  36284. pTDefRegMap(@Self)^.clr := $00000010
  36285. else
  36286. pTDefRegMap(@Self)^.&set := $00000010;
  36287. end;
  36288. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  36289. begin
  36290. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36291. end;
  36292. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  36293. begin
  36294. pTDefRegMap(@Self)^.&set := $00000020;
  36295. end;
  36296. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  36297. begin
  36298. pTDefRegMap(@Self)^.clr := $00000020;
  36299. end;
  36300. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  36301. begin
  36302. if thebits = 0 then
  36303. pTDefRegMap(@Self)^.clr := $00000020
  36304. else
  36305. pTDefRegMap(@Self)^.&set := $00000020;
  36306. end;
  36307. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  36308. begin
  36309. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36310. end;
  36311. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  36312. begin
  36313. pTDefRegMap(@Self)^.&set := $00000040;
  36314. end;
  36315. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  36316. begin
  36317. pTDefRegMap(@Self)^.clr := $00000040;
  36318. end;
  36319. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  36320. begin
  36321. if thebits = 0 then
  36322. pTDefRegMap(@Self)^.clr := $00000040
  36323. else
  36324. pTDefRegMap(@Self)^.&set := $00000040;
  36325. end;
  36326. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  36327. begin
  36328. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36329. end;
  36330. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  36331. begin
  36332. pTDefRegMap(@Self)^.&set := $00000080;
  36333. end;
  36334. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  36335. begin
  36336. pTDefRegMap(@Self)^.clr := $00000080;
  36337. end;
  36338. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  36339. begin
  36340. if thebits = 0 then
  36341. pTDefRegMap(@Self)^.clr := $00000080
  36342. else
  36343. pTDefRegMap(@Self)^.&set := $00000080;
  36344. end;
  36345. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  36346. begin
  36347. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36348. end;
  36349. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  36350. begin
  36351. pTDefRegMap(@Self)^.&set := $00010000;
  36352. end;
  36353. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  36354. begin
  36355. pTDefRegMap(@Self)^.clr := $00010000;
  36356. end;
  36357. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  36358. begin
  36359. if thebits = 0 then
  36360. pTDefRegMap(@Self)^.clr := $00010000
  36361. else
  36362. pTDefRegMap(@Self)^.&set := $00010000;
  36363. end;
  36364. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  36365. begin
  36366. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  36367. end;
  36368. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  36369. begin
  36370. pTDefRegMap(@Self)^.&set := $00020000;
  36371. end;
  36372. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  36373. begin
  36374. pTDefRegMap(@Self)^.clr := $00020000;
  36375. end;
  36376. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  36377. begin
  36378. if thebits = 0 then
  36379. pTDefRegMap(@Self)^.clr := $00020000
  36380. else
  36381. pTDefRegMap(@Self)^.&set := $00020000;
  36382. end;
  36383. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  36384. begin
  36385. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  36386. end;
  36387. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  36388. begin
  36389. pTDefRegMap(@Self)^.&set := $00040000;
  36390. end;
  36391. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  36392. begin
  36393. pTDefRegMap(@Self)^.clr := $00040000;
  36394. end;
  36395. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  36396. begin
  36397. if thebits = 0 then
  36398. pTDefRegMap(@Self)^.clr := $00040000
  36399. else
  36400. pTDefRegMap(@Self)^.&set := $00040000;
  36401. end;
  36402. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  36403. begin
  36404. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  36405. end;
  36406. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  36407. begin
  36408. pTDefRegMap(@Self)^.&set := $00080000;
  36409. end;
  36410. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  36411. begin
  36412. pTDefRegMap(@Self)^.clr := $00080000;
  36413. end;
  36414. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  36415. begin
  36416. if thebits = 0 then
  36417. pTDefRegMap(@Self)^.clr := $00080000
  36418. else
  36419. pTDefRegMap(@Self)^.&set := $00080000;
  36420. end;
  36421. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  36422. begin
  36423. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  36424. end;
  36425. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  36426. begin
  36427. pTDefRegMap(@Self)^.&set := $00100000;
  36428. end;
  36429. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  36430. begin
  36431. pTDefRegMap(@Self)^.clr := $00100000;
  36432. end;
  36433. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  36434. begin
  36435. if thebits = 0 then
  36436. pTDefRegMap(@Self)^.clr := $00100000
  36437. else
  36438. pTDefRegMap(@Self)^.&set := $00100000;
  36439. end;
  36440. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  36441. begin
  36442. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  36443. end;
  36444. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  36445. begin
  36446. pTDefRegMap(@Self)^.&set := $00200000;
  36447. end;
  36448. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  36449. begin
  36450. pTDefRegMap(@Self)^.clr := $00200000;
  36451. end;
  36452. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  36453. begin
  36454. if thebits = 0 then
  36455. pTDefRegMap(@Self)^.clr := $00200000
  36456. else
  36457. pTDefRegMap(@Self)^.&set := $00200000;
  36458. end;
  36459. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  36460. begin
  36461. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  36462. end;
  36463. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  36464. begin
  36465. pTDefRegMap(@Self)^.&set := $00400000;
  36466. end;
  36467. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  36468. begin
  36469. pTDefRegMap(@Self)^.clr := $00400000;
  36470. end;
  36471. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  36472. begin
  36473. if thebits = 0 then
  36474. pTDefRegMap(@Self)^.clr := $00400000
  36475. else
  36476. pTDefRegMap(@Self)^.&set := $00400000;
  36477. end;
  36478. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  36479. begin
  36480. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  36481. end;
  36482. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  36483. begin
  36484. pTDefRegMap(@Self)^.&set := $00800000;
  36485. end;
  36486. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  36487. begin
  36488. pTDefRegMap(@Self)^.clr := $00800000;
  36489. end;
  36490. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  36491. begin
  36492. if thebits = 0 then
  36493. pTDefRegMap(@Self)^.clr := $00800000
  36494. else
  36495. pTDefRegMap(@Self)^.&set := $00800000;
  36496. end;
  36497. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  36498. begin
  36499. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  36500. end;
  36501. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  36502. begin
  36503. pTDefRegMap(@Self)^.val := thebits;
  36504. end;
  36505. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  36506. begin
  36507. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36508. end;
  36509. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  36510. begin
  36511. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  36512. end;
  36513. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  36514. begin
  36515. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  36516. end;
  36517. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  36518. begin
  36519. pTDefRegMap(@Self)^.&set := $00000004;
  36520. end;
  36521. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  36522. begin
  36523. pTDefRegMap(@Self)^.clr := $00000004;
  36524. end;
  36525. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  36526. begin
  36527. if thebits = 0 then
  36528. pTDefRegMap(@Self)^.clr := $00000004
  36529. else
  36530. pTDefRegMap(@Self)^.&set := $00000004;
  36531. end;
  36532. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  36533. begin
  36534. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36535. end;
  36536. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  36537. begin
  36538. pTDefRegMap(@Self)^.&set := $00000010;
  36539. end;
  36540. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  36541. begin
  36542. pTDefRegMap(@Self)^.clr := $00000010;
  36543. end;
  36544. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  36545. begin
  36546. if thebits = 0 then
  36547. pTDefRegMap(@Self)^.clr := $00000010
  36548. else
  36549. pTDefRegMap(@Self)^.&set := $00000010;
  36550. end;
  36551. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  36552. begin
  36553. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36554. end;
  36555. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  36556. begin
  36557. pTDefRegMap(@Self)^.&set := $00000020;
  36558. end;
  36559. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  36560. begin
  36561. pTDefRegMap(@Self)^.clr := $00000020;
  36562. end;
  36563. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  36564. begin
  36565. if thebits = 0 then
  36566. pTDefRegMap(@Self)^.clr := $00000020
  36567. else
  36568. pTDefRegMap(@Self)^.&set := $00000020;
  36569. end;
  36570. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  36571. begin
  36572. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36573. end;
  36574. procedure TDMAC3_DCH3CON.setCHAED; inline;
  36575. begin
  36576. pTDefRegMap(@Self)^.&set := $00000040;
  36577. end;
  36578. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  36579. begin
  36580. pTDefRegMap(@Self)^.clr := $00000040;
  36581. end;
  36582. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  36583. begin
  36584. if thebits = 0 then
  36585. pTDefRegMap(@Self)^.clr := $00000040
  36586. else
  36587. pTDefRegMap(@Self)^.&set := $00000040;
  36588. end;
  36589. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  36590. begin
  36591. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36592. end;
  36593. procedure TDMAC3_DCH3CON.setCHEN; inline;
  36594. begin
  36595. pTDefRegMap(@Self)^.&set := $00000080;
  36596. end;
  36597. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  36598. begin
  36599. pTDefRegMap(@Self)^.clr := $00000080;
  36600. end;
  36601. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  36602. begin
  36603. if thebits = 0 then
  36604. pTDefRegMap(@Self)^.clr := $00000080
  36605. else
  36606. pTDefRegMap(@Self)^.&set := $00000080;
  36607. end;
  36608. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  36609. begin
  36610. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36611. end;
  36612. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  36613. begin
  36614. pTDefRegMap(@Self)^.&set := $00000100;
  36615. end;
  36616. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  36617. begin
  36618. pTDefRegMap(@Self)^.clr := $00000100;
  36619. end;
  36620. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  36621. begin
  36622. if thebits = 0 then
  36623. pTDefRegMap(@Self)^.clr := $00000100
  36624. else
  36625. pTDefRegMap(@Self)^.&set := $00000100;
  36626. end;
  36627. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  36628. begin
  36629. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36630. end;
  36631. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  36632. begin
  36633. pTDefRegMap(@Self)^.&set := $00008000;
  36634. end;
  36635. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  36636. begin
  36637. pTDefRegMap(@Self)^.clr := $00008000;
  36638. end;
  36639. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  36640. begin
  36641. if thebits = 0 then
  36642. pTDefRegMap(@Self)^.clr := $00008000
  36643. else
  36644. pTDefRegMap(@Self)^.&set := $00008000;
  36645. end;
  36646. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  36647. begin
  36648. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36649. end;
  36650. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  36651. begin
  36652. pTDefRegMap(@Self)^.val := thebits;
  36653. end;
  36654. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  36655. begin
  36656. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36657. end;
  36658. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  36659. begin
  36660. pTDefRegMap(@Self)^.&set := $00000008;
  36661. end;
  36662. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  36663. begin
  36664. pTDefRegMap(@Self)^.clr := $00000008;
  36665. end;
  36666. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  36667. begin
  36668. if thebits = 0 then
  36669. pTDefRegMap(@Self)^.clr := $00000008
  36670. else
  36671. pTDefRegMap(@Self)^.&set := $00000008;
  36672. end;
  36673. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  36674. begin
  36675. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36676. end;
  36677. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  36678. begin
  36679. pTDefRegMap(@Self)^.&set := $00000010;
  36680. end;
  36681. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  36682. begin
  36683. pTDefRegMap(@Self)^.clr := $00000010;
  36684. end;
  36685. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  36686. begin
  36687. if thebits = 0 then
  36688. pTDefRegMap(@Self)^.clr := $00000010
  36689. else
  36690. pTDefRegMap(@Self)^.&set := $00000010;
  36691. end;
  36692. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  36693. begin
  36694. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36695. end;
  36696. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  36697. begin
  36698. pTDefRegMap(@Self)^.&set := $00000020;
  36699. end;
  36700. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  36701. begin
  36702. pTDefRegMap(@Self)^.clr := $00000020;
  36703. end;
  36704. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  36705. begin
  36706. if thebits = 0 then
  36707. pTDefRegMap(@Self)^.clr := $00000020
  36708. else
  36709. pTDefRegMap(@Self)^.&set := $00000020;
  36710. end;
  36711. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  36712. begin
  36713. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36714. end;
  36715. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  36716. begin
  36717. pTDefRegMap(@Self)^.&set := $00000040;
  36718. end;
  36719. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  36720. begin
  36721. pTDefRegMap(@Self)^.clr := $00000040;
  36722. end;
  36723. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  36724. begin
  36725. if thebits = 0 then
  36726. pTDefRegMap(@Self)^.clr := $00000040
  36727. else
  36728. pTDefRegMap(@Self)^.&set := $00000040;
  36729. end;
  36730. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  36731. begin
  36732. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36733. end;
  36734. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  36735. begin
  36736. pTDefRegMap(@Self)^.&set := $00000080;
  36737. end;
  36738. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  36739. begin
  36740. pTDefRegMap(@Self)^.clr := $00000080;
  36741. end;
  36742. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  36743. begin
  36744. if thebits = 0 then
  36745. pTDefRegMap(@Self)^.clr := $00000080
  36746. else
  36747. pTDefRegMap(@Self)^.&set := $00000080;
  36748. end;
  36749. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  36750. begin
  36751. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36752. end;
  36753. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  36754. begin
  36755. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  36756. end;
  36757. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  36758. begin
  36759. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  36760. end;
  36761. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  36762. begin
  36763. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  36764. end;
  36765. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  36766. begin
  36767. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  36768. end;
  36769. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  36770. begin
  36771. pTDefRegMap(@Self)^.val := thebits;
  36772. end;
  36773. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  36774. begin
  36775. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36776. end;
  36777. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  36778. begin
  36779. pTDefRegMap(@Self)^.&set := $00000001;
  36780. end;
  36781. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  36782. begin
  36783. pTDefRegMap(@Self)^.clr := $00000001;
  36784. end;
  36785. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  36786. begin
  36787. if thebits = 0 then
  36788. pTDefRegMap(@Self)^.clr := $00000001
  36789. else
  36790. pTDefRegMap(@Self)^.&set := $00000001;
  36791. end;
  36792. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  36793. begin
  36794. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36795. end;
  36796. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  36797. begin
  36798. pTDefRegMap(@Self)^.&set := $00000002;
  36799. end;
  36800. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  36801. begin
  36802. pTDefRegMap(@Self)^.clr := $00000002;
  36803. end;
  36804. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  36805. begin
  36806. if thebits = 0 then
  36807. pTDefRegMap(@Self)^.clr := $00000002
  36808. else
  36809. pTDefRegMap(@Self)^.&set := $00000002;
  36810. end;
  36811. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  36812. begin
  36813. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36814. end;
  36815. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  36816. begin
  36817. pTDefRegMap(@Self)^.&set := $00000004;
  36818. end;
  36819. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  36820. begin
  36821. pTDefRegMap(@Self)^.clr := $00000004;
  36822. end;
  36823. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  36824. begin
  36825. if thebits = 0 then
  36826. pTDefRegMap(@Self)^.clr := $00000004
  36827. else
  36828. pTDefRegMap(@Self)^.&set := $00000004;
  36829. end;
  36830. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  36831. begin
  36832. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36833. end;
  36834. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  36835. begin
  36836. pTDefRegMap(@Self)^.&set := $00000008;
  36837. end;
  36838. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  36839. begin
  36840. pTDefRegMap(@Self)^.clr := $00000008;
  36841. end;
  36842. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  36843. begin
  36844. if thebits = 0 then
  36845. pTDefRegMap(@Self)^.clr := $00000008
  36846. else
  36847. pTDefRegMap(@Self)^.&set := $00000008;
  36848. end;
  36849. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  36850. begin
  36851. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36852. end;
  36853. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  36854. begin
  36855. pTDefRegMap(@Self)^.&set := $00000010;
  36856. end;
  36857. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  36858. begin
  36859. pTDefRegMap(@Self)^.clr := $00000010;
  36860. end;
  36861. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  36862. begin
  36863. if thebits = 0 then
  36864. pTDefRegMap(@Self)^.clr := $00000010
  36865. else
  36866. pTDefRegMap(@Self)^.&set := $00000010;
  36867. end;
  36868. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  36869. begin
  36870. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36871. end;
  36872. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  36873. begin
  36874. pTDefRegMap(@Self)^.&set := $00000020;
  36875. end;
  36876. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  36877. begin
  36878. pTDefRegMap(@Self)^.clr := $00000020;
  36879. end;
  36880. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  36881. begin
  36882. if thebits = 0 then
  36883. pTDefRegMap(@Self)^.clr := $00000020
  36884. else
  36885. pTDefRegMap(@Self)^.&set := $00000020;
  36886. end;
  36887. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  36888. begin
  36889. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36890. end;
  36891. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  36892. begin
  36893. pTDefRegMap(@Self)^.&set := $00000040;
  36894. end;
  36895. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  36896. begin
  36897. pTDefRegMap(@Self)^.clr := $00000040;
  36898. end;
  36899. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  36900. begin
  36901. if thebits = 0 then
  36902. pTDefRegMap(@Self)^.clr := $00000040
  36903. else
  36904. pTDefRegMap(@Self)^.&set := $00000040;
  36905. end;
  36906. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  36907. begin
  36908. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36909. end;
  36910. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  36911. begin
  36912. pTDefRegMap(@Self)^.&set := $00000080;
  36913. end;
  36914. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  36915. begin
  36916. pTDefRegMap(@Self)^.clr := $00000080;
  36917. end;
  36918. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  36919. begin
  36920. if thebits = 0 then
  36921. pTDefRegMap(@Self)^.clr := $00000080
  36922. else
  36923. pTDefRegMap(@Self)^.&set := $00000080;
  36924. end;
  36925. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  36926. begin
  36927. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36928. end;
  36929. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  36930. begin
  36931. pTDefRegMap(@Self)^.&set := $00010000;
  36932. end;
  36933. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  36934. begin
  36935. pTDefRegMap(@Self)^.clr := $00010000;
  36936. end;
  36937. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  36938. begin
  36939. if thebits = 0 then
  36940. pTDefRegMap(@Self)^.clr := $00010000
  36941. else
  36942. pTDefRegMap(@Self)^.&set := $00010000;
  36943. end;
  36944. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  36945. begin
  36946. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  36947. end;
  36948. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  36949. begin
  36950. pTDefRegMap(@Self)^.&set := $00020000;
  36951. end;
  36952. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  36953. begin
  36954. pTDefRegMap(@Self)^.clr := $00020000;
  36955. end;
  36956. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  36957. begin
  36958. if thebits = 0 then
  36959. pTDefRegMap(@Self)^.clr := $00020000
  36960. else
  36961. pTDefRegMap(@Self)^.&set := $00020000;
  36962. end;
  36963. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  36964. begin
  36965. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  36966. end;
  36967. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  36968. begin
  36969. pTDefRegMap(@Self)^.&set := $00040000;
  36970. end;
  36971. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  36972. begin
  36973. pTDefRegMap(@Self)^.clr := $00040000;
  36974. end;
  36975. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  36976. begin
  36977. if thebits = 0 then
  36978. pTDefRegMap(@Self)^.clr := $00040000
  36979. else
  36980. pTDefRegMap(@Self)^.&set := $00040000;
  36981. end;
  36982. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  36983. begin
  36984. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  36985. end;
  36986. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  36987. begin
  36988. pTDefRegMap(@Self)^.&set := $00080000;
  36989. end;
  36990. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  36991. begin
  36992. pTDefRegMap(@Self)^.clr := $00080000;
  36993. end;
  36994. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  36995. begin
  36996. if thebits = 0 then
  36997. pTDefRegMap(@Self)^.clr := $00080000
  36998. else
  36999. pTDefRegMap(@Self)^.&set := $00080000;
  37000. end;
  37001. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  37002. begin
  37003. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  37004. end;
  37005. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  37006. begin
  37007. pTDefRegMap(@Self)^.&set := $00100000;
  37008. end;
  37009. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  37010. begin
  37011. pTDefRegMap(@Self)^.clr := $00100000;
  37012. end;
  37013. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  37014. begin
  37015. if thebits = 0 then
  37016. pTDefRegMap(@Self)^.clr := $00100000
  37017. else
  37018. pTDefRegMap(@Self)^.&set := $00100000;
  37019. end;
  37020. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  37021. begin
  37022. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  37023. end;
  37024. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  37025. begin
  37026. pTDefRegMap(@Self)^.&set := $00200000;
  37027. end;
  37028. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  37029. begin
  37030. pTDefRegMap(@Self)^.clr := $00200000;
  37031. end;
  37032. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  37033. begin
  37034. if thebits = 0 then
  37035. pTDefRegMap(@Self)^.clr := $00200000
  37036. else
  37037. pTDefRegMap(@Self)^.&set := $00200000;
  37038. end;
  37039. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  37040. begin
  37041. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  37042. end;
  37043. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  37044. begin
  37045. pTDefRegMap(@Self)^.&set := $00400000;
  37046. end;
  37047. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  37048. begin
  37049. pTDefRegMap(@Self)^.clr := $00400000;
  37050. end;
  37051. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  37052. begin
  37053. if thebits = 0 then
  37054. pTDefRegMap(@Self)^.clr := $00400000
  37055. else
  37056. pTDefRegMap(@Self)^.&set := $00400000;
  37057. end;
  37058. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  37059. begin
  37060. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  37061. end;
  37062. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  37063. begin
  37064. pTDefRegMap(@Self)^.&set := $00800000;
  37065. end;
  37066. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  37067. begin
  37068. pTDefRegMap(@Self)^.clr := $00800000;
  37069. end;
  37070. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  37071. begin
  37072. if thebits = 0 then
  37073. pTDefRegMap(@Self)^.clr := $00800000
  37074. else
  37075. pTDefRegMap(@Self)^.&set := $00800000;
  37076. end;
  37077. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  37078. begin
  37079. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  37080. end;
  37081. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  37082. begin
  37083. pTDefRegMap(@Self)^.val := thebits;
  37084. end;
  37085. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  37086. begin
  37087. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37088. end;
  37089. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  37090. begin
  37091. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37092. end;
  37093. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  37094. begin
  37095. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37096. end;
  37097. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  37098. begin
  37099. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  37100. end;
  37101. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  37102. begin
  37103. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  37104. end;
  37105. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  37106. begin
  37107. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37108. end;
  37109. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  37110. begin
  37111. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37112. end;
  37113. procedure TPCACHE_CHECON.setCHECOH; inline;
  37114. begin
  37115. pTDefRegMap(@Self)^.&set := $00010000;
  37116. end;
  37117. procedure TPCACHE_CHECON.clearCHECOH; inline;
  37118. begin
  37119. pTDefRegMap(@Self)^.clr := $00010000;
  37120. end;
  37121. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  37122. begin
  37123. if thebits = 0 then
  37124. pTDefRegMap(@Self)^.clr := $00010000
  37125. else
  37126. pTDefRegMap(@Self)^.&set := $00010000;
  37127. end;
  37128. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  37129. begin
  37130. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  37131. end;
  37132. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  37133. begin
  37134. pTDefRegMap(@Self)^.val := thebits;
  37135. end;
  37136. function TPCACHE_CHECON.getw : TBits_32; inline;
  37137. begin
  37138. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37139. end;
  37140. procedure TPCACHE_CHETAG.setLTYPE; inline;
  37141. begin
  37142. pTDefRegMap(@Self)^.&set := $00000002;
  37143. end;
  37144. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  37145. begin
  37146. pTDefRegMap(@Self)^.clr := $00000002;
  37147. end;
  37148. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  37149. begin
  37150. if thebits = 0 then
  37151. pTDefRegMap(@Self)^.clr := $00000002
  37152. else
  37153. pTDefRegMap(@Self)^.&set := $00000002;
  37154. end;
  37155. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  37156. begin
  37157. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37158. end;
  37159. procedure TPCACHE_CHETAG.setLLOCK; inline;
  37160. begin
  37161. pTDefRegMap(@Self)^.&set := $00000004;
  37162. end;
  37163. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  37164. begin
  37165. pTDefRegMap(@Self)^.clr := $00000004;
  37166. end;
  37167. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  37168. begin
  37169. if thebits = 0 then
  37170. pTDefRegMap(@Self)^.clr := $00000004
  37171. else
  37172. pTDefRegMap(@Self)^.&set := $00000004;
  37173. end;
  37174. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  37175. begin
  37176. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37177. end;
  37178. procedure TPCACHE_CHETAG.setLVALID; inline;
  37179. begin
  37180. pTDefRegMap(@Self)^.&set := $00000008;
  37181. end;
  37182. procedure TPCACHE_CHETAG.clearLVALID; inline;
  37183. begin
  37184. pTDefRegMap(@Self)^.clr := $00000008;
  37185. end;
  37186. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  37187. begin
  37188. if thebits = 0 then
  37189. pTDefRegMap(@Self)^.clr := $00000008
  37190. else
  37191. pTDefRegMap(@Self)^.&set := $00000008;
  37192. end;
  37193. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  37194. begin
  37195. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37196. end;
  37197. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  37198. begin
  37199. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  37200. end;
  37201. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  37202. begin
  37203. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  37204. end;
  37205. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  37206. begin
  37207. pTDefRegMap(@Self)^.&set := $80000000;
  37208. end;
  37209. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  37210. begin
  37211. pTDefRegMap(@Self)^.clr := $80000000;
  37212. end;
  37213. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  37214. begin
  37215. if thebits = 0 then
  37216. pTDefRegMap(@Self)^.clr := $80000000
  37217. else
  37218. pTDefRegMap(@Self)^.&set := $80000000;
  37219. end;
  37220. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  37221. begin
  37222. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  37223. end;
  37224. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  37225. begin
  37226. pTDefRegMap(@Self)^.val := thebits;
  37227. end;
  37228. function TPCACHE_CHETAG.getw : TBits_32; inline;
  37229. begin
  37230. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37231. end;
  37232. procedure TPCACHE_ANSELB.setANSB0; inline;
  37233. begin
  37234. pTDefRegMap(@Self)^.&set := $00000001;
  37235. end;
  37236. procedure TPCACHE_ANSELB.clearANSB0; inline;
  37237. begin
  37238. pTDefRegMap(@Self)^.clr := $00000001;
  37239. end;
  37240. procedure TPCACHE_ANSELB.setANSB0(thebits : TBits_1); inline;
  37241. begin
  37242. if thebits = 0 then
  37243. pTDefRegMap(@Self)^.clr := $00000001
  37244. else
  37245. pTDefRegMap(@Self)^.&set := $00000001;
  37246. end;
  37247. function TPCACHE_ANSELB.getANSB0 : TBits_1; inline;
  37248. begin
  37249. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37250. end;
  37251. procedure TPCACHE_ANSELB.setANSB1; inline;
  37252. begin
  37253. pTDefRegMap(@Self)^.&set := $00000002;
  37254. end;
  37255. procedure TPCACHE_ANSELB.clearANSB1; inline;
  37256. begin
  37257. pTDefRegMap(@Self)^.clr := $00000002;
  37258. end;
  37259. procedure TPCACHE_ANSELB.setANSB1(thebits : TBits_1); inline;
  37260. begin
  37261. if thebits = 0 then
  37262. pTDefRegMap(@Self)^.clr := $00000002
  37263. else
  37264. pTDefRegMap(@Self)^.&set := $00000002;
  37265. end;
  37266. function TPCACHE_ANSELB.getANSB1 : TBits_1; inline;
  37267. begin
  37268. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37269. end;
  37270. procedure TPCACHE_ANSELB.setANSB2; inline;
  37271. begin
  37272. pTDefRegMap(@Self)^.&set := $00000004;
  37273. end;
  37274. procedure TPCACHE_ANSELB.clearANSB2; inline;
  37275. begin
  37276. pTDefRegMap(@Self)^.clr := $00000004;
  37277. end;
  37278. procedure TPCACHE_ANSELB.setANSB2(thebits : TBits_1); inline;
  37279. begin
  37280. if thebits = 0 then
  37281. pTDefRegMap(@Self)^.clr := $00000004
  37282. else
  37283. pTDefRegMap(@Self)^.&set := $00000004;
  37284. end;
  37285. function TPCACHE_ANSELB.getANSB2 : TBits_1; inline;
  37286. begin
  37287. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37288. end;
  37289. procedure TPCACHE_ANSELB.setANSB3; inline;
  37290. begin
  37291. pTDefRegMap(@Self)^.&set := $00000008;
  37292. end;
  37293. procedure TPCACHE_ANSELB.clearANSB3; inline;
  37294. begin
  37295. pTDefRegMap(@Self)^.clr := $00000008;
  37296. end;
  37297. procedure TPCACHE_ANSELB.setANSB3(thebits : TBits_1); inline;
  37298. begin
  37299. if thebits = 0 then
  37300. pTDefRegMap(@Self)^.clr := $00000008
  37301. else
  37302. pTDefRegMap(@Self)^.&set := $00000008;
  37303. end;
  37304. function TPCACHE_ANSELB.getANSB3 : TBits_1; inline;
  37305. begin
  37306. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37307. end;
  37308. procedure TPCACHE_ANSELB.setANSB4; inline;
  37309. begin
  37310. pTDefRegMap(@Self)^.&set := $00000010;
  37311. end;
  37312. procedure TPCACHE_ANSELB.clearANSB4; inline;
  37313. begin
  37314. pTDefRegMap(@Self)^.clr := $00000010;
  37315. end;
  37316. procedure TPCACHE_ANSELB.setANSB4(thebits : TBits_1); inline;
  37317. begin
  37318. if thebits = 0 then
  37319. pTDefRegMap(@Self)^.clr := $00000010
  37320. else
  37321. pTDefRegMap(@Self)^.&set := $00000010;
  37322. end;
  37323. function TPCACHE_ANSELB.getANSB4 : TBits_1; inline;
  37324. begin
  37325. getANSB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37326. end;
  37327. procedure TPCACHE_ANSELB.setANSB5; inline;
  37328. begin
  37329. pTDefRegMap(@Self)^.&set := $00000020;
  37330. end;
  37331. procedure TPCACHE_ANSELB.clearANSB5; inline;
  37332. begin
  37333. pTDefRegMap(@Self)^.clr := $00000020;
  37334. end;
  37335. procedure TPCACHE_ANSELB.setANSB5(thebits : TBits_1); inline;
  37336. begin
  37337. if thebits = 0 then
  37338. pTDefRegMap(@Self)^.clr := $00000020
  37339. else
  37340. pTDefRegMap(@Self)^.&set := $00000020;
  37341. end;
  37342. function TPCACHE_ANSELB.getANSB5 : TBits_1; inline;
  37343. begin
  37344. getANSB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37345. end;
  37346. procedure TPCACHE_ANSELB.setANSB6; inline;
  37347. begin
  37348. pTDefRegMap(@Self)^.&set := $00000040;
  37349. end;
  37350. procedure TPCACHE_ANSELB.clearANSB6; inline;
  37351. begin
  37352. pTDefRegMap(@Self)^.clr := $00000040;
  37353. end;
  37354. procedure TPCACHE_ANSELB.setANSB6(thebits : TBits_1); inline;
  37355. begin
  37356. if thebits = 0 then
  37357. pTDefRegMap(@Self)^.clr := $00000040
  37358. else
  37359. pTDefRegMap(@Self)^.&set := $00000040;
  37360. end;
  37361. function TPCACHE_ANSELB.getANSB6 : TBits_1; inline;
  37362. begin
  37363. getANSB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37364. end;
  37365. procedure TPCACHE_ANSELB.setANSB7; inline;
  37366. begin
  37367. pTDefRegMap(@Self)^.&set := $00000080;
  37368. end;
  37369. procedure TPCACHE_ANSELB.clearANSB7; inline;
  37370. begin
  37371. pTDefRegMap(@Self)^.clr := $00000080;
  37372. end;
  37373. procedure TPCACHE_ANSELB.setANSB7(thebits : TBits_1); inline;
  37374. begin
  37375. if thebits = 0 then
  37376. pTDefRegMap(@Self)^.clr := $00000080
  37377. else
  37378. pTDefRegMap(@Self)^.&set := $00000080;
  37379. end;
  37380. function TPCACHE_ANSELB.getANSB7 : TBits_1; inline;
  37381. begin
  37382. getANSB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37383. end;
  37384. procedure TPCACHE_ANSELB.setANSB8; inline;
  37385. begin
  37386. pTDefRegMap(@Self)^.&set := $00000100;
  37387. end;
  37388. procedure TPCACHE_ANSELB.clearANSB8; inline;
  37389. begin
  37390. pTDefRegMap(@Self)^.clr := $00000100;
  37391. end;
  37392. procedure TPCACHE_ANSELB.setANSB8(thebits : TBits_1); inline;
  37393. begin
  37394. if thebits = 0 then
  37395. pTDefRegMap(@Self)^.clr := $00000100
  37396. else
  37397. pTDefRegMap(@Self)^.&set := $00000100;
  37398. end;
  37399. function TPCACHE_ANSELB.getANSB8 : TBits_1; inline;
  37400. begin
  37401. getANSB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37402. end;
  37403. procedure TPCACHE_ANSELB.setANSB9; inline;
  37404. begin
  37405. pTDefRegMap(@Self)^.&set := $00000200;
  37406. end;
  37407. procedure TPCACHE_ANSELB.clearANSB9; inline;
  37408. begin
  37409. pTDefRegMap(@Self)^.clr := $00000200;
  37410. end;
  37411. procedure TPCACHE_ANSELB.setANSB9(thebits : TBits_1); inline;
  37412. begin
  37413. if thebits = 0 then
  37414. pTDefRegMap(@Self)^.clr := $00000200
  37415. else
  37416. pTDefRegMap(@Self)^.&set := $00000200;
  37417. end;
  37418. function TPCACHE_ANSELB.getANSB9 : TBits_1; inline;
  37419. begin
  37420. getANSB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37421. end;
  37422. procedure TPCACHE_ANSELB.setANSB10; inline;
  37423. begin
  37424. pTDefRegMap(@Self)^.&set := $00000400;
  37425. end;
  37426. procedure TPCACHE_ANSELB.clearANSB10; inline;
  37427. begin
  37428. pTDefRegMap(@Self)^.clr := $00000400;
  37429. end;
  37430. procedure TPCACHE_ANSELB.setANSB10(thebits : TBits_1); inline;
  37431. begin
  37432. if thebits = 0 then
  37433. pTDefRegMap(@Self)^.clr := $00000400
  37434. else
  37435. pTDefRegMap(@Self)^.&set := $00000400;
  37436. end;
  37437. function TPCACHE_ANSELB.getANSB10 : TBits_1; inline;
  37438. begin
  37439. getANSB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37440. end;
  37441. procedure TPCACHE_ANSELB.setANSB11; inline;
  37442. begin
  37443. pTDefRegMap(@Self)^.&set := $00000800;
  37444. end;
  37445. procedure TPCACHE_ANSELB.clearANSB11; inline;
  37446. begin
  37447. pTDefRegMap(@Self)^.clr := $00000800;
  37448. end;
  37449. procedure TPCACHE_ANSELB.setANSB11(thebits : TBits_1); inline;
  37450. begin
  37451. if thebits = 0 then
  37452. pTDefRegMap(@Self)^.clr := $00000800
  37453. else
  37454. pTDefRegMap(@Self)^.&set := $00000800;
  37455. end;
  37456. function TPCACHE_ANSELB.getANSB11 : TBits_1; inline;
  37457. begin
  37458. getANSB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37459. end;
  37460. procedure TPCACHE_ANSELB.setANSB12; inline;
  37461. begin
  37462. pTDefRegMap(@Self)^.&set := $00001000;
  37463. end;
  37464. procedure TPCACHE_ANSELB.clearANSB12; inline;
  37465. begin
  37466. pTDefRegMap(@Self)^.clr := $00001000;
  37467. end;
  37468. procedure TPCACHE_ANSELB.setANSB12(thebits : TBits_1); inline;
  37469. begin
  37470. if thebits = 0 then
  37471. pTDefRegMap(@Self)^.clr := $00001000
  37472. else
  37473. pTDefRegMap(@Self)^.&set := $00001000;
  37474. end;
  37475. function TPCACHE_ANSELB.getANSB12 : TBits_1; inline;
  37476. begin
  37477. getANSB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37478. end;
  37479. procedure TPCACHE_ANSELB.setANSB13; inline;
  37480. begin
  37481. pTDefRegMap(@Self)^.&set := $00002000;
  37482. end;
  37483. procedure TPCACHE_ANSELB.clearANSB13; inline;
  37484. begin
  37485. pTDefRegMap(@Self)^.clr := $00002000;
  37486. end;
  37487. procedure TPCACHE_ANSELB.setANSB13(thebits : TBits_1); inline;
  37488. begin
  37489. if thebits = 0 then
  37490. pTDefRegMap(@Self)^.clr := $00002000
  37491. else
  37492. pTDefRegMap(@Self)^.&set := $00002000;
  37493. end;
  37494. function TPCACHE_ANSELB.getANSB13 : TBits_1; inline;
  37495. begin
  37496. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37497. end;
  37498. procedure TPCACHE_ANSELB.setANSB14; inline;
  37499. begin
  37500. pTDefRegMap(@Self)^.&set := $00004000;
  37501. end;
  37502. procedure TPCACHE_ANSELB.clearANSB14; inline;
  37503. begin
  37504. pTDefRegMap(@Self)^.clr := $00004000;
  37505. end;
  37506. procedure TPCACHE_ANSELB.setANSB14(thebits : TBits_1); inline;
  37507. begin
  37508. if thebits = 0 then
  37509. pTDefRegMap(@Self)^.clr := $00004000
  37510. else
  37511. pTDefRegMap(@Self)^.&set := $00004000;
  37512. end;
  37513. function TPCACHE_ANSELB.getANSB14 : TBits_1; inline;
  37514. begin
  37515. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37516. end;
  37517. procedure TPCACHE_ANSELB.setANSB15; inline;
  37518. begin
  37519. pTDefRegMap(@Self)^.&set := $00008000;
  37520. end;
  37521. procedure TPCACHE_ANSELB.clearANSB15; inline;
  37522. begin
  37523. pTDefRegMap(@Self)^.clr := $00008000;
  37524. end;
  37525. procedure TPCACHE_ANSELB.setANSB15(thebits : TBits_1); inline;
  37526. begin
  37527. if thebits = 0 then
  37528. pTDefRegMap(@Self)^.clr := $00008000
  37529. else
  37530. pTDefRegMap(@Self)^.&set := $00008000;
  37531. end;
  37532. function TPCACHE_ANSELB.getANSB15 : TBits_1; inline;
  37533. begin
  37534. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37535. end;
  37536. procedure TPCACHE_ANSELB.setw(thebits : TBits_32); inline;
  37537. begin
  37538. pTDefRegMap(@Self)^.val := thebits;
  37539. end;
  37540. function TPCACHE_ANSELB.getw : TBits_32; inline;
  37541. begin
  37542. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37543. end;
  37544. procedure TPCACHE_TRISB.setTRISB0; inline;
  37545. begin
  37546. pTDefRegMap(@Self)^.&set := $00000001;
  37547. end;
  37548. procedure TPCACHE_TRISB.clearTRISB0; inline;
  37549. begin
  37550. pTDefRegMap(@Self)^.clr := $00000001;
  37551. end;
  37552. procedure TPCACHE_TRISB.setTRISB0(thebits : TBits_1); inline;
  37553. begin
  37554. if thebits = 0 then
  37555. pTDefRegMap(@Self)^.clr := $00000001
  37556. else
  37557. pTDefRegMap(@Self)^.&set := $00000001;
  37558. end;
  37559. function TPCACHE_TRISB.getTRISB0 : TBits_1; inline;
  37560. begin
  37561. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37562. end;
  37563. procedure TPCACHE_TRISB.setTRISB1; inline;
  37564. begin
  37565. pTDefRegMap(@Self)^.&set := $00000002;
  37566. end;
  37567. procedure TPCACHE_TRISB.clearTRISB1; inline;
  37568. begin
  37569. pTDefRegMap(@Self)^.clr := $00000002;
  37570. end;
  37571. procedure TPCACHE_TRISB.setTRISB1(thebits : TBits_1); inline;
  37572. begin
  37573. if thebits = 0 then
  37574. pTDefRegMap(@Self)^.clr := $00000002
  37575. else
  37576. pTDefRegMap(@Self)^.&set := $00000002;
  37577. end;
  37578. function TPCACHE_TRISB.getTRISB1 : TBits_1; inline;
  37579. begin
  37580. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37581. end;
  37582. procedure TPCACHE_TRISB.setTRISB2; inline;
  37583. begin
  37584. pTDefRegMap(@Self)^.&set := $00000004;
  37585. end;
  37586. procedure TPCACHE_TRISB.clearTRISB2; inline;
  37587. begin
  37588. pTDefRegMap(@Self)^.clr := $00000004;
  37589. end;
  37590. procedure TPCACHE_TRISB.setTRISB2(thebits : TBits_1); inline;
  37591. begin
  37592. if thebits = 0 then
  37593. pTDefRegMap(@Self)^.clr := $00000004
  37594. else
  37595. pTDefRegMap(@Self)^.&set := $00000004;
  37596. end;
  37597. function TPCACHE_TRISB.getTRISB2 : TBits_1; inline;
  37598. begin
  37599. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37600. end;
  37601. procedure TPCACHE_TRISB.setTRISB3; inline;
  37602. begin
  37603. pTDefRegMap(@Self)^.&set := $00000008;
  37604. end;
  37605. procedure TPCACHE_TRISB.clearTRISB3; inline;
  37606. begin
  37607. pTDefRegMap(@Self)^.clr := $00000008;
  37608. end;
  37609. procedure TPCACHE_TRISB.setTRISB3(thebits : TBits_1); inline;
  37610. begin
  37611. if thebits = 0 then
  37612. pTDefRegMap(@Self)^.clr := $00000008
  37613. else
  37614. pTDefRegMap(@Self)^.&set := $00000008;
  37615. end;
  37616. function TPCACHE_TRISB.getTRISB3 : TBits_1; inline;
  37617. begin
  37618. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37619. end;
  37620. procedure TPCACHE_TRISB.setTRISB4; inline;
  37621. begin
  37622. pTDefRegMap(@Self)^.&set := $00000010;
  37623. end;
  37624. procedure TPCACHE_TRISB.clearTRISB4; inline;
  37625. begin
  37626. pTDefRegMap(@Self)^.clr := $00000010;
  37627. end;
  37628. procedure TPCACHE_TRISB.setTRISB4(thebits : TBits_1); inline;
  37629. begin
  37630. if thebits = 0 then
  37631. pTDefRegMap(@Self)^.clr := $00000010
  37632. else
  37633. pTDefRegMap(@Self)^.&set := $00000010;
  37634. end;
  37635. function TPCACHE_TRISB.getTRISB4 : TBits_1; inline;
  37636. begin
  37637. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37638. end;
  37639. procedure TPCACHE_TRISB.setTRISB5; inline;
  37640. begin
  37641. pTDefRegMap(@Self)^.&set := $00000020;
  37642. end;
  37643. procedure TPCACHE_TRISB.clearTRISB5; inline;
  37644. begin
  37645. pTDefRegMap(@Self)^.clr := $00000020;
  37646. end;
  37647. procedure TPCACHE_TRISB.setTRISB5(thebits : TBits_1); inline;
  37648. begin
  37649. if thebits = 0 then
  37650. pTDefRegMap(@Self)^.clr := $00000020
  37651. else
  37652. pTDefRegMap(@Self)^.&set := $00000020;
  37653. end;
  37654. function TPCACHE_TRISB.getTRISB5 : TBits_1; inline;
  37655. begin
  37656. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37657. end;
  37658. procedure TPCACHE_TRISB.setTRISB6; inline;
  37659. begin
  37660. pTDefRegMap(@Self)^.&set := $00000040;
  37661. end;
  37662. procedure TPCACHE_TRISB.clearTRISB6; inline;
  37663. begin
  37664. pTDefRegMap(@Self)^.clr := $00000040;
  37665. end;
  37666. procedure TPCACHE_TRISB.setTRISB6(thebits : TBits_1); inline;
  37667. begin
  37668. if thebits = 0 then
  37669. pTDefRegMap(@Self)^.clr := $00000040
  37670. else
  37671. pTDefRegMap(@Self)^.&set := $00000040;
  37672. end;
  37673. function TPCACHE_TRISB.getTRISB6 : TBits_1; inline;
  37674. begin
  37675. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37676. end;
  37677. procedure TPCACHE_TRISB.setTRISB7; inline;
  37678. begin
  37679. pTDefRegMap(@Self)^.&set := $00000080;
  37680. end;
  37681. procedure TPCACHE_TRISB.clearTRISB7; inline;
  37682. begin
  37683. pTDefRegMap(@Self)^.clr := $00000080;
  37684. end;
  37685. procedure TPCACHE_TRISB.setTRISB7(thebits : TBits_1); inline;
  37686. begin
  37687. if thebits = 0 then
  37688. pTDefRegMap(@Self)^.clr := $00000080
  37689. else
  37690. pTDefRegMap(@Self)^.&set := $00000080;
  37691. end;
  37692. function TPCACHE_TRISB.getTRISB7 : TBits_1; inline;
  37693. begin
  37694. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37695. end;
  37696. procedure TPCACHE_TRISB.setTRISB8; inline;
  37697. begin
  37698. pTDefRegMap(@Self)^.&set := $00000100;
  37699. end;
  37700. procedure TPCACHE_TRISB.clearTRISB8; inline;
  37701. begin
  37702. pTDefRegMap(@Self)^.clr := $00000100;
  37703. end;
  37704. procedure TPCACHE_TRISB.setTRISB8(thebits : TBits_1); inline;
  37705. begin
  37706. if thebits = 0 then
  37707. pTDefRegMap(@Self)^.clr := $00000100
  37708. else
  37709. pTDefRegMap(@Self)^.&set := $00000100;
  37710. end;
  37711. function TPCACHE_TRISB.getTRISB8 : TBits_1; inline;
  37712. begin
  37713. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37714. end;
  37715. procedure TPCACHE_TRISB.setTRISB9; inline;
  37716. begin
  37717. pTDefRegMap(@Self)^.&set := $00000200;
  37718. end;
  37719. procedure TPCACHE_TRISB.clearTRISB9; inline;
  37720. begin
  37721. pTDefRegMap(@Self)^.clr := $00000200;
  37722. end;
  37723. procedure TPCACHE_TRISB.setTRISB9(thebits : TBits_1); inline;
  37724. begin
  37725. if thebits = 0 then
  37726. pTDefRegMap(@Self)^.clr := $00000200
  37727. else
  37728. pTDefRegMap(@Self)^.&set := $00000200;
  37729. end;
  37730. function TPCACHE_TRISB.getTRISB9 : TBits_1; inline;
  37731. begin
  37732. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37733. end;
  37734. procedure TPCACHE_TRISB.setTRISB10; inline;
  37735. begin
  37736. pTDefRegMap(@Self)^.&set := $00000400;
  37737. end;
  37738. procedure TPCACHE_TRISB.clearTRISB10; inline;
  37739. begin
  37740. pTDefRegMap(@Self)^.clr := $00000400;
  37741. end;
  37742. procedure TPCACHE_TRISB.setTRISB10(thebits : TBits_1); inline;
  37743. begin
  37744. if thebits = 0 then
  37745. pTDefRegMap(@Self)^.clr := $00000400
  37746. else
  37747. pTDefRegMap(@Self)^.&set := $00000400;
  37748. end;
  37749. function TPCACHE_TRISB.getTRISB10 : TBits_1; inline;
  37750. begin
  37751. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37752. end;
  37753. procedure TPCACHE_TRISB.setTRISB11; inline;
  37754. begin
  37755. pTDefRegMap(@Self)^.&set := $00000800;
  37756. end;
  37757. procedure TPCACHE_TRISB.clearTRISB11; inline;
  37758. begin
  37759. pTDefRegMap(@Self)^.clr := $00000800;
  37760. end;
  37761. procedure TPCACHE_TRISB.setTRISB11(thebits : TBits_1); inline;
  37762. begin
  37763. if thebits = 0 then
  37764. pTDefRegMap(@Self)^.clr := $00000800
  37765. else
  37766. pTDefRegMap(@Self)^.&set := $00000800;
  37767. end;
  37768. function TPCACHE_TRISB.getTRISB11 : TBits_1; inline;
  37769. begin
  37770. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37771. end;
  37772. procedure TPCACHE_TRISB.setTRISB12; inline;
  37773. begin
  37774. pTDefRegMap(@Self)^.&set := $00001000;
  37775. end;
  37776. procedure TPCACHE_TRISB.clearTRISB12; inline;
  37777. begin
  37778. pTDefRegMap(@Self)^.clr := $00001000;
  37779. end;
  37780. procedure TPCACHE_TRISB.setTRISB12(thebits : TBits_1); inline;
  37781. begin
  37782. if thebits = 0 then
  37783. pTDefRegMap(@Self)^.clr := $00001000
  37784. else
  37785. pTDefRegMap(@Self)^.&set := $00001000;
  37786. end;
  37787. function TPCACHE_TRISB.getTRISB12 : TBits_1; inline;
  37788. begin
  37789. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37790. end;
  37791. procedure TPCACHE_TRISB.setTRISB13; inline;
  37792. begin
  37793. pTDefRegMap(@Self)^.&set := $00002000;
  37794. end;
  37795. procedure TPCACHE_TRISB.clearTRISB13; inline;
  37796. begin
  37797. pTDefRegMap(@Self)^.clr := $00002000;
  37798. end;
  37799. procedure TPCACHE_TRISB.setTRISB13(thebits : TBits_1); inline;
  37800. begin
  37801. if thebits = 0 then
  37802. pTDefRegMap(@Self)^.clr := $00002000
  37803. else
  37804. pTDefRegMap(@Self)^.&set := $00002000;
  37805. end;
  37806. function TPCACHE_TRISB.getTRISB13 : TBits_1; inline;
  37807. begin
  37808. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37809. end;
  37810. procedure TPCACHE_TRISB.setTRISB14; inline;
  37811. begin
  37812. pTDefRegMap(@Self)^.&set := $00004000;
  37813. end;
  37814. procedure TPCACHE_TRISB.clearTRISB14; inline;
  37815. begin
  37816. pTDefRegMap(@Self)^.clr := $00004000;
  37817. end;
  37818. procedure TPCACHE_TRISB.setTRISB14(thebits : TBits_1); inline;
  37819. begin
  37820. if thebits = 0 then
  37821. pTDefRegMap(@Self)^.clr := $00004000
  37822. else
  37823. pTDefRegMap(@Self)^.&set := $00004000;
  37824. end;
  37825. function TPCACHE_TRISB.getTRISB14 : TBits_1; inline;
  37826. begin
  37827. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37828. end;
  37829. procedure TPCACHE_TRISB.setTRISB15; inline;
  37830. begin
  37831. pTDefRegMap(@Self)^.&set := $00008000;
  37832. end;
  37833. procedure TPCACHE_TRISB.clearTRISB15; inline;
  37834. begin
  37835. pTDefRegMap(@Self)^.clr := $00008000;
  37836. end;
  37837. procedure TPCACHE_TRISB.setTRISB15(thebits : TBits_1); inline;
  37838. begin
  37839. if thebits = 0 then
  37840. pTDefRegMap(@Self)^.clr := $00008000
  37841. else
  37842. pTDefRegMap(@Self)^.&set := $00008000;
  37843. end;
  37844. function TPCACHE_TRISB.getTRISB15 : TBits_1; inline;
  37845. begin
  37846. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37847. end;
  37848. procedure TPCACHE_TRISB.setw(thebits : TBits_32); inline;
  37849. begin
  37850. pTDefRegMap(@Self)^.val := thebits;
  37851. end;
  37852. function TPCACHE_TRISB.getw : TBits_32; inline;
  37853. begin
  37854. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37855. end;
  37856. procedure TPORTB_PORTB.setRB0; inline;
  37857. begin
  37858. pTDefRegMap(@Self)^.&set := $00000001;
  37859. end;
  37860. procedure TPORTB_PORTB.clearRB0; inline;
  37861. begin
  37862. pTDefRegMap(@Self)^.clr := $00000001;
  37863. end;
  37864. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  37865. begin
  37866. if thebits = 0 then
  37867. pTDefRegMap(@Self)^.clr := $00000001
  37868. else
  37869. pTDefRegMap(@Self)^.&set := $00000001;
  37870. end;
  37871. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  37872. begin
  37873. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37874. end;
  37875. procedure TPORTB_PORTB.setRB1; inline;
  37876. begin
  37877. pTDefRegMap(@Self)^.&set := $00000002;
  37878. end;
  37879. procedure TPORTB_PORTB.clearRB1; inline;
  37880. begin
  37881. pTDefRegMap(@Self)^.clr := $00000002;
  37882. end;
  37883. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  37884. begin
  37885. if thebits = 0 then
  37886. pTDefRegMap(@Self)^.clr := $00000002
  37887. else
  37888. pTDefRegMap(@Self)^.&set := $00000002;
  37889. end;
  37890. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  37891. begin
  37892. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37893. end;
  37894. procedure TPORTB_PORTB.setRB2; inline;
  37895. begin
  37896. pTDefRegMap(@Self)^.&set := $00000004;
  37897. end;
  37898. procedure TPORTB_PORTB.clearRB2; inline;
  37899. begin
  37900. pTDefRegMap(@Self)^.clr := $00000004;
  37901. end;
  37902. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  37903. begin
  37904. if thebits = 0 then
  37905. pTDefRegMap(@Self)^.clr := $00000004
  37906. else
  37907. pTDefRegMap(@Self)^.&set := $00000004;
  37908. end;
  37909. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  37910. begin
  37911. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37912. end;
  37913. procedure TPORTB_PORTB.setRB3; inline;
  37914. begin
  37915. pTDefRegMap(@Self)^.&set := $00000008;
  37916. end;
  37917. procedure TPORTB_PORTB.clearRB3; inline;
  37918. begin
  37919. pTDefRegMap(@Self)^.clr := $00000008;
  37920. end;
  37921. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  37922. begin
  37923. if thebits = 0 then
  37924. pTDefRegMap(@Self)^.clr := $00000008
  37925. else
  37926. pTDefRegMap(@Self)^.&set := $00000008;
  37927. end;
  37928. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  37929. begin
  37930. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37931. end;
  37932. procedure TPORTB_PORTB.setRB4; inline;
  37933. begin
  37934. pTDefRegMap(@Self)^.&set := $00000010;
  37935. end;
  37936. procedure TPORTB_PORTB.clearRB4; inline;
  37937. begin
  37938. pTDefRegMap(@Self)^.clr := $00000010;
  37939. end;
  37940. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  37941. begin
  37942. if thebits = 0 then
  37943. pTDefRegMap(@Self)^.clr := $00000010
  37944. else
  37945. pTDefRegMap(@Self)^.&set := $00000010;
  37946. end;
  37947. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  37948. begin
  37949. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37950. end;
  37951. procedure TPORTB_PORTB.setRB5; inline;
  37952. begin
  37953. pTDefRegMap(@Self)^.&set := $00000020;
  37954. end;
  37955. procedure TPORTB_PORTB.clearRB5; inline;
  37956. begin
  37957. pTDefRegMap(@Self)^.clr := $00000020;
  37958. end;
  37959. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  37960. begin
  37961. if thebits = 0 then
  37962. pTDefRegMap(@Self)^.clr := $00000020
  37963. else
  37964. pTDefRegMap(@Self)^.&set := $00000020;
  37965. end;
  37966. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  37967. begin
  37968. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37969. end;
  37970. procedure TPORTB_PORTB.setRB6; inline;
  37971. begin
  37972. pTDefRegMap(@Self)^.&set := $00000040;
  37973. end;
  37974. procedure TPORTB_PORTB.clearRB6; inline;
  37975. begin
  37976. pTDefRegMap(@Self)^.clr := $00000040;
  37977. end;
  37978. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  37979. begin
  37980. if thebits = 0 then
  37981. pTDefRegMap(@Self)^.clr := $00000040
  37982. else
  37983. pTDefRegMap(@Self)^.&set := $00000040;
  37984. end;
  37985. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  37986. begin
  37987. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37988. end;
  37989. procedure TPORTB_PORTB.setRB7; inline;
  37990. begin
  37991. pTDefRegMap(@Self)^.&set := $00000080;
  37992. end;
  37993. procedure TPORTB_PORTB.clearRB7; inline;
  37994. begin
  37995. pTDefRegMap(@Self)^.clr := $00000080;
  37996. end;
  37997. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  37998. begin
  37999. if thebits = 0 then
  38000. pTDefRegMap(@Self)^.clr := $00000080
  38001. else
  38002. pTDefRegMap(@Self)^.&set := $00000080;
  38003. end;
  38004. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  38005. begin
  38006. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38007. end;
  38008. procedure TPORTB_PORTB.setRB8; inline;
  38009. begin
  38010. pTDefRegMap(@Self)^.&set := $00000100;
  38011. end;
  38012. procedure TPORTB_PORTB.clearRB8; inline;
  38013. begin
  38014. pTDefRegMap(@Self)^.clr := $00000100;
  38015. end;
  38016. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  38017. begin
  38018. if thebits = 0 then
  38019. pTDefRegMap(@Self)^.clr := $00000100
  38020. else
  38021. pTDefRegMap(@Self)^.&set := $00000100;
  38022. end;
  38023. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  38024. begin
  38025. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38026. end;
  38027. procedure TPORTB_PORTB.setRB9; inline;
  38028. begin
  38029. pTDefRegMap(@Self)^.&set := $00000200;
  38030. end;
  38031. procedure TPORTB_PORTB.clearRB9; inline;
  38032. begin
  38033. pTDefRegMap(@Self)^.clr := $00000200;
  38034. end;
  38035. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  38036. begin
  38037. if thebits = 0 then
  38038. pTDefRegMap(@Self)^.clr := $00000200
  38039. else
  38040. pTDefRegMap(@Self)^.&set := $00000200;
  38041. end;
  38042. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  38043. begin
  38044. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38045. end;
  38046. procedure TPORTB_PORTB.setRB10; inline;
  38047. begin
  38048. pTDefRegMap(@Self)^.&set := $00000400;
  38049. end;
  38050. procedure TPORTB_PORTB.clearRB10; inline;
  38051. begin
  38052. pTDefRegMap(@Self)^.clr := $00000400;
  38053. end;
  38054. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  38055. begin
  38056. if thebits = 0 then
  38057. pTDefRegMap(@Self)^.clr := $00000400
  38058. else
  38059. pTDefRegMap(@Self)^.&set := $00000400;
  38060. end;
  38061. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  38062. begin
  38063. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38064. end;
  38065. procedure TPORTB_PORTB.setRB11; inline;
  38066. begin
  38067. pTDefRegMap(@Self)^.&set := $00000800;
  38068. end;
  38069. procedure TPORTB_PORTB.clearRB11; inline;
  38070. begin
  38071. pTDefRegMap(@Self)^.clr := $00000800;
  38072. end;
  38073. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  38074. begin
  38075. if thebits = 0 then
  38076. pTDefRegMap(@Self)^.clr := $00000800
  38077. else
  38078. pTDefRegMap(@Self)^.&set := $00000800;
  38079. end;
  38080. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  38081. begin
  38082. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38083. end;
  38084. procedure TPORTB_PORTB.setRB12; inline;
  38085. begin
  38086. pTDefRegMap(@Self)^.&set := $00001000;
  38087. end;
  38088. procedure TPORTB_PORTB.clearRB12; inline;
  38089. begin
  38090. pTDefRegMap(@Self)^.clr := $00001000;
  38091. end;
  38092. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  38093. begin
  38094. if thebits = 0 then
  38095. pTDefRegMap(@Self)^.clr := $00001000
  38096. else
  38097. pTDefRegMap(@Self)^.&set := $00001000;
  38098. end;
  38099. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  38100. begin
  38101. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38102. end;
  38103. procedure TPORTB_PORTB.setRB13; inline;
  38104. begin
  38105. pTDefRegMap(@Self)^.&set := $00002000;
  38106. end;
  38107. procedure TPORTB_PORTB.clearRB13; inline;
  38108. begin
  38109. pTDefRegMap(@Self)^.clr := $00002000;
  38110. end;
  38111. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  38112. begin
  38113. if thebits = 0 then
  38114. pTDefRegMap(@Self)^.clr := $00002000
  38115. else
  38116. pTDefRegMap(@Self)^.&set := $00002000;
  38117. end;
  38118. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  38119. begin
  38120. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38121. end;
  38122. procedure TPORTB_PORTB.setRB14; inline;
  38123. begin
  38124. pTDefRegMap(@Self)^.&set := $00004000;
  38125. end;
  38126. procedure TPORTB_PORTB.clearRB14; inline;
  38127. begin
  38128. pTDefRegMap(@Self)^.clr := $00004000;
  38129. end;
  38130. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  38131. begin
  38132. if thebits = 0 then
  38133. pTDefRegMap(@Self)^.clr := $00004000
  38134. else
  38135. pTDefRegMap(@Self)^.&set := $00004000;
  38136. end;
  38137. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  38138. begin
  38139. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38140. end;
  38141. procedure TPORTB_PORTB.setRB15; inline;
  38142. begin
  38143. pTDefRegMap(@Self)^.&set := $00008000;
  38144. end;
  38145. procedure TPORTB_PORTB.clearRB15; inline;
  38146. begin
  38147. pTDefRegMap(@Self)^.clr := $00008000;
  38148. end;
  38149. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  38150. begin
  38151. if thebits = 0 then
  38152. pTDefRegMap(@Self)^.clr := $00008000
  38153. else
  38154. pTDefRegMap(@Self)^.&set := $00008000;
  38155. end;
  38156. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  38157. begin
  38158. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38159. end;
  38160. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  38161. begin
  38162. pTDefRegMap(@Self)^.val := thebits;
  38163. end;
  38164. function TPORTB_PORTB.getw : TBits_32; inline;
  38165. begin
  38166. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38167. end;
  38168. procedure TPORTB_LATB.setLATB0; inline;
  38169. begin
  38170. pTDefRegMap(@Self)^.&set := $00000001;
  38171. end;
  38172. procedure TPORTB_LATB.clearLATB0; inline;
  38173. begin
  38174. pTDefRegMap(@Self)^.clr := $00000001;
  38175. end;
  38176. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  38177. begin
  38178. if thebits = 0 then
  38179. pTDefRegMap(@Self)^.clr := $00000001
  38180. else
  38181. pTDefRegMap(@Self)^.&set := $00000001;
  38182. end;
  38183. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  38184. begin
  38185. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38186. end;
  38187. procedure TPORTB_LATB.setLATB1; inline;
  38188. begin
  38189. pTDefRegMap(@Self)^.&set := $00000002;
  38190. end;
  38191. procedure TPORTB_LATB.clearLATB1; inline;
  38192. begin
  38193. pTDefRegMap(@Self)^.clr := $00000002;
  38194. end;
  38195. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  38196. begin
  38197. if thebits = 0 then
  38198. pTDefRegMap(@Self)^.clr := $00000002
  38199. else
  38200. pTDefRegMap(@Self)^.&set := $00000002;
  38201. end;
  38202. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  38203. begin
  38204. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38205. end;
  38206. procedure TPORTB_LATB.setLATB2; inline;
  38207. begin
  38208. pTDefRegMap(@Self)^.&set := $00000004;
  38209. end;
  38210. procedure TPORTB_LATB.clearLATB2; inline;
  38211. begin
  38212. pTDefRegMap(@Self)^.clr := $00000004;
  38213. end;
  38214. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  38215. begin
  38216. if thebits = 0 then
  38217. pTDefRegMap(@Self)^.clr := $00000004
  38218. else
  38219. pTDefRegMap(@Self)^.&set := $00000004;
  38220. end;
  38221. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  38222. begin
  38223. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38224. end;
  38225. procedure TPORTB_LATB.setLATB3; inline;
  38226. begin
  38227. pTDefRegMap(@Self)^.&set := $00000008;
  38228. end;
  38229. procedure TPORTB_LATB.clearLATB3; inline;
  38230. begin
  38231. pTDefRegMap(@Self)^.clr := $00000008;
  38232. end;
  38233. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  38234. begin
  38235. if thebits = 0 then
  38236. pTDefRegMap(@Self)^.clr := $00000008
  38237. else
  38238. pTDefRegMap(@Self)^.&set := $00000008;
  38239. end;
  38240. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  38241. begin
  38242. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38243. end;
  38244. procedure TPORTB_LATB.setLATB4; inline;
  38245. begin
  38246. pTDefRegMap(@Self)^.&set := $00000010;
  38247. end;
  38248. procedure TPORTB_LATB.clearLATB4; inline;
  38249. begin
  38250. pTDefRegMap(@Self)^.clr := $00000010;
  38251. end;
  38252. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  38253. begin
  38254. if thebits = 0 then
  38255. pTDefRegMap(@Self)^.clr := $00000010
  38256. else
  38257. pTDefRegMap(@Self)^.&set := $00000010;
  38258. end;
  38259. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  38260. begin
  38261. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38262. end;
  38263. procedure TPORTB_LATB.setLATB5; inline;
  38264. begin
  38265. pTDefRegMap(@Self)^.&set := $00000020;
  38266. end;
  38267. procedure TPORTB_LATB.clearLATB5; inline;
  38268. begin
  38269. pTDefRegMap(@Self)^.clr := $00000020;
  38270. end;
  38271. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  38272. begin
  38273. if thebits = 0 then
  38274. pTDefRegMap(@Self)^.clr := $00000020
  38275. else
  38276. pTDefRegMap(@Self)^.&set := $00000020;
  38277. end;
  38278. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  38279. begin
  38280. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38281. end;
  38282. procedure TPORTB_LATB.setLATB6; inline;
  38283. begin
  38284. pTDefRegMap(@Self)^.&set := $00000040;
  38285. end;
  38286. procedure TPORTB_LATB.clearLATB6; inline;
  38287. begin
  38288. pTDefRegMap(@Self)^.clr := $00000040;
  38289. end;
  38290. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  38291. begin
  38292. if thebits = 0 then
  38293. pTDefRegMap(@Self)^.clr := $00000040
  38294. else
  38295. pTDefRegMap(@Self)^.&set := $00000040;
  38296. end;
  38297. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  38298. begin
  38299. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38300. end;
  38301. procedure TPORTB_LATB.setLATB7; inline;
  38302. begin
  38303. pTDefRegMap(@Self)^.&set := $00000080;
  38304. end;
  38305. procedure TPORTB_LATB.clearLATB7; inline;
  38306. begin
  38307. pTDefRegMap(@Self)^.clr := $00000080;
  38308. end;
  38309. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  38310. begin
  38311. if thebits = 0 then
  38312. pTDefRegMap(@Self)^.clr := $00000080
  38313. else
  38314. pTDefRegMap(@Self)^.&set := $00000080;
  38315. end;
  38316. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  38317. begin
  38318. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38319. end;
  38320. procedure TPORTB_LATB.setLATB8; inline;
  38321. begin
  38322. pTDefRegMap(@Self)^.&set := $00000100;
  38323. end;
  38324. procedure TPORTB_LATB.clearLATB8; inline;
  38325. begin
  38326. pTDefRegMap(@Self)^.clr := $00000100;
  38327. end;
  38328. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  38329. begin
  38330. if thebits = 0 then
  38331. pTDefRegMap(@Self)^.clr := $00000100
  38332. else
  38333. pTDefRegMap(@Self)^.&set := $00000100;
  38334. end;
  38335. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  38336. begin
  38337. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38338. end;
  38339. procedure TPORTB_LATB.setLATB9; inline;
  38340. begin
  38341. pTDefRegMap(@Self)^.&set := $00000200;
  38342. end;
  38343. procedure TPORTB_LATB.clearLATB9; inline;
  38344. begin
  38345. pTDefRegMap(@Self)^.clr := $00000200;
  38346. end;
  38347. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  38348. begin
  38349. if thebits = 0 then
  38350. pTDefRegMap(@Self)^.clr := $00000200
  38351. else
  38352. pTDefRegMap(@Self)^.&set := $00000200;
  38353. end;
  38354. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  38355. begin
  38356. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38357. end;
  38358. procedure TPORTB_LATB.setLATB10; inline;
  38359. begin
  38360. pTDefRegMap(@Self)^.&set := $00000400;
  38361. end;
  38362. procedure TPORTB_LATB.clearLATB10; inline;
  38363. begin
  38364. pTDefRegMap(@Self)^.clr := $00000400;
  38365. end;
  38366. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  38367. begin
  38368. if thebits = 0 then
  38369. pTDefRegMap(@Self)^.clr := $00000400
  38370. else
  38371. pTDefRegMap(@Self)^.&set := $00000400;
  38372. end;
  38373. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  38374. begin
  38375. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38376. end;
  38377. procedure TPORTB_LATB.setLATB11; inline;
  38378. begin
  38379. pTDefRegMap(@Self)^.&set := $00000800;
  38380. end;
  38381. procedure TPORTB_LATB.clearLATB11; inline;
  38382. begin
  38383. pTDefRegMap(@Self)^.clr := $00000800;
  38384. end;
  38385. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  38386. begin
  38387. if thebits = 0 then
  38388. pTDefRegMap(@Self)^.clr := $00000800
  38389. else
  38390. pTDefRegMap(@Self)^.&set := $00000800;
  38391. end;
  38392. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  38393. begin
  38394. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38395. end;
  38396. procedure TPORTB_LATB.setLATB12; inline;
  38397. begin
  38398. pTDefRegMap(@Self)^.&set := $00001000;
  38399. end;
  38400. procedure TPORTB_LATB.clearLATB12; inline;
  38401. begin
  38402. pTDefRegMap(@Self)^.clr := $00001000;
  38403. end;
  38404. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  38405. begin
  38406. if thebits = 0 then
  38407. pTDefRegMap(@Self)^.clr := $00001000
  38408. else
  38409. pTDefRegMap(@Self)^.&set := $00001000;
  38410. end;
  38411. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  38412. begin
  38413. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38414. end;
  38415. procedure TPORTB_LATB.setLATB13; inline;
  38416. begin
  38417. pTDefRegMap(@Self)^.&set := $00002000;
  38418. end;
  38419. procedure TPORTB_LATB.clearLATB13; inline;
  38420. begin
  38421. pTDefRegMap(@Self)^.clr := $00002000;
  38422. end;
  38423. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  38424. begin
  38425. if thebits = 0 then
  38426. pTDefRegMap(@Self)^.clr := $00002000
  38427. else
  38428. pTDefRegMap(@Self)^.&set := $00002000;
  38429. end;
  38430. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  38431. begin
  38432. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38433. end;
  38434. procedure TPORTB_LATB.setLATB14; inline;
  38435. begin
  38436. pTDefRegMap(@Self)^.&set := $00004000;
  38437. end;
  38438. procedure TPORTB_LATB.clearLATB14; inline;
  38439. begin
  38440. pTDefRegMap(@Self)^.clr := $00004000;
  38441. end;
  38442. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  38443. begin
  38444. if thebits = 0 then
  38445. pTDefRegMap(@Self)^.clr := $00004000
  38446. else
  38447. pTDefRegMap(@Self)^.&set := $00004000;
  38448. end;
  38449. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  38450. begin
  38451. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38452. end;
  38453. procedure TPORTB_LATB.setLATB15; inline;
  38454. begin
  38455. pTDefRegMap(@Self)^.&set := $00008000;
  38456. end;
  38457. procedure TPORTB_LATB.clearLATB15; inline;
  38458. begin
  38459. pTDefRegMap(@Self)^.clr := $00008000;
  38460. end;
  38461. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  38462. begin
  38463. if thebits = 0 then
  38464. pTDefRegMap(@Self)^.clr := $00008000
  38465. else
  38466. pTDefRegMap(@Self)^.&set := $00008000;
  38467. end;
  38468. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  38469. begin
  38470. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38471. end;
  38472. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  38473. begin
  38474. pTDefRegMap(@Self)^.val := thebits;
  38475. end;
  38476. function TPORTB_LATB.getw : TBits_32; inline;
  38477. begin
  38478. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38479. end;
  38480. procedure TPORTB_ODCB.setODCB0; inline;
  38481. begin
  38482. pTDefRegMap(@Self)^.&set := $00000001;
  38483. end;
  38484. procedure TPORTB_ODCB.clearODCB0; inline;
  38485. begin
  38486. pTDefRegMap(@Self)^.clr := $00000001;
  38487. end;
  38488. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  38489. begin
  38490. if thebits = 0 then
  38491. pTDefRegMap(@Self)^.clr := $00000001
  38492. else
  38493. pTDefRegMap(@Self)^.&set := $00000001;
  38494. end;
  38495. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  38496. begin
  38497. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38498. end;
  38499. procedure TPORTB_ODCB.setODCB1; inline;
  38500. begin
  38501. pTDefRegMap(@Self)^.&set := $00000002;
  38502. end;
  38503. procedure TPORTB_ODCB.clearODCB1; inline;
  38504. begin
  38505. pTDefRegMap(@Self)^.clr := $00000002;
  38506. end;
  38507. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  38508. begin
  38509. if thebits = 0 then
  38510. pTDefRegMap(@Self)^.clr := $00000002
  38511. else
  38512. pTDefRegMap(@Self)^.&set := $00000002;
  38513. end;
  38514. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  38515. begin
  38516. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38517. end;
  38518. procedure TPORTB_ODCB.setODCB2; inline;
  38519. begin
  38520. pTDefRegMap(@Self)^.&set := $00000004;
  38521. end;
  38522. procedure TPORTB_ODCB.clearODCB2; inline;
  38523. begin
  38524. pTDefRegMap(@Self)^.clr := $00000004;
  38525. end;
  38526. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  38527. begin
  38528. if thebits = 0 then
  38529. pTDefRegMap(@Self)^.clr := $00000004
  38530. else
  38531. pTDefRegMap(@Self)^.&set := $00000004;
  38532. end;
  38533. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  38534. begin
  38535. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38536. end;
  38537. procedure TPORTB_ODCB.setODCB3; inline;
  38538. begin
  38539. pTDefRegMap(@Self)^.&set := $00000008;
  38540. end;
  38541. procedure TPORTB_ODCB.clearODCB3; inline;
  38542. begin
  38543. pTDefRegMap(@Self)^.clr := $00000008;
  38544. end;
  38545. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  38546. begin
  38547. if thebits = 0 then
  38548. pTDefRegMap(@Self)^.clr := $00000008
  38549. else
  38550. pTDefRegMap(@Self)^.&set := $00000008;
  38551. end;
  38552. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  38553. begin
  38554. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38555. end;
  38556. procedure TPORTB_ODCB.setODCB4; inline;
  38557. begin
  38558. pTDefRegMap(@Self)^.&set := $00000010;
  38559. end;
  38560. procedure TPORTB_ODCB.clearODCB4; inline;
  38561. begin
  38562. pTDefRegMap(@Self)^.clr := $00000010;
  38563. end;
  38564. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  38565. begin
  38566. if thebits = 0 then
  38567. pTDefRegMap(@Self)^.clr := $00000010
  38568. else
  38569. pTDefRegMap(@Self)^.&set := $00000010;
  38570. end;
  38571. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  38572. begin
  38573. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38574. end;
  38575. procedure TPORTB_ODCB.setODCB5; inline;
  38576. begin
  38577. pTDefRegMap(@Self)^.&set := $00000020;
  38578. end;
  38579. procedure TPORTB_ODCB.clearODCB5; inline;
  38580. begin
  38581. pTDefRegMap(@Self)^.clr := $00000020;
  38582. end;
  38583. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  38584. begin
  38585. if thebits = 0 then
  38586. pTDefRegMap(@Self)^.clr := $00000020
  38587. else
  38588. pTDefRegMap(@Self)^.&set := $00000020;
  38589. end;
  38590. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  38591. begin
  38592. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38593. end;
  38594. procedure TPORTB_ODCB.setODCB6; inline;
  38595. begin
  38596. pTDefRegMap(@Self)^.&set := $00000040;
  38597. end;
  38598. procedure TPORTB_ODCB.clearODCB6; inline;
  38599. begin
  38600. pTDefRegMap(@Self)^.clr := $00000040;
  38601. end;
  38602. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  38603. begin
  38604. if thebits = 0 then
  38605. pTDefRegMap(@Self)^.clr := $00000040
  38606. else
  38607. pTDefRegMap(@Self)^.&set := $00000040;
  38608. end;
  38609. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  38610. begin
  38611. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38612. end;
  38613. procedure TPORTB_ODCB.setODCB7; inline;
  38614. begin
  38615. pTDefRegMap(@Self)^.&set := $00000080;
  38616. end;
  38617. procedure TPORTB_ODCB.clearODCB7; inline;
  38618. begin
  38619. pTDefRegMap(@Self)^.clr := $00000080;
  38620. end;
  38621. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  38622. begin
  38623. if thebits = 0 then
  38624. pTDefRegMap(@Self)^.clr := $00000080
  38625. else
  38626. pTDefRegMap(@Self)^.&set := $00000080;
  38627. end;
  38628. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  38629. begin
  38630. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38631. end;
  38632. procedure TPORTB_ODCB.setODCB8; inline;
  38633. begin
  38634. pTDefRegMap(@Self)^.&set := $00000100;
  38635. end;
  38636. procedure TPORTB_ODCB.clearODCB8; inline;
  38637. begin
  38638. pTDefRegMap(@Self)^.clr := $00000100;
  38639. end;
  38640. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  38641. begin
  38642. if thebits = 0 then
  38643. pTDefRegMap(@Self)^.clr := $00000100
  38644. else
  38645. pTDefRegMap(@Self)^.&set := $00000100;
  38646. end;
  38647. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  38648. begin
  38649. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38650. end;
  38651. procedure TPORTB_ODCB.setODCB9; inline;
  38652. begin
  38653. pTDefRegMap(@Self)^.&set := $00000200;
  38654. end;
  38655. procedure TPORTB_ODCB.clearODCB9; inline;
  38656. begin
  38657. pTDefRegMap(@Self)^.clr := $00000200;
  38658. end;
  38659. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  38660. begin
  38661. if thebits = 0 then
  38662. pTDefRegMap(@Self)^.clr := $00000200
  38663. else
  38664. pTDefRegMap(@Self)^.&set := $00000200;
  38665. end;
  38666. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  38667. begin
  38668. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38669. end;
  38670. procedure TPORTB_ODCB.setODCB10; inline;
  38671. begin
  38672. pTDefRegMap(@Self)^.&set := $00000400;
  38673. end;
  38674. procedure TPORTB_ODCB.clearODCB10; inline;
  38675. begin
  38676. pTDefRegMap(@Self)^.clr := $00000400;
  38677. end;
  38678. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  38679. begin
  38680. if thebits = 0 then
  38681. pTDefRegMap(@Self)^.clr := $00000400
  38682. else
  38683. pTDefRegMap(@Self)^.&set := $00000400;
  38684. end;
  38685. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  38686. begin
  38687. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38688. end;
  38689. procedure TPORTB_ODCB.setODCB11; inline;
  38690. begin
  38691. pTDefRegMap(@Self)^.&set := $00000800;
  38692. end;
  38693. procedure TPORTB_ODCB.clearODCB11; inline;
  38694. begin
  38695. pTDefRegMap(@Self)^.clr := $00000800;
  38696. end;
  38697. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  38698. begin
  38699. if thebits = 0 then
  38700. pTDefRegMap(@Self)^.clr := $00000800
  38701. else
  38702. pTDefRegMap(@Self)^.&set := $00000800;
  38703. end;
  38704. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  38705. begin
  38706. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38707. end;
  38708. procedure TPORTB_ODCB.setODCB12; inline;
  38709. begin
  38710. pTDefRegMap(@Self)^.&set := $00001000;
  38711. end;
  38712. procedure TPORTB_ODCB.clearODCB12; inline;
  38713. begin
  38714. pTDefRegMap(@Self)^.clr := $00001000;
  38715. end;
  38716. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  38717. begin
  38718. if thebits = 0 then
  38719. pTDefRegMap(@Self)^.clr := $00001000
  38720. else
  38721. pTDefRegMap(@Self)^.&set := $00001000;
  38722. end;
  38723. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  38724. begin
  38725. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38726. end;
  38727. procedure TPORTB_ODCB.setODCB13; inline;
  38728. begin
  38729. pTDefRegMap(@Self)^.&set := $00002000;
  38730. end;
  38731. procedure TPORTB_ODCB.clearODCB13; inline;
  38732. begin
  38733. pTDefRegMap(@Self)^.clr := $00002000;
  38734. end;
  38735. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  38736. begin
  38737. if thebits = 0 then
  38738. pTDefRegMap(@Self)^.clr := $00002000
  38739. else
  38740. pTDefRegMap(@Self)^.&set := $00002000;
  38741. end;
  38742. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  38743. begin
  38744. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38745. end;
  38746. procedure TPORTB_ODCB.setODCB14; inline;
  38747. begin
  38748. pTDefRegMap(@Self)^.&set := $00004000;
  38749. end;
  38750. procedure TPORTB_ODCB.clearODCB14; inline;
  38751. begin
  38752. pTDefRegMap(@Self)^.clr := $00004000;
  38753. end;
  38754. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  38755. begin
  38756. if thebits = 0 then
  38757. pTDefRegMap(@Self)^.clr := $00004000
  38758. else
  38759. pTDefRegMap(@Self)^.&set := $00004000;
  38760. end;
  38761. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  38762. begin
  38763. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38764. end;
  38765. procedure TPORTB_ODCB.setODCB15; inline;
  38766. begin
  38767. pTDefRegMap(@Self)^.&set := $00008000;
  38768. end;
  38769. procedure TPORTB_ODCB.clearODCB15; inline;
  38770. begin
  38771. pTDefRegMap(@Self)^.clr := $00008000;
  38772. end;
  38773. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  38774. begin
  38775. if thebits = 0 then
  38776. pTDefRegMap(@Self)^.clr := $00008000
  38777. else
  38778. pTDefRegMap(@Self)^.&set := $00008000;
  38779. end;
  38780. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  38781. begin
  38782. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38783. end;
  38784. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  38785. begin
  38786. pTDefRegMap(@Self)^.val := thebits;
  38787. end;
  38788. function TPORTB_ODCB.getw : TBits_32; inline;
  38789. begin
  38790. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38791. end;
  38792. procedure TPORTB_CNPUB.setCNPUB0; inline;
  38793. begin
  38794. pTDefRegMap(@Self)^.&set := $00000001;
  38795. end;
  38796. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  38797. begin
  38798. pTDefRegMap(@Self)^.clr := $00000001;
  38799. end;
  38800. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  38801. begin
  38802. if thebits = 0 then
  38803. pTDefRegMap(@Self)^.clr := $00000001
  38804. else
  38805. pTDefRegMap(@Self)^.&set := $00000001;
  38806. end;
  38807. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  38808. begin
  38809. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38810. end;
  38811. procedure TPORTB_CNPUB.setCNPUB1; inline;
  38812. begin
  38813. pTDefRegMap(@Self)^.&set := $00000002;
  38814. end;
  38815. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  38816. begin
  38817. pTDefRegMap(@Self)^.clr := $00000002;
  38818. end;
  38819. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  38820. begin
  38821. if thebits = 0 then
  38822. pTDefRegMap(@Self)^.clr := $00000002
  38823. else
  38824. pTDefRegMap(@Self)^.&set := $00000002;
  38825. end;
  38826. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  38827. begin
  38828. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38829. end;
  38830. procedure TPORTB_CNPUB.setCNPUB2; inline;
  38831. begin
  38832. pTDefRegMap(@Self)^.&set := $00000004;
  38833. end;
  38834. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  38835. begin
  38836. pTDefRegMap(@Self)^.clr := $00000004;
  38837. end;
  38838. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  38839. begin
  38840. if thebits = 0 then
  38841. pTDefRegMap(@Self)^.clr := $00000004
  38842. else
  38843. pTDefRegMap(@Self)^.&set := $00000004;
  38844. end;
  38845. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  38846. begin
  38847. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38848. end;
  38849. procedure TPORTB_CNPUB.setCNPUB3; inline;
  38850. begin
  38851. pTDefRegMap(@Self)^.&set := $00000008;
  38852. end;
  38853. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  38854. begin
  38855. pTDefRegMap(@Self)^.clr := $00000008;
  38856. end;
  38857. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  38858. begin
  38859. if thebits = 0 then
  38860. pTDefRegMap(@Self)^.clr := $00000008
  38861. else
  38862. pTDefRegMap(@Self)^.&set := $00000008;
  38863. end;
  38864. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  38865. begin
  38866. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38867. end;
  38868. procedure TPORTB_CNPUB.setCNPUB4; inline;
  38869. begin
  38870. pTDefRegMap(@Self)^.&set := $00000010;
  38871. end;
  38872. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  38873. begin
  38874. pTDefRegMap(@Self)^.clr := $00000010;
  38875. end;
  38876. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  38877. begin
  38878. if thebits = 0 then
  38879. pTDefRegMap(@Self)^.clr := $00000010
  38880. else
  38881. pTDefRegMap(@Self)^.&set := $00000010;
  38882. end;
  38883. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  38884. begin
  38885. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38886. end;
  38887. procedure TPORTB_CNPUB.setCNPUB5; inline;
  38888. begin
  38889. pTDefRegMap(@Self)^.&set := $00000020;
  38890. end;
  38891. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  38892. begin
  38893. pTDefRegMap(@Self)^.clr := $00000020;
  38894. end;
  38895. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  38896. begin
  38897. if thebits = 0 then
  38898. pTDefRegMap(@Self)^.clr := $00000020
  38899. else
  38900. pTDefRegMap(@Self)^.&set := $00000020;
  38901. end;
  38902. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  38903. begin
  38904. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38905. end;
  38906. procedure TPORTB_CNPUB.setCNPUB6; inline;
  38907. begin
  38908. pTDefRegMap(@Self)^.&set := $00000040;
  38909. end;
  38910. procedure TPORTB_CNPUB.clearCNPUB6; inline;
  38911. begin
  38912. pTDefRegMap(@Self)^.clr := $00000040;
  38913. end;
  38914. procedure TPORTB_CNPUB.setCNPUB6(thebits : TBits_1); inline;
  38915. begin
  38916. if thebits = 0 then
  38917. pTDefRegMap(@Self)^.clr := $00000040
  38918. else
  38919. pTDefRegMap(@Self)^.&set := $00000040;
  38920. end;
  38921. function TPORTB_CNPUB.getCNPUB6 : TBits_1; inline;
  38922. begin
  38923. getCNPUB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38924. end;
  38925. procedure TPORTB_CNPUB.setCNPUB7; inline;
  38926. begin
  38927. pTDefRegMap(@Self)^.&set := $00000080;
  38928. end;
  38929. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  38930. begin
  38931. pTDefRegMap(@Self)^.clr := $00000080;
  38932. end;
  38933. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  38934. begin
  38935. if thebits = 0 then
  38936. pTDefRegMap(@Self)^.clr := $00000080
  38937. else
  38938. pTDefRegMap(@Self)^.&set := $00000080;
  38939. end;
  38940. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  38941. begin
  38942. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38943. end;
  38944. procedure TPORTB_CNPUB.setCNPUB8; inline;
  38945. begin
  38946. pTDefRegMap(@Self)^.&set := $00000100;
  38947. end;
  38948. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  38949. begin
  38950. pTDefRegMap(@Self)^.clr := $00000100;
  38951. end;
  38952. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  38953. begin
  38954. if thebits = 0 then
  38955. pTDefRegMap(@Self)^.clr := $00000100
  38956. else
  38957. pTDefRegMap(@Self)^.&set := $00000100;
  38958. end;
  38959. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  38960. begin
  38961. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38962. end;
  38963. procedure TPORTB_CNPUB.setCNPUB9; inline;
  38964. begin
  38965. pTDefRegMap(@Self)^.&set := $00000200;
  38966. end;
  38967. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  38968. begin
  38969. pTDefRegMap(@Self)^.clr := $00000200;
  38970. end;
  38971. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  38972. begin
  38973. if thebits = 0 then
  38974. pTDefRegMap(@Self)^.clr := $00000200
  38975. else
  38976. pTDefRegMap(@Self)^.&set := $00000200;
  38977. end;
  38978. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  38979. begin
  38980. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38981. end;
  38982. procedure TPORTB_CNPUB.setCNPUB10; inline;
  38983. begin
  38984. pTDefRegMap(@Self)^.&set := $00000400;
  38985. end;
  38986. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  38987. begin
  38988. pTDefRegMap(@Self)^.clr := $00000400;
  38989. end;
  38990. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  38991. begin
  38992. if thebits = 0 then
  38993. pTDefRegMap(@Self)^.clr := $00000400
  38994. else
  38995. pTDefRegMap(@Self)^.&set := $00000400;
  38996. end;
  38997. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  38998. begin
  38999. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39000. end;
  39001. procedure TPORTB_CNPUB.setCNPUB11; inline;
  39002. begin
  39003. pTDefRegMap(@Self)^.&set := $00000800;
  39004. end;
  39005. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  39006. begin
  39007. pTDefRegMap(@Self)^.clr := $00000800;
  39008. end;
  39009. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  39010. begin
  39011. if thebits = 0 then
  39012. pTDefRegMap(@Self)^.clr := $00000800
  39013. else
  39014. pTDefRegMap(@Self)^.&set := $00000800;
  39015. end;
  39016. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  39017. begin
  39018. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39019. end;
  39020. procedure TPORTB_CNPUB.setCNPUB12; inline;
  39021. begin
  39022. pTDefRegMap(@Self)^.&set := $00001000;
  39023. end;
  39024. procedure TPORTB_CNPUB.clearCNPUB12; inline;
  39025. begin
  39026. pTDefRegMap(@Self)^.clr := $00001000;
  39027. end;
  39028. procedure TPORTB_CNPUB.setCNPUB12(thebits : TBits_1); inline;
  39029. begin
  39030. if thebits = 0 then
  39031. pTDefRegMap(@Self)^.clr := $00001000
  39032. else
  39033. pTDefRegMap(@Self)^.&set := $00001000;
  39034. end;
  39035. function TPORTB_CNPUB.getCNPUB12 : TBits_1; inline;
  39036. begin
  39037. getCNPUB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39038. end;
  39039. procedure TPORTB_CNPUB.setCNPUB13; inline;
  39040. begin
  39041. pTDefRegMap(@Self)^.&set := $00002000;
  39042. end;
  39043. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  39044. begin
  39045. pTDefRegMap(@Self)^.clr := $00002000;
  39046. end;
  39047. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  39048. begin
  39049. if thebits = 0 then
  39050. pTDefRegMap(@Self)^.clr := $00002000
  39051. else
  39052. pTDefRegMap(@Self)^.&set := $00002000;
  39053. end;
  39054. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  39055. begin
  39056. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39057. end;
  39058. procedure TPORTB_CNPUB.setCNPUB14; inline;
  39059. begin
  39060. pTDefRegMap(@Self)^.&set := $00004000;
  39061. end;
  39062. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  39063. begin
  39064. pTDefRegMap(@Self)^.clr := $00004000;
  39065. end;
  39066. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  39067. begin
  39068. if thebits = 0 then
  39069. pTDefRegMap(@Self)^.clr := $00004000
  39070. else
  39071. pTDefRegMap(@Self)^.&set := $00004000;
  39072. end;
  39073. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  39074. begin
  39075. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39076. end;
  39077. procedure TPORTB_CNPUB.setCNPUB15; inline;
  39078. begin
  39079. pTDefRegMap(@Self)^.&set := $00008000;
  39080. end;
  39081. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  39082. begin
  39083. pTDefRegMap(@Self)^.clr := $00008000;
  39084. end;
  39085. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  39086. begin
  39087. if thebits = 0 then
  39088. pTDefRegMap(@Self)^.clr := $00008000
  39089. else
  39090. pTDefRegMap(@Self)^.&set := $00008000;
  39091. end;
  39092. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  39093. begin
  39094. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39095. end;
  39096. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  39097. begin
  39098. pTDefRegMap(@Self)^.val := thebits;
  39099. end;
  39100. function TPORTB_CNPUB.getw : TBits_32; inline;
  39101. begin
  39102. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39103. end;
  39104. procedure TPORTB_CNPDB.setCNPDB0; inline;
  39105. begin
  39106. pTDefRegMap(@Self)^.&set := $00000001;
  39107. end;
  39108. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  39109. begin
  39110. pTDefRegMap(@Self)^.clr := $00000001;
  39111. end;
  39112. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  39113. begin
  39114. if thebits = 0 then
  39115. pTDefRegMap(@Self)^.clr := $00000001
  39116. else
  39117. pTDefRegMap(@Self)^.&set := $00000001;
  39118. end;
  39119. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  39120. begin
  39121. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39122. end;
  39123. procedure TPORTB_CNPDB.setCNPDB1; inline;
  39124. begin
  39125. pTDefRegMap(@Self)^.&set := $00000002;
  39126. end;
  39127. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  39128. begin
  39129. pTDefRegMap(@Self)^.clr := $00000002;
  39130. end;
  39131. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  39132. begin
  39133. if thebits = 0 then
  39134. pTDefRegMap(@Self)^.clr := $00000002
  39135. else
  39136. pTDefRegMap(@Self)^.&set := $00000002;
  39137. end;
  39138. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  39139. begin
  39140. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39141. end;
  39142. procedure TPORTB_CNPDB.setCNPDB2; inline;
  39143. begin
  39144. pTDefRegMap(@Self)^.&set := $00000004;
  39145. end;
  39146. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  39147. begin
  39148. pTDefRegMap(@Self)^.clr := $00000004;
  39149. end;
  39150. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  39151. begin
  39152. if thebits = 0 then
  39153. pTDefRegMap(@Self)^.clr := $00000004
  39154. else
  39155. pTDefRegMap(@Self)^.&set := $00000004;
  39156. end;
  39157. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  39158. begin
  39159. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39160. end;
  39161. procedure TPORTB_CNPDB.setCNPDB3; inline;
  39162. begin
  39163. pTDefRegMap(@Self)^.&set := $00000008;
  39164. end;
  39165. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  39166. begin
  39167. pTDefRegMap(@Self)^.clr := $00000008;
  39168. end;
  39169. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  39170. begin
  39171. if thebits = 0 then
  39172. pTDefRegMap(@Self)^.clr := $00000008
  39173. else
  39174. pTDefRegMap(@Self)^.&set := $00000008;
  39175. end;
  39176. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  39177. begin
  39178. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39179. end;
  39180. procedure TPORTB_CNPDB.setCNPDB4; inline;
  39181. begin
  39182. pTDefRegMap(@Self)^.&set := $00000010;
  39183. end;
  39184. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  39185. begin
  39186. pTDefRegMap(@Self)^.clr := $00000010;
  39187. end;
  39188. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  39189. begin
  39190. if thebits = 0 then
  39191. pTDefRegMap(@Self)^.clr := $00000010
  39192. else
  39193. pTDefRegMap(@Self)^.&set := $00000010;
  39194. end;
  39195. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  39196. begin
  39197. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39198. end;
  39199. procedure TPORTB_CNPDB.setCNPDB5; inline;
  39200. begin
  39201. pTDefRegMap(@Self)^.&set := $00000020;
  39202. end;
  39203. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  39204. begin
  39205. pTDefRegMap(@Self)^.clr := $00000020;
  39206. end;
  39207. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  39208. begin
  39209. if thebits = 0 then
  39210. pTDefRegMap(@Self)^.clr := $00000020
  39211. else
  39212. pTDefRegMap(@Self)^.&set := $00000020;
  39213. end;
  39214. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  39215. begin
  39216. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39217. end;
  39218. procedure TPORTB_CNPDB.setCNPDB6; inline;
  39219. begin
  39220. pTDefRegMap(@Self)^.&set := $00000040;
  39221. end;
  39222. procedure TPORTB_CNPDB.clearCNPDB6; inline;
  39223. begin
  39224. pTDefRegMap(@Self)^.clr := $00000040;
  39225. end;
  39226. procedure TPORTB_CNPDB.setCNPDB6(thebits : TBits_1); inline;
  39227. begin
  39228. if thebits = 0 then
  39229. pTDefRegMap(@Self)^.clr := $00000040
  39230. else
  39231. pTDefRegMap(@Self)^.&set := $00000040;
  39232. end;
  39233. function TPORTB_CNPDB.getCNPDB6 : TBits_1; inline;
  39234. begin
  39235. getCNPDB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39236. end;
  39237. procedure TPORTB_CNPDB.setCNPDB7; inline;
  39238. begin
  39239. pTDefRegMap(@Self)^.&set := $00000080;
  39240. end;
  39241. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  39242. begin
  39243. pTDefRegMap(@Self)^.clr := $00000080;
  39244. end;
  39245. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  39246. begin
  39247. if thebits = 0 then
  39248. pTDefRegMap(@Self)^.clr := $00000080
  39249. else
  39250. pTDefRegMap(@Self)^.&set := $00000080;
  39251. end;
  39252. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  39253. begin
  39254. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39255. end;
  39256. procedure TPORTB_CNPDB.setCNPDB8; inline;
  39257. begin
  39258. pTDefRegMap(@Self)^.&set := $00000100;
  39259. end;
  39260. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  39261. begin
  39262. pTDefRegMap(@Self)^.clr := $00000100;
  39263. end;
  39264. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  39265. begin
  39266. if thebits = 0 then
  39267. pTDefRegMap(@Self)^.clr := $00000100
  39268. else
  39269. pTDefRegMap(@Self)^.&set := $00000100;
  39270. end;
  39271. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  39272. begin
  39273. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39274. end;
  39275. procedure TPORTB_CNPDB.setCNPDB9; inline;
  39276. begin
  39277. pTDefRegMap(@Self)^.&set := $00000200;
  39278. end;
  39279. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  39280. begin
  39281. pTDefRegMap(@Self)^.clr := $00000200;
  39282. end;
  39283. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  39284. begin
  39285. if thebits = 0 then
  39286. pTDefRegMap(@Self)^.clr := $00000200
  39287. else
  39288. pTDefRegMap(@Self)^.&set := $00000200;
  39289. end;
  39290. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  39291. begin
  39292. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39293. end;
  39294. procedure TPORTB_CNPDB.setCNPDB10; inline;
  39295. begin
  39296. pTDefRegMap(@Self)^.&set := $00000400;
  39297. end;
  39298. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  39299. begin
  39300. pTDefRegMap(@Self)^.clr := $00000400;
  39301. end;
  39302. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  39303. begin
  39304. if thebits = 0 then
  39305. pTDefRegMap(@Self)^.clr := $00000400
  39306. else
  39307. pTDefRegMap(@Self)^.&set := $00000400;
  39308. end;
  39309. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  39310. begin
  39311. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39312. end;
  39313. procedure TPORTB_CNPDB.setCNPDB11; inline;
  39314. begin
  39315. pTDefRegMap(@Self)^.&set := $00000800;
  39316. end;
  39317. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  39318. begin
  39319. pTDefRegMap(@Self)^.clr := $00000800;
  39320. end;
  39321. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  39322. begin
  39323. if thebits = 0 then
  39324. pTDefRegMap(@Self)^.clr := $00000800
  39325. else
  39326. pTDefRegMap(@Self)^.&set := $00000800;
  39327. end;
  39328. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  39329. begin
  39330. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39331. end;
  39332. procedure TPORTB_CNPDB.setCNPDB12; inline;
  39333. begin
  39334. pTDefRegMap(@Self)^.&set := $00001000;
  39335. end;
  39336. procedure TPORTB_CNPDB.clearCNPDB12; inline;
  39337. begin
  39338. pTDefRegMap(@Self)^.clr := $00001000;
  39339. end;
  39340. procedure TPORTB_CNPDB.setCNPDB12(thebits : TBits_1); inline;
  39341. begin
  39342. if thebits = 0 then
  39343. pTDefRegMap(@Self)^.clr := $00001000
  39344. else
  39345. pTDefRegMap(@Self)^.&set := $00001000;
  39346. end;
  39347. function TPORTB_CNPDB.getCNPDB12 : TBits_1; inline;
  39348. begin
  39349. getCNPDB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39350. end;
  39351. procedure TPORTB_CNPDB.setCNPDB13; inline;
  39352. begin
  39353. pTDefRegMap(@Self)^.&set := $00002000;
  39354. end;
  39355. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  39356. begin
  39357. pTDefRegMap(@Self)^.clr := $00002000;
  39358. end;
  39359. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  39360. begin
  39361. if thebits = 0 then
  39362. pTDefRegMap(@Self)^.clr := $00002000
  39363. else
  39364. pTDefRegMap(@Self)^.&set := $00002000;
  39365. end;
  39366. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  39367. begin
  39368. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39369. end;
  39370. procedure TPORTB_CNPDB.setCNPDB14; inline;
  39371. begin
  39372. pTDefRegMap(@Self)^.&set := $00004000;
  39373. end;
  39374. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  39375. begin
  39376. pTDefRegMap(@Self)^.clr := $00004000;
  39377. end;
  39378. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  39379. begin
  39380. if thebits = 0 then
  39381. pTDefRegMap(@Self)^.clr := $00004000
  39382. else
  39383. pTDefRegMap(@Self)^.&set := $00004000;
  39384. end;
  39385. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  39386. begin
  39387. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39388. end;
  39389. procedure TPORTB_CNPDB.setCNPDB15; inline;
  39390. begin
  39391. pTDefRegMap(@Self)^.&set := $00008000;
  39392. end;
  39393. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  39394. begin
  39395. pTDefRegMap(@Self)^.clr := $00008000;
  39396. end;
  39397. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  39398. begin
  39399. if thebits = 0 then
  39400. pTDefRegMap(@Self)^.clr := $00008000
  39401. else
  39402. pTDefRegMap(@Self)^.&set := $00008000;
  39403. end;
  39404. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  39405. begin
  39406. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39407. end;
  39408. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  39409. begin
  39410. pTDefRegMap(@Self)^.val := thebits;
  39411. end;
  39412. function TPORTB_CNPDB.getw : TBits_32; inline;
  39413. begin
  39414. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39415. end;
  39416. procedure TPORTB_CNCONB.setSIDL; inline;
  39417. begin
  39418. pTDefRegMap(@Self)^.&set := $00002000;
  39419. end;
  39420. procedure TPORTB_CNCONB.clearSIDL; inline;
  39421. begin
  39422. pTDefRegMap(@Self)^.clr := $00002000;
  39423. end;
  39424. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  39425. begin
  39426. if thebits = 0 then
  39427. pTDefRegMap(@Self)^.clr := $00002000
  39428. else
  39429. pTDefRegMap(@Self)^.&set := $00002000;
  39430. end;
  39431. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  39432. begin
  39433. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39434. end;
  39435. procedure TPORTB_CNCONB.setON; inline;
  39436. begin
  39437. pTDefRegMap(@Self)^.&set := $00008000;
  39438. end;
  39439. procedure TPORTB_CNCONB.clearON; inline;
  39440. begin
  39441. pTDefRegMap(@Self)^.clr := $00008000;
  39442. end;
  39443. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  39444. begin
  39445. if thebits = 0 then
  39446. pTDefRegMap(@Self)^.clr := $00008000
  39447. else
  39448. pTDefRegMap(@Self)^.&set := $00008000;
  39449. end;
  39450. function TPORTB_CNCONB.getON : TBits_1; inline;
  39451. begin
  39452. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39453. end;
  39454. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  39455. begin
  39456. pTDefRegMap(@Self)^.val := thebits;
  39457. end;
  39458. function TPORTB_CNCONB.getw : TBits_32; inline;
  39459. begin
  39460. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39461. end;
  39462. procedure TPORTB_CNENB.setCNIEB0; inline;
  39463. begin
  39464. pTDefRegMap(@Self)^.&set := $00000001;
  39465. end;
  39466. procedure TPORTB_CNENB.clearCNIEB0; inline;
  39467. begin
  39468. pTDefRegMap(@Self)^.clr := $00000001;
  39469. end;
  39470. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  39471. begin
  39472. if thebits = 0 then
  39473. pTDefRegMap(@Self)^.clr := $00000001
  39474. else
  39475. pTDefRegMap(@Self)^.&set := $00000001;
  39476. end;
  39477. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  39478. begin
  39479. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39480. end;
  39481. procedure TPORTB_CNENB.setCNIEB1; inline;
  39482. begin
  39483. pTDefRegMap(@Self)^.&set := $00000002;
  39484. end;
  39485. procedure TPORTB_CNENB.clearCNIEB1; inline;
  39486. begin
  39487. pTDefRegMap(@Self)^.clr := $00000002;
  39488. end;
  39489. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  39490. begin
  39491. if thebits = 0 then
  39492. pTDefRegMap(@Self)^.clr := $00000002
  39493. else
  39494. pTDefRegMap(@Self)^.&set := $00000002;
  39495. end;
  39496. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  39497. begin
  39498. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39499. end;
  39500. procedure TPORTB_CNENB.setCNIEB2; inline;
  39501. begin
  39502. pTDefRegMap(@Self)^.&set := $00000004;
  39503. end;
  39504. procedure TPORTB_CNENB.clearCNIEB2; inline;
  39505. begin
  39506. pTDefRegMap(@Self)^.clr := $00000004;
  39507. end;
  39508. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  39509. begin
  39510. if thebits = 0 then
  39511. pTDefRegMap(@Self)^.clr := $00000004
  39512. else
  39513. pTDefRegMap(@Self)^.&set := $00000004;
  39514. end;
  39515. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  39516. begin
  39517. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39518. end;
  39519. procedure TPORTB_CNENB.setCNIEB3; inline;
  39520. begin
  39521. pTDefRegMap(@Self)^.&set := $00000008;
  39522. end;
  39523. procedure TPORTB_CNENB.clearCNIEB3; inline;
  39524. begin
  39525. pTDefRegMap(@Self)^.clr := $00000008;
  39526. end;
  39527. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  39528. begin
  39529. if thebits = 0 then
  39530. pTDefRegMap(@Self)^.clr := $00000008
  39531. else
  39532. pTDefRegMap(@Self)^.&set := $00000008;
  39533. end;
  39534. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  39535. begin
  39536. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39537. end;
  39538. procedure TPORTB_CNENB.setCNIEB4; inline;
  39539. begin
  39540. pTDefRegMap(@Self)^.&set := $00000010;
  39541. end;
  39542. procedure TPORTB_CNENB.clearCNIEB4; inline;
  39543. begin
  39544. pTDefRegMap(@Self)^.clr := $00000010;
  39545. end;
  39546. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  39547. begin
  39548. if thebits = 0 then
  39549. pTDefRegMap(@Self)^.clr := $00000010
  39550. else
  39551. pTDefRegMap(@Self)^.&set := $00000010;
  39552. end;
  39553. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  39554. begin
  39555. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39556. end;
  39557. procedure TPORTB_CNENB.setCNIEB5; inline;
  39558. begin
  39559. pTDefRegMap(@Self)^.&set := $00000020;
  39560. end;
  39561. procedure TPORTB_CNENB.clearCNIEB5; inline;
  39562. begin
  39563. pTDefRegMap(@Self)^.clr := $00000020;
  39564. end;
  39565. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  39566. begin
  39567. if thebits = 0 then
  39568. pTDefRegMap(@Self)^.clr := $00000020
  39569. else
  39570. pTDefRegMap(@Self)^.&set := $00000020;
  39571. end;
  39572. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  39573. begin
  39574. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39575. end;
  39576. procedure TPORTB_CNENB.setCNIEB6; inline;
  39577. begin
  39578. pTDefRegMap(@Self)^.&set := $00000040;
  39579. end;
  39580. procedure TPORTB_CNENB.clearCNIEB6; inline;
  39581. begin
  39582. pTDefRegMap(@Self)^.clr := $00000040;
  39583. end;
  39584. procedure TPORTB_CNENB.setCNIEB6(thebits : TBits_1); inline;
  39585. begin
  39586. if thebits = 0 then
  39587. pTDefRegMap(@Self)^.clr := $00000040
  39588. else
  39589. pTDefRegMap(@Self)^.&set := $00000040;
  39590. end;
  39591. function TPORTB_CNENB.getCNIEB6 : TBits_1; inline;
  39592. begin
  39593. getCNIEB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39594. end;
  39595. procedure TPORTB_CNENB.setCNIEB7; inline;
  39596. begin
  39597. pTDefRegMap(@Self)^.&set := $00000080;
  39598. end;
  39599. procedure TPORTB_CNENB.clearCNIEB7; inline;
  39600. begin
  39601. pTDefRegMap(@Self)^.clr := $00000080;
  39602. end;
  39603. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  39604. begin
  39605. if thebits = 0 then
  39606. pTDefRegMap(@Self)^.clr := $00000080
  39607. else
  39608. pTDefRegMap(@Self)^.&set := $00000080;
  39609. end;
  39610. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  39611. begin
  39612. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39613. end;
  39614. procedure TPORTB_CNENB.setCNIEB8; inline;
  39615. begin
  39616. pTDefRegMap(@Self)^.&set := $00000100;
  39617. end;
  39618. procedure TPORTB_CNENB.clearCNIEB8; inline;
  39619. begin
  39620. pTDefRegMap(@Self)^.clr := $00000100;
  39621. end;
  39622. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  39623. begin
  39624. if thebits = 0 then
  39625. pTDefRegMap(@Self)^.clr := $00000100
  39626. else
  39627. pTDefRegMap(@Self)^.&set := $00000100;
  39628. end;
  39629. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  39630. begin
  39631. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39632. end;
  39633. procedure TPORTB_CNENB.setCNIEB9; inline;
  39634. begin
  39635. pTDefRegMap(@Self)^.&set := $00000200;
  39636. end;
  39637. procedure TPORTB_CNENB.clearCNIEB9; inline;
  39638. begin
  39639. pTDefRegMap(@Self)^.clr := $00000200;
  39640. end;
  39641. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  39642. begin
  39643. if thebits = 0 then
  39644. pTDefRegMap(@Self)^.clr := $00000200
  39645. else
  39646. pTDefRegMap(@Self)^.&set := $00000200;
  39647. end;
  39648. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  39649. begin
  39650. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39651. end;
  39652. procedure TPORTB_CNENB.setCNIEB10; inline;
  39653. begin
  39654. pTDefRegMap(@Self)^.&set := $00000400;
  39655. end;
  39656. procedure TPORTB_CNENB.clearCNIEB10; inline;
  39657. begin
  39658. pTDefRegMap(@Self)^.clr := $00000400;
  39659. end;
  39660. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  39661. begin
  39662. if thebits = 0 then
  39663. pTDefRegMap(@Self)^.clr := $00000400
  39664. else
  39665. pTDefRegMap(@Self)^.&set := $00000400;
  39666. end;
  39667. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  39668. begin
  39669. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39670. end;
  39671. procedure TPORTB_CNENB.setCNIEB11; inline;
  39672. begin
  39673. pTDefRegMap(@Self)^.&set := $00000800;
  39674. end;
  39675. procedure TPORTB_CNENB.clearCNIEB11; inline;
  39676. begin
  39677. pTDefRegMap(@Self)^.clr := $00000800;
  39678. end;
  39679. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  39680. begin
  39681. if thebits = 0 then
  39682. pTDefRegMap(@Self)^.clr := $00000800
  39683. else
  39684. pTDefRegMap(@Self)^.&set := $00000800;
  39685. end;
  39686. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  39687. begin
  39688. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39689. end;
  39690. procedure TPORTB_CNENB.setCNIEB12; inline;
  39691. begin
  39692. pTDefRegMap(@Self)^.&set := $00001000;
  39693. end;
  39694. procedure TPORTB_CNENB.clearCNIEB12; inline;
  39695. begin
  39696. pTDefRegMap(@Self)^.clr := $00001000;
  39697. end;
  39698. procedure TPORTB_CNENB.setCNIEB12(thebits : TBits_1); inline;
  39699. begin
  39700. if thebits = 0 then
  39701. pTDefRegMap(@Self)^.clr := $00001000
  39702. else
  39703. pTDefRegMap(@Self)^.&set := $00001000;
  39704. end;
  39705. function TPORTB_CNENB.getCNIEB12 : TBits_1; inline;
  39706. begin
  39707. getCNIEB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39708. end;
  39709. procedure TPORTB_CNENB.setCNIEB13; inline;
  39710. begin
  39711. pTDefRegMap(@Self)^.&set := $00002000;
  39712. end;
  39713. procedure TPORTB_CNENB.clearCNIEB13; inline;
  39714. begin
  39715. pTDefRegMap(@Self)^.clr := $00002000;
  39716. end;
  39717. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  39718. begin
  39719. if thebits = 0 then
  39720. pTDefRegMap(@Self)^.clr := $00002000
  39721. else
  39722. pTDefRegMap(@Self)^.&set := $00002000;
  39723. end;
  39724. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  39725. begin
  39726. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39727. end;
  39728. procedure TPORTB_CNENB.setCNIEB14; inline;
  39729. begin
  39730. pTDefRegMap(@Self)^.&set := $00004000;
  39731. end;
  39732. procedure TPORTB_CNENB.clearCNIEB14; inline;
  39733. begin
  39734. pTDefRegMap(@Self)^.clr := $00004000;
  39735. end;
  39736. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  39737. begin
  39738. if thebits = 0 then
  39739. pTDefRegMap(@Self)^.clr := $00004000
  39740. else
  39741. pTDefRegMap(@Self)^.&set := $00004000;
  39742. end;
  39743. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  39744. begin
  39745. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39746. end;
  39747. procedure TPORTB_CNENB.setCNIEB15; inline;
  39748. begin
  39749. pTDefRegMap(@Self)^.&set := $00008000;
  39750. end;
  39751. procedure TPORTB_CNENB.clearCNIEB15; inline;
  39752. begin
  39753. pTDefRegMap(@Self)^.clr := $00008000;
  39754. end;
  39755. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  39756. begin
  39757. if thebits = 0 then
  39758. pTDefRegMap(@Self)^.clr := $00008000
  39759. else
  39760. pTDefRegMap(@Self)^.&set := $00008000;
  39761. end;
  39762. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  39763. begin
  39764. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39765. end;
  39766. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  39767. begin
  39768. pTDefRegMap(@Self)^.val := thebits;
  39769. end;
  39770. function TPORTB_CNENB.getw : TBits_32; inline;
  39771. begin
  39772. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39773. end;
  39774. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  39775. begin
  39776. pTDefRegMap(@Self)^.&set := $00000001;
  39777. end;
  39778. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  39779. begin
  39780. pTDefRegMap(@Self)^.clr := $00000001;
  39781. end;
  39782. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  39783. begin
  39784. if thebits = 0 then
  39785. pTDefRegMap(@Self)^.clr := $00000001
  39786. else
  39787. pTDefRegMap(@Self)^.&set := $00000001;
  39788. end;
  39789. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  39790. begin
  39791. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39792. end;
  39793. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  39794. begin
  39795. pTDefRegMap(@Self)^.&set := $00000002;
  39796. end;
  39797. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  39798. begin
  39799. pTDefRegMap(@Self)^.clr := $00000002;
  39800. end;
  39801. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  39802. begin
  39803. if thebits = 0 then
  39804. pTDefRegMap(@Self)^.clr := $00000002
  39805. else
  39806. pTDefRegMap(@Self)^.&set := $00000002;
  39807. end;
  39808. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  39809. begin
  39810. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39811. end;
  39812. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  39813. begin
  39814. pTDefRegMap(@Self)^.&set := $00000004;
  39815. end;
  39816. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  39817. begin
  39818. pTDefRegMap(@Self)^.clr := $00000004;
  39819. end;
  39820. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  39821. begin
  39822. if thebits = 0 then
  39823. pTDefRegMap(@Self)^.clr := $00000004
  39824. else
  39825. pTDefRegMap(@Self)^.&set := $00000004;
  39826. end;
  39827. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  39828. begin
  39829. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39830. end;
  39831. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  39832. begin
  39833. pTDefRegMap(@Self)^.&set := $00000008;
  39834. end;
  39835. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  39836. begin
  39837. pTDefRegMap(@Self)^.clr := $00000008;
  39838. end;
  39839. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  39840. begin
  39841. if thebits = 0 then
  39842. pTDefRegMap(@Self)^.clr := $00000008
  39843. else
  39844. pTDefRegMap(@Self)^.&set := $00000008;
  39845. end;
  39846. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  39847. begin
  39848. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39849. end;
  39850. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  39851. begin
  39852. pTDefRegMap(@Self)^.&set := $00000010;
  39853. end;
  39854. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  39855. begin
  39856. pTDefRegMap(@Self)^.clr := $00000010;
  39857. end;
  39858. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  39859. begin
  39860. if thebits = 0 then
  39861. pTDefRegMap(@Self)^.clr := $00000010
  39862. else
  39863. pTDefRegMap(@Self)^.&set := $00000010;
  39864. end;
  39865. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  39866. begin
  39867. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39868. end;
  39869. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  39870. begin
  39871. pTDefRegMap(@Self)^.&set := $00000020;
  39872. end;
  39873. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  39874. begin
  39875. pTDefRegMap(@Self)^.clr := $00000020;
  39876. end;
  39877. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  39878. begin
  39879. if thebits = 0 then
  39880. pTDefRegMap(@Self)^.clr := $00000020
  39881. else
  39882. pTDefRegMap(@Self)^.&set := $00000020;
  39883. end;
  39884. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  39885. begin
  39886. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39887. end;
  39888. procedure TPORTB_CNSTATB.setCNSTATB6; inline;
  39889. begin
  39890. pTDefRegMap(@Self)^.&set := $00000040;
  39891. end;
  39892. procedure TPORTB_CNSTATB.clearCNSTATB6; inline;
  39893. begin
  39894. pTDefRegMap(@Self)^.clr := $00000040;
  39895. end;
  39896. procedure TPORTB_CNSTATB.setCNSTATB6(thebits : TBits_1); inline;
  39897. begin
  39898. if thebits = 0 then
  39899. pTDefRegMap(@Self)^.clr := $00000040
  39900. else
  39901. pTDefRegMap(@Self)^.&set := $00000040;
  39902. end;
  39903. function TPORTB_CNSTATB.getCNSTATB6 : TBits_1; inline;
  39904. begin
  39905. getCNSTATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39906. end;
  39907. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  39908. begin
  39909. pTDefRegMap(@Self)^.&set := $00000080;
  39910. end;
  39911. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  39912. begin
  39913. pTDefRegMap(@Self)^.clr := $00000080;
  39914. end;
  39915. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  39916. begin
  39917. if thebits = 0 then
  39918. pTDefRegMap(@Self)^.clr := $00000080
  39919. else
  39920. pTDefRegMap(@Self)^.&set := $00000080;
  39921. end;
  39922. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  39923. begin
  39924. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39925. end;
  39926. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  39927. begin
  39928. pTDefRegMap(@Self)^.&set := $00000100;
  39929. end;
  39930. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  39931. begin
  39932. pTDefRegMap(@Self)^.clr := $00000100;
  39933. end;
  39934. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  39935. begin
  39936. if thebits = 0 then
  39937. pTDefRegMap(@Self)^.clr := $00000100
  39938. else
  39939. pTDefRegMap(@Self)^.&set := $00000100;
  39940. end;
  39941. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  39942. begin
  39943. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39944. end;
  39945. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  39946. begin
  39947. pTDefRegMap(@Self)^.&set := $00000200;
  39948. end;
  39949. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  39950. begin
  39951. pTDefRegMap(@Self)^.clr := $00000200;
  39952. end;
  39953. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  39954. begin
  39955. if thebits = 0 then
  39956. pTDefRegMap(@Self)^.clr := $00000200
  39957. else
  39958. pTDefRegMap(@Self)^.&set := $00000200;
  39959. end;
  39960. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  39961. begin
  39962. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39963. end;
  39964. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  39965. begin
  39966. pTDefRegMap(@Self)^.&set := $00000400;
  39967. end;
  39968. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  39969. begin
  39970. pTDefRegMap(@Self)^.clr := $00000400;
  39971. end;
  39972. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  39973. begin
  39974. if thebits = 0 then
  39975. pTDefRegMap(@Self)^.clr := $00000400
  39976. else
  39977. pTDefRegMap(@Self)^.&set := $00000400;
  39978. end;
  39979. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  39980. begin
  39981. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39982. end;
  39983. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  39984. begin
  39985. pTDefRegMap(@Self)^.&set := $00000800;
  39986. end;
  39987. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  39988. begin
  39989. pTDefRegMap(@Self)^.clr := $00000800;
  39990. end;
  39991. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  39992. begin
  39993. if thebits = 0 then
  39994. pTDefRegMap(@Self)^.clr := $00000800
  39995. else
  39996. pTDefRegMap(@Self)^.&set := $00000800;
  39997. end;
  39998. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  39999. begin
  40000. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  40001. end;
  40002. procedure TPORTB_CNSTATB.setCNSTATB12; inline;
  40003. begin
  40004. pTDefRegMap(@Self)^.&set := $00001000;
  40005. end;
  40006. procedure TPORTB_CNSTATB.clearCNSTATB12; inline;
  40007. begin
  40008. pTDefRegMap(@Self)^.clr := $00001000;
  40009. end;
  40010. procedure TPORTB_CNSTATB.setCNSTATB12(thebits : TBits_1); inline;
  40011. begin
  40012. if thebits = 0 then
  40013. pTDefRegMap(@Self)^.clr := $00001000
  40014. else
  40015. pTDefRegMap(@Self)^.&set := $00001000;
  40016. end;
  40017. function TPORTB_CNSTATB.getCNSTATB12 : TBits_1; inline;
  40018. begin
  40019. getCNSTATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40020. end;
  40021. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  40022. begin
  40023. pTDefRegMap(@Self)^.&set := $00002000;
  40024. end;
  40025. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  40026. begin
  40027. pTDefRegMap(@Self)^.clr := $00002000;
  40028. end;
  40029. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  40030. begin
  40031. if thebits = 0 then
  40032. pTDefRegMap(@Self)^.clr := $00002000
  40033. else
  40034. pTDefRegMap(@Self)^.&set := $00002000;
  40035. end;
  40036. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  40037. begin
  40038. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40039. end;
  40040. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  40041. begin
  40042. pTDefRegMap(@Self)^.&set := $00004000;
  40043. end;
  40044. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  40045. begin
  40046. pTDefRegMap(@Self)^.clr := $00004000;
  40047. end;
  40048. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  40049. begin
  40050. if thebits = 0 then
  40051. pTDefRegMap(@Self)^.clr := $00004000
  40052. else
  40053. pTDefRegMap(@Self)^.&set := $00004000;
  40054. end;
  40055. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  40056. begin
  40057. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40058. end;
  40059. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  40060. begin
  40061. pTDefRegMap(@Self)^.&set := $00008000;
  40062. end;
  40063. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  40064. begin
  40065. pTDefRegMap(@Self)^.clr := $00008000;
  40066. end;
  40067. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  40068. begin
  40069. if thebits = 0 then
  40070. pTDefRegMap(@Self)^.clr := $00008000
  40071. else
  40072. pTDefRegMap(@Self)^.&set := $00008000;
  40073. end;
  40074. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  40075. begin
  40076. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40077. end;
  40078. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  40079. begin
  40080. pTDefRegMap(@Self)^.val := thebits;
  40081. end;
  40082. function TPORTB_CNSTATB.getw : TBits_32; inline;
  40083. begin
  40084. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40085. end;
  40086. procedure TPORTB_TRISC.setTRISC12; inline;
  40087. begin
  40088. pTDefRegMap(@Self)^.&set := $00001000;
  40089. end;
  40090. procedure TPORTB_TRISC.clearTRISC12; inline;
  40091. begin
  40092. pTDefRegMap(@Self)^.clr := $00001000;
  40093. end;
  40094. procedure TPORTB_TRISC.setTRISC12(thebits : TBits_1); inline;
  40095. begin
  40096. if thebits = 0 then
  40097. pTDefRegMap(@Self)^.clr := $00001000
  40098. else
  40099. pTDefRegMap(@Self)^.&set := $00001000;
  40100. end;
  40101. function TPORTB_TRISC.getTRISC12 : TBits_1; inline;
  40102. begin
  40103. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40104. end;
  40105. procedure TPORTB_TRISC.setTRISC13; inline;
  40106. begin
  40107. pTDefRegMap(@Self)^.&set := $00002000;
  40108. end;
  40109. procedure TPORTB_TRISC.clearTRISC13; inline;
  40110. begin
  40111. pTDefRegMap(@Self)^.clr := $00002000;
  40112. end;
  40113. procedure TPORTB_TRISC.setTRISC13(thebits : TBits_1); inline;
  40114. begin
  40115. if thebits = 0 then
  40116. pTDefRegMap(@Self)^.clr := $00002000
  40117. else
  40118. pTDefRegMap(@Self)^.&set := $00002000;
  40119. end;
  40120. function TPORTB_TRISC.getTRISC13 : TBits_1; inline;
  40121. begin
  40122. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40123. end;
  40124. procedure TPORTB_TRISC.setTRISC14; inline;
  40125. begin
  40126. pTDefRegMap(@Self)^.&set := $00004000;
  40127. end;
  40128. procedure TPORTB_TRISC.clearTRISC14; inline;
  40129. begin
  40130. pTDefRegMap(@Self)^.clr := $00004000;
  40131. end;
  40132. procedure TPORTB_TRISC.setTRISC14(thebits : TBits_1); inline;
  40133. begin
  40134. if thebits = 0 then
  40135. pTDefRegMap(@Self)^.clr := $00004000
  40136. else
  40137. pTDefRegMap(@Self)^.&set := $00004000;
  40138. end;
  40139. function TPORTB_TRISC.getTRISC14 : TBits_1; inline;
  40140. begin
  40141. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40142. end;
  40143. procedure TPORTB_TRISC.setTRISC15; inline;
  40144. begin
  40145. pTDefRegMap(@Self)^.&set := $00008000;
  40146. end;
  40147. procedure TPORTB_TRISC.clearTRISC15; inline;
  40148. begin
  40149. pTDefRegMap(@Self)^.clr := $00008000;
  40150. end;
  40151. procedure TPORTB_TRISC.setTRISC15(thebits : TBits_1); inline;
  40152. begin
  40153. if thebits = 0 then
  40154. pTDefRegMap(@Self)^.clr := $00008000
  40155. else
  40156. pTDefRegMap(@Self)^.&set := $00008000;
  40157. end;
  40158. function TPORTB_TRISC.getTRISC15 : TBits_1; inline;
  40159. begin
  40160. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40161. end;
  40162. procedure TPORTB_TRISC.setw(thebits : TBits_32); inline;
  40163. begin
  40164. pTDefRegMap(@Self)^.val := thebits;
  40165. end;
  40166. function TPORTB_TRISC.getw : TBits_32; inline;
  40167. begin
  40168. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40169. end;
  40170. procedure TPORTC_PORTC.setRC12; inline;
  40171. begin
  40172. pTDefRegMap(@Self)^.&set := $00001000;
  40173. end;
  40174. procedure TPORTC_PORTC.clearRC12; inline;
  40175. begin
  40176. pTDefRegMap(@Self)^.clr := $00001000;
  40177. end;
  40178. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  40179. begin
  40180. if thebits = 0 then
  40181. pTDefRegMap(@Self)^.clr := $00001000
  40182. else
  40183. pTDefRegMap(@Self)^.&set := $00001000;
  40184. end;
  40185. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  40186. begin
  40187. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40188. end;
  40189. procedure TPORTC_PORTC.setRC13; inline;
  40190. begin
  40191. pTDefRegMap(@Self)^.&set := $00002000;
  40192. end;
  40193. procedure TPORTC_PORTC.clearRC13; inline;
  40194. begin
  40195. pTDefRegMap(@Self)^.clr := $00002000;
  40196. end;
  40197. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  40198. begin
  40199. if thebits = 0 then
  40200. pTDefRegMap(@Self)^.clr := $00002000
  40201. else
  40202. pTDefRegMap(@Self)^.&set := $00002000;
  40203. end;
  40204. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  40205. begin
  40206. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40207. end;
  40208. procedure TPORTC_PORTC.setRC14; inline;
  40209. begin
  40210. pTDefRegMap(@Self)^.&set := $00004000;
  40211. end;
  40212. procedure TPORTC_PORTC.clearRC14; inline;
  40213. begin
  40214. pTDefRegMap(@Self)^.clr := $00004000;
  40215. end;
  40216. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  40217. begin
  40218. if thebits = 0 then
  40219. pTDefRegMap(@Self)^.clr := $00004000
  40220. else
  40221. pTDefRegMap(@Self)^.&set := $00004000;
  40222. end;
  40223. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  40224. begin
  40225. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40226. end;
  40227. procedure TPORTC_PORTC.setRC15; inline;
  40228. begin
  40229. pTDefRegMap(@Self)^.&set := $00008000;
  40230. end;
  40231. procedure TPORTC_PORTC.clearRC15; inline;
  40232. begin
  40233. pTDefRegMap(@Self)^.clr := $00008000;
  40234. end;
  40235. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  40236. begin
  40237. if thebits = 0 then
  40238. pTDefRegMap(@Self)^.clr := $00008000
  40239. else
  40240. pTDefRegMap(@Self)^.&set := $00008000;
  40241. end;
  40242. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  40243. begin
  40244. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40245. end;
  40246. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  40247. begin
  40248. pTDefRegMap(@Self)^.val := thebits;
  40249. end;
  40250. function TPORTC_PORTC.getw : TBits_32; inline;
  40251. begin
  40252. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40253. end;
  40254. procedure TPORTC_LATC.setLATC12; inline;
  40255. begin
  40256. pTDefRegMap(@Self)^.&set := $00001000;
  40257. end;
  40258. procedure TPORTC_LATC.clearLATC12; inline;
  40259. begin
  40260. pTDefRegMap(@Self)^.clr := $00001000;
  40261. end;
  40262. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  40263. begin
  40264. if thebits = 0 then
  40265. pTDefRegMap(@Self)^.clr := $00001000
  40266. else
  40267. pTDefRegMap(@Self)^.&set := $00001000;
  40268. end;
  40269. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  40270. begin
  40271. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40272. end;
  40273. procedure TPORTC_LATC.setLATC13; inline;
  40274. begin
  40275. pTDefRegMap(@Self)^.&set := $00002000;
  40276. end;
  40277. procedure TPORTC_LATC.clearLATC13; inline;
  40278. begin
  40279. pTDefRegMap(@Self)^.clr := $00002000;
  40280. end;
  40281. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  40282. begin
  40283. if thebits = 0 then
  40284. pTDefRegMap(@Self)^.clr := $00002000
  40285. else
  40286. pTDefRegMap(@Self)^.&set := $00002000;
  40287. end;
  40288. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  40289. begin
  40290. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40291. end;
  40292. procedure TPORTC_LATC.setLATC14; inline;
  40293. begin
  40294. pTDefRegMap(@Self)^.&set := $00004000;
  40295. end;
  40296. procedure TPORTC_LATC.clearLATC14; inline;
  40297. begin
  40298. pTDefRegMap(@Self)^.clr := $00004000;
  40299. end;
  40300. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  40301. begin
  40302. if thebits = 0 then
  40303. pTDefRegMap(@Self)^.clr := $00004000
  40304. else
  40305. pTDefRegMap(@Self)^.&set := $00004000;
  40306. end;
  40307. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  40308. begin
  40309. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40310. end;
  40311. procedure TPORTC_LATC.setLATC15; inline;
  40312. begin
  40313. pTDefRegMap(@Self)^.&set := $00008000;
  40314. end;
  40315. procedure TPORTC_LATC.clearLATC15; inline;
  40316. begin
  40317. pTDefRegMap(@Self)^.clr := $00008000;
  40318. end;
  40319. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  40320. begin
  40321. if thebits = 0 then
  40322. pTDefRegMap(@Self)^.clr := $00008000
  40323. else
  40324. pTDefRegMap(@Self)^.&set := $00008000;
  40325. end;
  40326. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  40327. begin
  40328. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40329. end;
  40330. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  40331. begin
  40332. pTDefRegMap(@Self)^.val := thebits;
  40333. end;
  40334. function TPORTC_LATC.getw : TBits_32; inline;
  40335. begin
  40336. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40337. end;
  40338. procedure TPORTC_ODCC.setODCC12; inline;
  40339. begin
  40340. pTDefRegMap(@Self)^.&set := $00001000;
  40341. end;
  40342. procedure TPORTC_ODCC.clearODCC12; inline;
  40343. begin
  40344. pTDefRegMap(@Self)^.clr := $00001000;
  40345. end;
  40346. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  40347. begin
  40348. if thebits = 0 then
  40349. pTDefRegMap(@Self)^.clr := $00001000
  40350. else
  40351. pTDefRegMap(@Self)^.&set := $00001000;
  40352. end;
  40353. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  40354. begin
  40355. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40356. end;
  40357. procedure TPORTC_ODCC.setODCC13; inline;
  40358. begin
  40359. pTDefRegMap(@Self)^.&set := $00002000;
  40360. end;
  40361. procedure TPORTC_ODCC.clearODCC13; inline;
  40362. begin
  40363. pTDefRegMap(@Self)^.clr := $00002000;
  40364. end;
  40365. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  40366. begin
  40367. if thebits = 0 then
  40368. pTDefRegMap(@Self)^.clr := $00002000
  40369. else
  40370. pTDefRegMap(@Self)^.&set := $00002000;
  40371. end;
  40372. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  40373. begin
  40374. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40375. end;
  40376. procedure TPORTC_ODCC.setODCC14; inline;
  40377. begin
  40378. pTDefRegMap(@Self)^.&set := $00004000;
  40379. end;
  40380. procedure TPORTC_ODCC.clearODCC14; inline;
  40381. begin
  40382. pTDefRegMap(@Self)^.clr := $00004000;
  40383. end;
  40384. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  40385. begin
  40386. if thebits = 0 then
  40387. pTDefRegMap(@Self)^.clr := $00004000
  40388. else
  40389. pTDefRegMap(@Self)^.&set := $00004000;
  40390. end;
  40391. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  40392. begin
  40393. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40394. end;
  40395. procedure TPORTC_ODCC.setODCC15; inline;
  40396. begin
  40397. pTDefRegMap(@Self)^.&set := $00008000;
  40398. end;
  40399. procedure TPORTC_ODCC.clearODCC15; inline;
  40400. begin
  40401. pTDefRegMap(@Self)^.clr := $00008000;
  40402. end;
  40403. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  40404. begin
  40405. if thebits = 0 then
  40406. pTDefRegMap(@Self)^.clr := $00008000
  40407. else
  40408. pTDefRegMap(@Self)^.&set := $00008000;
  40409. end;
  40410. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  40411. begin
  40412. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40413. end;
  40414. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  40415. begin
  40416. pTDefRegMap(@Self)^.val := thebits;
  40417. end;
  40418. function TPORTC_ODCC.getw : TBits_32; inline;
  40419. begin
  40420. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40421. end;
  40422. procedure TPORTC_CNPUC.setCNPUC12; inline;
  40423. begin
  40424. pTDefRegMap(@Self)^.&set := $00001000;
  40425. end;
  40426. procedure TPORTC_CNPUC.clearCNPUC12; inline;
  40427. begin
  40428. pTDefRegMap(@Self)^.clr := $00001000;
  40429. end;
  40430. procedure TPORTC_CNPUC.setCNPUC12(thebits : TBits_1); inline;
  40431. begin
  40432. if thebits = 0 then
  40433. pTDefRegMap(@Self)^.clr := $00001000
  40434. else
  40435. pTDefRegMap(@Self)^.&set := $00001000;
  40436. end;
  40437. function TPORTC_CNPUC.getCNPUC12 : TBits_1; inline;
  40438. begin
  40439. getCNPUC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40440. end;
  40441. procedure TPORTC_CNPUC.setCNPUC13; inline;
  40442. begin
  40443. pTDefRegMap(@Self)^.&set := $00002000;
  40444. end;
  40445. procedure TPORTC_CNPUC.clearCNPUC13; inline;
  40446. begin
  40447. pTDefRegMap(@Self)^.clr := $00002000;
  40448. end;
  40449. procedure TPORTC_CNPUC.setCNPUC13(thebits : TBits_1); inline;
  40450. begin
  40451. if thebits = 0 then
  40452. pTDefRegMap(@Self)^.clr := $00002000
  40453. else
  40454. pTDefRegMap(@Self)^.&set := $00002000;
  40455. end;
  40456. function TPORTC_CNPUC.getCNPUC13 : TBits_1; inline;
  40457. begin
  40458. getCNPUC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40459. end;
  40460. procedure TPORTC_CNPUC.setCNPUC14; inline;
  40461. begin
  40462. pTDefRegMap(@Self)^.&set := $00004000;
  40463. end;
  40464. procedure TPORTC_CNPUC.clearCNPUC14; inline;
  40465. begin
  40466. pTDefRegMap(@Self)^.clr := $00004000;
  40467. end;
  40468. procedure TPORTC_CNPUC.setCNPUC14(thebits : TBits_1); inline;
  40469. begin
  40470. if thebits = 0 then
  40471. pTDefRegMap(@Self)^.clr := $00004000
  40472. else
  40473. pTDefRegMap(@Self)^.&set := $00004000;
  40474. end;
  40475. function TPORTC_CNPUC.getCNPUC14 : TBits_1; inline;
  40476. begin
  40477. getCNPUC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40478. end;
  40479. procedure TPORTC_CNPUC.setCNPUC15; inline;
  40480. begin
  40481. pTDefRegMap(@Self)^.&set := $00008000;
  40482. end;
  40483. procedure TPORTC_CNPUC.clearCNPUC15; inline;
  40484. begin
  40485. pTDefRegMap(@Self)^.clr := $00008000;
  40486. end;
  40487. procedure TPORTC_CNPUC.setCNPUC15(thebits : TBits_1); inline;
  40488. begin
  40489. if thebits = 0 then
  40490. pTDefRegMap(@Self)^.clr := $00008000
  40491. else
  40492. pTDefRegMap(@Self)^.&set := $00008000;
  40493. end;
  40494. function TPORTC_CNPUC.getCNPUC15 : TBits_1; inline;
  40495. begin
  40496. getCNPUC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40497. end;
  40498. procedure TPORTC_CNPUC.setw(thebits : TBits_32); inline;
  40499. begin
  40500. pTDefRegMap(@Self)^.val := thebits;
  40501. end;
  40502. function TPORTC_CNPUC.getw : TBits_32; inline;
  40503. begin
  40504. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40505. end;
  40506. procedure TPORTC_CNPDC.setCNPDC12; inline;
  40507. begin
  40508. pTDefRegMap(@Self)^.&set := $00001000;
  40509. end;
  40510. procedure TPORTC_CNPDC.clearCNPDC12; inline;
  40511. begin
  40512. pTDefRegMap(@Self)^.clr := $00001000;
  40513. end;
  40514. procedure TPORTC_CNPDC.setCNPDC12(thebits : TBits_1); inline;
  40515. begin
  40516. if thebits = 0 then
  40517. pTDefRegMap(@Self)^.clr := $00001000
  40518. else
  40519. pTDefRegMap(@Self)^.&set := $00001000;
  40520. end;
  40521. function TPORTC_CNPDC.getCNPDC12 : TBits_1; inline;
  40522. begin
  40523. getCNPDC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40524. end;
  40525. procedure TPORTC_CNPDC.setCNPDC13; inline;
  40526. begin
  40527. pTDefRegMap(@Self)^.&set := $00002000;
  40528. end;
  40529. procedure TPORTC_CNPDC.clearCNPDC13; inline;
  40530. begin
  40531. pTDefRegMap(@Self)^.clr := $00002000;
  40532. end;
  40533. procedure TPORTC_CNPDC.setCNPDC13(thebits : TBits_1); inline;
  40534. begin
  40535. if thebits = 0 then
  40536. pTDefRegMap(@Self)^.clr := $00002000
  40537. else
  40538. pTDefRegMap(@Self)^.&set := $00002000;
  40539. end;
  40540. function TPORTC_CNPDC.getCNPDC13 : TBits_1; inline;
  40541. begin
  40542. getCNPDC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40543. end;
  40544. procedure TPORTC_CNPDC.setCNPDC14; inline;
  40545. begin
  40546. pTDefRegMap(@Self)^.&set := $00004000;
  40547. end;
  40548. procedure TPORTC_CNPDC.clearCNPDC14; inline;
  40549. begin
  40550. pTDefRegMap(@Self)^.clr := $00004000;
  40551. end;
  40552. procedure TPORTC_CNPDC.setCNPDC14(thebits : TBits_1); inline;
  40553. begin
  40554. if thebits = 0 then
  40555. pTDefRegMap(@Self)^.clr := $00004000
  40556. else
  40557. pTDefRegMap(@Self)^.&set := $00004000;
  40558. end;
  40559. function TPORTC_CNPDC.getCNPDC14 : TBits_1; inline;
  40560. begin
  40561. getCNPDC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40562. end;
  40563. procedure TPORTC_CNPDC.setCNPDC15; inline;
  40564. begin
  40565. pTDefRegMap(@Self)^.&set := $00008000;
  40566. end;
  40567. procedure TPORTC_CNPDC.clearCNPDC15; inline;
  40568. begin
  40569. pTDefRegMap(@Self)^.clr := $00008000;
  40570. end;
  40571. procedure TPORTC_CNPDC.setCNPDC15(thebits : TBits_1); inline;
  40572. begin
  40573. if thebits = 0 then
  40574. pTDefRegMap(@Self)^.clr := $00008000
  40575. else
  40576. pTDefRegMap(@Self)^.&set := $00008000;
  40577. end;
  40578. function TPORTC_CNPDC.getCNPDC15 : TBits_1; inline;
  40579. begin
  40580. getCNPDC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40581. end;
  40582. procedure TPORTC_CNPDC.setw(thebits : TBits_32); inline;
  40583. begin
  40584. pTDefRegMap(@Self)^.val := thebits;
  40585. end;
  40586. function TPORTC_CNPDC.getw : TBits_32; inline;
  40587. begin
  40588. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40589. end;
  40590. procedure TPORTC_CNCONC.setSIDL; inline;
  40591. begin
  40592. pTDefRegMap(@Self)^.&set := $00002000;
  40593. end;
  40594. procedure TPORTC_CNCONC.clearSIDL; inline;
  40595. begin
  40596. pTDefRegMap(@Self)^.clr := $00002000;
  40597. end;
  40598. procedure TPORTC_CNCONC.setSIDL(thebits : TBits_1); inline;
  40599. begin
  40600. if thebits = 0 then
  40601. pTDefRegMap(@Self)^.clr := $00002000
  40602. else
  40603. pTDefRegMap(@Self)^.&set := $00002000;
  40604. end;
  40605. function TPORTC_CNCONC.getSIDL : TBits_1; inline;
  40606. begin
  40607. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40608. end;
  40609. procedure TPORTC_CNCONC.setON; inline;
  40610. begin
  40611. pTDefRegMap(@Self)^.&set := $00008000;
  40612. end;
  40613. procedure TPORTC_CNCONC.clearON; inline;
  40614. begin
  40615. pTDefRegMap(@Self)^.clr := $00008000;
  40616. end;
  40617. procedure TPORTC_CNCONC.setON(thebits : TBits_1); inline;
  40618. begin
  40619. if thebits = 0 then
  40620. pTDefRegMap(@Self)^.clr := $00008000
  40621. else
  40622. pTDefRegMap(@Self)^.&set := $00008000;
  40623. end;
  40624. function TPORTC_CNCONC.getON : TBits_1; inline;
  40625. begin
  40626. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40627. end;
  40628. procedure TPORTC_CNCONC.setw(thebits : TBits_32); inline;
  40629. begin
  40630. pTDefRegMap(@Self)^.val := thebits;
  40631. end;
  40632. function TPORTC_CNCONC.getw : TBits_32; inline;
  40633. begin
  40634. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40635. end;
  40636. procedure TPORTC_CNENC.setCNIEC12; inline;
  40637. begin
  40638. pTDefRegMap(@Self)^.&set := $00001000;
  40639. end;
  40640. procedure TPORTC_CNENC.clearCNIEC12; inline;
  40641. begin
  40642. pTDefRegMap(@Self)^.clr := $00001000;
  40643. end;
  40644. procedure TPORTC_CNENC.setCNIEC12(thebits : TBits_1); inline;
  40645. begin
  40646. if thebits = 0 then
  40647. pTDefRegMap(@Self)^.clr := $00001000
  40648. else
  40649. pTDefRegMap(@Self)^.&set := $00001000;
  40650. end;
  40651. function TPORTC_CNENC.getCNIEC12 : TBits_1; inline;
  40652. begin
  40653. getCNIEC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40654. end;
  40655. procedure TPORTC_CNENC.setCNIEC13; inline;
  40656. begin
  40657. pTDefRegMap(@Self)^.&set := $00002000;
  40658. end;
  40659. procedure TPORTC_CNENC.clearCNIEC13; inline;
  40660. begin
  40661. pTDefRegMap(@Self)^.clr := $00002000;
  40662. end;
  40663. procedure TPORTC_CNENC.setCNIEC13(thebits : TBits_1); inline;
  40664. begin
  40665. if thebits = 0 then
  40666. pTDefRegMap(@Self)^.clr := $00002000
  40667. else
  40668. pTDefRegMap(@Self)^.&set := $00002000;
  40669. end;
  40670. function TPORTC_CNENC.getCNIEC13 : TBits_1; inline;
  40671. begin
  40672. getCNIEC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40673. end;
  40674. procedure TPORTC_CNENC.setCNIEC14; inline;
  40675. begin
  40676. pTDefRegMap(@Self)^.&set := $00004000;
  40677. end;
  40678. procedure TPORTC_CNENC.clearCNIEC14; inline;
  40679. begin
  40680. pTDefRegMap(@Self)^.clr := $00004000;
  40681. end;
  40682. procedure TPORTC_CNENC.setCNIEC14(thebits : TBits_1); inline;
  40683. begin
  40684. if thebits = 0 then
  40685. pTDefRegMap(@Self)^.clr := $00004000
  40686. else
  40687. pTDefRegMap(@Self)^.&set := $00004000;
  40688. end;
  40689. function TPORTC_CNENC.getCNIEC14 : TBits_1; inline;
  40690. begin
  40691. getCNIEC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40692. end;
  40693. procedure TPORTC_CNENC.setCNIEC15; inline;
  40694. begin
  40695. pTDefRegMap(@Self)^.&set := $00008000;
  40696. end;
  40697. procedure TPORTC_CNENC.clearCNIEC15; inline;
  40698. begin
  40699. pTDefRegMap(@Self)^.clr := $00008000;
  40700. end;
  40701. procedure TPORTC_CNENC.setCNIEC15(thebits : TBits_1); inline;
  40702. begin
  40703. if thebits = 0 then
  40704. pTDefRegMap(@Self)^.clr := $00008000
  40705. else
  40706. pTDefRegMap(@Self)^.&set := $00008000;
  40707. end;
  40708. function TPORTC_CNENC.getCNIEC15 : TBits_1; inline;
  40709. begin
  40710. getCNIEC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40711. end;
  40712. procedure TPORTC_CNENC.setw(thebits : TBits_32); inline;
  40713. begin
  40714. pTDefRegMap(@Self)^.val := thebits;
  40715. end;
  40716. function TPORTC_CNENC.getw : TBits_32; inline;
  40717. begin
  40718. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40719. end;
  40720. procedure TPORTC_CNSTATC.setCNSTATC12; inline;
  40721. begin
  40722. pTDefRegMap(@Self)^.&set := $00001000;
  40723. end;
  40724. procedure TPORTC_CNSTATC.clearCNSTATC12; inline;
  40725. begin
  40726. pTDefRegMap(@Self)^.clr := $00001000;
  40727. end;
  40728. procedure TPORTC_CNSTATC.setCNSTATC12(thebits : TBits_1); inline;
  40729. begin
  40730. if thebits = 0 then
  40731. pTDefRegMap(@Self)^.clr := $00001000
  40732. else
  40733. pTDefRegMap(@Self)^.&set := $00001000;
  40734. end;
  40735. function TPORTC_CNSTATC.getCNSTATC12 : TBits_1; inline;
  40736. begin
  40737. getCNSTATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40738. end;
  40739. procedure TPORTC_CNSTATC.setCNSTATC13; inline;
  40740. begin
  40741. pTDefRegMap(@Self)^.&set := $00002000;
  40742. end;
  40743. procedure TPORTC_CNSTATC.clearCNSTATC13; inline;
  40744. begin
  40745. pTDefRegMap(@Self)^.clr := $00002000;
  40746. end;
  40747. procedure TPORTC_CNSTATC.setCNSTATC13(thebits : TBits_1); inline;
  40748. begin
  40749. if thebits = 0 then
  40750. pTDefRegMap(@Self)^.clr := $00002000
  40751. else
  40752. pTDefRegMap(@Self)^.&set := $00002000;
  40753. end;
  40754. function TPORTC_CNSTATC.getCNSTATC13 : TBits_1; inline;
  40755. begin
  40756. getCNSTATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40757. end;
  40758. procedure TPORTC_CNSTATC.setCNSTATC14; inline;
  40759. begin
  40760. pTDefRegMap(@Self)^.&set := $00004000;
  40761. end;
  40762. procedure TPORTC_CNSTATC.clearCNSTATC14; inline;
  40763. begin
  40764. pTDefRegMap(@Self)^.clr := $00004000;
  40765. end;
  40766. procedure TPORTC_CNSTATC.setCNSTATC14(thebits : TBits_1); inline;
  40767. begin
  40768. if thebits = 0 then
  40769. pTDefRegMap(@Self)^.clr := $00004000
  40770. else
  40771. pTDefRegMap(@Self)^.&set := $00004000;
  40772. end;
  40773. function TPORTC_CNSTATC.getCNSTATC14 : TBits_1; inline;
  40774. begin
  40775. getCNSTATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40776. end;
  40777. procedure TPORTC_CNSTATC.setCNSTATC15; inline;
  40778. begin
  40779. pTDefRegMap(@Self)^.&set := $00008000;
  40780. end;
  40781. procedure TPORTC_CNSTATC.clearCNSTATC15; inline;
  40782. begin
  40783. pTDefRegMap(@Self)^.clr := $00008000;
  40784. end;
  40785. procedure TPORTC_CNSTATC.setCNSTATC15(thebits : TBits_1); inline;
  40786. begin
  40787. if thebits = 0 then
  40788. pTDefRegMap(@Self)^.clr := $00008000
  40789. else
  40790. pTDefRegMap(@Self)^.&set := $00008000;
  40791. end;
  40792. function TPORTC_CNSTATC.getCNSTATC15 : TBits_1; inline;
  40793. begin
  40794. getCNSTATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40795. end;
  40796. procedure TPORTC_CNSTATC.setw(thebits : TBits_32); inline;
  40797. begin
  40798. pTDefRegMap(@Self)^.val := thebits;
  40799. end;
  40800. function TPORTC_CNSTATC.getw : TBits_32; inline;
  40801. begin
  40802. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40803. end;
  40804. procedure TPORTC_ANSELD.setANSD1; inline;
  40805. begin
  40806. pTDefRegMap(@Self)^.&set := $00000002;
  40807. end;
  40808. procedure TPORTC_ANSELD.clearANSD1; inline;
  40809. begin
  40810. pTDefRegMap(@Self)^.clr := $00000002;
  40811. end;
  40812. procedure TPORTC_ANSELD.setANSD1(thebits : TBits_1); inline;
  40813. begin
  40814. if thebits = 0 then
  40815. pTDefRegMap(@Self)^.clr := $00000002
  40816. else
  40817. pTDefRegMap(@Self)^.&set := $00000002;
  40818. end;
  40819. function TPORTC_ANSELD.getANSD1 : TBits_1; inline;
  40820. begin
  40821. getANSD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40822. end;
  40823. procedure TPORTC_ANSELD.setANSD2; inline;
  40824. begin
  40825. pTDefRegMap(@Self)^.&set := $00000004;
  40826. end;
  40827. procedure TPORTC_ANSELD.clearANSD2; inline;
  40828. begin
  40829. pTDefRegMap(@Self)^.clr := $00000004;
  40830. end;
  40831. procedure TPORTC_ANSELD.setANSD2(thebits : TBits_1); inline;
  40832. begin
  40833. if thebits = 0 then
  40834. pTDefRegMap(@Self)^.clr := $00000004
  40835. else
  40836. pTDefRegMap(@Self)^.&set := $00000004;
  40837. end;
  40838. function TPORTC_ANSELD.getANSD2 : TBits_1; inline;
  40839. begin
  40840. getANSD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40841. end;
  40842. procedure TPORTC_ANSELD.setANSD3; inline;
  40843. begin
  40844. pTDefRegMap(@Self)^.&set := $00000008;
  40845. end;
  40846. procedure TPORTC_ANSELD.clearANSD3; inline;
  40847. begin
  40848. pTDefRegMap(@Self)^.clr := $00000008;
  40849. end;
  40850. procedure TPORTC_ANSELD.setANSD3(thebits : TBits_1); inline;
  40851. begin
  40852. if thebits = 0 then
  40853. pTDefRegMap(@Self)^.clr := $00000008
  40854. else
  40855. pTDefRegMap(@Self)^.&set := $00000008;
  40856. end;
  40857. function TPORTC_ANSELD.getANSD3 : TBits_1; inline;
  40858. begin
  40859. getANSD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40860. end;
  40861. procedure TPORTC_ANSELD.setw(thebits : TBits_32); inline;
  40862. begin
  40863. pTDefRegMap(@Self)^.val := thebits;
  40864. end;
  40865. function TPORTC_ANSELD.getw : TBits_32; inline;
  40866. begin
  40867. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40868. end;
  40869. procedure TPORTC_TRISD.setTRISD0; inline;
  40870. begin
  40871. pTDefRegMap(@Self)^.&set := $00000001;
  40872. end;
  40873. procedure TPORTC_TRISD.clearTRISD0; inline;
  40874. begin
  40875. pTDefRegMap(@Self)^.clr := $00000001;
  40876. end;
  40877. procedure TPORTC_TRISD.setTRISD0(thebits : TBits_1); inline;
  40878. begin
  40879. if thebits = 0 then
  40880. pTDefRegMap(@Self)^.clr := $00000001
  40881. else
  40882. pTDefRegMap(@Self)^.&set := $00000001;
  40883. end;
  40884. function TPORTC_TRISD.getTRISD0 : TBits_1; inline;
  40885. begin
  40886. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40887. end;
  40888. procedure TPORTC_TRISD.setTRISD1; inline;
  40889. begin
  40890. pTDefRegMap(@Self)^.&set := $00000002;
  40891. end;
  40892. procedure TPORTC_TRISD.clearTRISD1; inline;
  40893. begin
  40894. pTDefRegMap(@Self)^.clr := $00000002;
  40895. end;
  40896. procedure TPORTC_TRISD.setTRISD1(thebits : TBits_1); inline;
  40897. begin
  40898. if thebits = 0 then
  40899. pTDefRegMap(@Self)^.clr := $00000002
  40900. else
  40901. pTDefRegMap(@Self)^.&set := $00000002;
  40902. end;
  40903. function TPORTC_TRISD.getTRISD1 : TBits_1; inline;
  40904. begin
  40905. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40906. end;
  40907. procedure TPORTC_TRISD.setTRISD2; inline;
  40908. begin
  40909. pTDefRegMap(@Self)^.&set := $00000004;
  40910. end;
  40911. procedure TPORTC_TRISD.clearTRISD2; inline;
  40912. begin
  40913. pTDefRegMap(@Self)^.clr := $00000004;
  40914. end;
  40915. procedure TPORTC_TRISD.setTRISD2(thebits : TBits_1); inline;
  40916. begin
  40917. if thebits = 0 then
  40918. pTDefRegMap(@Self)^.clr := $00000004
  40919. else
  40920. pTDefRegMap(@Self)^.&set := $00000004;
  40921. end;
  40922. function TPORTC_TRISD.getTRISD2 : TBits_1; inline;
  40923. begin
  40924. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40925. end;
  40926. procedure TPORTC_TRISD.setTRISD3; inline;
  40927. begin
  40928. pTDefRegMap(@Self)^.&set := $00000008;
  40929. end;
  40930. procedure TPORTC_TRISD.clearTRISD3; inline;
  40931. begin
  40932. pTDefRegMap(@Self)^.clr := $00000008;
  40933. end;
  40934. procedure TPORTC_TRISD.setTRISD3(thebits : TBits_1); inline;
  40935. begin
  40936. if thebits = 0 then
  40937. pTDefRegMap(@Self)^.clr := $00000008
  40938. else
  40939. pTDefRegMap(@Self)^.&set := $00000008;
  40940. end;
  40941. function TPORTC_TRISD.getTRISD3 : TBits_1; inline;
  40942. begin
  40943. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40944. end;
  40945. procedure TPORTC_TRISD.setTRISD4; inline;
  40946. begin
  40947. pTDefRegMap(@Self)^.&set := $00000010;
  40948. end;
  40949. procedure TPORTC_TRISD.clearTRISD4; inline;
  40950. begin
  40951. pTDefRegMap(@Self)^.clr := $00000010;
  40952. end;
  40953. procedure TPORTC_TRISD.setTRISD4(thebits : TBits_1); inline;
  40954. begin
  40955. if thebits = 0 then
  40956. pTDefRegMap(@Self)^.clr := $00000010
  40957. else
  40958. pTDefRegMap(@Self)^.&set := $00000010;
  40959. end;
  40960. function TPORTC_TRISD.getTRISD4 : TBits_1; inline;
  40961. begin
  40962. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40963. end;
  40964. procedure TPORTC_TRISD.setTRISD5; inline;
  40965. begin
  40966. pTDefRegMap(@Self)^.&set := $00000020;
  40967. end;
  40968. procedure TPORTC_TRISD.clearTRISD5; inline;
  40969. begin
  40970. pTDefRegMap(@Self)^.clr := $00000020;
  40971. end;
  40972. procedure TPORTC_TRISD.setTRISD5(thebits : TBits_1); inline;
  40973. begin
  40974. if thebits = 0 then
  40975. pTDefRegMap(@Self)^.clr := $00000020
  40976. else
  40977. pTDefRegMap(@Self)^.&set := $00000020;
  40978. end;
  40979. function TPORTC_TRISD.getTRISD5 : TBits_1; inline;
  40980. begin
  40981. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40982. end;
  40983. procedure TPORTC_TRISD.setTRISD6; inline;
  40984. begin
  40985. pTDefRegMap(@Self)^.&set := $00000040;
  40986. end;
  40987. procedure TPORTC_TRISD.clearTRISD6; inline;
  40988. begin
  40989. pTDefRegMap(@Self)^.clr := $00000040;
  40990. end;
  40991. procedure TPORTC_TRISD.setTRISD6(thebits : TBits_1); inline;
  40992. begin
  40993. if thebits = 0 then
  40994. pTDefRegMap(@Self)^.clr := $00000040
  40995. else
  40996. pTDefRegMap(@Self)^.&set := $00000040;
  40997. end;
  40998. function TPORTC_TRISD.getTRISD6 : TBits_1; inline;
  40999. begin
  41000. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41001. end;
  41002. procedure TPORTC_TRISD.setTRISD7; inline;
  41003. begin
  41004. pTDefRegMap(@Self)^.&set := $00000080;
  41005. end;
  41006. procedure TPORTC_TRISD.clearTRISD7; inline;
  41007. begin
  41008. pTDefRegMap(@Self)^.clr := $00000080;
  41009. end;
  41010. procedure TPORTC_TRISD.setTRISD7(thebits : TBits_1); inline;
  41011. begin
  41012. if thebits = 0 then
  41013. pTDefRegMap(@Self)^.clr := $00000080
  41014. else
  41015. pTDefRegMap(@Self)^.&set := $00000080;
  41016. end;
  41017. function TPORTC_TRISD.getTRISD7 : TBits_1; inline;
  41018. begin
  41019. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41020. end;
  41021. procedure TPORTC_TRISD.setTRISD8; inline;
  41022. begin
  41023. pTDefRegMap(@Self)^.&set := $00000100;
  41024. end;
  41025. procedure TPORTC_TRISD.clearTRISD8; inline;
  41026. begin
  41027. pTDefRegMap(@Self)^.clr := $00000100;
  41028. end;
  41029. procedure TPORTC_TRISD.setTRISD8(thebits : TBits_1); inline;
  41030. begin
  41031. if thebits = 0 then
  41032. pTDefRegMap(@Self)^.clr := $00000100
  41033. else
  41034. pTDefRegMap(@Self)^.&set := $00000100;
  41035. end;
  41036. function TPORTC_TRISD.getTRISD8 : TBits_1; inline;
  41037. begin
  41038. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41039. end;
  41040. procedure TPORTC_TRISD.setTRISD9; inline;
  41041. begin
  41042. pTDefRegMap(@Self)^.&set := $00000200;
  41043. end;
  41044. procedure TPORTC_TRISD.clearTRISD9; inline;
  41045. begin
  41046. pTDefRegMap(@Self)^.clr := $00000200;
  41047. end;
  41048. procedure TPORTC_TRISD.setTRISD9(thebits : TBits_1); inline;
  41049. begin
  41050. if thebits = 0 then
  41051. pTDefRegMap(@Self)^.clr := $00000200
  41052. else
  41053. pTDefRegMap(@Self)^.&set := $00000200;
  41054. end;
  41055. function TPORTC_TRISD.getTRISD9 : TBits_1; inline;
  41056. begin
  41057. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41058. end;
  41059. procedure TPORTC_TRISD.setTRISD10; inline;
  41060. begin
  41061. pTDefRegMap(@Self)^.&set := $00000400;
  41062. end;
  41063. procedure TPORTC_TRISD.clearTRISD10; inline;
  41064. begin
  41065. pTDefRegMap(@Self)^.clr := $00000400;
  41066. end;
  41067. procedure TPORTC_TRISD.setTRISD10(thebits : TBits_1); inline;
  41068. begin
  41069. if thebits = 0 then
  41070. pTDefRegMap(@Self)^.clr := $00000400
  41071. else
  41072. pTDefRegMap(@Self)^.&set := $00000400;
  41073. end;
  41074. function TPORTC_TRISD.getTRISD10 : TBits_1; inline;
  41075. begin
  41076. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41077. end;
  41078. procedure TPORTC_TRISD.setTRISD11; inline;
  41079. begin
  41080. pTDefRegMap(@Self)^.&set := $00000800;
  41081. end;
  41082. procedure TPORTC_TRISD.clearTRISD11; inline;
  41083. begin
  41084. pTDefRegMap(@Self)^.clr := $00000800;
  41085. end;
  41086. procedure TPORTC_TRISD.setTRISD11(thebits : TBits_1); inline;
  41087. begin
  41088. if thebits = 0 then
  41089. pTDefRegMap(@Self)^.clr := $00000800
  41090. else
  41091. pTDefRegMap(@Self)^.&set := $00000800;
  41092. end;
  41093. function TPORTC_TRISD.getTRISD11 : TBits_1; inline;
  41094. begin
  41095. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41096. end;
  41097. procedure TPORTC_TRISD.setw(thebits : TBits_32); inline;
  41098. begin
  41099. pTDefRegMap(@Self)^.val := thebits;
  41100. end;
  41101. function TPORTC_TRISD.getw : TBits_32; inline;
  41102. begin
  41103. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41104. end;
  41105. procedure TPORTD_PORTD.setRD0; inline;
  41106. begin
  41107. pTDefRegMap(@Self)^.&set := $00000001;
  41108. end;
  41109. procedure TPORTD_PORTD.clearRD0; inline;
  41110. begin
  41111. pTDefRegMap(@Self)^.clr := $00000001;
  41112. end;
  41113. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  41114. begin
  41115. if thebits = 0 then
  41116. pTDefRegMap(@Self)^.clr := $00000001
  41117. else
  41118. pTDefRegMap(@Self)^.&set := $00000001;
  41119. end;
  41120. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  41121. begin
  41122. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41123. end;
  41124. procedure TPORTD_PORTD.setRD1; inline;
  41125. begin
  41126. pTDefRegMap(@Self)^.&set := $00000002;
  41127. end;
  41128. procedure TPORTD_PORTD.clearRD1; inline;
  41129. begin
  41130. pTDefRegMap(@Self)^.clr := $00000002;
  41131. end;
  41132. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  41133. begin
  41134. if thebits = 0 then
  41135. pTDefRegMap(@Self)^.clr := $00000002
  41136. else
  41137. pTDefRegMap(@Self)^.&set := $00000002;
  41138. end;
  41139. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  41140. begin
  41141. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41142. end;
  41143. procedure TPORTD_PORTD.setRD2; inline;
  41144. begin
  41145. pTDefRegMap(@Self)^.&set := $00000004;
  41146. end;
  41147. procedure TPORTD_PORTD.clearRD2; inline;
  41148. begin
  41149. pTDefRegMap(@Self)^.clr := $00000004;
  41150. end;
  41151. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  41152. begin
  41153. if thebits = 0 then
  41154. pTDefRegMap(@Self)^.clr := $00000004
  41155. else
  41156. pTDefRegMap(@Self)^.&set := $00000004;
  41157. end;
  41158. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  41159. begin
  41160. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41161. end;
  41162. procedure TPORTD_PORTD.setRD3; inline;
  41163. begin
  41164. pTDefRegMap(@Self)^.&set := $00000008;
  41165. end;
  41166. procedure TPORTD_PORTD.clearRD3; inline;
  41167. begin
  41168. pTDefRegMap(@Self)^.clr := $00000008;
  41169. end;
  41170. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  41171. begin
  41172. if thebits = 0 then
  41173. pTDefRegMap(@Self)^.clr := $00000008
  41174. else
  41175. pTDefRegMap(@Self)^.&set := $00000008;
  41176. end;
  41177. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  41178. begin
  41179. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41180. end;
  41181. procedure TPORTD_PORTD.setRD4; inline;
  41182. begin
  41183. pTDefRegMap(@Self)^.&set := $00000010;
  41184. end;
  41185. procedure TPORTD_PORTD.clearRD4; inline;
  41186. begin
  41187. pTDefRegMap(@Self)^.clr := $00000010;
  41188. end;
  41189. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  41190. begin
  41191. if thebits = 0 then
  41192. pTDefRegMap(@Self)^.clr := $00000010
  41193. else
  41194. pTDefRegMap(@Self)^.&set := $00000010;
  41195. end;
  41196. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  41197. begin
  41198. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41199. end;
  41200. procedure TPORTD_PORTD.setRD5; inline;
  41201. begin
  41202. pTDefRegMap(@Self)^.&set := $00000020;
  41203. end;
  41204. procedure TPORTD_PORTD.clearRD5; inline;
  41205. begin
  41206. pTDefRegMap(@Self)^.clr := $00000020;
  41207. end;
  41208. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  41209. begin
  41210. if thebits = 0 then
  41211. pTDefRegMap(@Self)^.clr := $00000020
  41212. else
  41213. pTDefRegMap(@Self)^.&set := $00000020;
  41214. end;
  41215. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  41216. begin
  41217. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41218. end;
  41219. procedure TPORTD_PORTD.setRD6; inline;
  41220. begin
  41221. pTDefRegMap(@Self)^.&set := $00000040;
  41222. end;
  41223. procedure TPORTD_PORTD.clearRD6; inline;
  41224. begin
  41225. pTDefRegMap(@Self)^.clr := $00000040;
  41226. end;
  41227. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  41228. begin
  41229. if thebits = 0 then
  41230. pTDefRegMap(@Self)^.clr := $00000040
  41231. else
  41232. pTDefRegMap(@Self)^.&set := $00000040;
  41233. end;
  41234. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  41235. begin
  41236. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41237. end;
  41238. procedure TPORTD_PORTD.setRD7; inline;
  41239. begin
  41240. pTDefRegMap(@Self)^.&set := $00000080;
  41241. end;
  41242. procedure TPORTD_PORTD.clearRD7; inline;
  41243. begin
  41244. pTDefRegMap(@Self)^.clr := $00000080;
  41245. end;
  41246. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  41247. begin
  41248. if thebits = 0 then
  41249. pTDefRegMap(@Self)^.clr := $00000080
  41250. else
  41251. pTDefRegMap(@Self)^.&set := $00000080;
  41252. end;
  41253. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  41254. begin
  41255. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41256. end;
  41257. procedure TPORTD_PORTD.setRD8; inline;
  41258. begin
  41259. pTDefRegMap(@Self)^.&set := $00000100;
  41260. end;
  41261. procedure TPORTD_PORTD.clearRD8; inline;
  41262. begin
  41263. pTDefRegMap(@Self)^.clr := $00000100;
  41264. end;
  41265. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  41266. begin
  41267. if thebits = 0 then
  41268. pTDefRegMap(@Self)^.clr := $00000100
  41269. else
  41270. pTDefRegMap(@Self)^.&set := $00000100;
  41271. end;
  41272. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  41273. begin
  41274. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41275. end;
  41276. procedure TPORTD_PORTD.setRD9; inline;
  41277. begin
  41278. pTDefRegMap(@Self)^.&set := $00000200;
  41279. end;
  41280. procedure TPORTD_PORTD.clearRD9; inline;
  41281. begin
  41282. pTDefRegMap(@Self)^.clr := $00000200;
  41283. end;
  41284. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  41285. begin
  41286. if thebits = 0 then
  41287. pTDefRegMap(@Self)^.clr := $00000200
  41288. else
  41289. pTDefRegMap(@Self)^.&set := $00000200;
  41290. end;
  41291. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  41292. begin
  41293. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41294. end;
  41295. procedure TPORTD_PORTD.setRD10; inline;
  41296. begin
  41297. pTDefRegMap(@Self)^.&set := $00000400;
  41298. end;
  41299. procedure TPORTD_PORTD.clearRD10; inline;
  41300. begin
  41301. pTDefRegMap(@Self)^.clr := $00000400;
  41302. end;
  41303. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  41304. begin
  41305. if thebits = 0 then
  41306. pTDefRegMap(@Self)^.clr := $00000400
  41307. else
  41308. pTDefRegMap(@Self)^.&set := $00000400;
  41309. end;
  41310. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  41311. begin
  41312. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41313. end;
  41314. procedure TPORTD_PORTD.setRD11; inline;
  41315. begin
  41316. pTDefRegMap(@Self)^.&set := $00000800;
  41317. end;
  41318. procedure TPORTD_PORTD.clearRD11; inline;
  41319. begin
  41320. pTDefRegMap(@Self)^.clr := $00000800;
  41321. end;
  41322. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  41323. begin
  41324. if thebits = 0 then
  41325. pTDefRegMap(@Self)^.clr := $00000800
  41326. else
  41327. pTDefRegMap(@Self)^.&set := $00000800;
  41328. end;
  41329. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  41330. begin
  41331. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41332. end;
  41333. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  41334. begin
  41335. pTDefRegMap(@Self)^.val := thebits;
  41336. end;
  41337. function TPORTD_PORTD.getw : TBits_32; inline;
  41338. begin
  41339. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41340. end;
  41341. procedure TPORTD_LATD.setLATD0; inline;
  41342. begin
  41343. pTDefRegMap(@Self)^.&set := $00000001;
  41344. end;
  41345. procedure TPORTD_LATD.clearLATD0; inline;
  41346. begin
  41347. pTDefRegMap(@Self)^.clr := $00000001;
  41348. end;
  41349. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  41350. begin
  41351. if thebits = 0 then
  41352. pTDefRegMap(@Self)^.clr := $00000001
  41353. else
  41354. pTDefRegMap(@Self)^.&set := $00000001;
  41355. end;
  41356. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  41357. begin
  41358. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41359. end;
  41360. procedure TPORTD_LATD.setLATD1; inline;
  41361. begin
  41362. pTDefRegMap(@Self)^.&set := $00000002;
  41363. end;
  41364. procedure TPORTD_LATD.clearLATD1; inline;
  41365. begin
  41366. pTDefRegMap(@Self)^.clr := $00000002;
  41367. end;
  41368. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  41369. begin
  41370. if thebits = 0 then
  41371. pTDefRegMap(@Self)^.clr := $00000002
  41372. else
  41373. pTDefRegMap(@Self)^.&set := $00000002;
  41374. end;
  41375. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  41376. begin
  41377. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41378. end;
  41379. procedure TPORTD_LATD.setLATD2; inline;
  41380. begin
  41381. pTDefRegMap(@Self)^.&set := $00000004;
  41382. end;
  41383. procedure TPORTD_LATD.clearLATD2; inline;
  41384. begin
  41385. pTDefRegMap(@Self)^.clr := $00000004;
  41386. end;
  41387. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  41388. begin
  41389. if thebits = 0 then
  41390. pTDefRegMap(@Self)^.clr := $00000004
  41391. else
  41392. pTDefRegMap(@Self)^.&set := $00000004;
  41393. end;
  41394. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  41395. begin
  41396. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41397. end;
  41398. procedure TPORTD_LATD.setLATD3; inline;
  41399. begin
  41400. pTDefRegMap(@Self)^.&set := $00000008;
  41401. end;
  41402. procedure TPORTD_LATD.clearLATD3; inline;
  41403. begin
  41404. pTDefRegMap(@Self)^.clr := $00000008;
  41405. end;
  41406. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  41407. begin
  41408. if thebits = 0 then
  41409. pTDefRegMap(@Self)^.clr := $00000008
  41410. else
  41411. pTDefRegMap(@Self)^.&set := $00000008;
  41412. end;
  41413. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  41414. begin
  41415. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41416. end;
  41417. procedure TPORTD_LATD.setLATD4; inline;
  41418. begin
  41419. pTDefRegMap(@Self)^.&set := $00000010;
  41420. end;
  41421. procedure TPORTD_LATD.clearLATD4; inline;
  41422. begin
  41423. pTDefRegMap(@Self)^.clr := $00000010;
  41424. end;
  41425. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  41426. begin
  41427. if thebits = 0 then
  41428. pTDefRegMap(@Self)^.clr := $00000010
  41429. else
  41430. pTDefRegMap(@Self)^.&set := $00000010;
  41431. end;
  41432. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  41433. begin
  41434. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41435. end;
  41436. procedure TPORTD_LATD.setLATD5; inline;
  41437. begin
  41438. pTDefRegMap(@Self)^.&set := $00000020;
  41439. end;
  41440. procedure TPORTD_LATD.clearLATD5; inline;
  41441. begin
  41442. pTDefRegMap(@Self)^.clr := $00000020;
  41443. end;
  41444. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  41445. begin
  41446. if thebits = 0 then
  41447. pTDefRegMap(@Self)^.clr := $00000020
  41448. else
  41449. pTDefRegMap(@Self)^.&set := $00000020;
  41450. end;
  41451. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  41452. begin
  41453. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41454. end;
  41455. procedure TPORTD_LATD.setLATD6; inline;
  41456. begin
  41457. pTDefRegMap(@Self)^.&set := $00000040;
  41458. end;
  41459. procedure TPORTD_LATD.clearLATD6; inline;
  41460. begin
  41461. pTDefRegMap(@Self)^.clr := $00000040;
  41462. end;
  41463. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  41464. begin
  41465. if thebits = 0 then
  41466. pTDefRegMap(@Self)^.clr := $00000040
  41467. else
  41468. pTDefRegMap(@Self)^.&set := $00000040;
  41469. end;
  41470. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  41471. begin
  41472. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41473. end;
  41474. procedure TPORTD_LATD.setLATD7; inline;
  41475. begin
  41476. pTDefRegMap(@Self)^.&set := $00000080;
  41477. end;
  41478. procedure TPORTD_LATD.clearLATD7; inline;
  41479. begin
  41480. pTDefRegMap(@Self)^.clr := $00000080;
  41481. end;
  41482. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  41483. begin
  41484. if thebits = 0 then
  41485. pTDefRegMap(@Self)^.clr := $00000080
  41486. else
  41487. pTDefRegMap(@Self)^.&set := $00000080;
  41488. end;
  41489. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  41490. begin
  41491. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41492. end;
  41493. procedure TPORTD_LATD.setLATD8; inline;
  41494. begin
  41495. pTDefRegMap(@Self)^.&set := $00000100;
  41496. end;
  41497. procedure TPORTD_LATD.clearLATD8; inline;
  41498. begin
  41499. pTDefRegMap(@Self)^.clr := $00000100;
  41500. end;
  41501. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  41502. begin
  41503. if thebits = 0 then
  41504. pTDefRegMap(@Self)^.clr := $00000100
  41505. else
  41506. pTDefRegMap(@Self)^.&set := $00000100;
  41507. end;
  41508. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  41509. begin
  41510. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41511. end;
  41512. procedure TPORTD_LATD.setLATD9; inline;
  41513. begin
  41514. pTDefRegMap(@Self)^.&set := $00000200;
  41515. end;
  41516. procedure TPORTD_LATD.clearLATD9; inline;
  41517. begin
  41518. pTDefRegMap(@Self)^.clr := $00000200;
  41519. end;
  41520. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  41521. begin
  41522. if thebits = 0 then
  41523. pTDefRegMap(@Self)^.clr := $00000200
  41524. else
  41525. pTDefRegMap(@Self)^.&set := $00000200;
  41526. end;
  41527. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  41528. begin
  41529. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41530. end;
  41531. procedure TPORTD_LATD.setLATD10; inline;
  41532. begin
  41533. pTDefRegMap(@Self)^.&set := $00000400;
  41534. end;
  41535. procedure TPORTD_LATD.clearLATD10; inline;
  41536. begin
  41537. pTDefRegMap(@Self)^.clr := $00000400;
  41538. end;
  41539. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  41540. begin
  41541. if thebits = 0 then
  41542. pTDefRegMap(@Self)^.clr := $00000400
  41543. else
  41544. pTDefRegMap(@Self)^.&set := $00000400;
  41545. end;
  41546. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  41547. begin
  41548. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41549. end;
  41550. procedure TPORTD_LATD.setLATD11; inline;
  41551. begin
  41552. pTDefRegMap(@Self)^.&set := $00000800;
  41553. end;
  41554. procedure TPORTD_LATD.clearLATD11; inline;
  41555. begin
  41556. pTDefRegMap(@Self)^.clr := $00000800;
  41557. end;
  41558. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  41559. begin
  41560. if thebits = 0 then
  41561. pTDefRegMap(@Self)^.clr := $00000800
  41562. else
  41563. pTDefRegMap(@Self)^.&set := $00000800;
  41564. end;
  41565. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  41566. begin
  41567. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41568. end;
  41569. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  41570. begin
  41571. pTDefRegMap(@Self)^.val := thebits;
  41572. end;
  41573. function TPORTD_LATD.getw : TBits_32; inline;
  41574. begin
  41575. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41576. end;
  41577. procedure TPORTD_ODCD.setODCD0; inline;
  41578. begin
  41579. pTDefRegMap(@Self)^.&set := $00000001;
  41580. end;
  41581. procedure TPORTD_ODCD.clearODCD0; inline;
  41582. begin
  41583. pTDefRegMap(@Self)^.clr := $00000001;
  41584. end;
  41585. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  41586. begin
  41587. if thebits = 0 then
  41588. pTDefRegMap(@Self)^.clr := $00000001
  41589. else
  41590. pTDefRegMap(@Self)^.&set := $00000001;
  41591. end;
  41592. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  41593. begin
  41594. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41595. end;
  41596. procedure TPORTD_ODCD.setODCD1; inline;
  41597. begin
  41598. pTDefRegMap(@Self)^.&set := $00000002;
  41599. end;
  41600. procedure TPORTD_ODCD.clearODCD1; inline;
  41601. begin
  41602. pTDefRegMap(@Self)^.clr := $00000002;
  41603. end;
  41604. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  41605. begin
  41606. if thebits = 0 then
  41607. pTDefRegMap(@Self)^.clr := $00000002
  41608. else
  41609. pTDefRegMap(@Self)^.&set := $00000002;
  41610. end;
  41611. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  41612. begin
  41613. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41614. end;
  41615. procedure TPORTD_ODCD.setODCD2; inline;
  41616. begin
  41617. pTDefRegMap(@Self)^.&set := $00000004;
  41618. end;
  41619. procedure TPORTD_ODCD.clearODCD2; inline;
  41620. begin
  41621. pTDefRegMap(@Self)^.clr := $00000004;
  41622. end;
  41623. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  41624. begin
  41625. if thebits = 0 then
  41626. pTDefRegMap(@Self)^.clr := $00000004
  41627. else
  41628. pTDefRegMap(@Self)^.&set := $00000004;
  41629. end;
  41630. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  41631. begin
  41632. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41633. end;
  41634. procedure TPORTD_ODCD.setODCD3; inline;
  41635. begin
  41636. pTDefRegMap(@Self)^.&set := $00000008;
  41637. end;
  41638. procedure TPORTD_ODCD.clearODCD3; inline;
  41639. begin
  41640. pTDefRegMap(@Self)^.clr := $00000008;
  41641. end;
  41642. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  41643. begin
  41644. if thebits = 0 then
  41645. pTDefRegMap(@Self)^.clr := $00000008
  41646. else
  41647. pTDefRegMap(@Self)^.&set := $00000008;
  41648. end;
  41649. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  41650. begin
  41651. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41652. end;
  41653. procedure TPORTD_ODCD.setODCD4; inline;
  41654. begin
  41655. pTDefRegMap(@Self)^.&set := $00000010;
  41656. end;
  41657. procedure TPORTD_ODCD.clearODCD4; inline;
  41658. begin
  41659. pTDefRegMap(@Self)^.clr := $00000010;
  41660. end;
  41661. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  41662. begin
  41663. if thebits = 0 then
  41664. pTDefRegMap(@Self)^.clr := $00000010
  41665. else
  41666. pTDefRegMap(@Self)^.&set := $00000010;
  41667. end;
  41668. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  41669. begin
  41670. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41671. end;
  41672. procedure TPORTD_ODCD.setODCD5; inline;
  41673. begin
  41674. pTDefRegMap(@Self)^.&set := $00000020;
  41675. end;
  41676. procedure TPORTD_ODCD.clearODCD5; inline;
  41677. begin
  41678. pTDefRegMap(@Self)^.clr := $00000020;
  41679. end;
  41680. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  41681. begin
  41682. if thebits = 0 then
  41683. pTDefRegMap(@Self)^.clr := $00000020
  41684. else
  41685. pTDefRegMap(@Self)^.&set := $00000020;
  41686. end;
  41687. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  41688. begin
  41689. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41690. end;
  41691. procedure TPORTD_ODCD.setODCD6; inline;
  41692. begin
  41693. pTDefRegMap(@Self)^.&set := $00000040;
  41694. end;
  41695. procedure TPORTD_ODCD.clearODCD6; inline;
  41696. begin
  41697. pTDefRegMap(@Self)^.clr := $00000040;
  41698. end;
  41699. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  41700. begin
  41701. if thebits = 0 then
  41702. pTDefRegMap(@Self)^.clr := $00000040
  41703. else
  41704. pTDefRegMap(@Self)^.&set := $00000040;
  41705. end;
  41706. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  41707. begin
  41708. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41709. end;
  41710. procedure TPORTD_ODCD.setODCD7; inline;
  41711. begin
  41712. pTDefRegMap(@Self)^.&set := $00000080;
  41713. end;
  41714. procedure TPORTD_ODCD.clearODCD7; inline;
  41715. begin
  41716. pTDefRegMap(@Self)^.clr := $00000080;
  41717. end;
  41718. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  41719. begin
  41720. if thebits = 0 then
  41721. pTDefRegMap(@Self)^.clr := $00000080
  41722. else
  41723. pTDefRegMap(@Self)^.&set := $00000080;
  41724. end;
  41725. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  41726. begin
  41727. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41728. end;
  41729. procedure TPORTD_ODCD.setODCD8; inline;
  41730. begin
  41731. pTDefRegMap(@Self)^.&set := $00000100;
  41732. end;
  41733. procedure TPORTD_ODCD.clearODCD8; inline;
  41734. begin
  41735. pTDefRegMap(@Self)^.clr := $00000100;
  41736. end;
  41737. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  41738. begin
  41739. if thebits = 0 then
  41740. pTDefRegMap(@Self)^.clr := $00000100
  41741. else
  41742. pTDefRegMap(@Self)^.&set := $00000100;
  41743. end;
  41744. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  41745. begin
  41746. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41747. end;
  41748. procedure TPORTD_ODCD.setODCD9; inline;
  41749. begin
  41750. pTDefRegMap(@Self)^.&set := $00000200;
  41751. end;
  41752. procedure TPORTD_ODCD.clearODCD9; inline;
  41753. begin
  41754. pTDefRegMap(@Self)^.clr := $00000200;
  41755. end;
  41756. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  41757. begin
  41758. if thebits = 0 then
  41759. pTDefRegMap(@Self)^.clr := $00000200
  41760. else
  41761. pTDefRegMap(@Self)^.&set := $00000200;
  41762. end;
  41763. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  41764. begin
  41765. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41766. end;
  41767. procedure TPORTD_ODCD.setODCD10; inline;
  41768. begin
  41769. pTDefRegMap(@Self)^.&set := $00000400;
  41770. end;
  41771. procedure TPORTD_ODCD.clearODCD10; inline;
  41772. begin
  41773. pTDefRegMap(@Self)^.clr := $00000400;
  41774. end;
  41775. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  41776. begin
  41777. if thebits = 0 then
  41778. pTDefRegMap(@Self)^.clr := $00000400
  41779. else
  41780. pTDefRegMap(@Self)^.&set := $00000400;
  41781. end;
  41782. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  41783. begin
  41784. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41785. end;
  41786. procedure TPORTD_ODCD.setODCD11; inline;
  41787. begin
  41788. pTDefRegMap(@Self)^.&set := $00000800;
  41789. end;
  41790. procedure TPORTD_ODCD.clearODCD11; inline;
  41791. begin
  41792. pTDefRegMap(@Self)^.clr := $00000800;
  41793. end;
  41794. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  41795. begin
  41796. if thebits = 0 then
  41797. pTDefRegMap(@Self)^.clr := $00000800
  41798. else
  41799. pTDefRegMap(@Self)^.&set := $00000800;
  41800. end;
  41801. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  41802. begin
  41803. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41804. end;
  41805. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  41806. begin
  41807. pTDefRegMap(@Self)^.val := thebits;
  41808. end;
  41809. function TPORTD_ODCD.getw : TBits_32; inline;
  41810. begin
  41811. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41812. end;
  41813. procedure TPORTD_CNPUD.setCNPUD0; inline;
  41814. begin
  41815. pTDefRegMap(@Self)^.&set := $00000001;
  41816. end;
  41817. procedure TPORTD_CNPUD.clearCNPUD0; inline;
  41818. begin
  41819. pTDefRegMap(@Self)^.clr := $00000001;
  41820. end;
  41821. procedure TPORTD_CNPUD.setCNPUD0(thebits : TBits_1); inline;
  41822. begin
  41823. if thebits = 0 then
  41824. pTDefRegMap(@Self)^.clr := $00000001
  41825. else
  41826. pTDefRegMap(@Self)^.&set := $00000001;
  41827. end;
  41828. function TPORTD_CNPUD.getCNPUD0 : TBits_1; inline;
  41829. begin
  41830. getCNPUD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41831. end;
  41832. procedure TPORTD_CNPUD.setCNPUD1; inline;
  41833. begin
  41834. pTDefRegMap(@Self)^.&set := $00000002;
  41835. end;
  41836. procedure TPORTD_CNPUD.clearCNPUD1; inline;
  41837. begin
  41838. pTDefRegMap(@Self)^.clr := $00000002;
  41839. end;
  41840. procedure TPORTD_CNPUD.setCNPUD1(thebits : TBits_1); inline;
  41841. begin
  41842. if thebits = 0 then
  41843. pTDefRegMap(@Self)^.clr := $00000002
  41844. else
  41845. pTDefRegMap(@Self)^.&set := $00000002;
  41846. end;
  41847. function TPORTD_CNPUD.getCNPUD1 : TBits_1; inline;
  41848. begin
  41849. getCNPUD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41850. end;
  41851. procedure TPORTD_CNPUD.setCNPUD2; inline;
  41852. begin
  41853. pTDefRegMap(@Self)^.&set := $00000004;
  41854. end;
  41855. procedure TPORTD_CNPUD.clearCNPUD2; inline;
  41856. begin
  41857. pTDefRegMap(@Self)^.clr := $00000004;
  41858. end;
  41859. procedure TPORTD_CNPUD.setCNPUD2(thebits : TBits_1); inline;
  41860. begin
  41861. if thebits = 0 then
  41862. pTDefRegMap(@Self)^.clr := $00000004
  41863. else
  41864. pTDefRegMap(@Self)^.&set := $00000004;
  41865. end;
  41866. function TPORTD_CNPUD.getCNPUD2 : TBits_1; inline;
  41867. begin
  41868. getCNPUD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41869. end;
  41870. procedure TPORTD_CNPUD.setCNPUD3; inline;
  41871. begin
  41872. pTDefRegMap(@Self)^.&set := $00000008;
  41873. end;
  41874. procedure TPORTD_CNPUD.clearCNPUD3; inline;
  41875. begin
  41876. pTDefRegMap(@Self)^.clr := $00000008;
  41877. end;
  41878. procedure TPORTD_CNPUD.setCNPUD3(thebits : TBits_1); inline;
  41879. begin
  41880. if thebits = 0 then
  41881. pTDefRegMap(@Self)^.clr := $00000008
  41882. else
  41883. pTDefRegMap(@Self)^.&set := $00000008;
  41884. end;
  41885. function TPORTD_CNPUD.getCNPUD3 : TBits_1; inline;
  41886. begin
  41887. getCNPUD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41888. end;
  41889. procedure TPORTD_CNPUD.setCNPUD4; inline;
  41890. begin
  41891. pTDefRegMap(@Self)^.&set := $00000010;
  41892. end;
  41893. procedure TPORTD_CNPUD.clearCNPUD4; inline;
  41894. begin
  41895. pTDefRegMap(@Self)^.clr := $00000010;
  41896. end;
  41897. procedure TPORTD_CNPUD.setCNPUD4(thebits : TBits_1); inline;
  41898. begin
  41899. if thebits = 0 then
  41900. pTDefRegMap(@Self)^.clr := $00000010
  41901. else
  41902. pTDefRegMap(@Self)^.&set := $00000010;
  41903. end;
  41904. function TPORTD_CNPUD.getCNPUD4 : TBits_1; inline;
  41905. begin
  41906. getCNPUD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41907. end;
  41908. procedure TPORTD_CNPUD.setCNPUD5; inline;
  41909. begin
  41910. pTDefRegMap(@Self)^.&set := $00000020;
  41911. end;
  41912. procedure TPORTD_CNPUD.clearCNPUD5; inline;
  41913. begin
  41914. pTDefRegMap(@Self)^.clr := $00000020;
  41915. end;
  41916. procedure TPORTD_CNPUD.setCNPUD5(thebits : TBits_1); inline;
  41917. begin
  41918. if thebits = 0 then
  41919. pTDefRegMap(@Self)^.clr := $00000020
  41920. else
  41921. pTDefRegMap(@Self)^.&set := $00000020;
  41922. end;
  41923. function TPORTD_CNPUD.getCNPUD5 : TBits_1; inline;
  41924. begin
  41925. getCNPUD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41926. end;
  41927. procedure TPORTD_CNPUD.setCNPUD6; inline;
  41928. begin
  41929. pTDefRegMap(@Self)^.&set := $00000040;
  41930. end;
  41931. procedure TPORTD_CNPUD.clearCNPUD6; inline;
  41932. begin
  41933. pTDefRegMap(@Self)^.clr := $00000040;
  41934. end;
  41935. procedure TPORTD_CNPUD.setCNPUD6(thebits : TBits_1); inline;
  41936. begin
  41937. if thebits = 0 then
  41938. pTDefRegMap(@Self)^.clr := $00000040
  41939. else
  41940. pTDefRegMap(@Self)^.&set := $00000040;
  41941. end;
  41942. function TPORTD_CNPUD.getCNPUD6 : TBits_1; inline;
  41943. begin
  41944. getCNPUD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41945. end;
  41946. procedure TPORTD_CNPUD.setCNPUD7; inline;
  41947. begin
  41948. pTDefRegMap(@Self)^.&set := $00000080;
  41949. end;
  41950. procedure TPORTD_CNPUD.clearCNPUD7; inline;
  41951. begin
  41952. pTDefRegMap(@Self)^.clr := $00000080;
  41953. end;
  41954. procedure TPORTD_CNPUD.setCNPUD7(thebits : TBits_1); inline;
  41955. begin
  41956. if thebits = 0 then
  41957. pTDefRegMap(@Self)^.clr := $00000080
  41958. else
  41959. pTDefRegMap(@Self)^.&set := $00000080;
  41960. end;
  41961. function TPORTD_CNPUD.getCNPUD7 : TBits_1; inline;
  41962. begin
  41963. getCNPUD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41964. end;
  41965. procedure TPORTD_CNPUD.setCNPUD8; inline;
  41966. begin
  41967. pTDefRegMap(@Self)^.&set := $00000100;
  41968. end;
  41969. procedure TPORTD_CNPUD.clearCNPUD8; inline;
  41970. begin
  41971. pTDefRegMap(@Self)^.clr := $00000100;
  41972. end;
  41973. procedure TPORTD_CNPUD.setCNPUD8(thebits : TBits_1); inline;
  41974. begin
  41975. if thebits = 0 then
  41976. pTDefRegMap(@Self)^.clr := $00000100
  41977. else
  41978. pTDefRegMap(@Self)^.&set := $00000100;
  41979. end;
  41980. function TPORTD_CNPUD.getCNPUD8 : TBits_1; inline;
  41981. begin
  41982. getCNPUD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41983. end;
  41984. procedure TPORTD_CNPUD.setCNPUD9; inline;
  41985. begin
  41986. pTDefRegMap(@Self)^.&set := $00000200;
  41987. end;
  41988. procedure TPORTD_CNPUD.clearCNPUD9; inline;
  41989. begin
  41990. pTDefRegMap(@Self)^.clr := $00000200;
  41991. end;
  41992. procedure TPORTD_CNPUD.setCNPUD9(thebits : TBits_1); inline;
  41993. begin
  41994. if thebits = 0 then
  41995. pTDefRegMap(@Self)^.clr := $00000200
  41996. else
  41997. pTDefRegMap(@Self)^.&set := $00000200;
  41998. end;
  41999. function TPORTD_CNPUD.getCNPUD9 : TBits_1; inline;
  42000. begin
  42001. getCNPUD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42002. end;
  42003. procedure TPORTD_CNPUD.setCNPUD10; inline;
  42004. begin
  42005. pTDefRegMap(@Self)^.&set := $00000400;
  42006. end;
  42007. procedure TPORTD_CNPUD.clearCNPUD10; inline;
  42008. begin
  42009. pTDefRegMap(@Self)^.clr := $00000400;
  42010. end;
  42011. procedure TPORTD_CNPUD.setCNPUD10(thebits : TBits_1); inline;
  42012. begin
  42013. if thebits = 0 then
  42014. pTDefRegMap(@Self)^.clr := $00000400
  42015. else
  42016. pTDefRegMap(@Self)^.&set := $00000400;
  42017. end;
  42018. function TPORTD_CNPUD.getCNPUD10 : TBits_1; inline;
  42019. begin
  42020. getCNPUD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42021. end;
  42022. procedure TPORTD_CNPUD.setCNPUD11; inline;
  42023. begin
  42024. pTDefRegMap(@Self)^.&set := $00000800;
  42025. end;
  42026. procedure TPORTD_CNPUD.clearCNPUD11; inline;
  42027. begin
  42028. pTDefRegMap(@Self)^.clr := $00000800;
  42029. end;
  42030. procedure TPORTD_CNPUD.setCNPUD11(thebits : TBits_1); inline;
  42031. begin
  42032. if thebits = 0 then
  42033. pTDefRegMap(@Self)^.clr := $00000800
  42034. else
  42035. pTDefRegMap(@Self)^.&set := $00000800;
  42036. end;
  42037. function TPORTD_CNPUD.getCNPUD11 : TBits_1; inline;
  42038. begin
  42039. getCNPUD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42040. end;
  42041. procedure TPORTD_CNPUD.setw(thebits : TBits_32); inline;
  42042. begin
  42043. pTDefRegMap(@Self)^.val := thebits;
  42044. end;
  42045. function TPORTD_CNPUD.getw : TBits_32; inline;
  42046. begin
  42047. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42048. end;
  42049. procedure TPORTD_CNPDD.setCNPDD0; inline;
  42050. begin
  42051. pTDefRegMap(@Self)^.&set := $00000001;
  42052. end;
  42053. procedure TPORTD_CNPDD.clearCNPDD0; inline;
  42054. begin
  42055. pTDefRegMap(@Self)^.clr := $00000001;
  42056. end;
  42057. procedure TPORTD_CNPDD.setCNPDD0(thebits : TBits_1); inline;
  42058. begin
  42059. if thebits = 0 then
  42060. pTDefRegMap(@Self)^.clr := $00000001
  42061. else
  42062. pTDefRegMap(@Self)^.&set := $00000001;
  42063. end;
  42064. function TPORTD_CNPDD.getCNPDD0 : TBits_1; inline;
  42065. begin
  42066. getCNPDD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42067. end;
  42068. procedure TPORTD_CNPDD.setCNPDD1; inline;
  42069. begin
  42070. pTDefRegMap(@Self)^.&set := $00000002;
  42071. end;
  42072. procedure TPORTD_CNPDD.clearCNPDD1; inline;
  42073. begin
  42074. pTDefRegMap(@Self)^.clr := $00000002;
  42075. end;
  42076. procedure TPORTD_CNPDD.setCNPDD1(thebits : TBits_1); inline;
  42077. begin
  42078. if thebits = 0 then
  42079. pTDefRegMap(@Self)^.clr := $00000002
  42080. else
  42081. pTDefRegMap(@Self)^.&set := $00000002;
  42082. end;
  42083. function TPORTD_CNPDD.getCNPDD1 : TBits_1; inline;
  42084. begin
  42085. getCNPDD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42086. end;
  42087. procedure TPORTD_CNPDD.setCNPDD2; inline;
  42088. begin
  42089. pTDefRegMap(@Self)^.&set := $00000004;
  42090. end;
  42091. procedure TPORTD_CNPDD.clearCNPDD2; inline;
  42092. begin
  42093. pTDefRegMap(@Self)^.clr := $00000004;
  42094. end;
  42095. procedure TPORTD_CNPDD.setCNPDD2(thebits : TBits_1); inline;
  42096. begin
  42097. if thebits = 0 then
  42098. pTDefRegMap(@Self)^.clr := $00000004
  42099. else
  42100. pTDefRegMap(@Self)^.&set := $00000004;
  42101. end;
  42102. function TPORTD_CNPDD.getCNPDD2 : TBits_1; inline;
  42103. begin
  42104. getCNPDD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42105. end;
  42106. procedure TPORTD_CNPDD.setCNPDD3; inline;
  42107. begin
  42108. pTDefRegMap(@Self)^.&set := $00000008;
  42109. end;
  42110. procedure TPORTD_CNPDD.clearCNPDD3; inline;
  42111. begin
  42112. pTDefRegMap(@Self)^.clr := $00000008;
  42113. end;
  42114. procedure TPORTD_CNPDD.setCNPDD3(thebits : TBits_1); inline;
  42115. begin
  42116. if thebits = 0 then
  42117. pTDefRegMap(@Self)^.clr := $00000008
  42118. else
  42119. pTDefRegMap(@Self)^.&set := $00000008;
  42120. end;
  42121. function TPORTD_CNPDD.getCNPDD3 : TBits_1; inline;
  42122. begin
  42123. getCNPDD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42124. end;
  42125. procedure TPORTD_CNPDD.setCNPDD4; inline;
  42126. begin
  42127. pTDefRegMap(@Self)^.&set := $00000010;
  42128. end;
  42129. procedure TPORTD_CNPDD.clearCNPDD4; inline;
  42130. begin
  42131. pTDefRegMap(@Self)^.clr := $00000010;
  42132. end;
  42133. procedure TPORTD_CNPDD.setCNPDD4(thebits : TBits_1); inline;
  42134. begin
  42135. if thebits = 0 then
  42136. pTDefRegMap(@Self)^.clr := $00000010
  42137. else
  42138. pTDefRegMap(@Self)^.&set := $00000010;
  42139. end;
  42140. function TPORTD_CNPDD.getCNPDD4 : TBits_1; inline;
  42141. begin
  42142. getCNPDD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42143. end;
  42144. procedure TPORTD_CNPDD.setCNPDD5; inline;
  42145. begin
  42146. pTDefRegMap(@Self)^.&set := $00000020;
  42147. end;
  42148. procedure TPORTD_CNPDD.clearCNPDD5; inline;
  42149. begin
  42150. pTDefRegMap(@Self)^.clr := $00000020;
  42151. end;
  42152. procedure TPORTD_CNPDD.setCNPDD5(thebits : TBits_1); inline;
  42153. begin
  42154. if thebits = 0 then
  42155. pTDefRegMap(@Self)^.clr := $00000020
  42156. else
  42157. pTDefRegMap(@Self)^.&set := $00000020;
  42158. end;
  42159. function TPORTD_CNPDD.getCNPDD5 : TBits_1; inline;
  42160. begin
  42161. getCNPDD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42162. end;
  42163. procedure TPORTD_CNPDD.setCNPDD6; inline;
  42164. begin
  42165. pTDefRegMap(@Self)^.&set := $00000040;
  42166. end;
  42167. procedure TPORTD_CNPDD.clearCNPDD6; inline;
  42168. begin
  42169. pTDefRegMap(@Self)^.clr := $00000040;
  42170. end;
  42171. procedure TPORTD_CNPDD.setCNPDD6(thebits : TBits_1); inline;
  42172. begin
  42173. if thebits = 0 then
  42174. pTDefRegMap(@Self)^.clr := $00000040
  42175. else
  42176. pTDefRegMap(@Self)^.&set := $00000040;
  42177. end;
  42178. function TPORTD_CNPDD.getCNPDD6 : TBits_1; inline;
  42179. begin
  42180. getCNPDD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42181. end;
  42182. procedure TPORTD_CNPDD.setCNPDD7; inline;
  42183. begin
  42184. pTDefRegMap(@Self)^.&set := $00000080;
  42185. end;
  42186. procedure TPORTD_CNPDD.clearCNPDD7; inline;
  42187. begin
  42188. pTDefRegMap(@Self)^.clr := $00000080;
  42189. end;
  42190. procedure TPORTD_CNPDD.setCNPDD7(thebits : TBits_1); inline;
  42191. begin
  42192. if thebits = 0 then
  42193. pTDefRegMap(@Self)^.clr := $00000080
  42194. else
  42195. pTDefRegMap(@Self)^.&set := $00000080;
  42196. end;
  42197. function TPORTD_CNPDD.getCNPDD7 : TBits_1; inline;
  42198. begin
  42199. getCNPDD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42200. end;
  42201. procedure TPORTD_CNPDD.setCNPDD8; inline;
  42202. begin
  42203. pTDefRegMap(@Self)^.&set := $00000100;
  42204. end;
  42205. procedure TPORTD_CNPDD.clearCNPDD8; inline;
  42206. begin
  42207. pTDefRegMap(@Self)^.clr := $00000100;
  42208. end;
  42209. procedure TPORTD_CNPDD.setCNPDD8(thebits : TBits_1); inline;
  42210. begin
  42211. if thebits = 0 then
  42212. pTDefRegMap(@Self)^.clr := $00000100
  42213. else
  42214. pTDefRegMap(@Self)^.&set := $00000100;
  42215. end;
  42216. function TPORTD_CNPDD.getCNPDD8 : TBits_1; inline;
  42217. begin
  42218. getCNPDD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42219. end;
  42220. procedure TPORTD_CNPDD.setCNPDD9; inline;
  42221. begin
  42222. pTDefRegMap(@Self)^.&set := $00000200;
  42223. end;
  42224. procedure TPORTD_CNPDD.clearCNPDD9; inline;
  42225. begin
  42226. pTDefRegMap(@Self)^.clr := $00000200;
  42227. end;
  42228. procedure TPORTD_CNPDD.setCNPDD9(thebits : TBits_1); inline;
  42229. begin
  42230. if thebits = 0 then
  42231. pTDefRegMap(@Self)^.clr := $00000200
  42232. else
  42233. pTDefRegMap(@Self)^.&set := $00000200;
  42234. end;
  42235. function TPORTD_CNPDD.getCNPDD9 : TBits_1; inline;
  42236. begin
  42237. getCNPDD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42238. end;
  42239. procedure TPORTD_CNPDD.setCNPDD10; inline;
  42240. begin
  42241. pTDefRegMap(@Self)^.&set := $00000400;
  42242. end;
  42243. procedure TPORTD_CNPDD.clearCNPDD10; inline;
  42244. begin
  42245. pTDefRegMap(@Self)^.clr := $00000400;
  42246. end;
  42247. procedure TPORTD_CNPDD.setCNPDD10(thebits : TBits_1); inline;
  42248. begin
  42249. if thebits = 0 then
  42250. pTDefRegMap(@Self)^.clr := $00000400
  42251. else
  42252. pTDefRegMap(@Self)^.&set := $00000400;
  42253. end;
  42254. function TPORTD_CNPDD.getCNPDD10 : TBits_1; inline;
  42255. begin
  42256. getCNPDD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42257. end;
  42258. procedure TPORTD_CNPDD.setCNPDD11; inline;
  42259. begin
  42260. pTDefRegMap(@Self)^.&set := $00000800;
  42261. end;
  42262. procedure TPORTD_CNPDD.clearCNPDD11; inline;
  42263. begin
  42264. pTDefRegMap(@Self)^.clr := $00000800;
  42265. end;
  42266. procedure TPORTD_CNPDD.setCNPDD11(thebits : TBits_1); inline;
  42267. begin
  42268. if thebits = 0 then
  42269. pTDefRegMap(@Self)^.clr := $00000800
  42270. else
  42271. pTDefRegMap(@Self)^.&set := $00000800;
  42272. end;
  42273. function TPORTD_CNPDD.getCNPDD11 : TBits_1; inline;
  42274. begin
  42275. getCNPDD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42276. end;
  42277. procedure TPORTD_CNPDD.setw(thebits : TBits_32); inline;
  42278. begin
  42279. pTDefRegMap(@Self)^.val := thebits;
  42280. end;
  42281. function TPORTD_CNPDD.getw : TBits_32; inline;
  42282. begin
  42283. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42284. end;
  42285. procedure TPORTD_CNCOND.setSIDL; inline;
  42286. begin
  42287. pTDefRegMap(@Self)^.&set := $00002000;
  42288. end;
  42289. procedure TPORTD_CNCOND.clearSIDL; inline;
  42290. begin
  42291. pTDefRegMap(@Self)^.clr := $00002000;
  42292. end;
  42293. procedure TPORTD_CNCOND.setSIDL(thebits : TBits_1); inline;
  42294. begin
  42295. if thebits = 0 then
  42296. pTDefRegMap(@Self)^.clr := $00002000
  42297. else
  42298. pTDefRegMap(@Self)^.&set := $00002000;
  42299. end;
  42300. function TPORTD_CNCOND.getSIDL : TBits_1; inline;
  42301. begin
  42302. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42303. end;
  42304. procedure TPORTD_CNCOND.setON; inline;
  42305. begin
  42306. pTDefRegMap(@Self)^.&set := $00008000;
  42307. end;
  42308. procedure TPORTD_CNCOND.clearON; inline;
  42309. begin
  42310. pTDefRegMap(@Self)^.clr := $00008000;
  42311. end;
  42312. procedure TPORTD_CNCOND.setON(thebits : TBits_1); inline;
  42313. begin
  42314. if thebits = 0 then
  42315. pTDefRegMap(@Self)^.clr := $00008000
  42316. else
  42317. pTDefRegMap(@Self)^.&set := $00008000;
  42318. end;
  42319. function TPORTD_CNCOND.getON : TBits_1; inline;
  42320. begin
  42321. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42322. end;
  42323. procedure TPORTD_CNCOND.setw(thebits : TBits_32); inline;
  42324. begin
  42325. pTDefRegMap(@Self)^.val := thebits;
  42326. end;
  42327. function TPORTD_CNCOND.getw : TBits_32; inline;
  42328. begin
  42329. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42330. end;
  42331. procedure TPORTD_CNEND.setCNIED0; inline;
  42332. begin
  42333. pTDefRegMap(@Self)^.&set := $00000001;
  42334. end;
  42335. procedure TPORTD_CNEND.clearCNIED0; inline;
  42336. begin
  42337. pTDefRegMap(@Self)^.clr := $00000001;
  42338. end;
  42339. procedure TPORTD_CNEND.setCNIED0(thebits : TBits_1); inline;
  42340. begin
  42341. if thebits = 0 then
  42342. pTDefRegMap(@Self)^.clr := $00000001
  42343. else
  42344. pTDefRegMap(@Self)^.&set := $00000001;
  42345. end;
  42346. function TPORTD_CNEND.getCNIED0 : TBits_1; inline;
  42347. begin
  42348. getCNIED0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42349. end;
  42350. procedure TPORTD_CNEND.setCNIED1; inline;
  42351. begin
  42352. pTDefRegMap(@Self)^.&set := $00000002;
  42353. end;
  42354. procedure TPORTD_CNEND.clearCNIED1; inline;
  42355. begin
  42356. pTDefRegMap(@Self)^.clr := $00000002;
  42357. end;
  42358. procedure TPORTD_CNEND.setCNIED1(thebits : TBits_1); inline;
  42359. begin
  42360. if thebits = 0 then
  42361. pTDefRegMap(@Self)^.clr := $00000002
  42362. else
  42363. pTDefRegMap(@Self)^.&set := $00000002;
  42364. end;
  42365. function TPORTD_CNEND.getCNIED1 : TBits_1; inline;
  42366. begin
  42367. getCNIED1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42368. end;
  42369. procedure TPORTD_CNEND.setCNIED2; inline;
  42370. begin
  42371. pTDefRegMap(@Self)^.&set := $00000004;
  42372. end;
  42373. procedure TPORTD_CNEND.clearCNIED2; inline;
  42374. begin
  42375. pTDefRegMap(@Self)^.clr := $00000004;
  42376. end;
  42377. procedure TPORTD_CNEND.setCNIED2(thebits : TBits_1); inline;
  42378. begin
  42379. if thebits = 0 then
  42380. pTDefRegMap(@Self)^.clr := $00000004
  42381. else
  42382. pTDefRegMap(@Self)^.&set := $00000004;
  42383. end;
  42384. function TPORTD_CNEND.getCNIED2 : TBits_1; inline;
  42385. begin
  42386. getCNIED2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42387. end;
  42388. procedure TPORTD_CNEND.setCNIED3; inline;
  42389. begin
  42390. pTDefRegMap(@Self)^.&set := $00000008;
  42391. end;
  42392. procedure TPORTD_CNEND.clearCNIED3; inline;
  42393. begin
  42394. pTDefRegMap(@Self)^.clr := $00000008;
  42395. end;
  42396. procedure TPORTD_CNEND.setCNIED3(thebits : TBits_1); inline;
  42397. begin
  42398. if thebits = 0 then
  42399. pTDefRegMap(@Self)^.clr := $00000008
  42400. else
  42401. pTDefRegMap(@Self)^.&set := $00000008;
  42402. end;
  42403. function TPORTD_CNEND.getCNIED3 : TBits_1; inline;
  42404. begin
  42405. getCNIED3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42406. end;
  42407. procedure TPORTD_CNEND.setCNIED4; inline;
  42408. begin
  42409. pTDefRegMap(@Self)^.&set := $00000010;
  42410. end;
  42411. procedure TPORTD_CNEND.clearCNIED4; inline;
  42412. begin
  42413. pTDefRegMap(@Self)^.clr := $00000010;
  42414. end;
  42415. procedure TPORTD_CNEND.setCNIED4(thebits : TBits_1); inline;
  42416. begin
  42417. if thebits = 0 then
  42418. pTDefRegMap(@Self)^.clr := $00000010
  42419. else
  42420. pTDefRegMap(@Self)^.&set := $00000010;
  42421. end;
  42422. function TPORTD_CNEND.getCNIED4 : TBits_1; inline;
  42423. begin
  42424. getCNIED4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42425. end;
  42426. procedure TPORTD_CNEND.setCNIED5; inline;
  42427. begin
  42428. pTDefRegMap(@Self)^.&set := $00000020;
  42429. end;
  42430. procedure TPORTD_CNEND.clearCNIED5; inline;
  42431. begin
  42432. pTDefRegMap(@Self)^.clr := $00000020;
  42433. end;
  42434. procedure TPORTD_CNEND.setCNIED5(thebits : TBits_1); inline;
  42435. begin
  42436. if thebits = 0 then
  42437. pTDefRegMap(@Self)^.clr := $00000020
  42438. else
  42439. pTDefRegMap(@Self)^.&set := $00000020;
  42440. end;
  42441. function TPORTD_CNEND.getCNIED5 : TBits_1; inline;
  42442. begin
  42443. getCNIED5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42444. end;
  42445. procedure TPORTD_CNEND.setCNIED6; inline;
  42446. begin
  42447. pTDefRegMap(@Self)^.&set := $00000040;
  42448. end;
  42449. procedure TPORTD_CNEND.clearCNIED6; inline;
  42450. begin
  42451. pTDefRegMap(@Self)^.clr := $00000040;
  42452. end;
  42453. procedure TPORTD_CNEND.setCNIED6(thebits : TBits_1); inline;
  42454. begin
  42455. if thebits = 0 then
  42456. pTDefRegMap(@Self)^.clr := $00000040
  42457. else
  42458. pTDefRegMap(@Self)^.&set := $00000040;
  42459. end;
  42460. function TPORTD_CNEND.getCNIED6 : TBits_1; inline;
  42461. begin
  42462. getCNIED6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42463. end;
  42464. procedure TPORTD_CNEND.setCNIED7; inline;
  42465. begin
  42466. pTDefRegMap(@Self)^.&set := $00000080;
  42467. end;
  42468. procedure TPORTD_CNEND.clearCNIED7; inline;
  42469. begin
  42470. pTDefRegMap(@Self)^.clr := $00000080;
  42471. end;
  42472. procedure TPORTD_CNEND.setCNIED7(thebits : TBits_1); inline;
  42473. begin
  42474. if thebits = 0 then
  42475. pTDefRegMap(@Self)^.clr := $00000080
  42476. else
  42477. pTDefRegMap(@Self)^.&set := $00000080;
  42478. end;
  42479. function TPORTD_CNEND.getCNIED7 : TBits_1; inline;
  42480. begin
  42481. getCNIED7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42482. end;
  42483. procedure TPORTD_CNEND.setCNIED8; inline;
  42484. begin
  42485. pTDefRegMap(@Self)^.&set := $00000100;
  42486. end;
  42487. procedure TPORTD_CNEND.clearCNIED8; inline;
  42488. begin
  42489. pTDefRegMap(@Self)^.clr := $00000100;
  42490. end;
  42491. procedure TPORTD_CNEND.setCNIED8(thebits : TBits_1); inline;
  42492. begin
  42493. if thebits = 0 then
  42494. pTDefRegMap(@Self)^.clr := $00000100
  42495. else
  42496. pTDefRegMap(@Self)^.&set := $00000100;
  42497. end;
  42498. function TPORTD_CNEND.getCNIED8 : TBits_1; inline;
  42499. begin
  42500. getCNIED8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42501. end;
  42502. procedure TPORTD_CNEND.setCNIED9; inline;
  42503. begin
  42504. pTDefRegMap(@Self)^.&set := $00000200;
  42505. end;
  42506. procedure TPORTD_CNEND.clearCNIED9; inline;
  42507. begin
  42508. pTDefRegMap(@Self)^.clr := $00000200;
  42509. end;
  42510. procedure TPORTD_CNEND.setCNIED9(thebits : TBits_1); inline;
  42511. begin
  42512. if thebits = 0 then
  42513. pTDefRegMap(@Self)^.clr := $00000200
  42514. else
  42515. pTDefRegMap(@Self)^.&set := $00000200;
  42516. end;
  42517. function TPORTD_CNEND.getCNIED9 : TBits_1; inline;
  42518. begin
  42519. getCNIED9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42520. end;
  42521. procedure TPORTD_CNEND.setCNIED10; inline;
  42522. begin
  42523. pTDefRegMap(@Self)^.&set := $00000400;
  42524. end;
  42525. procedure TPORTD_CNEND.clearCNIED10; inline;
  42526. begin
  42527. pTDefRegMap(@Self)^.clr := $00000400;
  42528. end;
  42529. procedure TPORTD_CNEND.setCNIED10(thebits : TBits_1); inline;
  42530. begin
  42531. if thebits = 0 then
  42532. pTDefRegMap(@Self)^.clr := $00000400
  42533. else
  42534. pTDefRegMap(@Self)^.&set := $00000400;
  42535. end;
  42536. function TPORTD_CNEND.getCNIED10 : TBits_1; inline;
  42537. begin
  42538. getCNIED10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42539. end;
  42540. procedure TPORTD_CNEND.setCNIED11; inline;
  42541. begin
  42542. pTDefRegMap(@Self)^.&set := $00000800;
  42543. end;
  42544. procedure TPORTD_CNEND.clearCNIED11; inline;
  42545. begin
  42546. pTDefRegMap(@Self)^.clr := $00000800;
  42547. end;
  42548. procedure TPORTD_CNEND.setCNIED11(thebits : TBits_1); inline;
  42549. begin
  42550. if thebits = 0 then
  42551. pTDefRegMap(@Self)^.clr := $00000800
  42552. else
  42553. pTDefRegMap(@Self)^.&set := $00000800;
  42554. end;
  42555. function TPORTD_CNEND.getCNIED11 : TBits_1; inline;
  42556. begin
  42557. getCNIED11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42558. end;
  42559. procedure TPORTD_CNEND.setw(thebits : TBits_32); inline;
  42560. begin
  42561. pTDefRegMap(@Self)^.val := thebits;
  42562. end;
  42563. function TPORTD_CNEND.getw : TBits_32; inline;
  42564. begin
  42565. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42566. end;
  42567. procedure TPORTD_CNSTATD.setCNSTATD0; inline;
  42568. begin
  42569. pTDefRegMap(@Self)^.&set := $00000001;
  42570. end;
  42571. procedure TPORTD_CNSTATD.clearCNSTATD0; inline;
  42572. begin
  42573. pTDefRegMap(@Self)^.clr := $00000001;
  42574. end;
  42575. procedure TPORTD_CNSTATD.setCNSTATD0(thebits : TBits_1); inline;
  42576. begin
  42577. if thebits = 0 then
  42578. pTDefRegMap(@Self)^.clr := $00000001
  42579. else
  42580. pTDefRegMap(@Self)^.&set := $00000001;
  42581. end;
  42582. function TPORTD_CNSTATD.getCNSTATD0 : TBits_1; inline;
  42583. begin
  42584. getCNSTATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42585. end;
  42586. procedure TPORTD_CNSTATD.setCNSTATD1; inline;
  42587. begin
  42588. pTDefRegMap(@Self)^.&set := $00000002;
  42589. end;
  42590. procedure TPORTD_CNSTATD.clearCNSTATD1; inline;
  42591. begin
  42592. pTDefRegMap(@Self)^.clr := $00000002;
  42593. end;
  42594. procedure TPORTD_CNSTATD.setCNSTATD1(thebits : TBits_1); inline;
  42595. begin
  42596. if thebits = 0 then
  42597. pTDefRegMap(@Self)^.clr := $00000002
  42598. else
  42599. pTDefRegMap(@Self)^.&set := $00000002;
  42600. end;
  42601. function TPORTD_CNSTATD.getCNSTATD1 : TBits_1; inline;
  42602. begin
  42603. getCNSTATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42604. end;
  42605. procedure TPORTD_CNSTATD.setCNSTATD2; inline;
  42606. begin
  42607. pTDefRegMap(@Self)^.&set := $00000004;
  42608. end;
  42609. procedure TPORTD_CNSTATD.clearCNSTATD2; inline;
  42610. begin
  42611. pTDefRegMap(@Self)^.clr := $00000004;
  42612. end;
  42613. procedure TPORTD_CNSTATD.setCNSTATD2(thebits : TBits_1); inline;
  42614. begin
  42615. if thebits = 0 then
  42616. pTDefRegMap(@Self)^.clr := $00000004
  42617. else
  42618. pTDefRegMap(@Self)^.&set := $00000004;
  42619. end;
  42620. function TPORTD_CNSTATD.getCNSTATD2 : TBits_1; inline;
  42621. begin
  42622. getCNSTATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42623. end;
  42624. procedure TPORTD_CNSTATD.setCNSTATD3; inline;
  42625. begin
  42626. pTDefRegMap(@Self)^.&set := $00000008;
  42627. end;
  42628. procedure TPORTD_CNSTATD.clearCNSTATD3; inline;
  42629. begin
  42630. pTDefRegMap(@Self)^.clr := $00000008;
  42631. end;
  42632. procedure TPORTD_CNSTATD.setCNSTATD3(thebits : TBits_1); inline;
  42633. begin
  42634. if thebits = 0 then
  42635. pTDefRegMap(@Self)^.clr := $00000008
  42636. else
  42637. pTDefRegMap(@Self)^.&set := $00000008;
  42638. end;
  42639. function TPORTD_CNSTATD.getCNSTATD3 : TBits_1; inline;
  42640. begin
  42641. getCNSTATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42642. end;
  42643. procedure TPORTD_CNSTATD.setCNSTATD4; inline;
  42644. begin
  42645. pTDefRegMap(@Self)^.&set := $00000010;
  42646. end;
  42647. procedure TPORTD_CNSTATD.clearCNSTATD4; inline;
  42648. begin
  42649. pTDefRegMap(@Self)^.clr := $00000010;
  42650. end;
  42651. procedure TPORTD_CNSTATD.setCNSTATD4(thebits : TBits_1); inline;
  42652. begin
  42653. if thebits = 0 then
  42654. pTDefRegMap(@Self)^.clr := $00000010
  42655. else
  42656. pTDefRegMap(@Self)^.&set := $00000010;
  42657. end;
  42658. function TPORTD_CNSTATD.getCNSTATD4 : TBits_1; inline;
  42659. begin
  42660. getCNSTATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42661. end;
  42662. procedure TPORTD_CNSTATD.setCNSTATD5; inline;
  42663. begin
  42664. pTDefRegMap(@Self)^.&set := $00000020;
  42665. end;
  42666. procedure TPORTD_CNSTATD.clearCNSTATD5; inline;
  42667. begin
  42668. pTDefRegMap(@Self)^.clr := $00000020;
  42669. end;
  42670. procedure TPORTD_CNSTATD.setCNSTATD5(thebits : TBits_1); inline;
  42671. begin
  42672. if thebits = 0 then
  42673. pTDefRegMap(@Self)^.clr := $00000020
  42674. else
  42675. pTDefRegMap(@Self)^.&set := $00000020;
  42676. end;
  42677. function TPORTD_CNSTATD.getCNSTATD5 : TBits_1; inline;
  42678. begin
  42679. getCNSTATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42680. end;
  42681. procedure TPORTD_CNSTATD.setCNSTATD6; inline;
  42682. begin
  42683. pTDefRegMap(@Self)^.&set := $00000040;
  42684. end;
  42685. procedure TPORTD_CNSTATD.clearCNSTATD6; inline;
  42686. begin
  42687. pTDefRegMap(@Self)^.clr := $00000040;
  42688. end;
  42689. procedure TPORTD_CNSTATD.setCNSTATD6(thebits : TBits_1); inline;
  42690. begin
  42691. if thebits = 0 then
  42692. pTDefRegMap(@Self)^.clr := $00000040
  42693. else
  42694. pTDefRegMap(@Self)^.&set := $00000040;
  42695. end;
  42696. function TPORTD_CNSTATD.getCNSTATD6 : TBits_1; inline;
  42697. begin
  42698. getCNSTATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42699. end;
  42700. procedure TPORTD_CNSTATD.setCNSTATD7; inline;
  42701. begin
  42702. pTDefRegMap(@Self)^.&set := $00000080;
  42703. end;
  42704. procedure TPORTD_CNSTATD.clearCNSTATD7; inline;
  42705. begin
  42706. pTDefRegMap(@Self)^.clr := $00000080;
  42707. end;
  42708. procedure TPORTD_CNSTATD.setCNSTATD7(thebits : TBits_1); inline;
  42709. begin
  42710. if thebits = 0 then
  42711. pTDefRegMap(@Self)^.clr := $00000080
  42712. else
  42713. pTDefRegMap(@Self)^.&set := $00000080;
  42714. end;
  42715. function TPORTD_CNSTATD.getCNSTATD7 : TBits_1; inline;
  42716. begin
  42717. getCNSTATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42718. end;
  42719. procedure TPORTD_CNSTATD.setCNSTATD8; inline;
  42720. begin
  42721. pTDefRegMap(@Self)^.&set := $00000100;
  42722. end;
  42723. procedure TPORTD_CNSTATD.clearCNSTATD8; inline;
  42724. begin
  42725. pTDefRegMap(@Self)^.clr := $00000100;
  42726. end;
  42727. procedure TPORTD_CNSTATD.setCNSTATD8(thebits : TBits_1); inline;
  42728. begin
  42729. if thebits = 0 then
  42730. pTDefRegMap(@Self)^.clr := $00000100
  42731. else
  42732. pTDefRegMap(@Self)^.&set := $00000100;
  42733. end;
  42734. function TPORTD_CNSTATD.getCNSTATD8 : TBits_1; inline;
  42735. begin
  42736. getCNSTATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42737. end;
  42738. procedure TPORTD_CNSTATD.setCNSTATD9; inline;
  42739. begin
  42740. pTDefRegMap(@Self)^.&set := $00000200;
  42741. end;
  42742. procedure TPORTD_CNSTATD.clearCNSTATD9; inline;
  42743. begin
  42744. pTDefRegMap(@Self)^.clr := $00000200;
  42745. end;
  42746. procedure TPORTD_CNSTATD.setCNSTATD9(thebits : TBits_1); inline;
  42747. begin
  42748. if thebits = 0 then
  42749. pTDefRegMap(@Self)^.clr := $00000200
  42750. else
  42751. pTDefRegMap(@Self)^.&set := $00000200;
  42752. end;
  42753. function TPORTD_CNSTATD.getCNSTATD9 : TBits_1; inline;
  42754. begin
  42755. getCNSTATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42756. end;
  42757. procedure TPORTD_CNSTATD.setCNSTATD10; inline;
  42758. begin
  42759. pTDefRegMap(@Self)^.&set := $00000400;
  42760. end;
  42761. procedure TPORTD_CNSTATD.clearCNSTATD10; inline;
  42762. begin
  42763. pTDefRegMap(@Self)^.clr := $00000400;
  42764. end;
  42765. procedure TPORTD_CNSTATD.setCNSTATD10(thebits : TBits_1); inline;
  42766. begin
  42767. if thebits = 0 then
  42768. pTDefRegMap(@Self)^.clr := $00000400
  42769. else
  42770. pTDefRegMap(@Self)^.&set := $00000400;
  42771. end;
  42772. function TPORTD_CNSTATD.getCNSTATD10 : TBits_1; inline;
  42773. begin
  42774. getCNSTATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42775. end;
  42776. procedure TPORTD_CNSTATD.setCNSTATD11; inline;
  42777. begin
  42778. pTDefRegMap(@Self)^.&set := $00000800;
  42779. end;
  42780. procedure TPORTD_CNSTATD.clearCNSTATD11; inline;
  42781. begin
  42782. pTDefRegMap(@Self)^.clr := $00000800;
  42783. end;
  42784. procedure TPORTD_CNSTATD.setCNSTATD11(thebits : TBits_1); inline;
  42785. begin
  42786. if thebits = 0 then
  42787. pTDefRegMap(@Self)^.clr := $00000800
  42788. else
  42789. pTDefRegMap(@Self)^.&set := $00000800;
  42790. end;
  42791. function TPORTD_CNSTATD.getCNSTATD11 : TBits_1; inline;
  42792. begin
  42793. getCNSTATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42794. end;
  42795. procedure TPORTD_CNSTATD.setw(thebits : TBits_32); inline;
  42796. begin
  42797. pTDefRegMap(@Self)^.val := thebits;
  42798. end;
  42799. function TPORTD_CNSTATD.getw : TBits_32; inline;
  42800. begin
  42801. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42802. end;
  42803. procedure TPORTD_ANSELE.setANSE2; inline;
  42804. begin
  42805. pTDefRegMap(@Self)^.&set := $00000004;
  42806. end;
  42807. procedure TPORTD_ANSELE.clearANSE2; inline;
  42808. begin
  42809. pTDefRegMap(@Self)^.clr := $00000004;
  42810. end;
  42811. procedure TPORTD_ANSELE.setANSE2(thebits : TBits_1); inline;
  42812. begin
  42813. if thebits = 0 then
  42814. pTDefRegMap(@Self)^.clr := $00000004
  42815. else
  42816. pTDefRegMap(@Self)^.&set := $00000004;
  42817. end;
  42818. function TPORTD_ANSELE.getANSE2 : TBits_1; inline;
  42819. begin
  42820. getANSE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42821. end;
  42822. procedure TPORTD_ANSELE.setANSE4; inline;
  42823. begin
  42824. pTDefRegMap(@Self)^.&set := $00000010;
  42825. end;
  42826. procedure TPORTD_ANSELE.clearANSE4; inline;
  42827. begin
  42828. pTDefRegMap(@Self)^.clr := $00000010;
  42829. end;
  42830. procedure TPORTD_ANSELE.setANSE4(thebits : TBits_1); inline;
  42831. begin
  42832. if thebits = 0 then
  42833. pTDefRegMap(@Self)^.clr := $00000010
  42834. else
  42835. pTDefRegMap(@Self)^.&set := $00000010;
  42836. end;
  42837. function TPORTD_ANSELE.getANSE4 : TBits_1; inline;
  42838. begin
  42839. getANSE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42840. end;
  42841. procedure TPORTD_ANSELE.setANSE5; inline;
  42842. begin
  42843. pTDefRegMap(@Self)^.&set := $00000020;
  42844. end;
  42845. procedure TPORTD_ANSELE.clearANSE5; inline;
  42846. begin
  42847. pTDefRegMap(@Self)^.clr := $00000020;
  42848. end;
  42849. procedure TPORTD_ANSELE.setANSE5(thebits : TBits_1); inline;
  42850. begin
  42851. if thebits = 0 then
  42852. pTDefRegMap(@Self)^.clr := $00000020
  42853. else
  42854. pTDefRegMap(@Self)^.&set := $00000020;
  42855. end;
  42856. function TPORTD_ANSELE.getANSE5 : TBits_1; inline;
  42857. begin
  42858. getANSE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42859. end;
  42860. procedure TPORTD_ANSELE.setANSE6; inline;
  42861. begin
  42862. pTDefRegMap(@Self)^.&set := $00000040;
  42863. end;
  42864. procedure TPORTD_ANSELE.clearANSE6; inline;
  42865. begin
  42866. pTDefRegMap(@Self)^.clr := $00000040;
  42867. end;
  42868. procedure TPORTD_ANSELE.setANSE6(thebits : TBits_1); inline;
  42869. begin
  42870. if thebits = 0 then
  42871. pTDefRegMap(@Self)^.clr := $00000040
  42872. else
  42873. pTDefRegMap(@Self)^.&set := $00000040;
  42874. end;
  42875. function TPORTD_ANSELE.getANSE6 : TBits_1; inline;
  42876. begin
  42877. getANSE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42878. end;
  42879. procedure TPORTD_ANSELE.setANSE7; inline;
  42880. begin
  42881. pTDefRegMap(@Self)^.&set := $00000080;
  42882. end;
  42883. procedure TPORTD_ANSELE.clearANSE7; inline;
  42884. begin
  42885. pTDefRegMap(@Self)^.clr := $00000080;
  42886. end;
  42887. procedure TPORTD_ANSELE.setANSE7(thebits : TBits_1); inline;
  42888. begin
  42889. if thebits = 0 then
  42890. pTDefRegMap(@Self)^.clr := $00000080
  42891. else
  42892. pTDefRegMap(@Self)^.&set := $00000080;
  42893. end;
  42894. function TPORTD_ANSELE.getANSE7 : TBits_1; inline;
  42895. begin
  42896. getANSE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42897. end;
  42898. procedure TPORTD_ANSELE.setw(thebits : TBits_32); inline;
  42899. begin
  42900. pTDefRegMap(@Self)^.val := thebits;
  42901. end;
  42902. function TPORTD_ANSELE.getw : TBits_32; inline;
  42903. begin
  42904. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42905. end;
  42906. procedure TPORTD_TRISE.setTRISE0; inline;
  42907. begin
  42908. pTDefRegMap(@Self)^.&set := $00000001;
  42909. end;
  42910. procedure TPORTD_TRISE.clearTRISE0; inline;
  42911. begin
  42912. pTDefRegMap(@Self)^.clr := $00000001;
  42913. end;
  42914. procedure TPORTD_TRISE.setTRISE0(thebits : TBits_1); inline;
  42915. begin
  42916. if thebits = 0 then
  42917. pTDefRegMap(@Self)^.clr := $00000001
  42918. else
  42919. pTDefRegMap(@Self)^.&set := $00000001;
  42920. end;
  42921. function TPORTD_TRISE.getTRISE0 : TBits_1; inline;
  42922. begin
  42923. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42924. end;
  42925. procedure TPORTD_TRISE.setTRISE1; inline;
  42926. begin
  42927. pTDefRegMap(@Self)^.&set := $00000002;
  42928. end;
  42929. procedure TPORTD_TRISE.clearTRISE1; inline;
  42930. begin
  42931. pTDefRegMap(@Self)^.clr := $00000002;
  42932. end;
  42933. procedure TPORTD_TRISE.setTRISE1(thebits : TBits_1); inline;
  42934. begin
  42935. if thebits = 0 then
  42936. pTDefRegMap(@Self)^.clr := $00000002
  42937. else
  42938. pTDefRegMap(@Self)^.&set := $00000002;
  42939. end;
  42940. function TPORTD_TRISE.getTRISE1 : TBits_1; inline;
  42941. begin
  42942. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42943. end;
  42944. procedure TPORTD_TRISE.setTRISE2; inline;
  42945. begin
  42946. pTDefRegMap(@Self)^.&set := $00000004;
  42947. end;
  42948. procedure TPORTD_TRISE.clearTRISE2; inline;
  42949. begin
  42950. pTDefRegMap(@Self)^.clr := $00000004;
  42951. end;
  42952. procedure TPORTD_TRISE.setTRISE2(thebits : TBits_1); inline;
  42953. begin
  42954. if thebits = 0 then
  42955. pTDefRegMap(@Self)^.clr := $00000004
  42956. else
  42957. pTDefRegMap(@Self)^.&set := $00000004;
  42958. end;
  42959. function TPORTD_TRISE.getTRISE2 : TBits_1; inline;
  42960. begin
  42961. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42962. end;
  42963. procedure TPORTD_TRISE.setTRISE3; inline;
  42964. begin
  42965. pTDefRegMap(@Self)^.&set := $00000008;
  42966. end;
  42967. procedure TPORTD_TRISE.clearTRISE3; inline;
  42968. begin
  42969. pTDefRegMap(@Self)^.clr := $00000008;
  42970. end;
  42971. procedure TPORTD_TRISE.setTRISE3(thebits : TBits_1); inline;
  42972. begin
  42973. if thebits = 0 then
  42974. pTDefRegMap(@Self)^.clr := $00000008
  42975. else
  42976. pTDefRegMap(@Self)^.&set := $00000008;
  42977. end;
  42978. function TPORTD_TRISE.getTRISE3 : TBits_1; inline;
  42979. begin
  42980. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42981. end;
  42982. procedure TPORTD_TRISE.setTRISE4; inline;
  42983. begin
  42984. pTDefRegMap(@Self)^.&set := $00000010;
  42985. end;
  42986. procedure TPORTD_TRISE.clearTRISE4; inline;
  42987. begin
  42988. pTDefRegMap(@Self)^.clr := $00000010;
  42989. end;
  42990. procedure TPORTD_TRISE.setTRISE4(thebits : TBits_1); inline;
  42991. begin
  42992. if thebits = 0 then
  42993. pTDefRegMap(@Self)^.clr := $00000010
  42994. else
  42995. pTDefRegMap(@Self)^.&set := $00000010;
  42996. end;
  42997. function TPORTD_TRISE.getTRISE4 : TBits_1; inline;
  42998. begin
  42999. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43000. end;
  43001. procedure TPORTD_TRISE.setTRISE5; inline;
  43002. begin
  43003. pTDefRegMap(@Self)^.&set := $00000020;
  43004. end;
  43005. procedure TPORTD_TRISE.clearTRISE5; inline;
  43006. begin
  43007. pTDefRegMap(@Self)^.clr := $00000020;
  43008. end;
  43009. procedure TPORTD_TRISE.setTRISE5(thebits : TBits_1); inline;
  43010. begin
  43011. if thebits = 0 then
  43012. pTDefRegMap(@Self)^.clr := $00000020
  43013. else
  43014. pTDefRegMap(@Self)^.&set := $00000020;
  43015. end;
  43016. function TPORTD_TRISE.getTRISE5 : TBits_1; inline;
  43017. begin
  43018. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43019. end;
  43020. procedure TPORTD_TRISE.setTRISE6; inline;
  43021. begin
  43022. pTDefRegMap(@Self)^.&set := $00000040;
  43023. end;
  43024. procedure TPORTD_TRISE.clearTRISE6; inline;
  43025. begin
  43026. pTDefRegMap(@Self)^.clr := $00000040;
  43027. end;
  43028. procedure TPORTD_TRISE.setTRISE6(thebits : TBits_1); inline;
  43029. begin
  43030. if thebits = 0 then
  43031. pTDefRegMap(@Self)^.clr := $00000040
  43032. else
  43033. pTDefRegMap(@Self)^.&set := $00000040;
  43034. end;
  43035. function TPORTD_TRISE.getTRISE6 : TBits_1; inline;
  43036. begin
  43037. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43038. end;
  43039. procedure TPORTD_TRISE.setTRISE7; inline;
  43040. begin
  43041. pTDefRegMap(@Self)^.&set := $00000080;
  43042. end;
  43043. procedure TPORTD_TRISE.clearTRISE7; inline;
  43044. begin
  43045. pTDefRegMap(@Self)^.clr := $00000080;
  43046. end;
  43047. procedure TPORTD_TRISE.setTRISE7(thebits : TBits_1); inline;
  43048. begin
  43049. if thebits = 0 then
  43050. pTDefRegMap(@Self)^.clr := $00000080
  43051. else
  43052. pTDefRegMap(@Self)^.&set := $00000080;
  43053. end;
  43054. function TPORTD_TRISE.getTRISE7 : TBits_1; inline;
  43055. begin
  43056. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43057. end;
  43058. procedure TPORTD_TRISE.setw(thebits : TBits_32); inline;
  43059. begin
  43060. pTDefRegMap(@Self)^.val := thebits;
  43061. end;
  43062. function TPORTD_TRISE.getw : TBits_32; inline;
  43063. begin
  43064. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43065. end;
  43066. procedure TPORTE_PORTE.setRE0; inline;
  43067. begin
  43068. pTDefRegMap(@Self)^.&set := $00000001;
  43069. end;
  43070. procedure TPORTE_PORTE.clearRE0; inline;
  43071. begin
  43072. pTDefRegMap(@Self)^.clr := $00000001;
  43073. end;
  43074. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  43075. begin
  43076. if thebits = 0 then
  43077. pTDefRegMap(@Self)^.clr := $00000001
  43078. else
  43079. pTDefRegMap(@Self)^.&set := $00000001;
  43080. end;
  43081. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  43082. begin
  43083. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43084. end;
  43085. procedure TPORTE_PORTE.setRE1; inline;
  43086. begin
  43087. pTDefRegMap(@Self)^.&set := $00000002;
  43088. end;
  43089. procedure TPORTE_PORTE.clearRE1; inline;
  43090. begin
  43091. pTDefRegMap(@Self)^.clr := $00000002;
  43092. end;
  43093. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  43094. begin
  43095. if thebits = 0 then
  43096. pTDefRegMap(@Self)^.clr := $00000002
  43097. else
  43098. pTDefRegMap(@Self)^.&set := $00000002;
  43099. end;
  43100. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  43101. begin
  43102. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43103. end;
  43104. procedure TPORTE_PORTE.setRE2; inline;
  43105. begin
  43106. pTDefRegMap(@Self)^.&set := $00000004;
  43107. end;
  43108. procedure TPORTE_PORTE.clearRE2; inline;
  43109. begin
  43110. pTDefRegMap(@Self)^.clr := $00000004;
  43111. end;
  43112. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  43113. begin
  43114. if thebits = 0 then
  43115. pTDefRegMap(@Self)^.clr := $00000004
  43116. else
  43117. pTDefRegMap(@Self)^.&set := $00000004;
  43118. end;
  43119. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  43120. begin
  43121. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43122. end;
  43123. procedure TPORTE_PORTE.setRE3; inline;
  43124. begin
  43125. pTDefRegMap(@Self)^.&set := $00000008;
  43126. end;
  43127. procedure TPORTE_PORTE.clearRE3; inline;
  43128. begin
  43129. pTDefRegMap(@Self)^.clr := $00000008;
  43130. end;
  43131. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  43132. begin
  43133. if thebits = 0 then
  43134. pTDefRegMap(@Self)^.clr := $00000008
  43135. else
  43136. pTDefRegMap(@Self)^.&set := $00000008;
  43137. end;
  43138. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  43139. begin
  43140. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43141. end;
  43142. procedure TPORTE_PORTE.setRE4; inline;
  43143. begin
  43144. pTDefRegMap(@Self)^.&set := $00000010;
  43145. end;
  43146. procedure TPORTE_PORTE.clearRE4; inline;
  43147. begin
  43148. pTDefRegMap(@Self)^.clr := $00000010;
  43149. end;
  43150. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  43151. begin
  43152. if thebits = 0 then
  43153. pTDefRegMap(@Self)^.clr := $00000010
  43154. else
  43155. pTDefRegMap(@Self)^.&set := $00000010;
  43156. end;
  43157. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  43158. begin
  43159. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43160. end;
  43161. procedure TPORTE_PORTE.setRE5; inline;
  43162. begin
  43163. pTDefRegMap(@Self)^.&set := $00000020;
  43164. end;
  43165. procedure TPORTE_PORTE.clearRE5; inline;
  43166. begin
  43167. pTDefRegMap(@Self)^.clr := $00000020;
  43168. end;
  43169. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  43170. begin
  43171. if thebits = 0 then
  43172. pTDefRegMap(@Self)^.clr := $00000020
  43173. else
  43174. pTDefRegMap(@Self)^.&set := $00000020;
  43175. end;
  43176. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  43177. begin
  43178. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43179. end;
  43180. procedure TPORTE_PORTE.setRE6; inline;
  43181. begin
  43182. pTDefRegMap(@Self)^.&set := $00000040;
  43183. end;
  43184. procedure TPORTE_PORTE.clearRE6; inline;
  43185. begin
  43186. pTDefRegMap(@Self)^.clr := $00000040;
  43187. end;
  43188. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  43189. begin
  43190. if thebits = 0 then
  43191. pTDefRegMap(@Self)^.clr := $00000040
  43192. else
  43193. pTDefRegMap(@Self)^.&set := $00000040;
  43194. end;
  43195. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  43196. begin
  43197. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43198. end;
  43199. procedure TPORTE_PORTE.setRE7; inline;
  43200. begin
  43201. pTDefRegMap(@Self)^.&set := $00000080;
  43202. end;
  43203. procedure TPORTE_PORTE.clearRE7; inline;
  43204. begin
  43205. pTDefRegMap(@Self)^.clr := $00000080;
  43206. end;
  43207. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  43208. begin
  43209. if thebits = 0 then
  43210. pTDefRegMap(@Self)^.clr := $00000080
  43211. else
  43212. pTDefRegMap(@Self)^.&set := $00000080;
  43213. end;
  43214. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  43215. begin
  43216. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43217. end;
  43218. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  43219. begin
  43220. pTDefRegMap(@Self)^.val := thebits;
  43221. end;
  43222. function TPORTE_PORTE.getw : TBits_32; inline;
  43223. begin
  43224. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43225. end;
  43226. procedure TPORTE_LATE.setLATE0; inline;
  43227. begin
  43228. pTDefRegMap(@Self)^.&set := $00000001;
  43229. end;
  43230. procedure TPORTE_LATE.clearLATE0; inline;
  43231. begin
  43232. pTDefRegMap(@Self)^.clr := $00000001;
  43233. end;
  43234. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  43235. begin
  43236. if thebits = 0 then
  43237. pTDefRegMap(@Self)^.clr := $00000001
  43238. else
  43239. pTDefRegMap(@Self)^.&set := $00000001;
  43240. end;
  43241. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  43242. begin
  43243. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43244. end;
  43245. procedure TPORTE_LATE.setLATE1; inline;
  43246. begin
  43247. pTDefRegMap(@Self)^.&set := $00000002;
  43248. end;
  43249. procedure TPORTE_LATE.clearLATE1; inline;
  43250. begin
  43251. pTDefRegMap(@Self)^.clr := $00000002;
  43252. end;
  43253. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  43254. begin
  43255. if thebits = 0 then
  43256. pTDefRegMap(@Self)^.clr := $00000002
  43257. else
  43258. pTDefRegMap(@Self)^.&set := $00000002;
  43259. end;
  43260. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  43261. begin
  43262. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43263. end;
  43264. procedure TPORTE_LATE.setLATE2; inline;
  43265. begin
  43266. pTDefRegMap(@Self)^.&set := $00000004;
  43267. end;
  43268. procedure TPORTE_LATE.clearLATE2; inline;
  43269. begin
  43270. pTDefRegMap(@Self)^.clr := $00000004;
  43271. end;
  43272. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  43273. begin
  43274. if thebits = 0 then
  43275. pTDefRegMap(@Self)^.clr := $00000004
  43276. else
  43277. pTDefRegMap(@Self)^.&set := $00000004;
  43278. end;
  43279. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  43280. begin
  43281. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43282. end;
  43283. procedure TPORTE_LATE.setLATE3; inline;
  43284. begin
  43285. pTDefRegMap(@Self)^.&set := $00000008;
  43286. end;
  43287. procedure TPORTE_LATE.clearLATE3; inline;
  43288. begin
  43289. pTDefRegMap(@Self)^.clr := $00000008;
  43290. end;
  43291. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  43292. begin
  43293. if thebits = 0 then
  43294. pTDefRegMap(@Self)^.clr := $00000008
  43295. else
  43296. pTDefRegMap(@Self)^.&set := $00000008;
  43297. end;
  43298. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  43299. begin
  43300. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43301. end;
  43302. procedure TPORTE_LATE.setLATE4; inline;
  43303. begin
  43304. pTDefRegMap(@Self)^.&set := $00000010;
  43305. end;
  43306. procedure TPORTE_LATE.clearLATE4; inline;
  43307. begin
  43308. pTDefRegMap(@Self)^.clr := $00000010;
  43309. end;
  43310. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  43311. begin
  43312. if thebits = 0 then
  43313. pTDefRegMap(@Self)^.clr := $00000010
  43314. else
  43315. pTDefRegMap(@Self)^.&set := $00000010;
  43316. end;
  43317. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  43318. begin
  43319. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43320. end;
  43321. procedure TPORTE_LATE.setLATE5; inline;
  43322. begin
  43323. pTDefRegMap(@Self)^.&set := $00000020;
  43324. end;
  43325. procedure TPORTE_LATE.clearLATE5; inline;
  43326. begin
  43327. pTDefRegMap(@Self)^.clr := $00000020;
  43328. end;
  43329. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  43330. begin
  43331. if thebits = 0 then
  43332. pTDefRegMap(@Self)^.clr := $00000020
  43333. else
  43334. pTDefRegMap(@Self)^.&set := $00000020;
  43335. end;
  43336. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  43337. begin
  43338. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43339. end;
  43340. procedure TPORTE_LATE.setLATE6; inline;
  43341. begin
  43342. pTDefRegMap(@Self)^.&set := $00000040;
  43343. end;
  43344. procedure TPORTE_LATE.clearLATE6; inline;
  43345. begin
  43346. pTDefRegMap(@Self)^.clr := $00000040;
  43347. end;
  43348. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  43349. begin
  43350. if thebits = 0 then
  43351. pTDefRegMap(@Self)^.clr := $00000040
  43352. else
  43353. pTDefRegMap(@Self)^.&set := $00000040;
  43354. end;
  43355. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  43356. begin
  43357. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43358. end;
  43359. procedure TPORTE_LATE.setLATE7; inline;
  43360. begin
  43361. pTDefRegMap(@Self)^.&set := $00000080;
  43362. end;
  43363. procedure TPORTE_LATE.clearLATE7; inline;
  43364. begin
  43365. pTDefRegMap(@Self)^.clr := $00000080;
  43366. end;
  43367. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  43368. begin
  43369. if thebits = 0 then
  43370. pTDefRegMap(@Self)^.clr := $00000080
  43371. else
  43372. pTDefRegMap(@Self)^.&set := $00000080;
  43373. end;
  43374. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  43375. begin
  43376. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43377. end;
  43378. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  43379. begin
  43380. pTDefRegMap(@Self)^.val := thebits;
  43381. end;
  43382. function TPORTE_LATE.getw : TBits_32; inline;
  43383. begin
  43384. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43385. end;
  43386. procedure TPORTE_ODCE.setODCE0; inline;
  43387. begin
  43388. pTDefRegMap(@Self)^.&set := $00000001;
  43389. end;
  43390. procedure TPORTE_ODCE.clearODCE0; inline;
  43391. begin
  43392. pTDefRegMap(@Self)^.clr := $00000001;
  43393. end;
  43394. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  43395. begin
  43396. if thebits = 0 then
  43397. pTDefRegMap(@Self)^.clr := $00000001
  43398. else
  43399. pTDefRegMap(@Self)^.&set := $00000001;
  43400. end;
  43401. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  43402. begin
  43403. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43404. end;
  43405. procedure TPORTE_ODCE.setODCE1; inline;
  43406. begin
  43407. pTDefRegMap(@Self)^.&set := $00000002;
  43408. end;
  43409. procedure TPORTE_ODCE.clearODCE1; inline;
  43410. begin
  43411. pTDefRegMap(@Self)^.clr := $00000002;
  43412. end;
  43413. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  43414. begin
  43415. if thebits = 0 then
  43416. pTDefRegMap(@Self)^.clr := $00000002
  43417. else
  43418. pTDefRegMap(@Self)^.&set := $00000002;
  43419. end;
  43420. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  43421. begin
  43422. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43423. end;
  43424. procedure TPORTE_ODCE.setODCE2; inline;
  43425. begin
  43426. pTDefRegMap(@Self)^.&set := $00000004;
  43427. end;
  43428. procedure TPORTE_ODCE.clearODCE2; inline;
  43429. begin
  43430. pTDefRegMap(@Self)^.clr := $00000004;
  43431. end;
  43432. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  43433. begin
  43434. if thebits = 0 then
  43435. pTDefRegMap(@Self)^.clr := $00000004
  43436. else
  43437. pTDefRegMap(@Self)^.&set := $00000004;
  43438. end;
  43439. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  43440. begin
  43441. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43442. end;
  43443. procedure TPORTE_ODCE.setODCE3; inline;
  43444. begin
  43445. pTDefRegMap(@Self)^.&set := $00000008;
  43446. end;
  43447. procedure TPORTE_ODCE.clearODCE3; inline;
  43448. begin
  43449. pTDefRegMap(@Self)^.clr := $00000008;
  43450. end;
  43451. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  43452. begin
  43453. if thebits = 0 then
  43454. pTDefRegMap(@Self)^.clr := $00000008
  43455. else
  43456. pTDefRegMap(@Self)^.&set := $00000008;
  43457. end;
  43458. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  43459. begin
  43460. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43461. end;
  43462. procedure TPORTE_ODCE.setODCE4; inline;
  43463. begin
  43464. pTDefRegMap(@Self)^.&set := $00000010;
  43465. end;
  43466. procedure TPORTE_ODCE.clearODCE4; inline;
  43467. begin
  43468. pTDefRegMap(@Self)^.clr := $00000010;
  43469. end;
  43470. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  43471. begin
  43472. if thebits = 0 then
  43473. pTDefRegMap(@Self)^.clr := $00000010
  43474. else
  43475. pTDefRegMap(@Self)^.&set := $00000010;
  43476. end;
  43477. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  43478. begin
  43479. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43480. end;
  43481. procedure TPORTE_ODCE.setODCE5; inline;
  43482. begin
  43483. pTDefRegMap(@Self)^.&set := $00000020;
  43484. end;
  43485. procedure TPORTE_ODCE.clearODCE5; inline;
  43486. begin
  43487. pTDefRegMap(@Self)^.clr := $00000020;
  43488. end;
  43489. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  43490. begin
  43491. if thebits = 0 then
  43492. pTDefRegMap(@Self)^.clr := $00000020
  43493. else
  43494. pTDefRegMap(@Self)^.&set := $00000020;
  43495. end;
  43496. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  43497. begin
  43498. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43499. end;
  43500. procedure TPORTE_ODCE.setODCE6; inline;
  43501. begin
  43502. pTDefRegMap(@Self)^.&set := $00000040;
  43503. end;
  43504. procedure TPORTE_ODCE.clearODCE6; inline;
  43505. begin
  43506. pTDefRegMap(@Self)^.clr := $00000040;
  43507. end;
  43508. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  43509. begin
  43510. if thebits = 0 then
  43511. pTDefRegMap(@Self)^.clr := $00000040
  43512. else
  43513. pTDefRegMap(@Self)^.&set := $00000040;
  43514. end;
  43515. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  43516. begin
  43517. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43518. end;
  43519. procedure TPORTE_ODCE.setODCE7; inline;
  43520. begin
  43521. pTDefRegMap(@Self)^.&set := $00000080;
  43522. end;
  43523. procedure TPORTE_ODCE.clearODCE7; inline;
  43524. begin
  43525. pTDefRegMap(@Self)^.clr := $00000080;
  43526. end;
  43527. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  43528. begin
  43529. if thebits = 0 then
  43530. pTDefRegMap(@Self)^.clr := $00000080
  43531. else
  43532. pTDefRegMap(@Self)^.&set := $00000080;
  43533. end;
  43534. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  43535. begin
  43536. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43537. end;
  43538. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  43539. begin
  43540. pTDefRegMap(@Self)^.val := thebits;
  43541. end;
  43542. function TPORTE_ODCE.getw : TBits_32; inline;
  43543. begin
  43544. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43545. end;
  43546. procedure TPORTE_CNPUE.setCNPUE0; inline;
  43547. begin
  43548. pTDefRegMap(@Self)^.&set := $00000001;
  43549. end;
  43550. procedure TPORTE_CNPUE.clearCNPUE0; inline;
  43551. begin
  43552. pTDefRegMap(@Self)^.clr := $00000001;
  43553. end;
  43554. procedure TPORTE_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  43555. begin
  43556. if thebits = 0 then
  43557. pTDefRegMap(@Self)^.clr := $00000001
  43558. else
  43559. pTDefRegMap(@Self)^.&set := $00000001;
  43560. end;
  43561. function TPORTE_CNPUE.getCNPUE0 : TBits_1; inline;
  43562. begin
  43563. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43564. end;
  43565. procedure TPORTE_CNPUE.setCNPUE1; inline;
  43566. begin
  43567. pTDefRegMap(@Self)^.&set := $00000002;
  43568. end;
  43569. procedure TPORTE_CNPUE.clearCNPUE1; inline;
  43570. begin
  43571. pTDefRegMap(@Self)^.clr := $00000002;
  43572. end;
  43573. procedure TPORTE_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  43574. begin
  43575. if thebits = 0 then
  43576. pTDefRegMap(@Self)^.clr := $00000002
  43577. else
  43578. pTDefRegMap(@Self)^.&set := $00000002;
  43579. end;
  43580. function TPORTE_CNPUE.getCNPUE1 : TBits_1; inline;
  43581. begin
  43582. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43583. end;
  43584. procedure TPORTE_CNPUE.setCNPUE2; inline;
  43585. begin
  43586. pTDefRegMap(@Self)^.&set := $00000004;
  43587. end;
  43588. procedure TPORTE_CNPUE.clearCNPUE2; inline;
  43589. begin
  43590. pTDefRegMap(@Self)^.clr := $00000004;
  43591. end;
  43592. procedure TPORTE_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  43593. begin
  43594. if thebits = 0 then
  43595. pTDefRegMap(@Self)^.clr := $00000004
  43596. else
  43597. pTDefRegMap(@Self)^.&set := $00000004;
  43598. end;
  43599. function TPORTE_CNPUE.getCNPUE2 : TBits_1; inline;
  43600. begin
  43601. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43602. end;
  43603. procedure TPORTE_CNPUE.setCNPUE3; inline;
  43604. begin
  43605. pTDefRegMap(@Self)^.&set := $00000008;
  43606. end;
  43607. procedure TPORTE_CNPUE.clearCNPUE3; inline;
  43608. begin
  43609. pTDefRegMap(@Self)^.clr := $00000008;
  43610. end;
  43611. procedure TPORTE_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  43612. begin
  43613. if thebits = 0 then
  43614. pTDefRegMap(@Self)^.clr := $00000008
  43615. else
  43616. pTDefRegMap(@Self)^.&set := $00000008;
  43617. end;
  43618. function TPORTE_CNPUE.getCNPUE3 : TBits_1; inline;
  43619. begin
  43620. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43621. end;
  43622. procedure TPORTE_CNPUE.setCNPUE4; inline;
  43623. begin
  43624. pTDefRegMap(@Self)^.&set := $00000010;
  43625. end;
  43626. procedure TPORTE_CNPUE.clearCNPUE4; inline;
  43627. begin
  43628. pTDefRegMap(@Self)^.clr := $00000010;
  43629. end;
  43630. procedure TPORTE_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  43631. begin
  43632. if thebits = 0 then
  43633. pTDefRegMap(@Self)^.clr := $00000010
  43634. else
  43635. pTDefRegMap(@Self)^.&set := $00000010;
  43636. end;
  43637. function TPORTE_CNPUE.getCNPUE4 : TBits_1; inline;
  43638. begin
  43639. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43640. end;
  43641. procedure TPORTE_CNPUE.setCNPUE5; inline;
  43642. begin
  43643. pTDefRegMap(@Self)^.&set := $00000020;
  43644. end;
  43645. procedure TPORTE_CNPUE.clearCNPUE5; inline;
  43646. begin
  43647. pTDefRegMap(@Self)^.clr := $00000020;
  43648. end;
  43649. procedure TPORTE_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  43650. begin
  43651. if thebits = 0 then
  43652. pTDefRegMap(@Self)^.clr := $00000020
  43653. else
  43654. pTDefRegMap(@Self)^.&set := $00000020;
  43655. end;
  43656. function TPORTE_CNPUE.getCNPUE5 : TBits_1; inline;
  43657. begin
  43658. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43659. end;
  43660. procedure TPORTE_CNPUE.setCNPUE6; inline;
  43661. begin
  43662. pTDefRegMap(@Self)^.&set := $00000040;
  43663. end;
  43664. procedure TPORTE_CNPUE.clearCNPUE6; inline;
  43665. begin
  43666. pTDefRegMap(@Self)^.clr := $00000040;
  43667. end;
  43668. procedure TPORTE_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  43669. begin
  43670. if thebits = 0 then
  43671. pTDefRegMap(@Self)^.clr := $00000040
  43672. else
  43673. pTDefRegMap(@Self)^.&set := $00000040;
  43674. end;
  43675. function TPORTE_CNPUE.getCNPUE6 : TBits_1; inline;
  43676. begin
  43677. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43678. end;
  43679. procedure TPORTE_CNPUE.setCNPUE7; inline;
  43680. begin
  43681. pTDefRegMap(@Self)^.&set := $00000080;
  43682. end;
  43683. procedure TPORTE_CNPUE.clearCNPUE7; inline;
  43684. begin
  43685. pTDefRegMap(@Self)^.clr := $00000080;
  43686. end;
  43687. procedure TPORTE_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  43688. begin
  43689. if thebits = 0 then
  43690. pTDefRegMap(@Self)^.clr := $00000080
  43691. else
  43692. pTDefRegMap(@Self)^.&set := $00000080;
  43693. end;
  43694. function TPORTE_CNPUE.getCNPUE7 : TBits_1; inline;
  43695. begin
  43696. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43697. end;
  43698. procedure TPORTE_CNPUE.setw(thebits : TBits_32); inline;
  43699. begin
  43700. pTDefRegMap(@Self)^.val := thebits;
  43701. end;
  43702. function TPORTE_CNPUE.getw : TBits_32; inline;
  43703. begin
  43704. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43705. end;
  43706. procedure TPORTE_CNPDE.setCNPDE0; inline;
  43707. begin
  43708. pTDefRegMap(@Self)^.&set := $00000001;
  43709. end;
  43710. procedure TPORTE_CNPDE.clearCNPDE0; inline;
  43711. begin
  43712. pTDefRegMap(@Self)^.clr := $00000001;
  43713. end;
  43714. procedure TPORTE_CNPDE.setCNPDE0(thebits : TBits_1); inline;
  43715. begin
  43716. if thebits = 0 then
  43717. pTDefRegMap(@Self)^.clr := $00000001
  43718. else
  43719. pTDefRegMap(@Self)^.&set := $00000001;
  43720. end;
  43721. function TPORTE_CNPDE.getCNPDE0 : TBits_1; inline;
  43722. begin
  43723. getCNPDE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43724. end;
  43725. procedure TPORTE_CNPDE.setCNPDE1; inline;
  43726. begin
  43727. pTDefRegMap(@Self)^.&set := $00000002;
  43728. end;
  43729. procedure TPORTE_CNPDE.clearCNPDE1; inline;
  43730. begin
  43731. pTDefRegMap(@Self)^.clr := $00000002;
  43732. end;
  43733. procedure TPORTE_CNPDE.setCNPDE1(thebits : TBits_1); inline;
  43734. begin
  43735. if thebits = 0 then
  43736. pTDefRegMap(@Self)^.clr := $00000002
  43737. else
  43738. pTDefRegMap(@Self)^.&set := $00000002;
  43739. end;
  43740. function TPORTE_CNPDE.getCNPDE1 : TBits_1; inline;
  43741. begin
  43742. getCNPDE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43743. end;
  43744. procedure TPORTE_CNPDE.setCNPDE2; inline;
  43745. begin
  43746. pTDefRegMap(@Self)^.&set := $00000004;
  43747. end;
  43748. procedure TPORTE_CNPDE.clearCNPDE2; inline;
  43749. begin
  43750. pTDefRegMap(@Self)^.clr := $00000004;
  43751. end;
  43752. procedure TPORTE_CNPDE.setCNPDE2(thebits : TBits_1); inline;
  43753. begin
  43754. if thebits = 0 then
  43755. pTDefRegMap(@Self)^.clr := $00000004
  43756. else
  43757. pTDefRegMap(@Self)^.&set := $00000004;
  43758. end;
  43759. function TPORTE_CNPDE.getCNPDE2 : TBits_1; inline;
  43760. begin
  43761. getCNPDE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43762. end;
  43763. procedure TPORTE_CNPDE.setCNPDE3; inline;
  43764. begin
  43765. pTDefRegMap(@Self)^.&set := $00000008;
  43766. end;
  43767. procedure TPORTE_CNPDE.clearCNPDE3; inline;
  43768. begin
  43769. pTDefRegMap(@Self)^.clr := $00000008;
  43770. end;
  43771. procedure TPORTE_CNPDE.setCNPDE3(thebits : TBits_1); inline;
  43772. begin
  43773. if thebits = 0 then
  43774. pTDefRegMap(@Self)^.clr := $00000008
  43775. else
  43776. pTDefRegMap(@Self)^.&set := $00000008;
  43777. end;
  43778. function TPORTE_CNPDE.getCNPDE3 : TBits_1; inline;
  43779. begin
  43780. getCNPDE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43781. end;
  43782. procedure TPORTE_CNPDE.setCNPDE4; inline;
  43783. begin
  43784. pTDefRegMap(@Self)^.&set := $00000010;
  43785. end;
  43786. procedure TPORTE_CNPDE.clearCNPDE4; inline;
  43787. begin
  43788. pTDefRegMap(@Self)^.clr := $00000010;
  43789. end;
  43790. procedure TPORTE_CNPDE.setCNPDE4(thebits : TBits_1); inline;
  43791. begin
  43792. if thebits = 0 then
  43793. pTDefRegMap(@Self)^.clr := $00000010
  43794. else
  43795. pTDefRegMap(@Self)^.&set := $00000010;
  43796. end;
  43797. function TPORTE_CNPDE.getCNPDE4 : TBits_1; inline;
  43798. begin
  43799. getCNPDE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43800. end;
  43801. procedure TPORTE_CNPDE.setCNPDE5; inline;
  43802. begin
  43803. pTDefRegMap(@Self)^.&set := $00000020;
  43804. end;
  43805. procedure TPORTE_CNPDE.clearCNPDE5; inline;
  43806. begin
  43807. pTDefRegMap(@Self)^.clr := $00000020;
  43808. end;
  43809. procedure TPORTE_CNPDE.setCNPDE5(thebits : TBits_1); inline;
  43810. begin
  43811. if thebits = 0 then
  43812. pTDefRegMap(@Self)^.clr := $00000020
  43813. else
  43814. pTDefRegMap(@Self)^.&set := $00000020;
  43815. end;
  43816. function TPORTE_CNPDE.getCNPDE5 : TBits_1; inline;
  43817. begin
  43818. getCNPDE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43819. end;
  43820. procedure TPORTE_CNPDE.setCNPDE6; inline;
  43821. begin
  43822. pTDefRegMap(@Self)^.&set := $00000040;
  43823. end;
  43824. procedure TPORTE_CNPDE.clearCNPDE6; inline;
  43825. begin
  43826. pTDefRegMap(@Self)^.clr := $00000040;
  43827. end;
  43828. procedure TPORTE_CNPDE.setCNPDE6(thebits : TBits_1); inline;
  43829. begin
  43830. if thebits = 0 then
  43831. pTDefRegMap(@Self)^.clr := $00000040
  43832. else
  43833. pTDefRegMap(@Self)^.&set := $00000040;
  43834. end;
  43835. function TPORTE_CNPDE.getCNPDE6 : TBits_1; inline;
  43836. begin
  43837. getCNPDE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43838. end;
  43839. procedure TPORTE_CNPDE.setCNPDE7; inline;
  43840. begin
  43841. pTDefRegMap(@Self)^.&set := $00000080;
  43842. end;
  43843. procedure TPORTE_CNPDE.clearCNPDE7; inline;
  43844. begin
  43845. pTDefRegMap(@Self)^.clr := $00000080;
  43846. end;
  43847. procedure TPORTE_CNPDE.setCNPDE7(thebits : TBits_1); inline;
  43848. begin
  43849. if thebits = 0 then
  43850. pTDefRegMap(@Self)^.clr := $00000080
  43851. else
  43852. pTDefRegMap(@Self)^.&set := $00000080;
  43853. end;
  43854. function TPORTE_CNPDE.getCNPDE7 : TBits_1; inline;
  43855. begin
  43856. getCNPDE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43857. end;
  43858. procedure TPORTE_CNPDE.setw(thebits : TBits_32); inline;
  43859. begin
  43860. pTDefRegMap(@Self)^.val := thebits;
  43861. end;
  43862. function TPORTE_CNPDE.getw : TBits_32; inline;
  43863. begin
  43864. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43865. end;
  43866. procedure TPORTE_CNCONE.setSIDL; inline;
  43867. begin
  43868. pTDefRegMap(@Self)^.&set := $00002000;
  43869. end;
  43870. procedure TPORTE_CNCONE.clearSIDL; inline;
  43871. begin
  43872. pTDefRegMap(@Self)^.clr := $00002000;
  43873. end;
  43874. procedure TPORTE_CNCONE.setSIDL(thebits : TBits_1); inline;
  43875. begin
  43876. if thebits = 0 then
  43877. pTDefRegMap(@Self)^.clr := $00002000
  43878. else
  43879. pTDefRegMap(@Self)^.&set := $00002000;
  43880. end;
  43881. function TPORTE_CNCONE.getSIDL : TBits_1; inline;
  43882. begin
  43883. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43884. end;
  43885. procedure TPORTE_CNCONE.setON; inline;
  43886. begin
  43887. pTDefRegMap(@Self)^.&set := $00008000;
  43888. end;
  43889. procedure TPORTE_CNCONE.clearON; inline;
  43890. begin
  43891. pTDefRegMap(@Self)^.clr := $00008000;
  43892. end;
  43893. procedure TPORTE_CNCONE.setON(thebits : TBits_1); inline;
  43894. begin
  43895. if thebits = 0 then
  43896. pTDefRegMap(@Self)^.clr := $00008000
  43897. else
  43898. pTDefRegMap(@Self)^.&set := $00008000;
  43899. end;
  43900. function TPORTE_CNCONE.getON : TBits_1; inline;
  43901. begin
  43902. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43903. end;
  43904. procedure TPORTE_CNCONE.setw(thebits : TBits_32); inline;
  43905. begin
  43906. pTDefRegMap(@Self)^.val := thebits;
  43907. end;
  43908. function TPORTE_CNCONE.getw : TBits_32; inline;
  43909. begin
  43910. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43911. end;
  43912. procedure TPORTE_CNENE.setCNIEE0; inline;
  43913. begin
  43914. pTDefRegMap(@Self)^.&set := $00000001;
  43915. end;
  43916. procedure TPORTE_CNENE.clearCNIEE0; inline;
  43917. begin
  43918. pTDefRegMap(@Self)^.clr := $00000001;
  43919. end;
  43920. procedure TPORTE_CNENE.setCNIEE0(thebits : TBits_1); inline;
  43921. begin
  43922. if thebits = 0 then
  43923. pTDefRegMap(@Self)^.clr := $00000001
  43924. else
  43925. pTDefRegMap(@Self)^.&set := $00000001;
  43926. end;
  43927. function TPORTE_CNENE.getCNIEE0 : TBits_1; inline;
  43928. begin
  43929. getCNIEE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43930. end;
  43931. procedure TPORTE_CNENE.setCNIEE1; inline;
  43932. begin
  43933. pTDefRegMap(@Self)^.&set := $00000002;
  43934. end;
  43935. procedure TPORTE_CNENE.clearCNIEE1; inline;
  43936. begin
  43937. pTDefRegMap(@Self)^.clr := $00000002;
  43938. end;
  43939. procedure TPORTE_CNENE.setCNIEE1(thebits : TBits_1); inline;
  43940. begin
  43941. if thebits = 0 then
  43942. pTDefRegMap(@Self)^.clr := $00000002
  43943. else
  43944. pTDefRegMap(@Self)^.&set := $00000002;
  43945. end;
  43946. function TPORTE_CNENE.getCNIEE1 : TBits_1; inline;
  43947. begin
  43948. getCNIEE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43949. end;
  43950. procedure TPORTE_CNENE.setCNIEE2; inline;
  43951. begin
  43952. pTDefRegMap(@Self)^.&set := $00000004;
  43953. end;
  43954. procedure TPORTE_CNENE.clearCNIEE2; inline;
  43955. begin
  43956. pTDefRegMap(@Self)^.clr := $00000004;
  43957. end;
  43958. procedure TPORTE_CNENE.setCNIEE2(thebits : TBits_1); inline;
  43959. begin
  43960. if thebits = 0 then
  43961. pTDefRegMap(@Self)^.clr := $00000004
  43962. else
  43963. pTDefRegMap(@Self)^.&set := $00000004;
  43964. end;
  43965. function TPORTE_CNENE.getCNIEE2 : TBits_1; inline;
  43966. begin
  43967. getCNIEE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43968. end;
  43969. procedure TPORTE_CNENE.setCNIEE3; inline;
  43970. begin
  43971. pTDefRegMap(@Self)^.&set := $00000008;
  43972. end;
  43973. procedure TPORTE_CNENE.clearCNIEE3; inline;
  43974. begin
  43975. pTDefRegMap(@Self)^.clr := $00000008;
  43976. end;
  43977. procedure TPORTE_CNENE.setCNIEE3(thebits : TBits_1); inline;
  43978. begin
  43979. if thebits = 0 then
  43980. pTDefRegMap(@Self)^.clr := $00000008
  43981. else
  43982. pTDefRegMap(@Self)^.&set := $00000008;
  43983. end;
  43984. function TPORTE_CNENE.getCNIEE3 : TBits_1; inline;
  43985. begin
  43986. getCNIEE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43987. end;
  43988. procedure TPORTE_CNENE.setCNIEE4; inline;
  43989. begin
  43990. pTDefRegMap(@Self)^.&set := $00000010;
  43991. end;
  43992. procedure TPORTE_CNENE.clearCNIEE4; inline;
  43993. begin
  43994. pTDefRegMap(@Self)^.clr := $00000010;
  43995. end;
  43996. procedure TPORTE_CNENE.setCNIEE4(thebits : TBits_1); inline;
  43997. begin
  43998. if thebits = 0 then
  43999. pTDefRegMap(@Self)^.clr := $00000010
  44000. else
  44001. pTDefRegMap(@Self)^.&set := $00000010;
  44002. end;
  44003. function TPORTE_CNENE.getCNIEE4 : TBits_1; inline;
  44004. begin
  44005. getCNIEE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44006. end;
  44007. procedure TPORTE_CNENE.setCNIEE5; inline;
  44008. begin
  44009. pTDefRegMap(@Self)^.&set := $00000020;
  44010. end;
  44011. procedure TPORTE_CNENE.clearCNIEE5; inline;
  44012. begin
  44013. pTDefRegMap(@Self)^.clr := $00000020;
  44014. end;
  44015. procedure TPORTE_CNENE.setCNIEE5(thebits : TBits_1); inline;
  44016. begin
  44017. if thebits = 0 then
  44018. pTDefRegMap(@Self)^.clr := $00000020
  44019. else
  44020. pTDefRegMap(@Self)^.&set := $00000020;
  44021. end;
  44022. function TPORTE_CNENE.getCNIEE5 : TBits_1; inline;
  44023. begin
  44024. getCNIEE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44025. end;
  44026. procedure TPORTE_CNENE.setCNIEE6; inline;
  44027. begin
  44028. pTDefRegMap(@Self)^.&set := $00000040;
  44029. end;
  44030. procedure TPORTE_CNENE.clearCNIEE6; inline;
  44031. begin
  44032. pTDefRegMap(@Self)^.clr := $00000040;
  44033. end;
  44034. procedure TPORTE_CNENE.setCNIEE6(thebits : TBits_1); inline;
  44035. begin
  44036. if thebits = 0 then
  44037. pTDefRegMap(@Self)^.clr := $00000040
  44038. else
  44039. pTDefRegMap(@Self)^.&set := $00000040;
  44040. end;
  44041. function TPORTE_CNENE.getCNIEE6 : TBits_1; inline;
  44042. begin
  44043. getCNIEE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44044. end;
  44045. procedure TPORTE_CNENE.setCNIEE7; inline;
  44046. begin
  44047. pTDefRegMap(@Self)^.&set := $00000080;
  44048. end;
  44049. procedure TPORTE_CNENE.clearCNIEE7; inline;
  44050. begin
  44051. pTDefRegMap(@Self)^.clr := $00000080;
  44052. end;
  44053. procedure TPORTE_CNENE.setCNIEE7(thebits : TBits_1); inline;
  44054. begin
  44055. if thebits = 0 then
  44056. pTDefRegMap(@Self)^.clr := $00000080
  44057. else
  44058. pTDefRegMap(@Self)^.&set := $00000080;
  44059. end;
  44060. function TPORTE_CNENE.getCNIEE7 : TBits_1; inline;
  44061. begin
  44062. getCNIEE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44063. end;
  44064. procedure TPORTE_CNENE.setw(thebits : TBits_32); inline;
  44065. begin
  44066. pTDefRegMap(@Self)^.val := thebits;
  44067. end;
  44068. function TPORTE_CNENE.getw : TBits_32; inline;
  44069. begin
  44070. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44071. end;
  44072. procedure TPORTE_CNSTATE.setCNSTATE0; inline;
  44073. begin
  44074. pTDefRegMap(@Self)^.&set := $00000001;
  44075. end;
  44076. procedure TPORTE_CNSTATE.clearCNSTATE0; inline;
  44077. begin
  44078. pTDefRegMap(@Self)^.clr := $00000001;
  44079. end;
  44080. procedure TPORTE_CNSTATE.setCNSTATE0(thebits : TBits_1); inline;
  44081. begin
  44082. if thebits = 0 then
  44083. pTDefRegMap(@Self)^.clr := $00000001
  44084. else
  44085. pTDefRegMap(@Self)^.&set := $00000001;
  44086. end;
  44087. function TPORTE_CNSTATE.getCNSTATE0 : TBits_1; inline;
  44088. begin
  44089. getCNSTATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44090. end;
  44091. procedure TPORTE_CNSTATE.setCNSTATE1; inline;
  44092. begin
  44093. pTDefRegMap(@Self)^.&set := $00000002;
  44094. end;
  44095. procedure TPORTE_CNSTATE.clearCNSTATE1; inline;
  44096. begin
  44097. pTDefRegMap(@Self)^.clr := $00000002;
  44098. end;
  44099. procedure TPORTE_CNSTATE.setCNSTATE1(thebits : TBits_1); inline;
  44100. begin
  44101. if thebits = 0 then
  44102. pTDefRegMap(@Self)^.clr := $00000002
  44103. else
  44104. pTDefRegMap(@Self)^.&set := $00000002;
  44105. end;
  44106. function TPORTE_CNSTATE.getCNSTATE1 : TBits_1; inline;
  44107. begin
  44108. getCNSTATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44109. end;
  44110. procedure TPORTE_CNSTATE.setCNSTATE2; inline;
  44111. begin
  44112. pTDefRegMap(@Self)^.&set := $00000004;
  44113. end;
  44114. procedure TPORTE_CNSTATE.clearCNSTATE2; inline;
  44115. begin
  44116. pTDefRegMap(@Self)^.clr := $00000004;
  44117. end;
  44118. procedure TPORTE_CNSTATE.setCNSTATE2(thebits : TBits_1); inline;
  44119. begin
  44120. if thebits = 0 then
  44121. pTDefRegMap(@Self)^.clr := $00000004
  44122. else
  44123. pTDefRegMap(@Self)^.&set := $00000004;
  44124. end;
  44125. function TPORTE_CNSTATE.getCNSTATE2 : TBits_1; inline;
  44126. begin
  44127. getCNSTATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44128. end;
  44129. procedure TPORTE_CNSTATE.setCNSTATE3; inline;
  44130. begin
  44131. pTDefRegMap(@Self)^.&set := $00000008;
  44132. end;
  44133. procedure TPORTE_CNSTATE.clearCNSTATE3; inline;
  44134. begin
  44135. pTDefRegMap(@Self)^.clr := $00000008;
  44136. end;
  44137. procedure TPORTE_CNSTATE.setCNSTATE3(thebits : TBits_1); inline;
  44138. begin
  44139. if thebits = 0 then
  44140. pTDefRegMap(@Self)^.clr := $00000008
  44141. else
  44142. pTDefRegMap(@Self)^.&set := $00000008;
  44143. end;
  44144. function TPORTE_CNSTATE.getCNSTATE3 : TBits_1; inline;
  44145. begin
  44146. getCNSTATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44147. end;
  44148. procedure TPORTE_CNSTATE.setCNSTATE4; inline;
  44149. begin
  44150. pTDefRegMap(@Self)^.&set := $00000010;
  44151. end;
  44152. procedure TPORTE_CNSTATE.clearCNSTATE4; inline;
  44153. begin
  44154. pTDefRegMap(@Self)^.clr := $00000010;
  44155. end;
  44156. procedure TPORTE_CNSTATE.setCNSTATE4(thebits : TBits_1); inline;
  44157. begin
  44158. if thebits = 0 then
  44159. pTDefRegMap(@Self)^.clr := $00000010
  44160. else
  44161. pTDefRegMap(@Self)^.&set := $00000010;
  44162. end;
  44163. function TPORTE_CNSTATE.getCNSTATE4 : TBits_1; inline;
  44164. begin
  44165. getCNSTATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44166. end;
  44167. procedure TPORTE_CNSTATE.setCNSTATE5; inline;
  44168. begin
  44169. pTDefRegMap(@Self)^.&set := $00000020;
  44170. end;
  44171. procedure TPORTE_CNSTATE.clearCNSTATE5; inline;
  44172. begin
  44173. pTDefRegMap(@Self)^.clr := $00000020;
  44174. end;
  44175. procedure TPORTE_CNSTATE.setCNSTATE5(thebits : TBits_1); inline;
  44176. begin
  44177. if thebits = 0 then
  44178. pTDefRegMap(@Self)^.clr := $00000020
  44179. else
  44180. pTDefRegMap(@Self)^.&set := $00000020;
  44181. end;
  44182. function TPORTE_CNSTATE.getCNSTATE5 : TBits_1; inline;
  44183. begin
  44184. getCNSTATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44185. end;
  44186. procedure TPORTE_CNSTATE.setCNSTATE6; inline;
  44187. begin
  44188. pTDefRegMap(@Self)^.&set := $00000040;
  44189. end;
  44190. procedure TPORTE_CNSTATE.clearCNSTATE6; inline;
  44191. begin
  44192. pTDefRegMap(@Self)^.clr := $00000040;
  44193. end;
  44194. procedure TPORTE_CNSTATE.setCNSTATE6(thebits : TBits_1); inline;
  44195. begin
  44196. if thebits = 0 then
  44197. pTDefRegMap(@Self)^.clr := $00000040
  44198. else
  44199. pTDefRegMap(@Self)^.&set := $00000040;
  44200. end;
  44201. function TPORTE_CNSTATE.getCNSTATE6 : TBits_1; inline;
  44202. begin
  44203. getCNSTATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44204. end;
  44205. procedure TPORTE_CNSTATE.setCNSTATE7; inline;
  44206. begin
  44207. pTDefRegMap(@Self)^.&set := $00000080;
  44208. end;
  44209. procedure TPORTE_CNSTATE.clearCNSTATE7; inline;
  44210. begin
  44211. pTDefRegMap(@Self)^.clr := $00000080;
  44212. end;
  44213. procedure TPORTE_CNSTATE.setCNSTATE7(thebits : TBits_1); inline;
  44214. begin
  44215. if thebits = 0 then
  44216. pTDefRegMap(@Self)^.clr := $00000080
  44217. else
  44218. pTDefRegMap(@Self)^.&set := $00000080;
  44219. end;
  44220. function TPORTE_CNSTATE.getCNSTATE7 : TBits_1; inline;
  44221. begin
  44222. getCNSTATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44223. end;
  44224. procedure TPORTE_CNSTATE.setw(thebits : TBits_32); inline;
  44225. begin
  44226. pTDefRegMap(@Self)^.val := thebits;
  44227. end;
  44228. function TPORTE_CNSTATE.getw : TBits_32; inline;
  44229. begin
  44230. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44231. end;
  44232. procedure TPORTE_TRISF.setTRISF0; inline;
  44233. begin
  44234. pTDefRegMap(@Self)^.&set := $00000001;
  44235. end;
  44236. procedure TPORTE_TRISF.clearTRISF0; inline;
  44237. begin
  44238. pTDefRegMap(@Self)^.clr := $00000001;
  44239. end;
  44240. procedure TPORTE_TRISF.setTRISF0(thebits : TBits_1); inline;
  44241. begin
  44242. if thebits = 0 then
  44243. pTDefRegMap(@Self)^.clr := $00000001
  44244. else
  44245. pTDefRegMap(@Self)^.&set := $00000001;
  44246. end;
  44247. function TPORTE_TRISF.getTRISF0 : TBits_1; inline;
  44248. begin
  44249. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44250. end;
  44251. procedure TPORTE_TRISF.setTRISF1; inline;
  44252. begin
  44253. pTDefRegMap(@Self)^.&set := $00000002;
  44254. end;
  44255. procedure TPORTE_TRISF.clearTRISF1; inline;
  44256. begin
  44257. pTDefRegMap(@Self)^.clr := $00000002;
  44258. end;
  44259. procedure TPORTE_TRISF.setTRISF1(thebits : TBits_1); inline;
  44260. begin
  44261. if thebits = 0 then
  44262. pTDefRegMap(@Self)^.clr := $00000002
  44263. else
  44264. pTDefRegMap(@Self)^.&set := $00000002;
  44265. end;
  44266. function TPORTE_TRISF.getTRISF1 : TBits_1; inline;
  44267. begin
  44268. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44269. end;
  44270. procedure TPORTE_TRISF.setTRISF2; inline;
  44271. begin
  44272. pTDefRegMap(@Self)^.&set := $00000004;
  44273. end;
  44274. procedure TPORTE_TRISF.clearTRISF2; inline;
  44275. begin
  44276. pTDefRegMap(@Self)^.clr := $00000004;
  44277. end;
  44278. procedure TPORTE_TRISF.setTRISF2(thebits : TBits_1); inline;
  44279. begin
  44280. if thebits = 0 then
  44281. pTDefRegMap(@Self)^.clr := $00000004
  44282. else
  44283. pTDefRegMap(@Self)^.&set := $00000004;
  44284. end;
  44285. function TPORTE_TRISF.getTRISF2 : TBits_1; inline;
  44286. begin
  44287. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44288. end;
  44289. procedure TPORTE_TRISF.setTRISF3; inline;
  44290. begin
  44291. pTDefRegMap(@Self)^.&set := $00000008;
  44292. end;
  44293. procedure TPORTE_TRISF.clearTRISF3; inline;
  44294. begin
  44295. pTDefRegMap(@Self)^.clr := $00000008;
  44296. end;
  44297. procedure TPORTE_TRISF.setTRISF3(thebits : TBits_1); inline;
  44298. begin
  44299. if thebits = 0 then
  44300. pTDefRegMap(@Self)^.clr := $00000008
  44301. else
  44302. pTDefRegMap(@Self)^.&set := $00000008;
  44303. end;
  44304. function TPORTE_TRISF.getTRISF3 : TBits_1; inline;
  44305. begin
  44306. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44307. end;
  44308. procedure TPORTE_TRISF.setTRISF4; inline;
  44309. begin
  44310. pTDefRegMap(@Self)^.&set := $00000010;
  44311. end;
  44312. procedure TPORTE_TRISF.clearTRISF4; inline;
  44313. begin
  44314. pTDefRegMap(@Self)^.clr := $00000010;
  44315. end;
  44316. procedure TPORTE_TRISF.setTRISF4(thebits : TBits_1); inline;
  44317. begin
  44318. if thebits = 0 then
  44319. pTDefRegMap(@Self)^.clr := $00000010
  44320. else
  44321. pTDefRegMap(@Self)^.&set := $00000010;
  44322. end;
  44323. function TPORTE_TRISF.getTRISF4 : TBits_1; inline;
  44324. begin
  44325. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44326. end;
  44327. procedure TPORTE_TRISF.setTRISF5; inline;
  44328. begin
  44329. pTDefRegMap(@Self)^.&set := $00000020;
  44330. end;
  44331. procedure TPORTE_TRISF.clearTRISF5; inline;
  44332. begin
  44333. pTDefRegMap(@Self)^.clr := $00000020;
  44334. end;
  44335. procedure TPORTE_TRISF.setTRISF5(thebits : TBits_1); inline;
  44336. begin
  44337. if thebits = 0 then
  44338. pTDefRegMap(@Self)^.clr := $00000020
  44339. else
  44340. pTDefRegMap(@Self)^.&set := $00000020;
  44341. end;
  44342. function TPORTE_TRISF.getTRISF5 : TBits_1; inline;
  44343. begin
  44344. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44345. end;
  44346. procedure TPORTE_TRISF.setTRISF6; inline;
  44347. begin
  44348. pTDefRegMap(@Self)^.&set := $00000040;
  44349. end;
  44350. procedure TPORTE_TRISF.clearTRISF6; inline;
  44351. begin
  44352. pTDefRegMap(@Self)^.clr := $00000040;
  44353. end;
  44354. procedure TPORTE_TRISF.setTRISF6(thebits : TBits_1); inline;
  44355. begin
  44356. if thebits = 0 then
  44357. pTDefRegMap(@Self)^.clr := $00000040
  44358. else
  44359. pTDefRegMap(@Self)^.&set := $00000040;
  44360. end;
  44361. function TPORTE_TRISF.getTRISF6 : TBits_1; inline;
  44362. begin
  44363. getTRISF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44364. end;
  44365. procedure TPORTE_TRISF.setw(thebits : TBits_32); inline;
  44366. begin
  44367. pTDefRegMap(@Self)^.val := thebits;
  44368. end;
  44369. function TPORTE_TRISF.getw : TBits_32; inline;
  44370. begin
  44371. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44372. end;
  44373. procedure TPORTF_PORTF.setRF0; inline;
  44374. begin
  44375. pTDefRegMap(@Self)^.&set := $00000001;
  44376. end;
  44377. procedure TPORTF_PORTF.clearRF0; inline;
  44378. begin
  44379. pTDefRegMap(@Self)^.clr := $00000001;
  44380. end;
  44381. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  44382. begin
  44383. if thebits = 0 then
  44384. pTDefRegMap(@Self)^.clr := $00000001
  44385. else
  44386. pTDefRegMap(@Self)^.&set := $00000001;
  44387. end;
  44388. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  44389. begin
  44390. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44391. end;
  44392. procedure TPORTF_PORTF.setRF1; inline;
  44393. begin
  44394. pTDefRegMap(@Self)^.&set := $00000002;
  44395. end;
  44396. procedure TPORTF_PORTF.clearRF1; inline;
  44397. begin
  44398. pTDefRegMap(@Self)^.clr := $00000002;
  44399. end;
  44400. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  44401. begin
  44402. if thebits = 0 then
  44403. pTDefRegMap(@Self)^.clr := $00000002
  44404. else
  44405. pTDefRegMap(@Self)^.&set := $00000002;
  44406. end;
  44407. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  44408. begin
  44409. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44410. end;
  44411. procedure TPORTF_PORTF.setRF2; inline;
  44412. begin
  44413. pTDefRegMap(@Self)^.&set := $00000004;
  44414. end;
  44415. procedure TPORTF_PORTF.clearRF2; inline;
  44416. begin
  44417. pTDefRegMap(@Self)^.clr := $00000004;
  44418. end;
  44419. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  44420. begin
  44421. if thebits = 0 then
  44422. pTDefRegMap(@Self)^.clr := $00000004
  44423. else
  44424. pTDefRegMap(@Self)^.&set := $00000004;
  44425. end;
  44426. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  44427. begin
  44428. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44429. end;
  44430. procedure TPORTF_PORTF.setRF3; inline;
  44431. begin
  44432. pTDefRegMap(@Self)^.&set := $00000008;
  44433. end;
  44434. procedure TPORTF_PORTF.clearRF3; inline;
  44435. begin
  44436. pTDefRegMap(@Self)^.clr := $00000008;
  44437. end;
  44438. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  44439. begin
  44440. if thebits = 0 then
  44441. pTDefRegMap(@Self)^.clr := $00000008
  44442. else
  44443. pTDefRegMap(@Self)^.&set := $00000008;
  44444. end;
  44445. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  44446. begin
  44447. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44448. end;
  44449. procedure TPORTF_PORTF.setRF4; inline;
  44450. begin
  44451. pTDefRegMap(@Self)^.&set := $00000010;
  44452. end;
  44453. procedure TPORTF_PORTF.clearRF4; inline;
  44454. begin
  44455. pTDefRegMap(@Self)^.clr := $00000010;
  44456. end;
  44457. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  44458. begin
  44459. if thebits = 0 then
  44460. pTDefRegMap(@Self)^.clr := $00000010
  44461. else
  44462. pTDefRegMap(@Self)^.&set := $00000010;
  44463. end;
  44464. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  44465. begin
  44466. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44467. end;
  44468. procedure TPORTF_PORTF.setRF5; inline;
  44469. begin
  44470. pTDefRegMap(@Self)^.&set := $00000020;
  44471. end;
  44472. procedure TPORTF_PORTF.clearRF5; inline;
  44473. begin
  44474. pTDefRegMap(@Self)^.clr := $00000020;
  44475. end;
  44476. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  44477. begin
  44478. if thebits = 0 then
  44479. pTDefRegMap(@Self)^.clr := $00000020
  44480. else
  44481. pTDefRegMap(@Self)^.&set := $00000020;
  44482. end;
  44483. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  44484. begin
  44485. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44486. end;
  44487. procedure TPORTF_PORTF.setRF6; inline;
  44488. begin
  44489. pTDefRegMap(@Self)^.&set := $00000040;
  44490. end;
  44491. procedure TPORTF_PORTF.clearRF6; inline;
  44492. begin
  44493. pTDefRegMap(@Self)^.clr := $00000040;
  44494. end;
  44495. procedure TPORTF_PORTF.setRF6(thebits : TBits_1); inline;
  44496. begin
  44497. if thebits = 0 then
  44498. pTDefRegMap(@Self)^.clr := $00000040
  44499. else
  44500. pTDefRegMap(@Self)^.&set := $00000040;
  44501. end;
  44502. function TPORTF_PORTF.getRF6 : TBits_1; inline;
  44503. begin
  44504. getRF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44505. end;
  44506. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  44507. begin
  44508. pTDefRegMap(@Self)^.val := thebits;
  44509. end;
  44510. function TPORTF_PORTF.getw : TBits_32; inline;
  44511. begin
  44512. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44513. end;
  44514. procedure TPORTF_LATF.setLATF0; inline;
  44515. begin
  44516. pTDefRegMap(@Self)^.&set := $00000001;
  44517. end;
  44518. procedure TPORTF_LATF.clearLATF0; inline;
  44519. begin
  44520. pTDefRegMap(@Self)^.clr := $00000001;
  44521. end;
  44522. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  44523. begin
  44524. if thebits = 0 then
  44525. pTDefRegMap(@Self)^.clr := $00000001
  44526. else
  44527. pTDefRegMap(@Self)^.&set := $00000001;
  44528. end;
  44529. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  44530. begin
  44531. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44532. end;
  44533. procedure TPORTF_LATF.setLATF1; inline;
  44534. begin
  44535. pTDefRegMap(@Self)^.&set := $00000002;
  44536. end;
  44537. procedure TPORTF_LATF.clearLATF1; inline;
  44538. begin
  44539. pTDefRegMap(@Self)^.clr := $00000002;
  44540. end;
  44541. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  44542. begin
  44543. if thebits = 0 then
  44544. pTDefRegMap(@Self)^.clr := $00000002
  44545. else
  44546. pTDefRegMap(@Self)^.&set := $00000002;
  44547. end;
  44548. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  44549. begin
  44550. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44551. end;
  44552. procedure TPORTF_LATF.setLATF2; inline;
  44553. begin
  44554. pTDefRegMap(@Self)^.&set := $00000004;
  44555. end;
  44556. procedure TPORTF_LATF.clearLATF2; inline;
  44557. begin
  44558. pTDefRegMap(@Self)^.clr := $00000004;
  44559. end;
  44560. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  44561. begin
  44562. if thebits = 0 then
  44563. pTDefRegMap(@Self)^.clr := $00000004
  44564. else
  44565. pTDefRegMap(@Self)^.&set := $00000004;
  44566. end;
  44567. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  44568. begin
  44569. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44570. end;
  44571. procedure TPORTF_LATF.setLATF3; inline;
  44572. begin
  44573. pTDefRegMap(@Self)^.&set := $00000008;
  44574. end;
  44575. procedure TPORTF_LATF.clearLATF3; inline;
  44576. begin
  44577. pTDefRegMap(@Self)^.clr := $00000008;
  44578. end;
  44579. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  44580. begin
  44581. if thebits = 0 then
  44582. pTDefRegMap(@Self)^.clr := $00000008
  44583. else
  44584. pTDefRegMap(@Self)^.&set := $00000008;
  44585. end;
  44586. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  44587. begin
  44588. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44589. end;
  44590. procedure TPORTF_LATF.setLATF4; inline;
  44591. begin
  44592. pTDefRegMap(@Self)^.&set := $00000010;
  44593. end;
  44594. procedure TPORTF_LATF.clearLATF4; inline;
  44595. begin
  44596. pTDefRegMap(@Self)^.clr := $00000010;
  44597. end;
  44598. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  44599. begin
  44600. if thebits = 0 then
  44601. pTDefRegMap(@Self)^.clr := $00000010
  44602. else
  44603. pTDefRegMap(@Self)^.&set := $00000010;
  44604. end;
  44605. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  44606. begin
  44607. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44608. end;
  44609. procedure TPORTF_LATF.setLATF5; inline;
  44610. begin
  44611. pTDefRegMap(@Self)^.&set := $00000020;
  44612. end;
  44613. procedure TPORTF_LATF.clearLATF5; inline;
  44614. begin
  44615. pTDefRegMap(@Self)^.clr := $00000020;
  44616. end;
  44617. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  44618. begin
  44619. if thebits = 0 then
  44620. pTDefRegMap(@Self)^.clr := $00000020
  44621. else
  44622. pTDefRegMap(@Self)^.&set := $00000020;
  44623. end;
  44624. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  44625. begin
  44626. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44627. end;
  44628. procedure TPORTF_LATF.setLATF6; inline;
  44629. begin
  44630. pTDefRegMap(@Self)^.&set := $00000040;
  44631. end;
  44632. procedure TPORTF_LATF.clearLATF6; inline;
  44633. begin
  44634. pTDefRegMap(@Self)^.clr := $00000040;
  44635. end;
  44636. procedure TPORTF_LATF.setLATF6(thebits : TBits_1); inline;
  44637. begin
  44638. if thebits = 0 then
  44639. pTDefRegMap(@Self)^.clr := $00000040
  44640. else
  44641. pTDefRegMap(@Self)^.&set := $00000040;
  44642. end;
  44643. function TPORTF_LATF.getLATF6 : TBits_1; inline;
  44644. begin
  44645. getLATF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44646. end;
  44647. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  44648. begin
  44649. pTDefRegMap(@Self)^.val := thebits;
  44650. end;
  44651. function TPORTF_LATF.getw : TBits_32; inline;
  44652. begin
  44653. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44654. end;
  44655. procedure TPORTF_ODCF.setODCF0; inline;
  44656. begin
  44657. pTDefRegMap(@Self)^.&set := $00000001;
  44658. end;
  44659. procedure TPORTF_ODCF.clearODCF0; inline;
  44660. begin
  44661. pTDefRegMap(@Self)^.clr := $00000001;
  44662. end;
  44663. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  44664. begin
  44665. if thebits = 0 then
  44666. pTDefRegMap(@Self)^.clr := $00000001
  44667. else
  44668. pTDefRegMap(@Self)^.&set := $00000001;
  44669. end;
  44670. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  44671. begin
  44672. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44673. end;
  44674. procedure TPORTF_ODCF.setODCF1; inline;
  44675. begin
  44676. pTDefRegMap(@Self)^.&set := $00000002;
  44677. end;
  44678. procedure TPORTF_ODCF.clearODCF1; inline;
  44679. begin
  44680. pTDefRegMap(@Self)^.clr := $00000002;
  44681. end;
  44682. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  44683. begin
  44684. if thebits = 0 then
  44685. pTDefRegMap(@Self)^.clr := $00000002
  44686. else
  44687. pTDefRegMap(@Self)^.&set := $00000002;
  44688. end;
  44689. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  44690. begin
  44691. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44692. end;
  44693. procedure TPORTF_ODCF.setODCF2; inline;
  44694. begin
  44695. pTDefRegMap(@Self)^.&set := $00000004;
  44696. end;
  44697. procedure TPORTF_ODCF.clearODCF2; inline;
  44698. begin
  44699. pTDefRegMap(@Self)^.clr := $00000004;
  44700. end;
  44701. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  44702. begin
  44703. if thebits = 0 then
  44704. pTDefRegMap(@Self)^.clr := $00000004
  44705. else
  44706. pTDefRegMap(@Self)^.&set := $00000004;
  44707. end;
  44708. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  44709. begin
  44710. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44711. end;
  44712. procedure TPORTF_ODCF.setODCF3; inline;
  44713. begin
  44714. pTDefRegMap(@Self)^.&set := $00000008;
  44715. end;
  44716. procedure TPORTF_ODCF.clearODCF3; inline;
  44717. begin
  44718. pTDefRegMap(@Self)^.clr := $00000008;
  44719. end;
  44720. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  44721. begin
  44722. if thebits = 0 then
  44723. pTDefRegMap(@Self)^.clr := $00000008
  44724. else
  44725. pTDefRegMap(@Self)^.&set := $00000008;
  44726. end;
  44727. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  44728. begin
  44729. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44730. end;
  44731. procedure TPORTF_ODCF.setODCF4; inline;
  44732. begin
  44733. pTDefRegMap(@Self)^.&set := $00000010;
  44734. end;
  44735. procedure TPORTF_ODCF.clearODCF4; inline;
  44736. begin
  44737. pTDefRegMap(@Self)^.clr := $00000010;
  44738. end;
  44739. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  44740. begin
  44741. if thebits = 0 then
  44742. pTDefRegMap(@Self)^.clr := $00000010
  44743. else
  44744. pTDefRegMap(@Self)^.&set := $00000010;
  44745. end;
  44746. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  44747. begin
  44748. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44749. end;
  44750. procedure TPORTF_ODCF.setODCF5; inline;
  44751. begin
  44752. pTDefRegMap(@Self)^.&set := $00000020;
  44753. end;
  44754. procedure TPORTF_ODCF.clearODCF5; inline;
  44755. begin
  44756. pTDefRegMap(@Self)^.clr := $00000020;
  44757. end;
  44758. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  44759. begin
  44760. if thebits = 0 then
  44761. pTDefRegMap(@Self)^.clr := $00000020
  44762. else
  44763. pTDefRegMap(@Self)^.&set := $00000020;
  44764. end;
  44765. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  44766. begin
  44767. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44768. end;
  44769. procedure TPORTF_ODCF.setODCF6; inline;
  44770. begin
  44771. pTDefRegMap(@Self)^.&set := $00000040;
  44772. end;
  44773. procedure TPORTF_ODCF.clearODCF6; inline;
  44774. begin
  44775. pTDefRegMap(@Self)^.clr := $00000040;
  44776. end;
  44777. procedure TPORTF_ODCF.setODCF6(thebits : TBits_1); inline;
  44778. begin
  44779. if thebits = 0 then
  44780. pTDefRegMap(@Self)^.clr := $00000040
  44781. else
  44782. pTDefRegMap(@Self)^.&set := $00000040;
  44783. end;
  44784. function TPORTF_ODCF.getODCF6 : TBits_1; inline;
  44785. begin
  44786. getODCF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44787. end;
  44788. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  44789. begin
  44790. pTDefRegMap(@Self)^.val := thebits;
  44791. end;
  44792. function TPORTF_ODCF.getw : TBits_32; inline;
  44793. begin
  44794. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44795. end;
  44796. procedure TPORTF_CNPUF.setCNPUF0; inline;
  44797. begin
  44798. pTDefRegMap(@Self)^.&set := $00000001;
  44799. end;
  44800. procedure TPORTF_CNPUF.clearCNPUF0; inline;
  44801. begin
  44802. pTDefRegMap(@Self)^.clr := $00000001;
  44803. end;
  44804. procedure TPORTF_CNPUF.setCNPUF0(thebits : TBits_1); inline;
  44805. begin
  44806. if thebits = 0 then
  44807. pTDefRegMap(@Self)^.clr := $00000001
  44808. else
  44809. pTDefRegMap(@Self)^.&set := $00000001;
  44810. end;
  44811. function TPORTF_CNPUF.getCNPUF0 : TBits_1; inline;
  44812. begin
  44813. getCNPUF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44814. end;
  44815. procedure TPORTF_CNPUF.setCNPUF1; inline;
  44816. begin
  44817. pTDefRegMap(@Self)^.&set := $00000002;
  44818. end;
  44819. procedure TPORTF_CNPUF.clearCNPUF1; inline;
  44820. begin
  44821. pTDefRegMap(@Self)^.clr := $00000002;
  44822. end;
  44823. procedure TPORTF_CNPUF.setCNPUF1(thebits : TBits_1); inline;
  44824. begin
  44825. if thebits = 0 then
  44826. pTDefRegMap(@Self)^.clr := $00000002
  44827. else
  44828. pTDefRegMap(@Self)^.&set := $00000002;
  44829. end;
  44830. function TPORTF_CNPUF.getCNPUF1 : TBits_1; inline;
  44831. begin
  44832. getCNPUF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44833. end;
  44834. procedure TPORTF_CNPUF.setCNPUF2; inline;
  44835. begin
  44836. pTDefRegMap(@Self)^.&set := $00000004;
  44837. end;
  44838. procedure TPORTF_CNPUF.clearCNPUF2; inline;
  44839. begin
  44840. pTDefRegMap(@Self)^.clr := $00000004;
  44841. end;
  44842. procedure TPORTF_CNPUF.setCNPUF2(thebits : TBits_1); inline;
  44843. begin
  44844. if thebits = 0 then
  44845. pTDefRegMap(@Self)^.clr := $00000004
  44846. else
  44847. pTDefRegMap(@Self)^.&set := $00000004;
  44848. end;
  44849. function TPORTF_CNPUF.getCNPUF2 : TBits_1; inline;
  44850. begin
  44851. getCNPUF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44852. end;
  44853. procedure TPORTF_CNPUF.setCNPUF3; inline;
  44854. begin
  44855. pTDefRegMap(@Self)^.&set := $00000008;
  44856. end;
  44857. procedure TPORTF_CNPUF.clearCNPUF3; inline;
  44858. begin
  44859. pTDefRegMap(@Self)^.clr := $00000008;
  44860. end;
  44861. procedure TPORTF_CNPUF.setCNPUF3(thebits : TBits_1); inline;
  44862. begin
  44863. if thebits = 0 then
  44864. pTDefRegMap(@Self)^.clr := $00000008
  44865. else
  44866. pTDefRegMap(@Self)^.&set := $00000008;
  44867. end;
  44868. function TPORTF_CNPUF.getCNPUF3 : TBits_1; inline;
  44869. begin
  44870. getCNPUF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44871. end;
  44872. procedure TPORTF_CNPUF.setCNPUF4; inline;
  44873. begin
  44874. pTDefRegMap(@Self)^.&set := $00000010;
  44875. end;
  44876. procedure TPORTF_CNPUF.clearCNPUF4; inline;
  44877. begin
  44878. pTDefRegMap(@Self)^.clr := $00000010;
  44879. end;
  44880. procedure TPORTF_CNPUF.setCNPUF4(thebits : TBits_1); inline;
  44881. begin
  44882. if thebits = 0 then
  44883. pTDefRegMap(@Self)^.clr := $00000010
  44884. else
  44885. pTDefRegMap(@Self)^.&set := $00000010;
  44886. end;
  44887. function TPORTF_CNPUF.getCNPUF4 : TBits_1; inline;
  44888. begin
  44889. getCNPUF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44890. end;
  44891. procedure TPORTF_CNPUF.setCNPUF5; inline;
  44892. begin
  44893. pTDefRegMap(@Self)^.&set := $00000020;
  44894. end;
  44895. procedure TPORTF_CNPUF.clearCNPUF5; inline;
  44896. begin
  44897. pTDefRegMap(@Self)^.clr := $00000020;
  44898. end;
  44899. procedure TPORTF_CNPUF.setCNPUF5(thebits : TBits_1); inline;
  44900. begin
  44901. if thebits = 0 then
  44902. pTDefRegMap(@Self)^.clr := $00000020
  44903. else
  44904. pTDefRegMap(@Self)^.&set := $00000020;
  44905. end;
  44906. function TPORTF_CNPUF.getCNPUF5 : TBits_1; inline;
  44907. begin
  44908. getCNPUF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44909. end;
  44910. procedure TPORTF_CNPUF.setCNPUF6; inline;
  44911. begin
  44912. pTDefRegMap(@Self)^.&set := $00000040;
  44913. end;
  44914. procedure TPORTF_CNPUF.clearCNPUF6; inline;
  44915. begin
  44916. pTDefRegMap(@Self)^.clr := $00000040;
  44917. end;
  44918. procedure TPORTF_CNPUF.setCNPUF6(thebits : TBits_1); inline;
  44919. begin
  44920. if thebits = 0 then
  44921. pTDefRegMap(@Self)^.clr := $00000040
  44922. else
  44923. pTDefRegMap(@Self)^.&set := $00000040;
  44924. end;
  44925. function TPORTF_CNPUF.getCNPUF6 : TBits_1; inline;
  44926. begin
  44927. getCNPUF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44928. end;
  44929. procedure TPORTF_CNPUF.setw(thebits : TBits_32); inline;
  44930. begin
  44931. pTDefRegMap(@Self)^.val := thebits;
  44932. end;
  44933. function TPORTF_CNPUF.getw : TBits_32; inline;
  44934. begin
  44935. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44936. end;
  44937. procedure TPORTF_CNPDF.setCNPDF0; inline;
  44938. begin
  44939. pTDefRegMap(@Self)^.&set := $00000001;
  44940. end;
  44941. procedure TPORTF_CNPDF.clearCNPDF0; inline;
  44942. begin
  44943. pTDefRegMap(@Self)^.clr := $00000001;
  44944. end;
  44945. procedure TPORTF_CNPDF.setCNPDF0(thebits : TBits_1); inline;
  44946. begin
  44947. if thebits = 0 then
  44948. pTDefRegMap(@Self)^.clr := $00000001
  44949. else
  44950. pTDefRegMap(@Self)^.&set := $00000001;
  44951. end;
  44952. function TPORTF_CNPDF.getCNPDF0 : TBits_1; inline;
  44953. begin
  44954. getCNPDF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44955. end;
  44956. procedure TPORTF_CNPDF.setCNPDF1; inline;
  44957. begin
  44958. pTDefRegMap(@Self)^.&set := $00000002;
  44959. end;
  44960. procedure TPORTF_CNPDF.clearCNPDF1; inline;
  44961. begin
  44962. pTDefRegMap(@Self)^.clr := $00000002;
  44963. end;
  44964. procedure TPORTF_CNPDF.setCNPDF1(thebits : TBits_1); inline;
  44965. begin
  44966. if thebits = 0 then
  44967. pTDefRegMap(@Self)^.clr := $00000002
  44968. else
  44969. pTDefRegMap(@Self)^.&set := $00000002;
  44970. end;
  44971. function TPORTF_CNPDF.getCNPDF1 : TBits_1; inline;
  44972. begin
  44973. getCNPDF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44974. end;
  44975. procedure TPORTF_CNPDF.setCNPDF2; inline;
  44976. begin
  44977. pTDefRegMap(@Self)^.&set := $00000004;
  44978. end;
  44979. procedure TPORTF_CNPDF.clearCNPDF2; inline;
  44980. begin
  44981. pTDefRegMap(@Self)^.clr := $00000004;
  44982. end;
  44983. procedure TPORTF_CNPDF.setCNPDF2(thebits : TBits_1); inline;
  44984. begin
  44985. if thebits = 0 then
  44986. pTDefRegMap(@Self)^.clr := $00000004
  44987. else
  44988. pTDefRegMap(@Self)^.&set := $00000004;
  44989. end;
  44990. function TPORTF_CNPDF.getCNPDF2 : TBits_1; inline;
  44991. begin
  44992. getCNPDF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44993. end;
  44994. procedure TPORTF_CNPDF.setCNPDF3; inline;
  44995. begin
  44996. pTDefRegMap(@Self)^.&set := $00000008;
  44997. end;
  44998. procedure TPORTF_CNPDF.clearCNPDF3; inline;
  44999. begin
  45000. pTDefRegMap(@Self)^.clr := $00000008;
  45001. end;
  45002. procedure TPORTF_CNPDF.setCNPDF3(thebits : TBits_1); inline;
  45003. begin
  45004. if thebits = 0 then
  45005. pTDefRegMap(@Self)^.clr := $00000008
  45006. else
  45007. pTDefRegMap(@Self)^.&set := $00000008;
  45008. end;
  45009. function TPORTF_CNPDF.getCNPDF3 : TBits_1; inline;
  45010. begin
  45011. getCNPDF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45012. end;
  45013. procedure TPORTF_CNPDF.setCNPDF4; inline;
  45014. begin
  45015. pTDefRegMap(@Self)^.&set := $00000010;
  45016. end;
  45017. procedure TPORTF_CNPDF.clearCNPDF4; inline;
  45018. begin
  45019. pTDefRegMap(@Self)^.clr := $00000010;
  45020. end;
  45021. procedure TPORTF_CNPDF.setCNPDF4(thebits : TBits_1); inline;
  45022. begin
  45023. if thebits = 0 then
  45024. pTDefRegMap(@Self)^.clr := $00000010
  45025. else
  45026. pTDefRegMap(@Self)^.&set := $00000010;
  45027. end;
  45028. function TPORTF_CNPDF.getCNPDF4 : TBits_1; inline;
  45029. begin
  45030. getCNPDF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45031. end;
  45032. procedure TPORTF_CNPDF.setCNPDF5; inline;
  45033. begin
  45034. pTDefRegMap(@Self)^.&set := $00000020;
  45035. end;
  45036. procedure TPORTF_CNPDF.clearCNPDF5; inline;
  45037. begin
  45038. pTDefRegMap(@Self)^.clr := $00000020;
  45039. end;
  45040. procedure TPORTF_CNPDF.setCNPDF5(thebits : TBits_1); inline;
  45041. begin
  45042. if thebits = 0 then
  45043. pTDefRegMap(@Self)^.clr := $00000020
  45044. else
  45045. pTDefRegMap(@Self)^.&set := $00000020;
  45046. end;
  45047. function TPORTF_CNPDF.getCNPDF5 : TBits_1; inline;
  45048. begin
  45049. getCNPDF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45050. end;
  45051. procedure TPORTF_CNPDF.setCNPDF6; inline;
  45052. begin
  45053. pTDefRegMap(@Self)^.&set := $00000040;
  45054. end;
  45055. procedure TPORTF_CNPDF.clearCNPDF6; inline;
  45056. begin
  45057. pTDefRegMap(@Self)^.clr := $00000040;
  45058. end;
  45059. procedure TPORTF_CNPDF.setCNPDF6(thebits : TBits_1); inline;
  45060. begin
  45061. if thebits = 0 then
  45062. pTDefRegMap(@Self)^.clr := $00000040
  45063. else
  45064. pTDefRegMap(@Self)^.&set := $00000040;
  45065. end;
  45066. function TPORTF_CNPDF.getCNPDF6 : TBits_1; inline;
  45067. begin
  45068. getCNPDF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45069. end;
  45070. procedure TPORTF_CNPDF.setw(thebits : TBits_32); inline;
  45071. begin
  45072. pTDefRegMap(@Self)^.val := thebits;
  45073. end;
  45074. function TPORTF_CNPDF.getw : TBits_32; inline;
  45075. begin
  45076. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45077. end;
  45078. procedure TPORTF_CNCONF.setSIDL; inline;
  45079. begin
  45080. pTDefRegMap(@Self)^.&set := $00002000;
  45081. end;
  45082. procedure TPORTF_CNCONF.clearSIDL; inline;
  45083. begin
  45084. pTDefRegMap(@Self)^.clr := $00002000;
  45085. end;
  45086. procedure TPORTF_CNCONF.setSIDL(thebits : TBits_1); inline;
  45087. begin
  45088. if thebits = 0 then
  45089. pTDefRegMap(@Self)^.clr := $00002000
  45090. else
  45091. pTDefRegMap(@Self)^.&set := $00002000;
  45092. end;
  45093. function TPORTF_CNCONF.getSIDL : TBits_1; inline;
  45094. begin
  45095. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45096. end;
  45097. procedure TPORTF_CNCONF.setON; inline;
  45098. begin
  45099. pTDefRegMap(@Self)^.&set := $00008000;
  45100. end;
  45101. procedure TPORTF_CNCONF.clearON; inline;
  45102. begin
  45103. pTDefRegMap(@Self)^.clr := $00008000;
  45104. end;
  45105. procedure TPORTF_CNCONF.setON(thebits : TBits_1); inline;
  45106. begin
  45107. if thebits = 0 then
  45108. pTDefRegMap(@Self)^.clr := $00008000
  45109. else
  45110. pTDefRegMap(@Self)^.&set := $00008000;
  45111. end;
  45112. function TPORTF_CNCONF.getON : TBits_1; inline;
  45113. begin
  45114. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45115. end;
  45116. procedure TPORTF_CNCONF.setw(thebits : TBits_32); inline;
  45117. begin
  45118. pTDefRegMap(@Self)^.val := thebits;
  45119. end;
  45120. function TPORTF_CNCONF.getw : TBits_32; inline;
  45121. begin
  45122. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45123. end;
  45124. procedure TPORTF_CNENF.setCNIEF0; inline;
  45125. begin
  45126. pTDefRegMap(@Self)^.&set := $00000001;
  45127. end;
  45128. procedure TPORTF_CNENF.clearCNIEF0; inline;
  45129. begin
  45130. pTDefRegMap(@Self)^.clr := $00000001;
  45131. end;
  45132. procedure TPORTF_CNENF.setCNIEF0(thebits : TBits_1); inline;
  45133. begin
  45134. if thebits = 0 then
  45135. pTDefRegMap(@Self)^.clr := $00000001
  45136. else
  45137. pTDefRegMap(@Self)^.&set := $00000001;
  45138. end;
  45139. function TPORTF_CNENF.getCNIEF0 : TBits_1; inline;
  45140. begin
  45141. getCNIEF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45142. end;
  45143. procedure TPORTF_CNENF.setCNIEF1; inline;
  45144. begin
  45145. pTDefRegMap(@Self)^.&set := $00000002;
  45146. end;
  45147. procedure TPORTF_CNENF.clearCNIEF1; inline;
  45148. begin
  45149. pTDefRegMap(@Self)^.clr := $00000002;
  45150. end;
  45151. procedure TPORTF_CNENF.setCNIEF1(thebits : TBits_1); inline;
  45152. begin
  45153. if thebits = 0 then
  45154. pTDefRegMap(@Self)^.clr := $00000002
  45155. else
  45156. pTDefRegMap(@Self)^.&set := $00000002;
  45157. end;
  45158. function TPORTF_CNENF.getCNIEF1 : TBits_1; inline;
  45159. begin
  45160. getCNIEF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45161. end;
  45162. procedure TPORTF_CNENF.setCNIEF2; inline;
  45163. begin
  45164. pTDefRegMap(@Self)^.&set := $00000004;
  45165. end;
  45166. procedure TPORTF_CNENF.clearCNIEF2; inline;
  45167. begin
  45168. pTDefRegMap(@Self)^.clr := $00000004;
  45169. end;
  45170. procedure TPORTF_CNENF.setCNIEF2(thebits : TBits_1); inline;
  45171. begin
  45172. if thebits = 0 then
  45173. pTDefRegMap(@Self)^.clr := $00000004
  45174. else
  45175. pTDefRegMap(@Self)^.&set := $00000004;
  45176. end;
  45177. function TPORTF_CNENF.getCNIEF2 : TBits_1; inline;
  45178. begin
  45179. getCNIEF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45180. end;
  45181. procedure TPORTF_CNENF.setCNIEF3; inline;
  45182. begin
  45183. pTDefRegMap(@Self)^.&set := $00000008;
  45184. end;
  45185. procedure TPORTF_CNENF.clearCNIEF3; inline;
  45186. begin
  45187. pTDefRegMap(@Self)^.clr := $00000008;
  45188. end;
  45189. procedure TPORTF_CNENF.setCNIEF3(thebits : TBits_1); inline;
  45190. begin
  45191. if thebits = 0 then
  45192. pTDefRegMap(@Self)^.clr := $00000008
  45193. else
  45194. pTDefRegMap(@Self)^.&set := $00000008;
  45195. end;
  45196. function TPORTF_CNENF.getCNIEF3 : TBits_1; inline;
  45197. begin
  45198. getCNIEF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45199. end;
  45200. procedure TPORTF_CNENF.setCNIEF4; inline;
  45201. begin
  45202. pTDefRegMap(@Self)^.&set := $00000010;
  45203. end;
  45204. procedure TPORTF_CNENF.clearCNIEF4; inline;
  45205. begin
  45206. pTDefRegMap(@Self)^.clr := $00000010;
  45207. end;
  45208. procedure TPORTF_CNENF.setCNIEF4(thebits : TBits_1); inline;
  45209. begin
  45210. if thebits = 0 then
  45211. pTDefRegMap(@Self)^.clr := $00000010
  45212. else
  45213. pTDefRegMap(@Self)^.&set := $00000010;
  45214. end;
  45215. function TPORTF_CNENF.getCNIEF4 : TBits_1; inline;
  45216. begin
  45217. getCNIEF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45218. end;
  45219. procedure TPORTF_CNENF.setCNIEF5; inline;
  45220. begin
  45221. pTDefRegMap(@Self)^.&set := $00000020;
  45222. end;
  45223. procedure TPORTF_CNENF.clearCNIEF5; inline;
  45224. begin
  45225. pTDefRegMap(@Self)^.clr := $00000020;
  45226. end;
  45227. procedure TPORTF_CNENF.setCNIEF5(thebits : TBits_1); inline;
  45228. begin
  45229. if thebits = 0 then
  45230. pTDefRegMap(@Self)^.clr := $00000020
  45231. else
  45232. pTDefRegMap(@Self)^.&set := $00000020;
  45233. end;
  45234. function TPORTF_CNENF.getCNIEF5 : TBits_1; inline;
  45235. begin
  45236. getCNIEF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45237. end;
  45238. procedure TPORTF_CNENF.setCNIEF6; inline;
  45239. begin
  45240. pTDefRegMap(@Self)^.&set := $00000040;
  45241. end;
  45242. procedure TPORTF_CNENF.clearCNIEF6; inline;
  45243. begin
  45244. pTDefRegMap(@Self)^.clr := $00000040;
  45245. end;
  45246. procedure TPORTF_CNENF.setCNIEF6(thebits : TBits_1); inline;
  45247. begin
  45248. if thebits = 0 then
  45249. pTDefRegMap(@Self)^.clr := $00000040
  45250. else
  45251. pTDefRegMap(@Self)^.&set := $00000040;
  45252. end;
  45253. function TPORTF_CNENF.getCNIEF6 : TBits_1; inline;
  45254. begin
  45255. getCNIEF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45256. end;
  45257. procedure TPORTF_CNENF.setw(thebits : TBits_32); inline;
  45258. begin
  45259. pTDefRegMap(@Self)^.val := thebits;
  45260. end;
  45261. function TPORTF_CNENF.getw : TBits_32; inline;
  45262. begin
  45263. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45264. end;
  45265. procedure TPORTF_CNSTATF.setCNSTATF0; inline;
  45266. begin
  45267. pTDefRegMap(@Self)^.&set := $00000001;
  45268. end;
  45269. procedure TPORTF_CNSTATF.clearCNSTATF0; inline;
  45270. begin
  45271. pTDefRegMap(@Self)^.clr := $00000001;
  45272. end;
  45273. procedure TPORTF_CNSTATF.setCNSTATF0(thebits : TBits_1); inline;
  45274. begin
  45275. if thebits = 0 then
  45276. pTDefRegMap(@Self)^.clr := $00000001
  45277. else
  45278. pTDefRegMap(@Self)^.&set := $00000001;
  45279. end;
  45280. function TPORTF_CNSTATF.getCNSTATF0 : TBits_1; inline;
  45281. begin
  45282. getCNSTATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45283. end;
  45284. procedure TPORTF_CNSTATF.setCNSTATF1; inline;
  45285. begin
  45286. pTDefRegMap(@Self)^.&set := $00000002;
  45287. end;
  45288. procedure TPORTF_CNSTATF.clearCNSTATF1; inline;
  45289. begin
  45290. pTDefRegMap(@Self)^.clr := $00000002;
  45291. end;
  45292. procedure TPORTF_CNSTATF.setCNSTATF1(thebits : TBits_1); inline;
  45293. begin
  45294. if thebits = 0 then
  45295. pTDefRegMap(@Self)^.clr := $00000002
  45296. else
  45297. pTDefRegMap(@Self)^.&set := $00000002;
  45298. end;
  45299. function TPORTF_CNSTATF.getCNSTATF1 : TBits_1; inline;
  45300. begin
  45301. getCNSTATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45302. end;
  45303. procedure TPORTF_CNSTATF.setCNSTATF2; inline;
  45304. begin
  45305. pTDefRegMap(@Self)^.&set := $00000004;
  45306. end;
  45307. procedure TPORTF_CNSTATF.clearCNSTATF2; inline;
  45308. begin
  45309. pTDefRegMap(@Self)^.clr := $00000004;
  45310. end;
  45311. procedure TPORTF_CNSTATF.setCNSTATF2(thebits : TBits_1); inline;
  45312. begin
  45313. if thebits = 0 then
  45314. pTDefRegMap(@Self)^.clr := $00000004
  45315. else
  45316. pTDefRegMap(@Self)^.&set := $00000004;
  45317. end;
  45318. function TPORTF_CNSTATF.getCNSTATF2 : TBits_1; inline;
  45319. begin
  45320. getCNSTATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45321. end;
  45322. procedure TPORTF_CNSTATF.setCNSTATF3; inline;
  45323. begin
  45324. pTDefRegMap(@Self)^.&set := $00000008;
  45325. end;
  45326. procedure TPORTF_CNSTATF.clearCNSTATF3; inline;
  45327. begin
  45328. pTDefRegMap(@Self)^.clr := $00000008;
  45329. end;
  45330. procedure TPORTF_CNSTATF.setCNSTATF3(thebits : TBits_1); inline;
  45331. begin
  45332. if thebits = 0 then
  45333. pTDefRegMap(@Self)^.clr := $00000008
  45334. else
  45335. pTDefRegMap(@Self)^.&set := $00000008;
  45336. end;
  45337. function TPORTF_CNSTATF.getCNSTATF3 : TBits_1; inline;
  45338. begin
  45339. getCNSTATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45340. end;
  45341. procedure TPORTF_CNSTATF.setCNSTATF4; inline;
  45342. begin
  45343. pTDefRegMap(@Self)^.&set := $00000010;
  45344. end;
  45345. procedure TPORTF_CNSTATF.clearCNSTATF4; inline;
  45346. begin
  45347. pTDefRegMap(@Self)^.clr := $00000010;
  45348. end;
  45349. procedure TPORTF_CNSTATF.setCNSTATF4(thebits : TBits_1); inline;
  45350. begin
  45351. if thebits = 0 then
  45352. pTDefRegMap(@Self)^.clr := $00000010
  45353. else
  45354. pTDefRegMap(@Self)^.&set := $00000010;
  45355. end;
  45356. function TPORTF_CNSTATF.getCNSTATF4 : TBits_1; inline;
  45357. begin
  45358. getCNSTATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45359. end;
  45360. procedure TPORTF_CNSTATF.setCNSTATF5; inline;
  45361. begin
  45362. pTDefRegMap(@Self)^.&set := $00000020;
  45363. end;
  45364. procedure TPORTF_CNSTATF.clearCNSTATF5; inline;
  45365. begin
  45366. pTDefRegMap(@Self)^.clr := $00000020;
  45367. end;
  45368. procedure TPORTF_CNSTATF.setCNSTATF5(thebits : TBits_1); inline;
  45369. begin
  45370. if thebits = 0 then
  45371. pTDefRegMap(@Self)^.clr := $00000020
  45372. else
  45373. pTDefRegMap(@Self)^.&set := $00000020;
  45374. end;
  45375. function TPORTF_CNSTATF.getCNSTATF5 : TBits_1; inline;
  45376. begin
  45377. getCNSTATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45378. end;
  45379. procedure TPORTF_CNSTATF.setCNSTATF6; inline;
  45380. begin
  45381. pTDefRegMap(@Self)^.&set := $00000040;
  45382. end;
  45383. procedure TPORTF_CNSTATF.clearCNSTATF6; inline;
  45384. begin
  45385. pTDefRegMap(@Self)^.clr := $00000040;
  45386. end;
  45387. procedure TPORTF_CNSTATF.setCNSTATF6(thebits : TBits_1); inline;
  45388. begin
  45389. if thebits = 0 then
  45390. pTDefRegMap(@Self)^.clr := $00000040
  45391. else
  45392. pTDefRegMap(@Self)^.&set := $00000040;
  45393. end;
  45394. function TPORTF_CNSTATF.getCNSTATF6 : TBits_1; inline;
  45395. begin
  45396. getCNSTATF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45397. end;
  45398. procedure TPORTF_CNSTATF.setw(thebits : TBits_32); inline;
  45399. begin
  45400. pTDefRegMap(@Self)^.val := thebits;
  45401. end;
  45402. function TPORTF_CNSTATF.getw : TBits_32; inline;
  45403. begin
  45404. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45405. end;
  45406. procedure TPORTF_ANSELG.setANSG6; inline;
  45407. begin
  45408. pTDefRegMap(@Self)^.&set := $00000040;
  45409. end;
  45410. procedure TPORTF_ANSELG.clearANSG6; inline;
  45411. begin
  45412. pTDefRegMap(@Self)^.clr := $00000040;
  45413. end;
  45414. procedure TPORTF_ANSELG.setANSG6(thebits : TBits_1); inline;
  45415. begin
  45416. if thebits = 0 then
  45417. pTDefRegMap(@Self)^.clr := $00000040
  45418. else
  45419. pTDefRegMap(@Self)^.&set := $00000040;
  45420. end;
  45421. function TPORTF_ANSELG.getANSG6 : TBits_1; inline;
  45422. begin
  45423. getANSG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45424. end;
  45425. procedure TPORTF_ANSELG.setANSG7; inline;
  45426. begin
  45427. pTDefRegMap(@Self)^.&set := $00000080;
  45428. end;
  45429. procedure TPORTF_ANSELG.clearANSG7; inline;
  45430. begin
  45431. pTDefRegMap(@Self)^.clr := $00000080;
  45432. end;
  45433. procedure TPORTF_ANSELG.setANSG7(thebits : TBits_1); inline;
  45434. begin
  45435. if thebits = 0 then
  45436. pTDefRegMap(@Self)^.clr := $00000080
  45437. else
  45438. pTDefRegMap(@Self)^.&set := $00000080;
  45439. end;
  45440. function TPORTF_ANSELG.getANSG7 : TBits_1; inline;
  45441. begin
  45442. getANSG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45443. end;
  45444. procedure TPORTF_ANSELG.setANSG8; inline;
  45445. begin
  45446. pTDefRegMap(@Self)^.&set := $00000100;
  45447. end;
  45448. procedure TPORTF_ANSELG.clearANSG8; inline;
  45449. begin
  45450. pTDefRegMap(@Self)^.clr := $00000100;
  45451. end;
  45452. procedure TPORTF_ANSELG.setANSG8(thebits : TBits_1); inline;
  45453. begin
  45454. if thebits = 0 then
  45455. pTDefRegMap(@Self)^.clr := $00000100
  45456. else
  45457. pTDefRegMap(@Self)^.&set := $00000100;
  45458. end;
  45459. function TPORTF_ANSELG.getANSG8 : TBits_1; inline;
  45460. begin
  45461. getANSG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45462. end;
  45463. procedure TPORTF_ANSELG.setANSG9; inline;
  45464. begin
  45465. pTDefRegMap(@Self)^.&set := $00000200;
  45466. end;
  45467. procedure TPORTF_ANSELG.clearANSG9; inline;
  45468. begin
  45469. pTDefRegMap(@Self)^.clr := $00000200;
  45470. end;
  45471. procedure TPORTF_ANSELG.setANSG9(thebits : TBits_1); inline;
  45472. begin
  45473. if thebits = 0 then
  45474. pTDefRegMap(@Self)^.clr := $00000200
  45475. else
  45476. pTDefRegMap(@Self)^.&set := $00000200;
  45477. end;
  45478. function TPORTF_ANSELG.getANSG9 : TBits_1; inline;
  45479. begin
  45480. getANSG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45481. end;
  45482. procedure TPORTF_ANSELG.setw(thebits : TBits_32); inline;
  45483. begin
  45484. pTDefRegMap(@Self)^.val := thebits;
  45485. end;
  45486. function TPORTF_ANSELG.getw : TBits_32; inline;
  45487. begin
  45488. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45489. end;
  45490. procedure TPORTF_TRISG.setTRISG2; inline;
  45491. begin
  45492. pTDefRegMap(@Self)^.&set := $00000004;
  45493. end;
  45494. procedure TPORTF_TRISG.clearTRISG2; inline;
  45495. begin
  45496. pTDefRegMap(@Self)^.clr := $00000004;
  45497. end;
  45498. procedure TPORTF_TRISG.setTRISG2(thebits : TBits_1); inline;
  45499. begin
  45500. if thebits = 0 then
  45501. pTDefRegMap(@Self)^.clr := $00000004
  45502. else
  45503. pTDefRegMap(@Self)^.&set := $00000004;
  45504. end;
  45505. function TPORTF_TRISG.getTRISG2 : TBits_1; inline;
  45506. begin
  45507. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45508. end;
  45509. procedure TPORTF_TRISG.setTRISG3; inline;
  45510. begin
  45511. pTDefRegMap(@Self)^.&set := $00000008;
  45512. end;
  45513. procedure TPORTF_TRISG.clearTRISG3; inline;
  45514. begin
  45515. pTDefRegMap(@Self)^.clr := $00000008;
  45516. end;
  45517. procedure TPORTF_TRISG.setTRISG3(thebits : TBits_1); inline;
  45518. begin
  45519. if thebits = 0 then
  45520. pTDefRegMap(@Self)^.clr := $00000008
  45521. else
  45522. pTDefRegMap(@Self)^.&set := $00000008;
  45523. end;
  45524. function TPORTF_TRISG.getTRISG3 : TBits_1; inline;
  45525. begin
  45526. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45527. end;
  45528. procedure TPORTF_TRISG.setTRISG6; inline;
  45529. begin
  45530. pTDefRegMap(@Self)^.&set := $00000040;
  45531. end;
  45532. procedure TPORTF_TRISG.clearTRISG6; inline;
  45533. begin
  45534. pTDefRegMap(@Self)^.clr := $00000040;
  45535. end;
  45536. procedure TPORTF_TRISG.setTRISG6(thebits : TBits_1); inline;
  45537. begin
  45538. if thebits = 0 then
  45539. pTDefRegMap(@Self)^.clr := $00000040
  45540. else
  45541. pTDefRegMap(@Self)^.&set := $00000040;
  45542. end;
  45543. function TPORTF_TRISG.getTRISG6 : TBits_1; inline;
  45544. begin
  45545. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45546. end;
  45547. procedure TPORTF_TRISG.setTRISG7; inline;
  45548. begin
  45549. pTDefRegMap(@Self)^.&set := $00000080;
  45550. end;
  45551. procedure TPORTF_TRISG.clearTRISG7; inline;
  45552. begin
  45553. pTDefRegMap(@Self)^.clr := $00000080;
  45554. end;
  45555. procedure TPORTF_TRISG.setTRISG7(thebits : TBits_1); inline;
  45556. begin
  45557. if thebits = 0 then
  45558. pTDefRegMap(@Self)^.clr := $00000080
  45559. else
  45560. pTDefRegMap(@Self)^.&set := $00000080;
  45561. end;
  45562. function TPORTF_TRISG.getTRISG7 : TBits_1; inline;
  45563. begin
  45564. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45565. end;
  45566. procedure TPORTF_TRISG.setTRISG8; inline;
  45567. begin
  45568. pTDefRegMap(@Self)^.&set := $00000100;
  45569. end;
  45570. procedure TPORTF_TRISG.clearTRISG8; inline;
  45571. begin
  45572. pTDefRegMap(@Self)^.clr := $00000100;
  45573. end;
  45574. procedure TPORTF_TRISG.setTRISG8(thebits : TBits_1); inline;
  45575. begin
  45576. if thebits = 0 then
  45577. pTDefRegMap(@Self)^.clr := $00000100
  45578. else
  45579. pTDefRegMap(@Self)^.&set := $00000100;
  45580. end;
  45581. function TPORTF_TRISG.getTRISG8 : TBits_1; inline;
  45582. begin
  45583. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45584. end;
  45585. procedure TPORTF_TRISG.setTRISG9; inline;
  45586. begin
  45587. pTDefRegMap(@Self)^.&set := $00000200;
  45588. end;
  45589. procedure TPORTF_TRISG.clearTRISG9; inline;
  45590. begin
  45591. pTDefRegMap(@Self)^.clr := $00000200;
  45592. end;
  45593. procedure TPORTF_TRISG.setTRISG9(thebits : TBits_1); inline;
  45594. begin
  45595. if thebits = 0 then
  45596. pTDefRegMap(@Self)^.clr := $00000200
  45597. else
  45598. pTDefRegMap(@Self)^.&set := $00000200;
  45599. end;
  45600. function TPORTF_TRISG.getTRISG9 : TBits_1; inline;
  45601. begin
  45602. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45603. end;
  45604. procedure TPORTF_TRISG.setw(thebits : TBits_32); inline;
  45605. begin
  45606. pTDefRegMap(@Self)^.val := thebits;
  45607. end;
  45608. function TPORTF_TRISG.getw : TBits_32; inline;
  45609. begin
  45610. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45611. end;
  45612. procedure TPORTG_PORTG.setRG2; inline;
  45613. begin
  45614. pTDefRegMap(@Self)^.&set := $00000004;
  45615. end;
  45616. procedure TPORTG_PORTG.clearRG2; inline;
  45617. begin
  45618. pTDefRegMap(@Self)^.clr := $00000004;
  45619. end;
  45620. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  45621. begin
  45622. if thebits = 0 then
  45623. pTDefRegMap(@Self)^.clr := $00000004
  45624. else
  45625. pTDefRegMap(@Self)^.&set := $00000004;
  45626. end;
  45627. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  45628. begin
  45629. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45630. end;
  45631. procedure TPORTG_PORTG.setRG3; inline;
  45632. begin
  45633. pTDefRegMap(@Self)^.&set := $00000008;
  45634. end;
  45635. procedure TPORTG_PORTG.clearRG3; inline;
  45636. begin
  45637. pTDefRegMap(@Self)^.clr := $00000008;
  45638. end;
  45639. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  45640. begin
  45641. if thebits = 0 then
  45642. pTDefRegMap(@Self)^.clr := $00000008
  45643. else
  45644. pTDefRegMap(@Self)^.&set := $00000008;
  45645. end;
  45646. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  45647. begin
  45648. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45649. end;
  45650. procedure TPORTG_PORTG.setRG6; inline;
  45651. begin
  45652. pTDefRegMap(@Self)^.&set := $00000040;
  45653. end;
  45654. procedure TPORTG_PORTG.clearRG6; inline;
  45655. begin
  45656. pTDefRegMap(@Self)^.clr := $00000040;
  45657. end;
  45658. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  45659. begin
  45660. if thebits = 0 then
  45661. pTDefRegMap(@Self)^.clr := $00000040
  45662. else
  45663. pTDefRegMap(@Self)^.&set := $00000040;
  45664. end;
  45665. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  45666. begin
  45667. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45668. end;
  45669. procedure TPORTG_PORTG.setRG7; inline;
  45670. begin
  45671. pTDefRegMap(@Self)^.&set := $00000080;
  45672. end;
  45673. procedure TPORTG_PORTG.clearRG7; inline;
  45674. begin
  45675. pTDefRegMap(@Self)^.clr := $00000080;
  45676. end;
  45677. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  45678. begin
  45679. if thebits = 0 then
  45680. pTDefRegMap(@Self)^.clr := $00000080
  45681. else
  45682. pTDefRegMap(@Self)^.&set := $00000080;
  45683. end;
  45684. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  45685. begin
  45686. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45687. end;
  45688. procedure TPORTG_PORTG.setRG8; inline;
  45689. begin
  45690. pTDefRegMap(@Self)^.&set := $00000100;
  45691. end;
  45692. procedure TPORTG_PORTG.clearRG8; inline;
  45693. begin
  45694. pTDefRegMap(@Self)^.clr := $00000100;
  45695. end;
  45696. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  45697. begin
  45698. if thebits = 0 then
  45699. pTDefRegMap(@Self)^.clr := $00000100
  45700. else
  45701. pTDefRegMap(@Self)^.&set := $00000100;
  45702. end;
  45703. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  45704. begin
  45705. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45706. end;
  45707. procedure TPORTG_PORTG.setRG9; inline;
  45708. begin
  45709. pTDefRegMap(@Self)^.&set := $00000200;
  45710. end;
  45711. procedure TPORTG_PORTG.clearRG9; inline;
  45712. begin
  45713. pTDefRegMap(@Self)^.clr := $00000200;
  45714. end;
  45715. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  45716. begin
  45717. if thebits = 0 then
  45718. pTDefRegMap(@Self)^.clr := $00000200
  45719. else
  45720. pTDefRegMap(@Self)^.&set := $00000200;
  45721. end;
  45722. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  45723. begin
  45724. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45725. end;
  45726. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  45727. begin
  45728. pTDefRegMap(@Self)^.val := thebits;
  45729. end;
  45730. function TPORTG_PORTG.getw : TBits_32; inline;
  45731. begin
  45732. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45733. end;
  45734. procedure TPORTG_LATG.setLATG2; inline;
  45735. begin
  45736. pTDefRegMap(@Self)^.&set := $00000004;
  45737. end;
  45738. procedure TPORTG_LATG.clearLATG2; inline;
  45739. begin
  45740. pTDefRegMap(@Self)^.clr := $00000004;
  45741. end;
  45742. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  45743. begin
  45744. if thebits = 0 then
  45745. pTDefRegMap(@Self)^.clr := $00000004
  45746. else
  45747. pTDefRegMap(@Self)^.&set := $00000004;
  45748. end;
  45749. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  45750. begin
  45751. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45752. end;
  45753. procedure TPORTG_LATG.setLATG3; inline;
  45754. begin
  45755. pTDefRegMap(@Self)^.&set := $00000008;
  45756. end;
  45757. procedure TPORTG_LATG.clearLATG3; inline;
  45758. begin
  45759. pTDefRegMap(@Self)^.clr := $00000008;
  45760. end;
  45761. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  45762. begin
  45763. if thebits = 0 then
  45764. pTDefRegMap(@Self)^.clr := $00000008
  45765. else
  45766. pTDefRegMap(@Self)^.&set := $00000008;
  45767. end;
  45768. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  45769. begin
  45770. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45771. end;
  45772. procedure TPORTG_LATG.setLATG6; inline;
  45773. begin
  45774. pTDefRegMap(@Self)^.&set := $00000040;
  45775. end;
  45776. procedure TPORTG_LATG.clearLATG6; inline;
  45777. begin
  45778. pTDefRegMap(@Self)^.clr := $00000040;
  45779. end;
  45780. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  45781. begin
  45782. if thebits = 0 then
  45783. pTDefRegMap(@Self)^.clr := $00000040
  45784. else
  45785. pTDefRegMap(@Self)^.&set := $00000040;
  45786. end;
  45787. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  45788. begin
  45789. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45790. end;
  45791. procedure TPORTG_LATG.setLATG7; inline;
  45792. begin
  45793. pTDefRegMap(@Self)^.&set := $00000080;
  45794. end;
  45795. procedure TPORTG_LATG.clearLATG7; inline;
  45796. begin
  45797. pTDefRegMap(@Self)^.clr := $00000080;
  45798. end;
  45799. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  45800. begin
  45801. if thebits = 0 then
  45802. pTDefRegMap(@Self)^.clr := $00000080
  45803. else
  45804. pTDefRegMap(@Self)^.&set := $00000080;
  45805. end;
  45806. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  45807. begin
  45808. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45809. end;
  45810. procedure TPORTG_LATG.setLATG8; inline;
  45811. begin
  45812. pTDefRegMap(@Self)^.&set := $00000100;
  45813. end;
  45814. procedure TPORTG_LATG.clearLATG8; inline;
  45815. begin
  45816. pTDefRegMap(@Self)^.clr := $00000100;
  45817. end;
  45818. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  45819. begin
  45820. if thebits = 0 then
  45821. pTDefRegMap(@Self)^.clr := $00000100
  45822. else
  45823. pTDefRegMap(@Self)^.&set := $00000100;
  45824. end;
  45825. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  45826. begin
  45827. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45828. end;
  45829. procedure TPORTG_LATG.setLATG9; inline;
  45830. begin
  45831. pTDefRegMap(@Self)^.&set := $00000200;
  45832. end;
  45833. procedure TPORTG_LATG.clearLATG9; inline;
  45834. begin
  45835. pTDefRegMap(@Self)^.clr := $00000200;
  45836. end;
  45837. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  45838. begin
  45839. if thebits = 0 then
  45840. pTDefRegMap(@Self)^.clr := $00000200
  45841. else
  45842. pTDefRegMap(@Self)^.&set := $00000200;
  45843. end;
  45844. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  45845. begin
  45846. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45847. end;
  45848. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  45849. begin
  45850. pTDefRegMap(@Self)^.val := thebits;
  45851. end;
  45852. function TPORTG_LATG.getw : TBits_32; inline;
  45853. begin
  45854. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45855. end;
  45856. procedure TPORTG_ODCG.setODCG2; inline;
  45857. begin
  45858. pTDefRegMap(@Self)^.&set := $00000004;
  45859. end;
  45860. procedure TPORTG_ODCG.clearODCG2; inline;
  45861. begin
  45862. pTDefRegMap(@Self)^.clr := $00000004;
  45863. end;
  45864. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  45865. begin
  45866. if thebits = 0 then
  45867. pTDefRegMap(@Self)^.clr := $00000004
  45868. else
  45869. pTDefRegMap(@Self)^.&set := $00000004;
  45870. end;
  45871. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  45872. begin
  45873. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45874. end;
  45875. procedure TPORTG_ODCG.setODCG3; inline;
  45876. begin
  45877. pTDefRegMap(@Self)^.&set := $00000008;
  45878. end;
  45879. procedure TPORTG_ODCG.clearODCG3; inline;
  45880. begin
  45881. pTDefRegMap(@Self)^.clr := $00000008;
  45882. end;
  45883. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  45884. begin
  45885. if thebits = 0 then
  45886. pTDefRegMap(@Self)^.clr := $00000008
  45887. else
  45888. pTDefRegMap(@Self)^.&set := $00000008;
  45889. end;
  45890. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  45891. begin
  45892. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45893. end;
  45894. procedure TPORTG_ODCG.setODCG6; inline;
  45895. begin
  45896. pTDefRegMap(@Self)^.&set := $00000040;
  45897. end;
  45898. procedure TPORTG_ODCG.clearODCG6; inline;
  45899. begin
  45900. pTDefRegMap(@Self)^.clr := $00000040;
  45901. end;
  45902. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  45903. begin
  45904. if thebits = 0 then
  45905. pTDefRegMap(@Self)^.clr := $00000040
  45906. else
  45907. pTDefRegMap(@Self)^.&set := $00000040;
  45908. end;
  45909. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  45910. begin
  45911. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45912. end;
  45913. procedure TPORTG_ODCG.setODCG7; inline;
  45914. begin
  45915. pTDefRegMap(@Self)^.&set := $00000080;
  45916. end;
  45917. procedure TPORTG_ODCG.clearODCG7; inline;
  45918. begin
  45919. pTDefRegMap(@Self)^.clr := $00000080;
  45920. end;
  45921. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  45922. begin
  45923. if thebits = 0 then
  45924. pTDefRegMap(@Self)^.clr := $00000080
  45925. else
  45926. pTDefRegMap(@Self)^.&set := $00000080;
  45927. end;
  45928. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  45929. begin
  45930. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45931. end;
  45932. procedure TPORTG_ODCG.setODCG8; inline;
  45933. begin
  45934. pTDefRegMap(@Self)^.&set := $00000100;
  45935. end;
  45936. procedure TPORTG_ODCG.clearODCG8; inline;
  45937. begin
  45938. pTDefRegMap(@Self)^.clr := $00000100;
  45939. end;
  45940. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  45941. begin
  45942. if thebits = 0 then
  45943. pTDefRegMap(@Self)^.clr := $00000100
  45944. else
  45945. pTDefRegMap(@Self)^.&set := $00000100;
  45946. end;
  45947. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  45948. begin
  45949. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45950. end;
  45951. procedure TPORTG_ODCG.setODCG9; inline;
  45952. begin
  45953. pTDefRegMap(@Self)^.&set := $00000200;
  45954. end;
  45955. procedure TPORTG_ODCG.clearODCG9; inline;
  45956. begin
  45957. pTDefRegMap(@Self)^.clr := $00000200;
  45958. end;
  45959. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  45960. begin
  45961. if thebits = 0 then
  45962. pTDefRegMap(@Self)^.clr := $00000200
  45963. else
  45964. pTDefRegMap(@Self)^.&set := $00000200;
  45965. end;
  45966. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  45967. begin
  45968. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45969. end;
  45970. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  45971. begin
  45972. pTDefRegMap(@Self)^.val := thebits;
  45973. end;
  45974. function TPORTG_ODCG.getw : TBits_32; inline;
  45975. begin
  45976. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45977. end;
  45978. procedure TPORTG_CNPUG.setCNPUG2; inline;
  45979. begin
  45980. pTDefRegMap(@Self)^.&set := $00000004;
  45981. end;
  45982. procedure TPORTG_CNPUG.clearCNPUG2; inline;
  45983. begin
  45984. pTDefRegMap(@Self)^.clr := $00000004;
  45985. end;
  45986. procedure TPORTG_CNPUG.setCNPUG2(thebits : TBits_1); inline;
  45987. begin
  45988. if thebits = 0 then
  45989. pTDefRegMap(@Self)^.clr := $00000004
  45990. else
  45991. pTDefRegMap(@Self)^.&set := $00000004;
  45992. end;
  45993. function TPORTG_CNPUG.getCNPUG2 : TBits_1; inline;
  45994. begin
  45995. getCNPUG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45996. end;
  45997. procedure TPORTG_CNPUG.setCNPUG3; inline;
  45998. begin
  45999. pTDefRegMap(@Self)^.&set := $00000008;
  46000. end;
  46001. procedure TPORTG_CNPUG.clearCNPUG3; inline;
  46002. begin
  46003. pTDefRegMap(@Self)^.clr := $00000008;
  46004. end;
  46005. procedure TPORTG_CNPUG.setCNPUG3(thebits : TBits_1); inline;
  46006. begin
  46007. if thebits = 0 then
  46008. pTDefRegMap(@Self)^.clr := $00000008
  46009. else
  46010. pTDefRegMap(@Self)^.&set := $00000008;
  46011. end;
  46012. function TPORTG_CNPUG.getCNPUG3 : TBits_1; inline;
  46013. begin
  46014. getCNPUG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46015. end;
  46016. procedure TPORTG_CNPUG.setCNPUG6; inline;
  46017. begin
  46018. pTDefRegMap(@Self)^.&set := $00000040;
  46019. end;
  46020. procedure TPORTG_CNPUG.clearCNPUG6; inline;
  46021. begin
  46022. pTDefRegMap(@Self)^.clr := $00000040;
  46023. end;
  46024. procedure TPORTG_CNPUG.setCNPUG6(thebits : TBits_1); inline;
  46025. begin
  46026. if thebits = 0 then
  46027. pTDefRegMap(@Self)^.clr := $00000040
  46028. else
  46029. pTDefRegMap(@Self)^.&set := $00000040;
  46030. end;
  46031. function TPORTG_CNPUG.getCNPUG6 : TBits_1; inline;
  46032. begin
  46033. getCNPUG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46034. end;
  46035. procedure TPORTG_CNPUG.setCNPUG7; inline;
  46036. begin
  46037. pTDefRegMap(@Self)^.&set := $00000080;
  46038. end;
  46039. procedure TPORTG_CNPUG.clearCNPUG7; inline;
  46040. begin
  46041. pTDefRegMap(@Self)^.clr := $00000080;
  46042. end;
  46043. procedure TPORTG_CNPUG.setCNPUG7(thebits : TBits_1); inline;
  46044. begin
  46045. if thebits = 0 then
  46046. pTDefRegMap(@Self)^.clr := $00000080
  46047. else
  46048. pTDefRegMap(@Self)^.&set := $00000080;
  46049. end;
  46050. function TPORTG_CNPUG.getCNPUG7 : TBits_1; inline;
  46051. begin
  46052. getCNPUG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46053. end;
  46054. procedure TPORTG_CNPUG.setCNPUG8; inline;
  46055. begin
  46056. pTDefRegMap(@Self)^.&set := $00000100;
  46057. end;
  46058. procedure TPORTG_CNPUG.clearCNPUG8; inline;
  46059. begin
  46060. pTDefRegMap(@Self)^.clr := $00000100;
  46061. end;
  46062. procedure TPORTG_CNPUG.setCNPUG8(thebits : TBits_1); inline;
  46063. begin
  46064. if thebits = 0 then
  46065. pTDefRegMap(@Self)^.clr := $00000100
  46066. else
  46067. pTDefRegMap(@Self)^.&set := $00000100;
  46068. end;
  46069. function TPORTG_CNPUG.getCNPUG8 : TBits_1; inline;
  46070. begin
  46071. getCNPUG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46072. end;
  46073. procedure TPORTG_CNPUG.setCNPUG9; inline;
  46074. begin
  46075. pTDefRegMap(@Self)^.&set := $00000200;
  46076. end;
  46077. procedure TPORTG_CNPUG.clearCNPUG9; inline;
  46078. begin
  46079. pTDefRegMap(@Self)^.clr := $00000200;
  46080. end;
  46081. procedure TPORTG_CNPUG.setCNPUG9(thebits : TBits_1); inline;
  46082. begin
  46083. if thebits = 0 then
  46084. pTDefRegMap(@Self)^.clr := $00000200
  46085. else
  46086. pTDefRegMap(@Self)^.&set := $00000200;
  46087. end;
  46088. function TPORTG_CNPUG.getCNPUG9 : TBits_1; inline;
  46089. begin
  46090. getCNPUG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46091. end;
  46092. procedure TPORTG_CNPUG.setw(thebits : TBits_32); inline;
  46093. begin
  46094. pTDefRegMap(@Self)^.val := thebits;
  46095. end;
  46096. function TPORTG_CNPUG.getw : TBits_32; inline;
  46097. begin
  46098. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46099. end;
  46100. procedure TPORTG_CNPDG.setCNPDG2; inline;
  46101. begin
  46102. pTDefRegMap(@Self)^.&set := $00000004;
  46103. end;
  46104. procedure TPORTG_CNPDG.clearCNPDG2; inline;
  46105. begin
  46106. pTDefRegMap(@Self)^.clr := $00000004;
  46107. end;
  46108. procedure TPORTG_CNPDG.setCNPDG2(thebits : TBits_1); inline;
  46109. begin
  46110. if thebits = 0 then
  46111. pTDefRegMap(@Self)^.clr := $00000004
  46112. else
  46113. pTDefRegMap(@Self)^.&set := $00000004;
  46114. end;
  46115. function TPORTG_CNPDG.getCNPDG2 : TBits_1; inline;
  46116. begin
  46117. getCNPDG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46118. end;
  46119. procedure TPORTG_CNPDG.setCNPDG3; inline;
  46120. begin
  46121. pTDefRegMap(@Self)^.&set := $00000008;
  46122. end;
  46123. procedure TPORTG_CNPDG.clearCNPDG3; inline;
  46124. begin
  46125. pTDefRegMap(@Self)^.clr := $00000008;
  46126. end;
  46127. procedure TPORTG_CNPDG.setCNPDG3(thebits : TBits_1); inline;
  46128. begin
  46129. if thebits = 0 then
  46130. pTDefRegMap(@Self)^.clr := $00000008
  46131. else
  46132. pTDefRegMap(@Self)^.&set := $00000008;
  46133. end;
  46134. function TPORTG_CNPDG.getCNPDG3 : TBits_1; inline;
  46135. begin
  46136. getCNPDG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46137. end;
  46138. procedure TPORTG_CNPDG.setCNPDG6; inline;
  46139. begin
  46140. pTDefRegMap(@Self)^.&set := $00000040;
  46141. end;
  46142. procedure TPORTG_CNPDG.clearCNPDG6; inline;
  46143. begin
  46144. pTDefRegMap(@Self)^.clr := $00000040;
  46145. end;
  46146. procedure TPORTG_CNPDG.setCNPDG6(thebits : TBits_1); inline;
  46147. begin
  46148. if thebits = 0 then
  46149. pTDefRegMap(@Self)^.clr := $00000040
  46150. else
  46151. pTDefRegMap(@Self)^.&set := $00000040;
  46152. end;
  46153. function TPORTG_CNPDG.getCNPDG6 : TBits_1; inline;
  46154. begin
  46155. getCNPDG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46156. end;
  46157. procedure TPORTG_CNPDG.setCNPDG7; inline;
  46158. begin
  46159. pTDefRegMap(@Self)^.&set := $00000080;
  46160. end;
  46161. procedure TPORTG_CNPDG.clearCNPDG7; inline;
  46162. begin
  46163. pTDefRegMap(@Self)^.clr := $00000080;
  46164. end;
  46165. procedure TPORTG_CNPDG.setCNPDG7(thebits : TBits_1); inline;
  46166. begin
  46167. if thebits = 0 then
  46168. pTDefRegMap(@Self)^.clr := $00000080
  46169. else
  46170. pTDefRegMap(@Self)^.&set := $00000080;
  46171. end;
  46172. function TPORTG_CNPDG.getCNPDG7 : TBits_1; inline;
  46173. begin
  46174. getCNPDG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46175. end;
  46176. procedure TPORTG_CNPDG.setCNPDG8; inline;
  46177. begin
  46178. pTDefRegMap(@Self)^.&set := $00000100;
  46179. end;
  46180. procedure TPORTG_CNPDG.clearCNPDG8; inline;
  46181. begin
  46182. pTDefRegMap(@Self)^.clr := $00000100;
  46183. end;
  46184. procedure TPORTG_CNPDG.setCNPDG8(thebits : TBits_1); inline;
  46185. begin
  46186. if thebits = 0 then
  46187. pTDefRegMap(@Self)^.clr := $00000100
  46188. else
  46189. pTDefRegMap(@Self)^.&set := $00000100;
  46190. end;
  46191. function TPORTG_CNPDG.getCNPDG8 : TBits_1; inline;
  46192. begin
  46193. getCNPDG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46194. end;
  46195. procedure TPORTG_CNPDG.setCNPDG9; inline;
  46196. begin
  46197. pTDefRegMap(@Self)^.&set := $00000200;
  46198. end;
  46199. procedure TPORTG_CNPDG.clearCNPDG9; inline;
  46200. begin
  46201. pTDefRegMap(@Self)^.clr := $00000200;
  46202. end;
  46203. procedure TPORTG_CNPDG.setCNPDG9(thebits : TBits_1); inline;
  46204. begin
  46205. if thebits = 0 then
  46206. pTDefRegMap(@Self)^.clr := $00000200
  46207. else
  46208. pTDefRegMap(@Self)^.&set := $00000200;
  46209. end;
  46210. function TPORTG_CNPDG.getCNPDG9 : TBits_1; inline;
  46211. begin
  46212. getCNPDG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46213. end;
  46214. procedure TPORTG_CNPDG.setw(thebits : TBits_32); inline;
  46215. begin
  46216. pTDefRegMap(@Self)^.val := thebits;
  46217. end;
  46218. function TPORTG_CNPDG.getw : TBits_32; inline;
  46219. begin
  46220. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46221. end;
  46222. procedure TPORTG_CNCONG.setSIDL; inline;
  46223. begin
  46224. pTDefRegMap(@Self)^.&set := $00002000;
  46225. end;
  46226. procedure TPORTG_CNCONG.clearSIDL; inline;
  46227. begin
  46228. pTDefRegMap(@Self)^.clr := $00002000;
  46229. end;
  46230. procedure TPORTG_CNCONG.setSIDL(thebits : TBits_1); inline;
  46231. begin
  46232. if thebits = 0 then
  46233. pTDefRegMap(@Self)^.clr := $00002000
  46234. else
  46235. pTDefRegMap(@Self)^.&set := $00002000;
  46236. end;
  46237. function TPORTG_CNCONG.getSIDL : TBits_1; inline;
  46238. begin
  46239. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46240. end;
  46241. procedure TPORTG_CNCONG.setON; inline;
  46242. begin
  46243. pTDefRegMap(@Self)^.&set := $00008000;
  46244. end;
  46245. procedure TPORTG_CNCONG.clearON; inline;
  46246. begin
  46247. pTDefRegMap(@Self)^.clr := $00008000;
  46248. end;
  46249. procedure TPORTG_CNCONG.setON(thebits : TBits_1); inline;
  46250. begin
  46251. if thebits = 0 then
  46252. pTDefRegMap(@Self)^.clr := $00008000
  46253. else
  46254. pTDefRegMap(@Self)^.&set := $00008000;
  46255. end;
  46256. function TPORTG_CNCONG.getON : TBits_1; inline;
  46257. begin
  46258. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46259. end;
  46260. procedure TPORTG_CNCONG.setw(thebits : TBits_32); inline;
  46261. begin
  46262. pTDefRegMap(@Self)^.val := thebits;
  46263. end;
  46264. function TPORTG_CNCONG.getw : TBits_32; inline;
  46265. begin
  46266. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46267. end;
  46268. procedure TPORTG_CNENG.setCNIEG2; inline;
  46269. begin
  46270. pTDefRegMap(@Self)^.&set := $00000004;
  46271. end;
  46272. procedure TPORTG_CNENG.clearCNIEG2; inline;
  46273. begin
  46274. pTDefRegMap(@Self)^.clr := $00000004;
  46275. end;
  46276. procedure TPORTG_CNENG.setCNIEG2(thebits : TBits_1); inline;
  46277. begin
  46278. if thebits = 0 then
  46279. pTDefRegMap(@Self)^.clr := $00000004
  46280. else
  46281. pTDefRegMap(@Self)^.&set := $00000004;
  46282. end;
  46283. function TPORTG_CNENG.getCNIEG2 : TBits_1; inline;
  46284. begin
  46285. getCNIEG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46286. end;
  46287. procedure TPORTG_CNENG.setCNIEG3; inline;
  46288. begin
  46289. pTDefRegMap(@Self)^.&set := $00000008;
  46290. end;
  46291. procedure TPORTG_CNENG.clearCNIEG3; inline;
  46292. begin
  46293. pTDefRegMap(@Self)^.clr := $00000008;
  46294. end;
  46295. procedure TPORTG_CNENG.setCNIEG3(thebits : TBits_1); inline;
  46296. begin
  46297. if thebits = 0 then
  46298. pTDefRegMap(@Self)^.clr := $00000008
  46299. else
  46300. pTDefRegMap(@Self)^.&set := $00000008;
  46301. end;
  46302. function TPORTG_CNENG.getCNIEG3 : TBits_1; inline;
  46303. begin
  46304. getCNIEG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46305. end;
  46306. procedure TPORTG_CNENG.setCNIEG6; inline;
  46307. begin
  46308. pTDefRegMap(@Self)^.&set := $00000040;
  46309. end;
  46310. procedure TPORTG_CNENG.clearCNIEG6; inline;
  46311. begin
  46312. pTDefRegMap(@Self)^.clr := $00000040;
  46313. end;
  46314. procedure TPORTG_CNENG.setCNIEG6(thebits : TBits_1); inline;
  46315. begin
  46316. if thebits = 0 then
  46317. pTDefRegMap(@Self)^.clr := $00000040
  46318. else
  46319. pTDefRegMap(@Self)^.&set := $00000040;
  46320. end;
  46321. function TPORTG_CNENG.getCNIEG6 : TBits_1; inline;
  46322. begin
  46323. getCNIEG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46324. end;
  46325. procedure TPORTG_CNENG.setCNIEG7; inline;
  46326. begin
  46327. pTDefRegMap(@Self)^.&set := $00000080;
  46328. end;
  46329. procedure TPORTG_CNENG.clearCNIEG7; inline;
  46330. begin
  46331. pTDefRegMap(@Self)^.clr := $00000080;
  46332. end;
  46333. procedure TPORTG_CNENG.setCNIEG7(thebits : TBits_1); inline;
  46334. begin
  46335. if thebits = 0 then
  46336. pTDefRegMap(@Self)^.clr := $00000080
  46337. else
  46338. pTDefRegMap(@Self)^.&set := $00000080;
  46339. end;
  46340. function TPORTG_CNENG.getCNIEG7 : TBits_1; inline;
  46341. begin
  46342. getCNIEG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46343. end;
  46344. procedure TPORTG_CNENG.setCNIEG8; inline;
  46345. begin
  46346. pTDefRegMap(@Self)^.&set := $00000100;
  46347. end;
  46348. procedure TPORTG_CNENG.clearCNIEG8; inline;
  46349. begin
  46350. pTDefRegMap(@Self)^.clr := $00000100;
  46351. end;
  46352. procedure TPORTG_CNENG.setCNIEG8(thebits : TBits_1); inline;
  46353. begin
  46354. if thebits = 0 then
  46355. pTDefRegMap(@Self)^.clr := $00000100
  46356. else
  46357. pTDefRegMap(@Self)^.&set := $00000100;
  46358. end;
  46359. function TPORTG_CNENG.getCNIEG8 : TBits_1; inline;
  46360. begin
  46361. getCNIEG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46362. end;
  46363. procedure TPORTG_CNENG.setCNIEG9; inline;
  46364. begin
  46365. pTDefRegMap(@Self)^.&set := $00000200;
  46366. end;
  46367. procedure TPORTG_CNENG.clearCNIEG9; inline;
  46368. begin
  46369. pTDefRegMap(@Self)^.clr := $00000200;
  46370. end;
  46371. procedure TPORTG_CNENG.setCNIEG9(thebits : TBits_1); inline;
  46372. begin
  46373. if thebits = 0 then
  46374. pTDefRegMap(@Self)^.clr := $00000200
  46375. else
  46376. pTDefRegMap(@Self)^.&set := $00000200;
  46377. end;
  46378. function TPORTG_CNENG.getCNIEG9 : TBits_1; inline;
  46379. begin
  46380. getCNIEG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46381. end;
  46382. procedure TPORTG_CNENG.setw(thebits : TBits_32); inline;
  46383. begin
  46384. pTDefRegMap(@Self)^.val := thebits;
  46385. end;
  46386. function TPORTG_CNENG.getw : TBits_32; inline;
  46387. begin
  46388. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46389. end;
  46390. procedure TPORTG_CNSTATG.setCNSTATG2; inline;
  46391. begin
  46392. pTDefRegMap(@Self)^.&set := $00000004;
  46393. end;
  46394. procedure TPORTG_CNSTATG.clearCNSTATG2; inline;
  46395. begin
  46396. pTDefRegMap(@Self)^.clr := $00000004;
  46397. end;
  46398. procedure TPORTG_CNSTATG.setCNSTATG2(thebits : TBits_1); inline;
  46399. begin
  46400. if thebits = 0 then
  46401. pTDefRegMap(@Self)^.clr := $00000004
  46402. else
  46403. pTDefRegMap(@Self)^.&set := $00000004;
  46404. end;
  46405. function TPORTG_CNSTATG.getCNSTATG2 : TBits_1; inline;
  46406. begin
  46407. getCNSTATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46408. end;
  46409. procedure TPORTG_CNSTATG.setCNSTATG3; inline;
  46410. begin
  46411. pTDefRegMap(@Self)^.&set := $00000008;
  46412. end;
  46413. procedure TPORTG_CNSTATG.clearCNSTATG3; inline;
  46414. begin
  46415. pTDefRegMap(@Self)^.clr := $00000008;
  46416. end;
  46417. procedure TPORTG_CNSTATG.setCNSTATG3(thebits : TBits_1); inline;
  46418. begin
  46419. if thebits = 0 then
  46420. pTDefRegMap(@Self)^.clr := $00000008
  46421. else
  46422. pTDefRegMap(@Self)^.&set := $00000008;
  46423. end;
  46424. function TPORTG_CNSTATG.getCNSTATG3 : TBits_1; inline;
  46425. begin
  46426. getCNSTATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46427. end;
  46428. procedure TPORTG_CNSTATG.setCNSTATG6; inline;
  46429. begin
  46430. pTDefRegMap(@Self)^.&set := $00000040;
  46431. end;
  46432. procedure TPORTG_CNSTATG.clearCNSTATG6; inline;
  46433. begin
  46434. pTDefRegMap(@Self)^.clr := $00000040;
  46435. end;
  46436. procedure TPORTG_CNSTATG.setCNSTATG6(thebits : TBits_1); inline;
  46437. begin
  46438. if thebits = 0 then
  46439. pTDefRegMap(@Self)^.clr := $00000040
  46440. else
  46441. pTDefRegMap(@Self)^.&set := $00000040;
  46442. end;
  46443. function TPORTG_CNSTATG.getCNSTATG6 : TBits_1; inline;
  46444. begin
  46445. getCNSTATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46446. end;
  46447. procedure TPORTG_CNSTATG.setCNSTATG7; inline;
  46448. begin
  46449. pTDefRegMap(@Self)^.&set := $00000080;
  46450. end;
  46451. procedure TPORTG_CNSTATG.clearCNSTATG7; inline;
  46452. begin
  46453. pTDefRegMap(@Self)^.clr := $00000080;
  46454. end;
  46455. procedure TPORTG_CNSTATG.setCNSTATG7(thebits : TBits_1); inline;
  46456. begin
  46457. if thebits = 0 then
  46458. pTDefRegMap(@Self)^.clr := $00000080
  46459. else
  46460. pTDefRegMap(@Self)^.&set := $00000080;
  46461. end;
  46462. function TPORTG_CNSTATG.getCNSTATG7 : TBits_1; inline;
  46463. begin
  46464. getCNSTATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46465. end;
  46466. procedure TPORTG_CNSTATG.setCNSTATG8; inline;
  46467. begin
  46468. pTDefRegMap(@Self)^.&set := $00000100;
  46469. end;
  46470. procedure TPORTG_CNSTATG.clearCNSTATG8; inline;
  46471. begin
  46472. pTDefRegMap(@Self)^.clr := $00000100;
  46473. end;
  46474. procedure TPORTG_CNSTATG.setCNSTATG8(thebits : TBits_1); inline;
  46475. begin
  46476. if thebits = 0 then
  46477. pTDefRegMap(@Self)^.clr := $00000100
  46478. else
  46479. pTDefRegMap(@Self)^.&set := $00000100;
  46480. end;
  46481. function TPORTG_CNSTATG.getCNSTATG8 : TBits_1; inline;
  46482. begin
  46483. getCNSTATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46484. end;
  46485. procedure TPORTG_CNSTATG.setCNSTATG9; inline;
  46486. begin
  46487. pTDefRegMap(@Self)^.&set := $00000200;
  46488. end;
  46489. procedure TPORTG_CNSTATG.clearCNSTATG9; inline;
  46490. begin
  46491. pTDefRegMap(@Self)^.clr := $00000200;
  46492. end;
  46493. procedure TPORTG_CNSTATG.setCNSTATG9(thebits : TBits_1); inline;
  46494. begin
  46495. if thebits = 0 then
  46496. pTDefRegMap(@Self)^.clr := $00000200
  46497. else
  46498. pTDefRegMap(@Self)^.&set := $00000200;
  46499. end;
  46500. function TPORTG_CNSTATG.getCNSTATG9 : TBits_1; inline;
  46501. begin
  46502. getCNSTATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46503. end;
  46504. procedure TPORTG_CNSTATG.setw(thebits : TBits_32); inline;
  46505. begin
  46506. pTDefRegMap(@Self)^.val := thebits;
  46507. end;
  46508. function TPORTG_CNSTATG.getw : TBits_32; inline;
  46509. begin
  46510. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46511. end;
  46512. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  46513. begin
  46514. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  46515. end;
  46516. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  46517. begin
  46518. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  46519. end;
  46520. procedure TDEVCFG_DEVCFG3.setFSRSSEL(thebits : TBits_3); inline;
  46521. begin
  46522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  46523. end;
  46524. function TDEVCFG_DEVCFG3.getFSRSSEL : TBits_3; inline;
  46525. begin
  46526. getFSRSSEL := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  46527. end;
  46528. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  46529. begin
  46530. pTDefRegMap(@Self)^.&set := $10000000;
  46531. end;
  46532. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  46533. begin
  46534. pTDefRegMap(@Self)^.clr := $10000000;
  46535. end;
  46536. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  46537. begin
  46538. if thebits = 0 then
  46539. pTDefRegMap(@Self)^.clr := $10000000
  46540. else
  46541. pTDefRegMap(@Self)^.&set := $10000000;
  46542. end;
  46543. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  46544. begin
  46545. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  46546. end;
  46547. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  46548. begin
  46549. pTDefRegMap(@Self)^.&set := $20000000;
  46550. end;
  46551. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  46552. begin
  46553. pTDefRegMap(@Self)^.clr := $20000000;
  46554. end;
  46555. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  46556. begin
  46557. if thebits = 0 then
  46558. pTDefRegMap(@Self)^.clr := $20000000
  46559. else
  46560. pTDefRegMap(@Self)^.&set := $20000000;
  46561. end;
  46562. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  46563. begin
  46564. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  46565. end;
  46566. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  46567. begin
  46568. pTDefRegMap(@Self)^.val := thebits;
  46569. end;
  46570. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  46571. begin
  46572. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46573. end;
  46574. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  46575. begin
  46576. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  46577. end;
  46578. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  46579. begin
  46580. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  46581. end;
  46582. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  46583. begin
  46584. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  46585. end;
  46586. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  46587. begin
  46588. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  46589. end;
  46590. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  46591. begin
  46592. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  46593. end;
  46594. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  46595. begin
  46596. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  46597. end;
  46598. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  46599. begin
  46600. pTDefRegMap(@Self)^.val := thebits;
  46601. end;
  46602. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  46603. begin
  46604. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46605. end;
  46606. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  46607. begin
  46608. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  46609. end;
  46610. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  46611. begin
  46612. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  46613. end;
  46614. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  46615. begin
  46616. pTDefRegMap(@Self)^.&set := $00000020;
  46617. end;
  46618. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  46619. begin
  46620. pTDefRegMap(@Self)^.clr := $00000020;
  46621. end;
  46622. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  46623. begin
  46624. if thebits = 0 then
  46625. pTDefRegMap(@Self)^.clr := $00000020
  46626. else
  46627. pTDefRegMap(@Self)^.&set := $00000020;
  46628. end;
  46629. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  46630. begin
  46631. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46632. end;
  46633. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  46634. begin
  46635. pTDefRegMap(@Self)^.&set := $00000080;
  46636. end;
  46637. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  46638. begin
  46639. pTDefRegMap(@Self)^.clr := $00000080;
  46640. end;
  46641. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  46642. begin
  46643. if thebits = 0 then
  46644. pTDefRegMap(@Self)^.clr := $00000080
  46645. else
  46646. pTDefRegMap(@Self)^.&set := $00000080;
  46647. end;
  46648. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  46649. begin
  46650. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46651. end;
  46652. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  46653. begin
  46654. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46655. end;
  46656. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  46657. begin
  46658. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46659. end;
  46660. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  46661. begin
  46662. pTDefRegMap(@Self)^.&set := $00000400;
  46663. end;
  46664. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  46665. begin
  46666. pTDefRegMap(@Self)^.clr := $00000400;
  46667. end;
  46668. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  46669. begin
  46670. if thebits = 0 then
  46671. pTDefRegMap(@Self)^.clr := $00000400
  46672. else
  46673. pTDefRegMap(@Self)^.&set := $00000400;
  46674. end;
  46675. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  46676. begin
  46677. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46678. end;
  46679. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  46680. begin
  46681. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  46682. end;
  46683. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  46684. begin
  46685. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  46686. end;
  46687. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  46688. begin
  46689. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  46690. end;
  46691. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  46692. begin
  46693. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  46694. end;
  46695. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  46696. begin
  46697. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  46698. end;
  46699. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  46700. begin
  46701. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  46702. end;
  46703. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  46704. begin
  46705. pTDefRegMap(@Self)^.&set := $00400000;
  46706. end;
  46707. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  46708. begin
  46709. pTDefRegMap(@Self)^.clr := $00400000;
  46710. end;
  46711. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  46712. begin
  46713. if thebits = 0 then
  46714. pTDefRegMap(@Self)^.clr := $00400000
  46715. else
  46716. pTDefRegMap(@Self)^.&set := $00400000;
  46717. end;
  46718. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  46719. begin
  46720. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  46721. end;
  46722. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  46723. begin
  46724. pTDefRegMap(@Self)^.&set := $00800000;
  46725. end;
  46726. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  46727. begin
  46728. pTDefRegMap(@Self)^.clr := $00800000;
  46729. end;
  46730. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  46731. begin
  46732. if thebits = 0 then
  46733. pTDefRegMap(@Self)^.clr := $00800000
  46734. else
  46735. pTDefRegMap(@Self)^.&set := $00800000;
  46736. end;
  46737. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  46738. begin
  46739. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  46740. end;
  46741. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  46742. begin
  46743. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46744. end;
  46745. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  46746. begin
  46747. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46748. end;
  46749. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  46750. begin
  46751. pTDefRegMap(@Self)^.val := thebits;
  46752. end;
  46753. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  46754. begin
  46755. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46756. end;
  46757. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  46758. begin
  46759. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46760. end;
  46761. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  46762. begin
  46763. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46764. end;
  46765. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  46766. begin
  46767. pTDefRegMap(@Self)^.&set := $00000004;
  46768. end;
  46769. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  46770. begin
  46771. pTDefRegMap(@Self)^.clr := $00000004;
  46772. end;
  46773. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  46774. begin
  46775. if thebits = 0 then
  46776. pTDefRegMap(@Self)^.clr := $00000004
  46777. else
  46778. pTDefRegMap(@Self)^.&set := $00000004;
  46779. end;
  46780. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  46781. begin
  46782. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46783. end;
  46784. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  46785. begin
  46786. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  46787. end;
  46788. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  46789. begin
  46790. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  46791. end;
  46792. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  46793. begin
  46794. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  46795. end;
  46796. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  46797. begin
  46798. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  46799. end;
  46800. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  46801. begin
  46802. pTDefRegMap(@Self)^.&set := $01000000;
  46803. end;
  46804. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  46805. begin
  46806. pTDefRegMap(@Self)^.clr := $01000000;
  46807. end;
  46808. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  46809. begin
  46810. if thebits = 0 then
  46811. pTDefRegMap(@Self)^.clr := $01000000
  46812. else
  46813. pTDefRegMap(@Self)^.&set := $01000000;
  46814. end;
  46815. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  46816. begin
  46817. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  46818. end;
  46819. procedure TDEVCFG_DEVCFG0.setCP; inline;
  46820. begin
  46821. pTDefRegMap(@Self)^.&set := $10000000;
  46822. end;
  46823. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  46824. begin
  46825. pTDefRegMap(@Self)^.clr := $10000000;
  46826. end;
  46827. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  46828. begin
  46829. if thebits = 0 then
  46830. pTDefRegMap(@Self)^.clr := $10000000
  46831. else
  46832. pTDefRegMap(@Self)^.&set := $10000000;
  46833. end;
  46834. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  46835. begin
  46836. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  46837. end;
  46838. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  46839. begin
  46840. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46841. end;
  46842. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  46843. begin
  46844. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46845. end;
  46846. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  46847. begin
  46848. pTDefRegMap(@Self)^.val := thebits;
  46849. end;
  46850. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  46851. begin
  46852. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46853. end;
  46854. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  46855. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  46856. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  46857. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  46858. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  46859. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  46860. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  46861. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  46862. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  46863. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  46864. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  46865. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  46866. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  46867. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  46868. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  46869. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  46870. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  46871. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  46872. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  46873. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  46874. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  46875. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  46876. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  46877. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  46878. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  46879. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  46880. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  46881. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  46882. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  46883. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  46884. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  46885. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  46886. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  46887. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  46888. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  46889. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  46890. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  46891. procedure _UART_3_VECTOR_interrupt; external name '_UART_3_VECTOR_interrupt';
  46892. procedure _UART_4_VECTOR_interrupt; external name '_UART_4_VECTOR_interrupt';
  46893. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  46894. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  46895. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  46896. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  46897. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  46898. procedure Vectors; assembler; nostackframe;
  46899. label interrupt_vectors;
  46900. asm
  46901. .section ".init.interrupt_vectors,\"ax\",@progbits"
  46902. interrupt_vectors:
  46903. j _CORE_TIMER_VECTOR_interrupt
  46904. nop
  46905. nop
  46906. nop
  46907. nop
  46908. nop
  46909. nop
  46910. nop
  46911. j _CORE_SOFTWARE_0_VECTOR_interrupt
  46912. nop
  46913. nop
  46914. nop
  46915. nop
  46916. nop
  46917. nop
  46918. nop
  46919. j _CORE_SOFTWARE_1_VECTOR_interrupt
  46920. nop
  46921. nop
  46922. nop
  46923. nop
  46924. nop
  46925. nop
  46926. nop
  46927. j _EXTERNAL_0_VECTOR_interrupt
  46928. nop
  46929. nop
  46930. nop
  46931. nop
  46932. nop
  46933. nop
  46934. nop
  46935. j _TIMER_1_VECTOR_interrupt
  46936. nop
  46937. nop
  46938. nop
  46939. nop
  46940. nop
  46941. nop
  46942. nop
  46943. j _INPUT_CAPTURE_1_VECTOR_interrupt
  46944. nop
  46945. nop
  46946. nop
  46947. nop
  46948. nop
  46949. nop
  46950. nop
  46951. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  46952. nop
  46953. nop
  46954. nop
  46955. nop
  46956. nop
  46957. nop
  46958. nop
  46959. j _EXTERNAL_1_VECTOR_interrupt
  46960. nop
  46961. nop
  46962. nop
  46963. nop
  46964. nop
  46965. nop
  46966. nop
  46967. j _TIMER_2_VECTOR_interrupt
  46968. nop
  46969. nop
  46970. nop
  46971. nop
  46972. nop
  46973. nop
  46974. nop
  46975. j _INPUT_CAPTURE_2_VECTOR_interrupt
  46976. nop
  46977. nop
  46978. nop
  46979. nop
  46980. nop
  46981. nop
  46982. nop
  46983. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  46984. nop
  46985. nop
  46986. nop
  46987. nop
  46988. nop
  46989. nop
  46990. nop
  46991. j _EXTERNAL_2_VECTOR_interrupt
  46992. nop
  46993. nop
  46994. nop
  46995. nop
  46996. nop
  46997. nop
  46998. nop
  46999. j _TIMER_3_VECTOR_interrupt
  47000. nop
  47001. nop
  47002. nop
  47003. nop
  47004. nop
  47005. nop
  47006. nop
  47007. j _INPUT_CAPTURE_3_VECTOR_interrupt
  47008. nop
  47009. nop
  47010. nop
  47011. nop
  47012. nop
  47013. nop
  47014. nop
  47015. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  47016. nop
  47017. nop
  47018. nop
  47019. nop
  47020. nop
  47021. nop
  47022. nop
  47023. j _EXTERNAL_3_VECTOR_interrupt
  47024. nop
  47025. nop
  47026. nop
  47027. nop
  47028. nop
  47029. nop
  47030. nop
  47031. j _TIMER_4_VECTOR_interrupt
  47032. nop
  47033. nop
  47034. nop
  47035. nop
  47036. nop
  47037. nop
  47038. nop
  47039. j _INPUT_CAPTURE_4_VECTOR_interrupt
  47040. nop
  47041. nop
  47042. nop
  47043. nop
  47044. nop
  47045. nop
  47046. nop
  47047. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  47048. nop
  47049. nop
  47050. nop
  47051. nop
  47052. nop
  47053. nop
  47054. nop
  47055. j _EXTERNAL_4_VECTOR_interrupt
  47056. nop
  47057. nop
  47058. nop
  47059. nop
  47060. nop
  47061. nop
  47062. nop
  47063. j _TIMER_5_VECTOR_interrupt
  47064. nop
  47065. nop
  47066. nop
  47067. nop
  47068. nop
  47069. nop
  47070. nop
  47071. j _INPUT_CAPTURE_5_VECTOR_interrupt
  47072. nop
  47073. nop
  47074. nop
  47075. nop
  47076. nop
  47077. nop
  47078. nop
  47079. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  47080. nop
  47081. nop
  47082. nop
  47083. nop
  47084. nop
  47085. nop
  47086. nop
  47087. j _ADC_VECTOR_interrupt
  47088. nop
  47089. nop
  47090. nop
  47091. nop
  47092. nop
  47093. nop
  47094. nop
  47095. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  47096. nop
  47097. nop
  47098. nop
  47099. nop
  47100. nop
  47101. nop
  47102. nop
  47103. j _RTCC_VECTOR_interrupt
  47104. nop
  47105. nop
  47106. nop
  47107. nop
  47108. nop
  47109. nop
  47110. nop
  47111. j _FCE_VECTOR_interrupt
  47112. nop
  47113. nop
  47114. nop
  47115. nop
  47116. nop
  47117. nop
  47118. nop
  47119. j _COMPARATOR_1_VECTOR_interrupt
  47120. nop
  47121. nop
  47122. nop
  47123. nop
  47124. nop
  47125. nop
  47126. nop
  47127. j _COMPARATOR_2_VECTOR_interrupt
  47128. nop
  47129. nop
  47130. nop
  47131. nop
  47132. nop
  47133. nop
  47134. nop
  47135. nop
  47136. nop
  47137. nop
  47138. nop
  47139. nop
  47140. nop
  47141. nop
  47142. nop
  47143. j _SPI_1_VECTOR_interrupt
  47144. nop
  47145. nop
  47146. nop
  47147. nop
  47148. nop
  47149. nop
  47150. nop
  47151. j _UART_1_VECTOR_interrupt
  47152. nop
  47153. nop
  47154. nop
  47155. nop
  47156. nop
  47157. nop
  47158. nop
  47159. j _I2C_1_VECTOR_interrupt
  47160. nop
  47161. nop
  47162. nop
  47163. nop
  47164. nop
  47165. nop
  47166. nop
  47167. j _CHANGE_NOTICE_VECTOR_interrupt
  47168. nop
  47169. nop
  47170. nop
  47171. nop
  47172. nop
  47173. nop
  47174. nop
  47175. j _PMP_VECTOR_interrupt
  47176. nop
  47177. nop
  47178. nop
  47179. nop
  47180. nop
  47181. nop
  47182. nop
  47183. j _SPI_2_VECTOR_interrupt
  47184. nop
  47185. nop
  47186. nop
  47187. nop
  47188. nop
  47189. nop
  47190. nop
  47191. j _UART_2_VECTOR_interrupt
  47192. nop
  47193. nop
  47194. nop
  47195. nop
  47196. nop
  47197. nop
  47198. nop
  47199. j _I2C_2_VECTOR_interrupt
  47200. nop
  47201. nop
  47202. nop
  47203. nop
  47204. nop
  47205. nop
  47206. nop
  47207. j _UART_3_VECTOR_interrupt
  47208. nop
  47209. nop
  47210. nop
  47211. nop
  47212. nop
  47213. nop
  47214. nop
  47215. j _UART_4_VECTOR_interrupt
  47216. nop
  47217. nop
  47218. nop
  47219. nop
  47220. nop
  47221. nop
  47222. nop
  47223. nop
  47224. nop
  47225. nop
  47226. nop
  47227. nop
  47228. nop
  47229. nop
  47230. nop
  47231. j _CTMU_VECTOR_interrupt
  47232. nop
  47233. nop
  47234. nop
  47235. nop
  47236. nop
  47237. nop
  47238. nop
  47239. j _DMA_0_VECTOR_interrupt
  47240. nop
  47241. nop
  47242. nop
  47243. nop
  47244. nop
  47245. nop
  47246. nop
  47247. j _DMA_1_VECTOR_interrupt
  47248. nop
  47249. nop
  47250. nop
  47251. nop
  47252. nop
  47253. nop
  47254. nop
  47255. j _DMA_2_VECTOR_interrupt
  47256. nop
  47257. nop
  47258. nop
  47259. nop
  47260. nop
  47261. nop
  47262. nop
  47263. j _DMA_3_VECTOR_interrupt
  47264. nop
  47265. nop
  47266. nop
  47267. nop
  47268. nop
  47269. nop
  47270. nop
  47271. .weak _CORE_TIMER_VECTOR_interrupt
  47272. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  47273. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  47274. .weak _EXTERNAL_0_VECTOR_interrupt
  47275. .weak _TIMER_1_VECTOR_interrupt
  47276. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  47277. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  47278. .weak _EXTERNAL_1_VECTOR_interrupt
  47279. .weak _TIMER_2_VECTOR_interrupt
  47280. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  47281. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  47282. .weak _EXTERNAL_2_VECTOR_interrupt
  47283. .weak _TIMER_3_VECTOR_interrupt
  47284. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  47285. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  47286. .weak _EXTERNAL_3_VECTOR_interrupt
  47287. .weak _TIMER_4_VECTOR_interrupt
  47288. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  47289. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  47290. .weak _EXTERNAL_4_VECTOR_interrupt
  47291. .weak _TIMER_5_VECTOR_interrupt
  47292. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  47293. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  47294. .weak _ADC_VECTOR_interrupt
  47295. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  47296. .weak _RTCC_VECTOR_interrupt
  47297. .weak _FCE_VECTOR_interrupt
  47298. .weak _COMPARATOR_1_VECTOR_interrupt
  47299. .weak _COMPARATOR_2_VECTOR_interrupt
  47300. .weak _SPI_1_VECTOR_interrupt
  47301. .weak _UART_1_VECTOR_interrupt
  47302. .weak _I2C_1_VECTOR_interrupt
  47303. .weak _CHANGE_NOTICE_VECTOR_interrupt
  47304. .weak _PMP_VECTOR_interrupt
  47305. .weak _SPI_2_VECTOR_interrupt
  47306. .weak _UART_2_VECTOR_interrupt
  47307. .weak _I2C_2_VECTOR_interrupt
  47308. .weak _UART_3_VECTOR_interrupt
  47309. .weak _UART_4_VECTOR_interrupt
  47310. .weak _CTMU_VECTOR_interrupt
  47311. .weak _DMA_0_VECTOR_interrupt
  47312. .weak _DMA_1_VECTOR_interrupt
  47313. .weak _DMA_2_VECTOR_interrupt
  47314. .weak _DMA_3_VECTOR_interrupt
  47315. .text
  47316. end;
  47317. end.