pic32mx220f032b.pp 1.1 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453
  1. unit pic32mx220f032b;
  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 getTCKPS : TBits_3; inline;
  484. function getTCKPS0 : TBits_1; inline;
  485. function getTCKPS1 : TBits_1; inline;
  486. function getTCKPS2 : TBits_1; inline;
  487. function getTCS : TBits_1; inline;
  488. function getTGATE : TBits_1; inline;
  489. function getTON : TBits_1; inline;
  490. function getTSIDL : TBits_1; inline;
  491. function getw : TBits_32; inline;
  492. procedure setON(thebits : TBits_1); inline;
  493. procedure setSIDL(thebits : TBits_1); inline;
  494. procedure setTCKPS(thebits : TBits_3); inline;
  495. procedure setTCKPS0(thebits : TBits_1); inline;
  496. procedure setTCKPS1(thebits : TBits_1); inline;
  497. procedure setTCKPS2(thebits : TBits_1); inline;
  498. procedure setTCS(thebits : TBits_1); inline;
  499. procedure setTGATE(thebits : TBits_1); inline;
  500. procedure setTON(thebits : TBits_1); inline;
  501. procedure setTSIDL(thebits : TBits_1); inline;
  502. procedure setw(thebits : TBits_32); inline;
  503. public
  504. procedure clearON; inline;
  505. procedure clearSIDL; inline;
  506. procedure clearTCKPS0; inline;
  507. procedure clearTCKPS1; inline;
  508. procedure clearTCKPS2; inline;
  509. procedure clearTCS; inline;
  510. procedure clearTGATE; inline;
  511. procedure clearTON; inline;
  512. procedure clearTSIDL; inline;
  513. procedure setON; inline;
  514. procedure setSIDL; inline;
  515. procedure setTCKPS0; inline;
  516. procedure setTCKPS1; inline;
  517. procedure setTCKPS2; inline;
  518. procedure setTCS; inline;
  519. procedure setTGATE; inline;
  520. procedure setTON; inline;
  521. procedure setTSIDL; inline;
  522. property ON : TBits_1 read getON write setON;
  523. property SIDL : TBits_1 read getSIDL write setSIDL;
  524. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  525. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  526. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  527. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  528. property TCS : TBits_1 read getTCS write setTCS;
  529. property TGATE : TBits_1 read getTGATE write setTGATE;
  530. property TON : TBits_1 read getTON write setTON;
  531. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  532. property w : TBits_32 read getw write setw;
  533. end;
  534. type
  535. TTMR3Registers = record
  536. T3CONbits : TTMR3_T3CON;
  537. T3CON : longWord;
  538. T3CONCLR : longWord;
  539. T3CONSET : longWord;
  540. T3CONINV : longWord;
  541. TMR3 : longWord;
  542. TMR3CLR : longWord;
  543. TMR3SET : longWord;
  544. TMR3INV : longWord;
  545. PR3 : longWord;
  546. PR3CLR : longWord;
  547. PR3SET : longWord;
  548. PR3INV : longWord;
  549. end;
  550. TTMR4_T4CON = record
  551. private
  552. function getON : TBits_1; inline;
  553. function getSIDL : TBits_1; inline;
  554. function getT32 : TBits_1; inline;
  555. function getTCKPS : TBits_3; inline;
  556. function getTCKPS0 : TBits_1; inline;
  557. function getTCKPS1 : TBits_1; inline;
  558. function getTCKPS2 : TBits_1; inline;
  559. function getTCS : TBits_1; inline;
  560. function getTGATE : TBits_1; inline;
  561. function getTON : TBits_1; inline;
  562. function getTSIDL : TBits_1; inline;
  563. function getw : TBits_32; inline;
  564. procedure setON(thebits : TBits_1); inline;
  565. procedure setSIDL(thebits : TBits_1); inline;
  566. procedure setT32(thebits : TBits_1); inline;
  567. procedure setTCKPS(thebits : TBits_3); inline;
  568. procedure setTCKPS0(thebits : TBits_1); inline;
  569. procedure setTCKPS1(thebits : TBits_1); inline;
  570. procedure setTCKPS2(thebits : TBits_1); inline;
  571. procedure setTCS(thebits : TBits_1); inline;
  572. procedure setTGATE(thebits : TBits_1); inline;
  573. procedure setTON(thebits : TBits_1); inline;
  574. procedure setTSIDL(thebits : TBits_1); inline;
  575. procedure setw(thebits : TBits_32); inline;
  576. public
  577. procedure clearON; inline;
  578. procedure clearSIDL; inline;
  579. procedure clearT32; inline;
  580. procedure clearTCKPS0; inline;
  581. procedure clearTCKPS1; inline;
  582. procedure clearTCKPS2; inline;
  583. procedure clearTCS; inline;
  584. procedure clearTGATE; inline;
  585. procedure clearTON; inline;
  586. procedure clearTSIDL; inline;
  587. procedure setON; inline;
  588. procedure setSIDL; inline;
  589. procedure setT32; inline;
  590. procedure setTCKPS0; inline;
  591. procedure setTCKPS1; inline;
  592. procedure setTCKPS2; inline;
  593. procedure setTCS; inline;
  594. procedure setTGATE; inline;
  595. procedure setTON; inline;
  596. procedure setTSIDL; inline;
  597. property ON : TBits_1 read getON write setON;
  598. property SIDL : TBits_1 read getSIDL write setSIDL;
  599. property T32 : TBits_1 read getT32 write setT32;
  600. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  601. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  602. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  603. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  604. property TCS : TBits_1 read getTCS write setTCS;
  605. property TGATE : TBits_1 read getTGATE write setTGATE;
  606. property TON : TBits_1 read getTON write setTON;
  607. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  608. property w : TBits_32 read getw write setw;
  609. end;
  610. type
  611. TTMR4Registers = record
  612. T4CONbits : TTMR4_T4CON;
  613. T4CON : longWord;
  614. T4CONCLR : longWord;
  615. T4CONSET : longWord;
  616. T4CONINV : longWord;
  617. TMR4 : longWord;
  618. TMR4CLR : longWord;
  619. TMR4SET : longWord;
  620. TMR4INV : longWord;
  621. PR4 : longWord;
  622. PR4CLR : longWord;
  623. PR4SET : longWord;
  624. PR4INV : longWord;
  625. end;
  626. TTMR5_T5CON = record
  627. private
  628. function getON : TBits_1; inline;
  629. function getSIDL : TBits_1; inline;
  630. function getTCKPS : TBits_3; inline;
  631. function getTCKPS0 : TBits_1; inline;
  632. function getTCKPS1 : TBits_1; inline;
  633. function getTCKPS2 : TBits_1; inline;
  634. function getTCS : TBits_1; inline;
  635. function getTGATE : TBits_1; inline;
  636. function getTON : TBits_1; inline;
  637. function getTSIDL : TBits_1; inline;
  638. function getw : TBits_32; inline;
  639. procedure setON(thebits : TBits_1); inline;
  640. procedure setSIDL(thebits : TBits_1); inline;
  641. procedure setTCKPS(thebits : TBits_3); inline;
  642. procedure setTCKPS0(thebits : TBits_1); inline;
  643. procedure setTCKPS1(thebits : TBits_1); inline;
  644. procedure setTCKPS2(thebits : TBits_1); inline;
  645. procedure setTCS(thebits : TBits_1); inline;
  646. procedure setTGATE(thebits : TBits_1); inline;
  647. procedure setTON(thebits : TBits_1); inline;
  648. procedure setTSIDL(thebits : TBits_1); inline;
  649. procedure setw(thebits : TBits_32); inline;
  650. public
  651. procedure clearON; inline;
  652. procedure clearSIDL; inline;
  653. procedure clearTCKPS0; inline;
  654. procedure clearTCKPS1; inline;
  655. procedure clearTCKPS2; inline;
  656. procedure clearTCS; inline;
  657. procedure clearTGATE; inline;
  658. procedure clearTON; inline;
  659. procedure clearTSIDL; inline;
  660. procedure setON; inline;
  661. procedure setSIDL; inline;
  662. procedure setTCKPS0; inline;
  663. procedure setTCKPS1; inline;
  664. procedure setTCKPS2; inline;
  665. procedure setTCS; inline;
  666. procedure setTGATE; inline;
  667. procedure setTON; inline;
  668. procedure setTSIDL; inline;
  669. property ON : TBits_1 read getON write setON;
  670. property SIDL : TBits_1 read getSIDL write setSIDL;
  671. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  672. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  673. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  674. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  675. property TCS : TBits_1 read getTCS write setTCS;
  676. property TGATE : TBits_1 read getTGATE write setTGATE;
  677. property TON : TBits_1 read getTON write setTON;
  678. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  679. property w : TBits_32 read getw write setw;
  680. end;
  681. type
  682. TTMR5Registers = record
  683. T5CONbits : TTMR5_T5CON;
  684. T5CON : longWord;
  685. T5CONCLR : longWord;
  686. T5CONSET : longWord;
  687. T5CONINV : longWord;
  688. TMR5 : longWord;
  689. TMR5CLR : longWord;
  690. TMR5SET : longWord;
  691. TMR5INV : longWord;
  692. PR5 : longWord;
  693. PR5CLR : longWord;
  694. PR5SET : longWord;
  695. PR5INV : longWord;
  696. end;
  697. TICAP1_IC1CON = record
  698. private
  699. function getC32 : TBits_1; inline;
  700. function getFEDGE : TBits_1; inline;
  701. function getICBNE : TBits_1; inline;
  702. function getICI : TBits_2; inline;
  703. function getICI0 : TBits_1; inline;
  704. function getICI1 : TBits_1; inline;
  705. function getICM : TBits_3; inline;
  706. function getICM0 : TBits_1; inline;
  707. function getICM1 : TBits_1; inline;
  708. function getICM2 : TBits_1; inline;
  709. function getICOV : TBits_1; inline;
  710. function getICSIDL : TBits_1; inline;
  711. function getICTMR : TBits_1; inline;
  712. function getON : TBits_1; inline;
  713. function getSIDL : TBits_1; inline;
  714. function getw : TBits_32; inline;
  715. procedure setC32(thebits : TBits_1); inline;
  716. procedure setFEDGE(thebits : TBits_1); inline;
  717. procedure setICBNE(thebits : TBits_1); inline;
  718. procedure setICI(thebits : TBits_2); inline;
  719. procedure setICI0(thebits : TBits_1); inline;
  720. procedure setICI1(thebits : TBits_1); inline;
  721. procedure setICM(thebits : TBits_3); inline;
  722. procedure setICM0(thebits : TBits_1); inline;
  723. procedure setICM1(thebits : TBits_1); inline;
  724. procedure setICM2(thebits : TBits_1); inline;
  725. procedure setICOV(thebits : TBits_1); inline;
  726. procedure setICSIDL(thebits : TBits_1); inline;
  727. procedure setICTMR(thebits : TBits_1); inline;
  728. procedure setON(thebits : TBits_1); inline;
  729. procedure setSIDL(thebits : TBits_1); inline;
  730. procedure setw(thebits : TBits_32); inline;
  731. public
  732. procedure clearC32; inline;
  733. procedure clearFEDGE; inline;
  734. procedure clearICBNE; inline;
  735. procedure clearICI0; inline;
  736. procedure clearICI1; inline;
  737. procedure clearICM0; inline;
  738. procedure clearICM1; inline;
  739. procedure clearICM2; inline;
  740. procedure clearICOV; inline;
  741. procedure clearICSIDL; inline;
  742. procedure clearICTMR; inline;
  743. procedure clearON; inline;
  744. procedure clearSIDL; inline;
  745. procedure setC32; inline;
  746. procedure setFEDGE; inline;
  747. procedure setICBNE; inline;
  748. procedure setICI0; inline;
  749. procedure setICI1; inline;
  750. procedure setICM0; inline;
  751. procedure setICM1; inline;
  752. procedure setICM2; inline;
  753. procedure setICOV; inline;
  754. procedure setICSIDL; inline;
  755. procedure setICTMR; inline;
  756. procedure setON; inline;
  757. procedure setSIDL; inline;
  758. property C32 : TBits_1 read getC32 write setC32;
  759. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  760. property ICBNE : TBits_1 read getICBNE write setICBNE;
  761. property ICI : TBits_2 read getICI write setICI;
  762. property ICI0 : TBits_1 read getICI0 write setICI0;
  763. property ICI1 : TBits_1 read getICI1 write setICI1;
  764. property ICM : TBits_3 read getICM write setICM;
  765. property ICM0 : TBits_1 read getICM0 write setICM0;
  766. property ICM1 : TBits_1 read getICM1 write setICM1;
  767. property ICM2 : TBits_1 read getICM2 write setICM2;
  768. property ICOV : TBits_1 read getICOV write setICOV;
  769. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  770. property ICTMR : TBits_1 read getICTMR write setICTMR;
  771. property ON : TBits_1 read getON write setON;
  772. property SIDL : TBits_1 read getSIDL write setSIDL;
  773. property w : TBits_32 read getw write setw;
  774. end;
  775. type
  776. TICAP1Registers = record
  777. IC1CONbits : TICAP1_IC1CON;
  778. IC1CON : longWord;
  779. IC1CONCLR : longWord;
  780. IC1CONSET : longWord;
  781. IC1CONINV : longWord;
  782. IC1BUF : longWord;
  783. end;
  784. TICAP2_IC2CON = record
  785. private
  786. function getC32 : TBits_1; inline;
  787. function getFEDGE : TBits_1; inline;
  788. function getICBNE : TBits_1; inline;
  789. function getICI : TBits_2; inline;
  790. function getICI0 : TBits_1; inline;
  791. function getICI1 : TBits_1; inline;
  792. function getICM : TBits_3; inline;
  793. function getICM0 : TBits_1; inline;
  794. function getICM1 : TBits_1; inline;
  795. function getICM2 : TBits_1; inline;
  796. function getICOV : TBits_1; inline;
  797. function getICSIDL : TBits_1; inline;
  798. function getICTMR : TBits_1; inline;
  799. function getON : TBits_1; inline;
  800. function getSIDL : TBits_1; inline;
  801. function getw : TBits_32; inline;
  802. procedure setC32(thebits : TBits_1); inline;
  803. procedure setFEDGE(thebits : TBits_1); inline;
  804. procedure setICBNE(thebits : TBits_1); inline;
  805. procedure setICI(thebits : TBits_2); inline;
  806. procedure setICI0(thebits : TBits_1); inline;
  807. procedure setICI1(thebits : TBits_1); inline;
  808. procedure setICM(thebits : TBits_3); inline;
  809. procedure setICM0(thebits : TBits_1); inline;
  810. procedure setICM1(thebits : TBits_1); inline;
  811. procedure setICM2(thebits : TBits_1); inline;
  812. procedure setICOV(thebits : TBits_1); inline;
  813. procedure setICSIDL(thebits : TBits_1); inline;
  814. procedure setICTMR(thebits : TBits_1); inline;
  815. procedure setON(thebits : TBits_1); inline;
  816. procedure setSIDL(thebits : TBits_1); inline;
  817. procedure setw(thebits : TBits_32); inline;
  818. public
  819. procedure clearC32; inline;
  820. procedure clearFEDGE; inline;
  821. procedure clearICBNE; inline;
  822. procedure clearICI0; inline;
  823. procedure clearICI1; inline;
  824. procedure clearICM0; inline;
  825. procedure clearICM1; inline;
  826. procedure clearICM2; inline;
  827. procedure clearICOV; inline;
  828. procedure clearICSIDL; inline;
  829. procedure clearICTMR; inline;
  830. procedure clearON; inline;
  831. procedure clearSIDL; inline;
  832. procedure setC32; inline;
  833. procedure setFEDGE; inline;
  834. procedure setICBNE; inline;
  835. procedure setICI0; inline;
  836. procedure setICI1; inline;
  837. procedure setICM0; inline;
  838. procedure setICM1; inline;
  839. procedure setICM2; inline;
  840. procedure setICOV; inline;
  841. procedure setICSIDL; inline;
  842. procedure setICTMR; inline;
  843. procedure setON; inline;
  844. procedure setSIDL; inline;
  845. property C32 : TBits_1 read getC32 write setC32;
  846. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  847. property ICBNE : TBits_1 read getICBNE write setICBNE;
  848. property ICI : TBits_2 read getICI write setICI;
  849. property ICI0 : TBits_1 read getICI0 write setICI0;
  850. property ICI1 : TBits_1 read getICI1 write setICI1;
  851. property ICM : TBits_3 read getICM write setICM;
  852. property ICM0 : TBits_1 read getICM0 write setICM0;
  853. property ICM1 : TBits_1 read getICM1 write setICM1;
  854. property ICM2 : TBits_1 read getICM2 write setICM2;
  855. property ICOV : TBits_1 read getICOV write setICOV;
  856. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  857. property ICTMR : TBits_1 read getICTMR write setICTMR;
  858. property ON : TBits_1 read getON write setON;
  859. property SIDL : TBits_1 read getSIDL write setSIDL;
  860. property w : TBits_32 read getw write setw;
  861. end;
  862. type
  863. TICAP2Registers = record
  864. IC2CONbits : TICAP2_IC2CON;
  865. IC2CON : longWord;
  866. IC2CONCLR : longWord;
  867. IC2CONSET : longWord;
  868. IC2CONINV : longWord;
  869. IC2BUF : longWord;
  870. end;
  871. TICAP3_IC3CON = record
  872. private
  873. function getC32 : TBits_1; inline;
  874. function getFEDGE : TBits_1; inline;
  875. function getICBNE : TBits_1; inline;
  876. function getICI : TBits_2; inline;
  877. function getICI0 : TBits_1; inline;
  878. function getICI1 : TBits_1; inline;
  879. function getICM : TBits_3; inline;
  880. function getICM0 : TBits_1; inline;
  881. function getICM1 : TBits_1; inline;
  882. function getICM2 : TBits_1; inline;
  883. function getICOV : TBits_1; inline;
  884. function getICSIDL : TBits_1; inline;
  885. function getICTMR : TBits_1; inline;
  886. function getON : TBits_1; inline;
  887. function getSIDL : TBits_1; inline;
  888. function getw : TBits_32; inline;
  889. procedure setC32(thebits : TBits_1); inline;
  890. procedure setFEDGE(thebits : TBits_1); inline;
  891. procedure setICBNE(thebits : TBits_1); inline;
  892. procedure setICI(thebits : TBits_2); inline;
  893. procedure setICI0(thebits : TBits_1); inline;
  894. procedure setICI1(thebits : TBits_1); inline;
  895. procedure setICM(thebits : TBits_3); inline;
  896. procedure setICM0(thebits : TBits_1); inline;
  897. procedure setICM1(thebits : TBits_1); inline;
  898. procedure setICM2(thebits : TBits_1); inline;
  899. procedure setICOV(thebits : TBits_1); inline;
  900. procedure setICSIDL(thebits : TBits_1); inline;
  901. procedure setICTMR(thebits : TBits_1); inline;
  902. procedure setON(thebits : TBits_1); inline;
  903. procedure setSIDL(thebits : TBits_1); inline;
  904. procedure setw(thebits : TBits_32); inline;
  905. public
  906. procedure clearC32; inline;
  907. procedure clearFEDGE; inline;
  908. procedure clearICBNE; inline;
  909. procedure clearICI0; inline;
  910. procedure clearICI1; inline;
  911. procedure clearICM0; inline;
  912. procedure clearICM1; inline;
  913. procedure clearICM2; inline;
  914. procedure clearICOV; inline;
  915. procedure clearICSIDL; inline;
  916. procedure clearICTMR; inline;
  917. procedure clearON; inline;
  918. procedure clearSIDL; inline;
  919. procedure setC32; inline;
  920. procedure setFEDGE; inline;
  921. procedure setICBNE; inline;
  922. procedure setICI0; inline;
  923. procedure setICI1; inline;
  924. procedure setICM0; inline;
  925. procedure setICM1; inline;
  926. procedure setICM2; inline;
  927. procedure setICOV; inline;
  928. procedure setICSIDL; inline;
  929. procedure setICTMR; inline;
  930. procedure setON; inline;
  931. procedure setSIDL; inline;
  932. property C32 : TBits_1 read getC32 write setC32;
  933. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  934. property ICBNE : TBits_1 read getICBNE write setICBNE;
  935. property ICI : TBits_2 read getICI write setICI;
  936. property ICI0 : TBits_1 read getICI0 write setICI0;
  937. property ICI1 : TBits_1 read getICI1 write setICI1;
  938. property ICM : TBits_3 read getICM write setICM;
  939. property ICM0 : TBits_1 read getICM0 write setICM0;
  940. property ICM1 : TBits_1 read getICM1 write setICM1;
  941. property ICM2 : TBits_1 read getICM2 write setICM2;
  942. property ICOV : TBits_1 read getICOV write setICOV;
  943. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  944. property ICTMR : TBits_1 read getICTMR write setICTMR;
  945. property ON : TBits_1 read getON write setON;
  946. property SIDL : TBits_1 read getSIDL write setSIDL;
  947. property w : TBits_32 read getw write setw;
  948. end;
  949. type
  950. TICAP3Registers = record
  951. IC3CONbits : TICAP3_IC3CON;
  952. IC3CON : longWord;
  953. IC3CONCLR : longWord;
  954. IC3CONSET : longWord;
  955. IC3CONINV : longWord;
  956. IC3BUF : longWord;
  957. end;
  958. TICAP4_IC4CON = record
  959. private
  960. function getC32 : TBits_1; inline;
  961. function getFEDGE : TBits_1; inline;
  962. function getICBNE : TBits_1; inline;
  963. function getICI : TBits_2; inline;
  964. function getICI0 : TBits_1; inline;
  965. function getICI1 : TBits_1; inline;
  966. function getICM : TBits_3; inline;
  967. function getICM0 : TBits_1; inline;
  968. function getICM1 : TBits_1; inline;
  969. function getICM2 : TBits_1; inline;
  970. function getICOV : TBits_1; inline;
  971. function getICSIDL : TBits_1; inline;
  972. function getICTMR : TBits_1; inline;
  973. function getON : TBits_1; inline;
  974. function getSIDL : TBits_1; inline;
  975. function getw : TBits_32; inline;
  976. procedure setC32(thebits : TBits_1); inline;
  977. procedure setFEDGE(thebits : TBits_1); inline;
  978. procedure setICBNE(thebits : TBits_1); inline;
  979. procedure setICI(thebits : TBits_2); inline;
  980. procedure setICI0(thebits : TBits_1); inline;
  981. procedure setICI1(thebits : TBits_1); inline;
  982. procedure setICM(thebits : TBits_3); inline;
  983. procedure setICM0(thebits : TBits_1); inline;
  984. procedure setICM1(thebits : TBits_1); inline;
  985. procedure setICM2(thebits : TBits_1); inline;
  986. procedure setICOV(thebits : TBits_1); inline;
  987. procedure setICSIDL(thebits : TBits_1); inline;
  988. procedure setICTMR(thebits : TBits_1); inline;
  989. procedure setON(thebits : TBits_1); inline;
  990. procedure setSIDL(thebits : TBits_1); inline;
  991. procedure setw(thebits : TBits_32); inline;
  992. public
  993. procedure clearC32; inline;
  994. procedure clearFEDGE; inline;
  995. procedure clearICBNE; inline;
  996. procedure clearICI0; inline;
  997. procedure clearICI1; inline;
  998. procedure clearICM0; inline;
  999. procedure clearICM1; inline;
  1000. procedure clearICM2; inline;
  1001. procedure clearICOV; inline;
  1002. procedure clearICSIDL; inline;
  1003. procedure clearICTMR; inline;
  1004. procedure clearON; inline;
  1005. procedure clearSIDL; inline;
  1006. procedure setC32; inline;
  1007. procedure setFEDGE; inline;
  1008. procedure setICBNE; inline;
  1009. procedure setICI0; inline;
  1010. procedure setICI1; inline;
  1011. procedure setICM0; inline;
  1012. procedure setICM1; inline;
  1013. procedure setICM2; inline;
  1014. procedure setICOV; inline;
  1015. procedure setICSIDL; inline;
  1016. procedure setICTMR; inline;
  1017. procedure setON; inline;
  1018. procedure setSIDL; inline;
  1019. property C32 : TBits_1 read getC32 write setC32;
  1020. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1021. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1022. property ICI : TBits_2 read getICI write setICI;
  1023. property ICI0 : TBits_1 read getICI0 write setICI0;
  1024. property ICI1 : TBits_1 read getICI1 write setICI1;
  1025. property ICM : TBits_3 read getICM write setICM;
  1026. property ICM0 : TBits_1 read getICM0 write setICM0;
  1027. property ICM1 : TBits_1 read getICM1 write setICM1;
  1028. property ICM2 : TBits_1 read getICM2 write setICM2;
  1029. property ICOV : TBits_1 read getICOV write setICOV;
  1030. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1031. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1032. property ON : TBits_1 read getON write setON;
  1033. property SIDL : TBits_1 read getSIDL write setSIDL;
  1034. property w : TBits_32 read getw write setw;
  1035. end;
  1036. type
  1037. TICAP4Registers = record
  1038. IC4CONbits : TICAP4_IC4CON;
  1039. IC4CON : longWord;
  1040. IC4CONCLR : longWord;
  1041. IC4CONSET : longWord;
  1042. IC4CONINV : longWord;
  1043. IC4BUF : longWord;
  1044. end;
  1045. TICAP5_IC5CON = record
  1046. private
  1047. function getC32 : TBits_1; inline;
  1048. function getFEDGE : TBits_1; inline;
  1049. function getICBNE : TBits_1; inline;
  1050. function getICI : TBits_2; inline;
  1051. function getICI0 : TBits_1; inline;
  1052. function getICI1 : TBits_1; inline;
  1053. function getICM : TBits_3; inline;
  1054. function getICM0 : TBits_1; inline;
  1055. function getICM1 : TBits_1; inline;
  1056. function getICM2 : TBits_1; inline;
  1057. function getICOV : TBits_1; inline;
  1058. function getICSIDL : TBits_1; inline;
  1059. function getICTMR : TBits_1; inline;
  1060. function getON : TBits_1; inline;
  1061. function getSIDL : TBits_1; inline;
  1062. function getw : TBits_32; inline;
  1063. procedure setC32(thebits : TBits_1); inline;
  1064. procedure setFEDGE(thebits : TBits_1); inline;
  1065. procedure setICBNE(thebits : TBits_1); inline;
  1066. procedure setICI(thebits : TBits_2); inline;
  1067. procedure setICI0(thebits : TBits_1); inline;
  1068. procedure setICI1(thebits : TBits_1); inline;
  1069. procedure setICM(thebits : TBits_3); inline;
  1070. procedure setICM0(thebits : TBits_1); inline;
  1071. procedure setICM1(thebits : TBits_1); inline;
  1072. procedure setICM2(thebits : TBits_1); inline;
  1073. procedure setICOV(thebits : TBits_1); inline;
  1074. procedure setICSIDL(thebits : TBits_1); inline;
  1075. procedure setICTMR(thebits : TBits_1); inline;
  1076. procedure setON(thebits : TBits_1); inline;
  1077. procedure setSIDL(thebits : TBits_1); inline;
  1078. procedure setw(thebits : TBits_32); inline;
  1079. public
  1080. procedure clearC32; inline;
  1081. procedure clearFEDGE; inline;
  1082. procedure clearICBNE; inline;
  1083. procedure clearICI0; inline;
  1084. procedure clearICI1; inline;
  1085. procedure clearICM0; inline;
  1086. procedure clearICM1; inline;
  1087. procedure clearICM2; inline;
  1088. procedure clearICOV; inline;
  1089. procedure clearICSIDL; inline;
  1090. procedure clearICTMR; inline;
  1091. procedure clearON; inline;
  1092. procedure clearSIDL; inline;
  1093. procedure setC32; inline;
  1094. procedure setFEDGE; inline;
  1095. procedure setICBNE; inline;
  1096. procedure setICI0; inline;
  1097. procedure setICI1; inline;
  1098. procedure setICM0; inline;
  1099. procedure setICM1; inline;
  1100. procedure setICM2; inline;
  1101. procedure setICOV; inline;
  1102. procedure setICSIDL; inline;
  1103. procedure setICTMR; inline;
  1104. procedure setON; inline;
  1105. procedure setSIDL; inline;
  1106. property C32 : TBits_1 read getC32 write setC32;
  1107. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1108. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1109. property ICI : TBits_2 read getICI write setICI;
  1110. property ICI0 : TBits_1 read getICI0 write setICI0;
  1111. property ICI1 : TBits_1 read getICI1 write setICI1;
  1112. property ICM : TBits_3 read getICM write setICM;
  1113. property ICM0 : TBits_1 read getICM0 write setICM0;
  1114. property ICM1 : TBits_1 read getICM1 write setICM1;
  1115. property ICM2 : TBits_1 read getICM2 write setICM2;
  1116. property ICOV : TBits_1 read getICOV write setICOV;
  1117. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1118. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1119. property ON : TBits_1 read getON write setON;
  1120. property SIDL : TBits_1 read getSIDL write setSIDL;
  1121. property w : TBits_32 read getw write setw;
  1122. end;
  1123. type
  1124. TICAP5Registers = record
  1125. IC5CONbits : TICAP5_IC5CON;
  1126. IC5CON : longWord;
  1127. IC5CONCLR : longWord;
  1128. IC5CONSET : longWord;
  1129. IC5CONINV : longWord;
  1130. IC5BUF : longWord;
  1131. end;
  1132. TOCMP1_OC1CON = record
  1133. private
  1134. function getOC32 : TBits_1; inline;
  1135. function getOCFLT : TBits_1; inline;
  1136. function getOCM : TBits_3; inline;
  1137. function getOCM0 : TBits_1; inline;
  1138. function getOCM1 : TBits_1; inline;
  1139. function getOCM2 : TBits_1; inline;
  1140. function getOCSIDL : TBits_1; inline;
  1141. function getOCTSEL : TBits_1; inline;
  1142. function getON : TBits_1; inline;
  1143. function getSIDL : TBits_1; inline;
  1144. function getw : TBits_32; inline;
  1145. procedure setOC32(thebits : TBits_1); inline;
  1146. procedure setOCFLT(thebits : TBits_1); inline;
  1147. procedure setOCM(thebits : TBits_3); inline;
  1148. procedure setOCM0(thebits : TBits_1); inline;
  1149. procedure setOCM1(thebits : TBits_1); inline;
  1150. procedure setOCM2(thebits : TBits_1); inline;
  1151. procedure setOCSIDL(thebits : TBits_1); inline;
  1152. procedure setOCTSEL(thebits : TBits_1); inline;
  1153. procedure setON(thebits : TBits_1); inline;
  1154. procedure setSIDL(thebits : TBits_1); inline;
  1155. procedure setw(thebits : TBits_32); inline;
  1156. public
  1157. procedure clearOC32; inline;
  1158. procedure clearOCFLT; inline;
  1159. procedure clearOCM0; inline;
  1160. procedure clearOCM1; inline;
  1161. procedure clearOCM2; inline;
  1162. procedure clearOCSIDL; inline;
  1163. procedure clearOCTSEL; inline;
  1164. procedure clearON; inline;
  1165. procedure clearSIDL; inline;
  1166. procedure setOC32; inline;
  1167. procedure setOCFLT; inline;
  1168. procedure setOCM0; inline;
  1169. procedure setOCM1; inline;
  1170. procedure setOCM2; inline;
  1171. procedure setOCSIDL; inline;
  1172. procedure setOCTSEL; inline;
  1173. procedure setON; inline;
  1174. procedure setSIDL; inline;
  1175. property OC32 : TBits_1 read getOC32 write setOC32;
  1176. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1177. property OCM : TBits_3 read getOCM write setOCM;
  1178. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1179. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1180. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1181. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1182. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1183. property ON : TBits_1 read getON write setON;
  1184. property SIDL : TBits_1 read getSIDL write setSIDL;
  1185. property w : TBits_32 read getw write setw;
  1186. end;
  1187. type
  1188. TOCMP1Registers = record
  1189. OC1CONbits : TOCMP1_OC1CON;
  1190. OC1CON : longWord;
  1191. OC1CONCLR : longWord;
  1192. OC1CONSET : longWord;
  1193. OC1CONINV : longWord;
  1194. OC1R : longWord;
  1195. OC1RCLR : longWord;
  1196. OC1RSET : longWord;
  1197. OC1RINV : longWord;
  1198. OC1RS : longWord;
  1199. OC1RSCLR : longWord;
  1200. OC1RSSET : longWord;
  1201. OC1RSINV : longWord;
  1202. end;
  1203. TOCMP2_OC2CON = record
  1204. private
  1205. function getOC32 : TBits_1; inline;
  1206. function getOCFLT : TBits_1; inline;
  1207. function getOCM : TBits_3; inline;
  1208. function getOCM0 : TBits_1; inline;
  1209. function getOCM1 : TBits_1; inline;
  1210. function getOCM2 : TBits_1; inline;
  1211. function getOCSIDL : TBits_1; inline;
  1212. function getOCTSEL : TBits_1; inline;
  1213. function getON : TBits_1; inline;
  1214. function getSIDL : TBits_1; inline;
  1215. function getw : TBits_32; inline;
  1216. procedure setOC32(thebits : TBits_1); inline;
  1217. procedure setOCFLT(thebits : TBits_1); inline;
  1218. procedure setOCM(thebits : TBits_3); inline;
  1219. procedure setOCM0(thebits : TBits_1); inline;
  1220. procedure setOCM1(thebits : TBits_1); inline;
  1221. procedure setOCM2(thebits : TBits_1); inline;
  1222. procedure setOCSIDL(thebits : TBits_1); inline;
  1223. procedure setOCTSEL(thebits : TBits_1); inline;
  1224. procedure setON(thebits : TBits_1); inline;
  1225. procedure setSIDL(thebits : TBits_1); inline;
  1226. procedure setw(thebits : TBits_32); inline;
  1227. public
  1228. procedure clearOC32; inline;
  1229. procedure clearOCFLT; inline;
  1230. procedure clearOCM0; inline;
  1231. procedure clearOCM1; inline;
  1232. procedure clearOCM2; inline;
  1233. procedure clearOCSIDL; inline;
  1234. procedure clearOCTSEL; inline;
  1235. procedure clearON; inline;
  1236. procedure clearSIDL; inline;
  1237. procedure setOC32; inline;
  1238. procedure setOCFLT; inline;
  1239. procedure setOCM0; inline;
  1240. procedure setOCM1; inline;
  1241. procedure setOCM2; inline;
  1242. procedure setOCSIDL; inline;
  1243. procedure setOCTSEL; inline;
  1244. procedure setON; inline;
  1245. procedure setSIDL; inline;
  1246. property OC32 : TBits_1 read getOC32 write setOC32;
  1247. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1248. property OCM : TBits_3 read getOCM write setOCM;
  1249. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1250. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1251. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1252. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1253. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1254. property ON : TBits_1 read getON write setON;
  1255. property SIDL : TBits_1 read getSIDL write setSIDL;
  1256. property w : TBits_32 read getw write setw;
  1257. end;
  1258. type
  1259. TOCMP2Registers = record
  1260. OC2CONbits : TOCMP2_OC2CON;
  1261. OC2CON : longWord;
  1262. OC2CONCLR : longWord;
  1263. OC2CONSET : longWord;
  1264. OC2CONINV : longWord;
  1265. OC2R : longWord;
  1266. OC2RCLR : longWord;
  1267. OC2RSET : longWord;
  1268. OC2RINV : longWord;
  1269. OC2RS : longWord;
  1270. OC2RSCLR : longWord;
  1271. OC2RSSET : longWord;
  1272. OC2RSINV : longWord;
  1273. end;
  1274. TOCMP3_OC3CON = record
  1275. private
  1276. function getOC32 : TBits_1; inline;
  1277. function getOCFLT : TBits_1; inline;
  1278. function getOCM : TBits_3; inline;
  1279. function getOCM0 : TBits_1; inline;
  1280. function getOCM1 : TBits_1; inline;
  1281. function getOCM2 : TBits_1; inline;
  1282. function getOCSIDL : TBits_1; inline;
  1283. function getOCTSEL : TBits_1; inline;
  1284. function getON : TBits_1; inline;
  1285. function getSIDL : TBits_1; inline;
  1286. function getw : TBits_32; inline;
  1287. procedure setOC32(thebits : TBits_1); inline;
  1288. procedure setOCFLT(thebits : TBits_1); inline;
  1289. procedure setOCM(thebits : TBits_3); inline;
  1290. procedure setOCM0(thebits : TBits_1); inline;
  1291. procedure setOCM1(thebits : TBits_1); inline;
  1292. procedure setOCM2(thebits : TBits_1); inline;
  1293. procedure setOCSIDL(thebits : TBits_1); inline;
  1294. procedure setOCTSEL(thebits : TBits_1); inline;
  1295. procedure setON(thebits : TBits_1); inline;
  1296. procedure setSIDL(thebits : TBits_1); inline;
  1297. procedure setw(thebits : TBits_32); inline;
  1298. public
  1299. procedure clearOC32; inline;
  1300. procedure clearOCFLT; inline;
  1301. procedure clearOCM0; inline;
  1302. procedure clearOCM1; inline;
  1303. procedure clearOCM2; inline;
  1304. procedure clearOCSIDL; inline;
  1305. procedure clearOCTSEL; inline;
  1306. procedure clearON; inline;
  1307. procedure clearSIDL; inline;
  1308. procedure setOC32; inline;
  1309. procedure setOCFLT; inline;
  1310. procedure setOCM0; inline;
  1311. procedure setOCM1; inline;
  1312. procedure setOCM2; inline;
  1313. procedure setOCSIDL; inline;
  1314. procedure setOCTSEL; inline;
  1315. procedure setON; inline;
  1316. procedure setSIDL; inline;
  1317. property OC32 : TBits_1 read getOC32 write setOC32;
  1318. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1319. property OCM : TBits_3 read getOCM write setOCM;
  1320. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1321. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1322. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1323. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1324. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1325. property ON : TBits_1 read getON write setON;
  1326. property SIDL : TBits_1 read getSIDL write setSIDL;
  1327. property w : TBits_32 read getw write setw;
  1328. end;
  1329. type
  1330. TOCMP3Registers = record
  1331. OC3CONbits : TOCMP3_OC3CON;
  1332. OC3CON : longWord;
  1333. OC3CONCLR : longWord;
  1334. OC3CONSET : longWord;
  1335. OC3CONINV : longWord;
  1336. OC3R : longWord;
  1337. OC3RCLR : longWord;
  1338. OC3RSET : longWord;
  1339. OC3RINV : longWord;
  1340. OC3RS : longWord;
  1341. OC3RSCLR : longWord;
  1342. OC3RSSET : longWord;
  1343. OC3RSINV : longWord;
  1344. end;
  1345. TOCMP4_OC4CON = record
  1346. private
  1347. function getOC32 : TBits_1; inline;
  1348. function getOCFLT : TBits_1; inline;
  1349. function getOCM : TBits_3; inline;
  1350. function getOCM0 : TBits_1; inline;
  1351. function getOCM1 : TBits_1; inline;
  1352. function getOCM2 : TBits_1; inline;
  1353. function getOCSIDL : TBits_1; inline;
  1354. function getOCTSEL : TBits_1; inline;
  1355. function getON : TBits_1; inline;
  1356. function getSIDL : TBits_1; inline;
  1357. function getw : TBits_32; inline;
  1358. procedure setOC32(thebits : TBits_1); inline;
  1359. procedure setOCFLT(thebits : TBits_1); inline;
  1360. procedure setOCM(thebits : TBits_3); inline;
  1361. procedure setOCM0(thebits : TBits_1); inline;
  1362. procedure setOCM1(thebits : TBits_1); inline;
  1363. procedure setOCM2(thebits : TBits_1); inline;
  1364. procedure setOCSIDL(thebits : TBits_1); inline;
  1365. procedure setOCTSEL(thebits : TBits_1); inline;
  1366. procedure setON(thebits : TBits_1); inline;
  1367. procedure setSIDL(thebits : TBits_1); inline;
  1368. procedure setw(thebits : TBits_32); inline;
  1369. public
  1370. procedure clearOC32; inline;
  1371. procedure clearOCFLT; inline;
  1372. procedure clearOCM0; inline;
  1373. procedure clearOCM1; inline;
  1374. procedure clearOCM2; inline;
  1375. procedure clearOCSIDL; inline;
  1376. procedure clearOCTSEL; inline;
  1377. procedure clearON; inline;
  1378. procedure clearSIDL; inline;
  1379. procedure setOC32; inline;
  1380. procedure setOCFLT; inline;
  1381. procedure setOCM0; inline;
  1382. procedure setOCM1; inline;
  1383. procedure setOCM2; inline;
  1384. procedure setOCSIDL; inline;
  1385. procedure setOCTSEL; inline;
  1386. procedure setON; inline;
  1387. procedure setSIDL; inline;
  1388. property OC32 : TBits_1 read getOC32 write setOC32;
  1389. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1390. property OCM : TBits_3 read getOCM write setOCM;
  1391. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1392. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1393. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1394. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1395. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1396. property ON : TBits_1 read getON write setON;
  1397. property SIDL : TBits_1 read getSIDL write setSIDL;
  1398. property w : TBits_32 read getw write setw;
  1399. end;
  1400. type
  1401. TOCMP4Registers = record
  1402. OC4CONbits : TOCMP4_OC4CON;
  1403. OC4CON : longWord;
  1404. OC4CONCLR : longWord;
  1405. OC4CONSET : longWord;
  1406. OC4CONINV : longWord;
  1407. OC4R : longWord;
  1408. OC4RCLR : longWord;
  1409. OC4RSET : longWord;
  1410. OC4RINV : longWord;
  1411. OC4RS : longWord;
  1412. OC4RSCLR : longWord;
  1413. OC4RSSET : longWord;
  1414. OC4RSINV : longWord;
  1415. end;
  1416. TOCMP5_OC5CON = record
  1417. private
  1418. function getOC32 : TBits_1; inline;
  1419. function getOCFLT : TBits_1; inline;
  1420. function getOCM : TBits_3; inline;
  1421. function getOCM0 : TBits_1; inline;
  1422. function getOCM1 : TBits_1; inline;
  1423. function getOCM2 : TBits_1; inline;
  1424. function getOCSIDL : TBits_1; inline;
  1425. function getOCTSEL : TBits_1; inline;
  1426. function getON : TBits_1; inline;
  1427. function getSIDL : TBits_1; inline;
  1428. function getw : TBits_32; inline;
  1429. procedure setOC32(thebits : TBits_1); inline;
  1430. procedure setOCFLT(thebits : TBits_1); inline;
  1431. procedure setOCM(thebits : TBits_3); inline;
  1432. procedure setOCM0(thebits : TBits_1); inline;
  1433. procedure setOCM1(thebits : TBits_1); inline;
  1434. procedure setOCM2(thebits : TBits_1); inline;
  1435. procedure setOCSIDL(thebits : TBits_1); inline;
  1436. procedure setOCTSEL(thebits : TBits_1); inline;
  1437. procedure setON(thebits : TBits_1); inline;
  1438. procedure setSIDL(thebits : TBits_1); inline;
  1439. procedure setw(thebits : TBits_32); inline;
  1440. public
  1441. procedure clearOC32; inline;
  1442. procedure clearOCFLT; inline;
  1443. procedure clearOCM0; inline;
  1444. procedure clearOCM1; inline;
  1445. procedure clearOCM2; inline;
  1446. procedure clearOCSIDL; inline;
  1447. procedure clearOCTSEL; inline;
  1448. procedure clearON; inline;
  1449. procedure clearSIDL; inline;
  1450. procedure setOC32; inline;
  1451. procedure setOCFLT; inline;
  1452. procedure setOCM0; inline;
  1453. procedure setOCM1; inline;
  1454. procedure setOCM2; inline;
  1455. procedure setOCSIDL; inline;
  1456. procedure setOCTSEL; inline;
  1457. procedure setON; inline;
  1458. procedure setSIDL; inline;
  1459. property OC32 : TBits_1 read getOC32 write setOC32;
  1460. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1461. property OCM : TBits_3 read getOCM write setOCM;
  1462. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1463. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1464. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1465. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1466. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1467. property ON : TBits_1 read getON write setON;
  1468. property SIDL : TBits_1 read getSIDL write setSIDL;
  1469. property w : TBits_32 read getw write setw;
  1470. end;
  1471. type
  1472. TOCMP5Registers = record
  1473. OC5CONbits : TOCMP5_OC5CON;
  1474. OC5CON : longWord;
  1475. OC5CONCLR : longWord;
  1476. OC5CONSET : longWord;
  1477. OC5CONINV : longWord;
  1478. OC5R : longWord;
  1479. OC5RCLR : longWord;
  1480. OC5RSET : longWord;
  1481. OC5RINV : longWord;
  1482. OC5RS : longWord;
  1483. OC5RSCLR : longWord;
  1484. OC5RSSET : longWord;
  1485. OC5RSINV : longWord;
  1486. end;
  1487. TI2C1_I2C1ACON = record
  1488. private
  1489. function getA10M : TBits_1; inline;
  1490. function getACKDT : TBits_1; inline;
  1491. function getACKEN : TBits_1; inline;
  1492. function getDISSLW : TBits_1; inline;
  1493. function getGCEN : TBits_1; inline;
  1494. function getI2CEN : TBits_1; inline;
  1495. function getI2CSIDL : TBits_1; inline;
  1496. function getIPMIEN : TBits_1; inline;
  1497. function getON : TBits_1; inline;
  1498. function getPEN : TBits_1; inline;
  1499. function getRCEN : TBits_1; inline;
  1500. function getRSEN : TBits_1; inline;
  1501. function getSCLREL : TBits_1; inline;
  1502. function getSEN : TBits_1; inline;
  1503. function getSIDL : TBits_1; inline;
  1504. function getSMEN : TBits_1; inline;
  1505. function getSTREN : TBits_1; inline;
  1506. function getSTRICT : TBits_1; inline;
  1507. function getw : TBits_32; inline;
  1508. procedure setA10M(thebits : TBits_1); inline;
  1509. procedure setACKDT(thebits : TBits_1); inline;
  1510. procedure setACKEN(thebits : TBits_1); inline;
  1511. procedure setDISSLW(thebits : TBits_1); inline;
  1512. procedure setGCEN(thebits : TBits_1); inline;
  1513. procedure setI2CEN(thebits : TBits_1); inline;
  1514. procedure setI2CSIDL(thebits : TBits_1); inline;
  1515. procedure setIPMIEN(thebits : TBits_1); inline;
  1516. procedure setON(thebits : TBits_1); inline;
  1517. procedure setPEN(thebits : TBits_1); inline;
  1518. procedure setRCEN(thebits : TBits_1); inline;
  1519. procedure setRSEN(thebits : TBits_1); inline;
  1520. procedure setSCLREL(thebits : TBits_1); inline;
  1521. procedure setSEN(thebits : TBits_1); inline;
  1522. procedure setSIDL(thebits : TBits_1); inline;
  1523. procedure setSMEN(thebits : TBits_1); inline;
  1524. procedure setSTREN(thebits : TBits_1); inline;
  1525. procedure setSTRICT(thebits : TBits_1); inline;
  1526. procedure setw(thebits : TBits_32); inline;
  1527. public
  1528. procedure clearA10M; inline;
  1529. procedure clearACKDT; inline;
  1530. procedure clearACKEN; inline;
  1531. procedure clearDISSLW; inline;
  1532. procedure clearGCEN; inline;
  1533. procedure clearI2CEN; inline;
  1534. procedure clearI2CSIDL; inline;
  1535. procedure clearIPMIEN; inline;
  1536. procedure clearON; inline;
  1537. procedure clearPEN; inline;
  1538. procedure clearRCEN; inline;
  1539. procedure clearRSEN; inline;
  1540. procedure clearSCLREL; inline;
  1541. procedure clearSEN; inline;
  1542. procedure clearSIDL; inline;
  1543. procedure clearSMEN; inline;
  1544. procedure clearSTREN; inline;
  1545. procedure clearSTRICT; inline;
  1546. procedure setA10M; inline;
  1547. procedure setACKDT; inline;
  1548. procedure setACKEN; inline;
  1549. procedure setDISSLW; inline;
  1550. procedure setGCEN; inline;
  1551. procedure setI2CEN; inline;
  1552. procedure setI2CSIDL; inline;
  1553. procedure setIPMIEN; inline;
  1554. procedure setON; inline;
  1555. procedure setPEN; inline;
  1556. procedure setRCEN; inline;
  1557. procedure setRSEN; inline;
  1558. procedure setSCLREL; inline;
  1559. procedure setSEN; inline;
  1560. procedure setSIDL; inline;
  1561. procedure setSMEN; inline;
  1562. procedure setSTREN; inline;
  1563. procedure setSTRICT; inline;
  1564. property A10M : TBits_1 read getA10M write setA10M;
  1565. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1566. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1567. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1568. property GCEN : TBits_1 read getGCEN write setGCEN;
  1569. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1570. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1571. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1572. property ON : TBits_1 read getON write setON;
  1573. property PEN : TBits_1 read getPEN write setPEN;
  1574. property RCEN : TBits_1 read getRCEN write setRCEN;
  1575. property RSEN : TBits_1 read getRSEN write setRSEN;
  1576. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1577. property SEN : TBits_1 read getSEN write setSEN;
  1578. property SIDL : TBits_1 read getSIDL write setSIDL;
  1579. property SMEN : TBits_1 read getSMEN write setSMEN;
  1580. property STREN : TBits_1 read getSTREN write setSTREN;
  1581. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1582. property w : TBits_32 read getw write setw;
  1583. end;
  1584. TI2C1_I2C1CON = record
  1585. private
  1586. function getA10M : TBits_1; inline;
  1587. function getACKDT : TBits_1; inline;
  1588. function getACKEN : TBits_1; inline;
  1589. function getDISSLW : TBits_1; inline;
  1590. function getGCEN : TBits_1; inline;
  1591. function getI2CEN : TBits_1; inline;
  1592. function getI2CSIDL : TBits_1; inline;
  1593. function getIPMIEN : TBits_1; inline;
  1594. function getON : TBits_1; inline;
  1595. function getPEN : TBits_1; inline;
  1596. function getRCEN : TBits_1; inline;
  1597. function getRSEN : TBits_1; inline;
  1598. function getSCLREL : TBits_1; inline;
  1599. function getSEN : TBits_1; inline;
  1600. function getSIDL : TBits_1; inline;
  1601. function getSMEN : TBits_1; inline;
  1602. function getSTREN : TBits_1; inline;
  1603. function getSTRICT : TBits_1; inline;
  1604. function getw : TBits_32; inline;
  1605. procedure setA10M(thebits : TBits_1); inline;
  1606. procedure setACKDT(thebits : TBits_1); inline;
  1607. procedure setACKEN(thebits : TBits_1); inline;
  1608. procedure setDISSLW(thebits : TBits_1); inline;
  1609. procedure setGCEN(thebits : TBits_1); inline;
  1610. procedure setI2CEN(thebits : TBits_1); inline;
  1611. procedure setI2CSIDL(thebits : TBits_1); inline;
  1612. procedure setIPMIEN(thebits : TBits_1); inline;
  1613. procedure setON(thebits : TBits_1); inline;
  1614. procedure setPEN(thebits : TBits_1); inline;
  1615. procedure setRCEN(thebits : TBits_1); inline;
  1616. procedure setRSEN(thebits : TBits_1); inline;
  1617. procedure setSCLREL(thebits : TBits_1); inline;
  1618. procedure setSEN(thebits : TBits_1); inline;
  1619. procedure setSIDL(thebits : TBits_1); inline;
  1620. procedure setSMEN(thebits : TBits_1); inline;
  1621. procedure setSTREN(thebits : TBits_1); inline;
  1622. procedure setSTRICT(thebits : TBits_1); inline;
  1623. procedure setw(thebits : TBits_32); inline;
  1624. public
  1625. procedure clearA10M; inline;
  1626. procedure clearACKDT; inline;
  1627. procedure clearACKEN; inline;
  1628. procedure clearDISSLW; inline;
  1629. procedure clearGCEN; inline;
  1630. procedure clearI2CEN; inline;
  1631. procedure clearI2CSIDL; inline;
  1632. procedure clearIPMIEN; inline;
  1633. procedure clearON; inline;
  1634. procedure clearPEN; inline;
  1635. procedure clearRCEN; inline;
  1636. procedure clearRSEN; inline;
  1637. procedure clearSCLREL; inline;
  1638. procedure clearSEN; inline;
  1639. procedure clearSIDL; inline;
  1640. procedure clearSMEN; inline;
  1641. procedure clearSTREN; inline;
  1642. procedure clearSTRICT; inline;
  1643. procedure setA10M; inline;
  1644. procedure setACKDT; inline;
  1645. procedure setACKEN; inline;
  1646. procedure setDISSLW; inline;
  1647. procedure setGCEN; inline;
  1648. procedure setI2CEN; inline;
  1649. procedure setI2CSIDL; inline;
  1650. procedure setIPMIEN; inline;
  1651. procedure setON; inline;
  1652. procedure setPEN; inline;
  1653. procedure setRCEN; inline;
  1654. procedure setRSEN; inline;
  1655. procedure setSCLREL; inline;
  1656. procedure setSEN; inline;
  1657. procedure setSIDL; inline;
  1658. procedure setSMEN; inline;
  1659. procedure setSTREN; inline;
  1660. procedure setSTRICT; inline;
  1661. property A10M : TBits_1 read getA10M write setA10M;
  1662. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1663. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1664. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1665. property GCEN : TBits_1 read getGCEN write setGCEN;
  1666. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1667. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1668. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1669. property ON : TBits_1 read getON write setON;
  1670. property PEN : TBits_1 read getPEN write setPEN;
  1671. property RCEN : TBits_1 read getRCEN write setRCEN;
  1672. property RSEN : TBits_1 read getRSEN write setRSEN;
  1673. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1674. property SEN : TBits_1 read getSEN write setSEN;
  1675. property SIDL : TBits_1 read getSIDL write setSIDL;
  1676. property SMEN : TBits_1 read getSMEN write setSMEN;
  1677. property STREN : TBits_1 read getSTREN write setSTREN;
  1678. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1679. property w : TBits_32 read getw write setw;
  1680. end;
  1681. TI2C1_I2C1ASTAT = record
  1682. private
  1683. function getACKSTAT : TBits_1; inline;
  1684. function getADD10 : TBits_1; inline;
  1685. function getBCL : TBits_1; inline;
  1686. function getD_A : TBits_1; inline;
  1687. function getGCSTAT : TBits_1; inline;
  1688. function getI2COV : TBits_1; inline;
  1689. function getI2CPOV : TBits_1; inline;
  1690. function getIWCOL : TBits_1; inline;
  1691. function getP : TBits_1; inline;
  1692. function getRBF : TBits_1; inline;
  1693. function getR_W : TBits_1; inline;
  1694. function getS : TBits_1; inline;
  1695. function getTBF : TBits_1; inline;
  1696. function getTRSTAT : TBits_1; inline;
  1697. function getw : TBits_32; inline;
  1698. procedure setACKSTAT(thebits : TBits_1); inline;
  1699. procedure setADD10(thebits : TBits_1); inline;
  1700. procedure setBCL(thebits : TBits_1); inline;
  1701. procedure setD_A(thebits : TBits_1); inline;
  1702. procedure setGCSTAT(thebits : TBits_1); inline;
  1703. procedure setI2COV(thebits : TBits_1); inline;
  1704. procedure setI2CPOV(thebits : TBits_1); inline;
  1705. procedure setIWCOL(thebits : TBits_1); inline;
  1706. procedure setP(thebits : TBits_1); inline;
  1707. procedure setRBF(thebits : TBits_1); inline;
  1708. procedure setR_W(thebits : TBits_1); inline;
  1709. procedure setS(thebits : TBits_1); inline;
  1710. procedure setTBF(thebits : TBits_1); inline;
  1711. procedure setTRSTAT(thebits : TBits_1); inline;
  1712. procedure setw(thebits : TBits_32); inline;
  1713. public
  1714. procedure clearACKSTAT; inline;
  1715. procedure clearADD10; inline;
  1716. procedure clearBCL; inline;
  1717. procedure clearD_A; inline;
  1718. procedure clearGCSTAT; inline;
  1719. procedure clearI2COV; inline;
  1720. procedure clearI2CPOV; inline;
  1721. procedure clearIWCOL; inline;
  1722. procedure clearP; inline;
  1723. procedure clearRBF; inline;
  1724. procedure clearR_W; inline;
  1725. procedure clearS; inline;
  1726. procedure clearTBF; inline;
  1727. procedure clearTRSTAT; inline;
  1728. procedure setACKSTAT; inline;
  1729. procedure setADD10; inline;
  1730. procedure setBCL; inline;
  1731. procedure setD_A; inline;
  1732. procedure setGCSTAT; inline;
  1733. procedure setI2COV; inline;
  1734. procedure setI2CPOV; inline;
  1735. procedure setIWCOL; inline;
  1736. procedure setP; inline;
  1737. procedure setRBF; inline;
  1738. procedure setR_W; inline;
  1739. procedure setS; inline;
  1740. procedure setTBF; inline;
  1741. procedure setTRSTAT; inline;
  1742. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1743. property ADD10 : TBits_1 read getADD10 write setADD10;
  1744. property BCL : TBits_1 read getBCL write setBCL;
  1745. property D_A : TBits_1 read getD_A write setD_A;
  1746. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1747. property I2COV : TBits_1 read getI2COV write setI2COV;
  1748. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1749. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1750. property P : TBits_1 read getP write setP;
  1751. property RBF : TBits_1 read getRBF write setRBF;
  1752. property R_W : TBits_1 read getR_W write setR_W;
  1753. property S : TBits_1 read getS write setS;
  1754. property TBF : TBits_1 read getTBF write setTBF;
  1755. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1756. property w : TBits_32 read getw write setw;
  1757. end;
  1758. TI2C1_I2C1STAT = record
  1759. private
  1760. function getACKSTAT : TBits_1; inline;
  1761. function getADD10 : TBits_1; inline;
  1762. function getBCL : TBits_1; inline;
  1763. function getD_A : TBits_1; inline;
  1764. function getGCSTAT : TBits_1; inline;
  1765. function getI2COV : TBits_1; inline;
  1766. function getI2CPOV : TBits_1; inline;
  1767. function getIWCOL : TBits_1; inline;
  1768. function getP : TBits_1; inline;
  1769. function getRBF : TBits_1; inline;
  1770. function getR_W : TBits_1; inline;
  1771. function getS : TBits_1; inline;
  1772. function getTBF : TBits_1; inline;
  1773. function getTRSTAT : TBits_1; inline;
  1774. function getw : TBits_32; inline;
  1775. procedure setACKSTAT(thebits : TBits_1); inline;
  1776. procedure setADD10(thebits : TBits_1); inline;
  1777. procedure setBCL(thebits : TBits_1); inline;
  1778. procedure setD_A(thebits : TBits_1); inline;
  1779. procedure setGCSTAT(thebits : TBits_1); inline;
  1780. procedure setI2COV(thebits : TBits_1); inline;
  1781. procedure setI2CPOV(thebits : TBits_1); inline;
  1782. procedure setIWCOL(thebits : TBits_1); inline;
  1783. procedure setP(thebits : TBits_1); inline;
  1784. procedure setRBF(thebits : TBits_1); inline;
  1785. procedure setR_W(thebits : TBits_1); inline;
  1786. procedure setS(thebits : TBits_1); inline;
  1787. procedure setTBF(thebits : TBits_1); inline;
  1788. procedure setTRSTAT(thebits : TBits_1); inline;
  1789. procedure setw(thebits : TBits_32); inline;
  1790. public
  1791. procedure clearACKSTAT; inline;
  1792. procedure clearADD10; inline;
  1793. procedure clearBCL; inline;
  1794. procedure clearD_A; inline;
  1795. procedure clearGCSTAT; inline;
  1796. procedure clearI2COV; inline;
  1797. procedure clearI2CPOV; inline;
  1798. procedure clearIWCOL; inline;
  1799. procedure clearP; inline;
  1800. procedure clearRBF; inline;
  1801. procedure clearR_W; inline;
  1802. procedure clearS; inline;
  1803. procedure clearTBF; inline;
  1804. procedure clearTRSTAT; inline;
  1805. procedure setACKSTAT; inline;
  1806. procedure setADD10; inline;
  1807. procedure setBCL; inline;
  1808. procedure setD_A; inline;
  1809. procedure setGCSTAT; inline;
  1810. procedure setI2COV; inline;
  1811. procedure setI2CPOV; inline;
  1812. procedure setIWCOL; inline;
  1813. procedure setP; inline;
  1814. procedure setRBF; inline;
  1815. procedure setR_W; inline;
  1816. procedure setS; inline;
  1817. procedure setTBF; inline;
  1818. procedure setTRSTAT; inline;
  1819. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1820. property ADD10 : TBits_1 read getADD10 write setADD10;
  1821. property BCL : TBits_1 read getBCL write setBCL;
  1822. property D_A : TBits_1 read getD_A write setD_A;
  1823. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1824. property I2COV : TBits_1 read getI2COV write setI2COV;
  1825. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1826. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1827. property P : TBits_1 read getP write setP;
  1828. property RBF : TBits_1 read getRBF write setRBF;
  1829. property R_W : TBits_1 read getR_W write setR_W;
  1830. property S : TBits_1 read getS write setS;
  1831. property TBF : TBits_1 read getTBF write setTBF;
  1832. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1833. property w : TBits_32 read getw write setw;
  1834. end;
  1835. type
  1836. TI2C1Registers = record
  1837. I2C1ACONbits : TI2C1_I2C1ACON;
  1838. I2C1ACON : longWord;
  1839. I2C1CONbits : TI2C1_I2C1CON;
  1840. I2C1CON : longWord;
  1841. I2C1ACONCLR : longWord;
  1842. I2C1CONCLR : longWord;
  1843. I2C1ACONSET : longWord;
  1844. I2C1CONSET : longWord;
  1845. I2C1ACONINV : longWord;
  1846. I2C1CONINV : longWord;
  1847. I2C1ASTATbits : TI2C1_I2C1ASTAT;
  1848. I2C1ASTAT : longWord;
  1849. I2C1STATbits : TI2C1_I2C1STAT;
  1850. I2C1STAT : longWord;
  1851. I2C1ASTATCLR : longWord;
  1852. I2C1STATCLR : longWord;
  1853. I2C1ASTATSET : longWord;
  1854. I2C1STATSET : longWord;
  1855. I2C1ASTATINV : longWord;
  1856. I2C1STATINV : longWord;
  1857. I2C1AADD : longWord;
  1858. I2C1ADD : longWord;
  1859. I2C1AADDCLR : longWord;
  1860. I2C1ADDCLR : longWord;
  1861. I2C1AADDSET : longWord;
  1862. I2C1ADDSET : longWord;
  1863. I2C1AADDINV : longWord;
  1864. I2C1ADDINV : longWord;
  1865. I2C1AMSK : longWord;
  1866. I2C1MSK : longWord;
  1867. I2C1AMSKCLR : longWord;
  1868. I2C1MSKCLR : longWord;
  1869. I2C1AMSKSET : longWord;
  1870. I2C1MSKSET : longWord;
  1871. I2C1AMSKINV : longWord;
  1872. I2C1MSKINV : longWord;
  1873. I2C1ABRG : longWord;
  1874. I2C1BRG : longWord;
  1875. I2C1ABRGCLR : longWord;
  1876. I2C1BRGCLR : longWord;
  1877. I2C1ABRGSET : longWord;
  1878. I2C1BRGSET : longWord;
  1879. I2C1ABRGINV : longWord;
  1880. I2C1BRGINV : longWord;
  1881. I2C1ATRN : longWord;
  1882. I2C1TRN : longWord;
  1883. I2C1ATRNCLR : longWord;
  1884. I2C1TRNCLR : longWord;
  1885. I2C1ATRNSET : longWord;
  1886. I2C1TRNSET : longWord;
  1887. I2C1ATRNINV : longWord;
  1888. I2C1TRNINV : longWord;
  1889. I2C1ARCV : longWord;
  1890. I2C1RCV : longWord;
  1891. end;
  1892. TI2C2_I2C2ACON = record
  1893. private
  1894. function getA10M : TBits_1; inline;
  1895. function getACKDT : TBits_1; inline;
  1896. function getACKEN : TBits_1; inline;
  1897. function getDISSLW : TBits_1; inline;
  1898. function getGCEN : TBits_1; inline;
  1899. function getI2CEN : TBits_1; inline;
  1900. function getI2CSIDL : TBits_1; inline;
  1901. function getIPMIEN : TBits_1; inline;
  1902. function getON : TBits_1; inline;
  1903. function getPEN : TBits_1; inline;
  1904. function getRCEN : TBits_1; inline;
  1905. function getRSEN : TBits_1; inline;
  1906. function getSCLREL : TBits_1; inline;
  1907. function getSEN : TBits_1; inline;
  1908. function getSIDL : TBits_1; inline;
  1909. function getSMEN : TBits_1; inline;
  1910. function getSTREN : TBits_1; inline;
  1911. function getSTRICT : TBits_1; inline;
  1912. function getw : TBits_32; inline;
  1913. procedure setA10M(thebits : TBits_1); inline;
  1914. procedure setACKDT(thebits : TBits_1); inline;
  1915. procedure setACKEN(thebits : TBits_1); inline;
  1916. procedure setDISSLW(thebits : TBits_1); inline;
  1917. procedure setGCEN(thebits : TBits_1); inline;
  1918. procedure setI2CEN(thebits : TBits_1); inline;
  1919. procedure setI2CSIDL(thebits : TBits_1); inline;
  1920. procedure setIPMIEN(thebits : TBits_1); inline;
  1921. procedure setON(thebits : TBits_1); inline;
  1922. procedure setPEN(thebits : TBits_1); inline;
  1923. procedure setRCEN(thebits : TBits_1); inline;
  1924. procedure setRSEN(thebits : TBits_1); inline;
  1925. procedure setSCLREL(thebits : TBits_1); inline;
  1926. procedure setSEN(thebits : TBits_1); inline;
  1927. procedure setSIDL(thebits : TBits_1); inline;
  1928. procedure setSMEN(thebits : TBits_1); inline;
  1929. procedure setSTREN(thebits : TBits_1); inline;
  1930. procedure setSTRICT(thebits : TBits_1); inline;
  1931. procedure setw(thebits : TBits_32); inline;
  1932. public
  1933. procedure clearA10M; inline;
  1934. procedure clearACKDT; inline;
  1935. procedure clearACKEN; inline;
  1936. procedure clearDISSLW; inline;
  1937. procedure clearGCEN; inline;
  1938. procedure clearI2CEN; inline;
  1939. procedure clearI2CSIDL; inline;
  1940. procedure clearIPMIEN; inline;
  1941. procedure clearON; inline;
  1942. procedure clearPEN; inline;
  1943. procedure clearRCEN; inline;
  1944. procedure clearRSEN; inline;
  1945. procedure clearSCLREL; inline;
  1946. procedure clearSEN; inline;
  1947. procedure clearSIDL; inline;
  1948. procedure clearSMEN; inline;
  1949. procedure clearSTREN; inline;
  1950. procedure clearSTRICT; inline;
  1951. procedure setA10M; inline;
  1952. procedure setACKDT; inline;
  1953. procedure setACKEN; inline;
  1954. procedure setDISSLW; inline;
  1955. procedure setGCEN; inline;
  1956. procedure setI2CEN; inline;
  1957. procedure setI2CSIDL; inline;
  1958. procedure setIPMIEN; inline;
  1959. procedure setON; inline;
  1960. procedure setPEN; inline;
  1961. procedure setRCEN; inline;
  1962. procedure setRSEN; inline;
  1963. procedure setSCLREL; inline;
  1964. procedure setSEN; inline;
  1965. procedure setSIDL; inline;
  1966. procedure setSMEN; inline;
  1967. procedure setSTREN; inline;
  1968. procedure setSTRICT; inline;
  1969. property A10M : TBits_1 read getA10M write setA10M;
  1970. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1971. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1972. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1973. property GCEN : TBits_1 read getGCEN write setGCEN;
  1974. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1975. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1976. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1977. property ON : TBits_1 read getON write setON;
  1978. property PEN : TBits_1 read getPEN write setPEN;
  1979. property RCEN : TBits_1 read getRCEN write setRCEN;
  1980. property RSEN : TBits_1 read getRSEN write setRSEN;
  1981. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1982. property SEN : TBits_1 read getSEN write setSEN;
  1983. property SIDL : TBits_1 read getSIDL write setSIDL;
  1984. property SMEN : TBits_1 read getSMEN write setSMEN;
  1985. property STREN : TBits_1 read getSTREN write setSTREN;
  1986. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1987. property w : TBits_32 read getw write setw;
  1988. end;
  1989. TI2C2_I2C2CON = record
  1990. private
  1991. function getA10M : TBits_1; inline;
  1992. function getACKDT : TBits_1; inline;
  1993. function getACKEN : TBits_1; inline;
  1994. function getDISSLW : TBits_1; inline;
  1995. function getGCEN : TBits_1; inline;
  1996. function getI2CEN : TBits_1; inline;
  1997. function getI2CSIDL : TBits_1; inline;
  1998. function getIPMIEN : TBits_1; inline;
  1999. function getON : TBits_1; inline;
  2000. function getPEN : TBits_1; inline;
  2001. function getRCEN : TBits_1; inline;
  2002. function getRSEN : TBits_1; inline;
  2003. function getSCLREL : TBits_1; inline;
  2004. function getSEN : TBits_1; inline;
  2005. function getSIDL : TBits_1; inline;
  2006. function getSMEN : TBits_1; inline;
  2007. function getSTREN : TBits_1; inline;
  2008. function getSTRICT : TBits_1; inline;
  2009. function getw : TBits_32; inline;
  2010. procedure setA10M(thebits : TBits_1); inline;
  2011. procedure setACKDT(thebits : TBits_1); inline;
  2012. procedure setACKEN(thebits : TBits_1); inline;
  2013. procedure setDISSLW(thebits : TBits_1); inline;
  2014. procedure setGCEN(thebits : TBits_1); inline;
  2015. procedure setI2CEN(thebits : TBits_1); inline;
  2016. procedure setI2CSIDL(thebits : TBits_1); inline;
  2017. procedure setIPMIEN(thebits : TBits_1); inline;
  2018. procedure setON(thebits : TBits_1); inline;
  2019. procedure setPEN(thebits : TBits_1); inline;
  2020. procedure setRCEN(thebits : TBits_1); inline;
  2021. procedure setRSEN(thebits : TBits_1); inline;
  2022. procedure setSCLREL(thebits : TBits_1); inline;
  2023. procedure setSEN(thebits : TBits_1); inline;
  2024. procedure setSIDL(thebits : TBits_1); inline;
  2025. procedure setSMEN(thebits : TBits_1); inline;
  2026. procedure setSTREN(thebits : TBits_1); inline;
  2027. procedure setSTRICT(thebits : TBits_1); inline;
  2028. procedure setw(thebits : TBits_32); inline;
  2029. public
  2030. procedure clearA10M; inline;
  2031. procedure clearACKDT; inline;
  2032. procedure clearACKEN; inline;
  2033. procedure clearDISSLW; inline;
  2034. procedure clearGCEN; inline;
  2035. procedure clearI2CEN; inline;
  2036. procedure clearI2CSIDL; inline;
  2037. procedure clearIPMIEN; inline;
  2038. procedure clearON; inline;
  2039. procedure clearPEN; inline;
  2040. procedure clearRCEN; inline;
  2041. procedure clearRSEN; inline;
  2042. procedure clearSCLREL; inline;
  2043. procedure clearSEN; inline;
  2044. procedure clearSIDL; inline;
  2045. procedure clearSMEN; inline;
  2046. procedure clearSTREN; inline;
  2047. procedure clearSTRICT; inline;
  2048. procedure setA10M; inline;
  2049. procedure setACKDT; inline;
  2050. procedure setACKEN; inline;
  2051. procedure setDISSLW; inline;
  2052. procedure setGCEN; inline;
  2053. procedure setI2CEN; inline;
  2054. procedure setI2CSIDL; inline;
  2055. procedure setIPMIEN; inline;
  2056. procedure setON; inline;
  2057. procedure setPEN; inline;
  2058. procedure setRCEN; inline;
  2059. procedure setRSEN; inline;
  2060. procedure setSCLREL; inline;
  2061. procedure setSEN; inline;
  2062. procedure setSIDL; inline;
  2063. procedure setSMEN; inline;
  2064. procedure setSTREN; inline;
  2065. procedure setSTRICT; inline;
  2066. property A10M : TBits_1 read getA10M write setA10M;
  2067. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2068. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2069. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2070. property GCEN : TBits_1 read getGCEN write setGCEN;
  2071. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2072. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2073. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2074. property ON : TBits_1 read getON write setON;
  2075. property PEN : TBits_1 read getPEN write setPEN;
  2076. property RCEN : TBits_1 read getRCEN write setRCEN;
  2077. property RSEN : TBits_1 read getRSEN write setRSEN;
  2078. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2079. property SEN : TBits_1 read getSEN write setSEN;
  2080. property SIDL : TBits_1 read getSIDL write setSIDL;
  2081. property SMEN : TBits_1 read getSMEN write setSMEN;
  2082. property STREN : TBits_1 read getSTREN write setSTREN;
  2083. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2084. property w : TBits_32 read getw write setw;
  2085. end;
  2086. TI2C2_I2C2ASTAT = record
  2087. private
  2088. function getACKSTAT : TBits_1; inline;
  2089. function getADD10 : TBits_1; inline;
  2090. function getBCL : TBits_1; inline;
  2091. function getD_A : TBits_1; inline;
  2092. function getGCSTAT : TBits_1; inline;
  2093. function getI2COV : TBits_1; inline;
  2094. function getI2CPOV : TBits_1; inline;
  2095. function getIWCOL : TBits_1; inline;
  2096. function getP : TBits_1; inline;
  2097. function getRBF : TBits_1; inline;
  2098. function getR_W : TBits_1; inline;
  2099. function getS : TBits_1; inline;
  2100. function getTBF : TBits_1; inline;
  2101. function getTRSTAT : TBits_1; inline;
  2102. function getw : TBits_32; inline;
  2103. procedure setACKSTAT(thebits : TBits_1); inline;
  2104. procedure setADD10(thebits : TBits_1); inline;
  2105. procedure setBCL(thebits : TBits_1); inline;
  2106. procedure setD_A(thebits : TBits_1); inline;
  2107. procedure setGCSTAT(thebits : TBits_1); inline;
  2108. procedure setI2COV(thebits : TBits_1); inline;
  2109. procedure setI2CPOV(thebits : TBits_1); inline;
  2110. procedure setIWCOL(thebits : TBits_1); inline;
  2111. procedure setP(thebits : TBits_1); inline;
  2112. procedure setRBF(thebits : TBits_1); inline;
  2113. procedure setR_W(thebits : TBits_1); inline;
  2114. procedure setS(thebits : TBits_1); inline;
  2115. procedure setTBF(thebits : TBits_1); inline;
  2116. procedure setTRSTAT(thebits : TBits_1); inline;
  2117. procedure setw(thebits : TBits_32); inline;
  2118. public
  2119. procedure clearACKSTAT; inline;
  2120. procedure clearADD10; inline;
  2121. procedure clearBCL; inline;
  2122. procedure clearD_A; inline;
  2123. procedure clearGCSTAT; inline;
  2124. procedure clearI2COV; inline;
  2125. procedure clearI2CPOV; inline;
  2126. procedure clearIWCOL; inline;
  2127. procedure clearP; inline;
  2128. procedure clearRBF; inline;
  2129. procedure clearR_W; inline;
  2130. procedure clearS; inline;
  2131. procedure clearTBF; inline;
  2132. procedure clearTRSTAT; inline;
  2133. procedure setACKSTAT; inline;
  2134. procedure setADD10; inline;
  2135. procedure setBCL; inline;
  2136. procedure setD_A; inline;
  2137. procedure setGCSTAT; inline;
  2138. procedure setI2COV; inline;
  2139. procedure setI2CPOV; inline;
  2140. procedure setIWCOL; inline;
  2141. procedure setP; inline;
  2142. procedure setRBF; inline;
  2143. procedure setR_W; inline;
  2144. procedure setS; inline;
  2145. procedure setTBF; inline;
  2146. procedure setTRSTAT; inline;
  2147. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2148. property ADD10 : TBits_1 read getADD10 write setADD10;
  2149. property BCL : TBits_1 read getBCL write setBCL;
  2150. property D_A : TBits_1 read getD_A write setD_A;
  2151. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2152. property I2COV : TBits_1 read getI2COV write setI2COV;
  2153. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2154. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2155. property P : TBits_1 read getP write setP;
  2156. property RBF : TBits_1 read getRBF write setRBF;
  2157. property R_W : TBits_1 read getR_W write setR_W;
  2158. property S : TBits_1 read getS write setS;
  2159. property TBF : TBits_1 read getTBF write setTBF;
  2160. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2161. property w : TBits_32 read getw write setw;
  2162. end;
  2163. TI2C2_I2C2STAT = record
  2164. private
  2165. function getACKSTAT : TBits_1; inline;
  2166. function getADD10 : TBits_1; inline;
  2167. function getBCL : TBits_1; inline;
  2168. function getD_A : TBits_1; inline;
  2169. function getGCSTAT : TBits_1; inline;
  2170. function getI2COV : TBits_1; inline;
  2171. function getI2CPOV : TBits_1; inline;
  2172. function getIWCOL : TBits_1; inline;
  2173. function getP : TBits_1; inline;
  2174. function getRBF : TBits_1; inline;
  2175. function getR_W : TBits_1; inline;
  2176. function getS : TBits_1; inline;
  2177. function getTBF : TBits_1; inline;
  2178. function getTRSTAT : TBits_1; inline;
  2179. function getw : TBits_32; inline;
  2180. procedure setACKSTAT(thebits : TBits_1); inline;
  2181. procedure setADD10(thebits : TBits_1); inline;
  2182. procedure setBCL(thebits : TBits_1); inline;
  2183. procedure setD_A(thebits : TBits_1); inline;
  2184. procedure setGCSTAT(thebits : TBits_1); inline;
  2185. procedure setI2COV(thebits : TBits_1); inline;
  2186. procedure setI2CPOV(thebits : TBits_1); inline;
  2187. procedure setIWCOL(thebits : TBits_1); inline;
  2188. procedure setP(thebits : TBits_1); inline;
  2189. procedure setRBF(thebits : TBits_1); inline;
  2190. procedure setR_W(thebits : TBits_1); inline;
  2191. procedure setS(thebits : TBits_1); inline;
  2192. procedure setTBF(thebits : TBits_1); inline;
  2193. procedure setTRSTAT(thebits : TBits_1); inline;
  2194. procedure setw(thebits : TBits_32); inline;
  2195. public
  2196. procedure clearACKSTAT; inline;
  2197. procedure clearADD10; inline;
  2198. procedure clearBCL; inline;
  2199. procedure clearD_A; inline;
  2200. procedure clearGCSTAT; inline;
  2201. procedure clearI2COV; inline;
  2202. procedure clearI2CPOV; inline;
  2203. procedure clearIWCOL; inline;
  2204. procedure clearP; inline;
  2205. procedure clearRBF; inline;
  2206. procedure clearR_W; inline;
  2207. procedure clearS; inline;
  2208. procedure clearTBF; inline;
  2209. procedure clearTRSTAT; inline;
  2210. procedure setACKSTAT; inline;
  2211. procedure setADD10; inline;
  2212. procedure setBCL; inline;
  2213. procedure setD_A; inline;
  2214. procedure setGCSTAT; inline;
  2215. procedure setI2COV; inline;
  2216. procedure setI2CPOV; inline;
  2217. procedure setIWCOL; inline;
  2218. procedure setP; inline;
  2219. procedure setRBF; inline;
  2220. procedure setR_W; inline;
  2221. procedure setS; inline;
  2222. procedure setTBF; inline;
  2223. procedure setTRSTAT; inline;
  2224. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2225. property ADD10 : TBits_1 read getADD10 write setADD10;
  2226. property BCL : TBits_1 read getBCL write setBCL;
  2227. property D_A : TBits_1 read getD_A write setD_A;
  2228. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2229. property I2COV : TBits_1 read getI2COV write setI2COV;
  2230. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2231. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2232. property P : TBits_1 read getP write setP;
  2233. property RBF : TBits_1 read getRBF write setRBF;
  2234. property R_W : TBits_1 read getR_W write setR_W;
  2235. property S : TBits_1 read getS write setS;
  2236. property TBF : TBits_1 read getTBF write setTBF;
  2237. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2238. property w : TBits_32 read getw write setw;
  2239. end;
  2240. type
  2241. TI2C2Registers = record
  2242. I2C2ACONbits : TI2C2_I2C2ACON;
  2243. I2C2ACON : longWord;
  2244. I2C2CONbits : TI2C2_I2C2CON;
  2245. I2C2CON : longWord;
  2246. I2C2ACONCLR : longWord;
  2247. I2C2CONCLR : longWord;
  2248. I2C2ACONSET : longWord;
  2249. I2C2CONSET : longWord;
  2250. I2C2ACONINV : longWord;
  2251. I2C2CONINV : longWord;
  2252. I2C2ASTATbits : TI2C2_I2C2ASTAT;
  2253. I2C2ASTAT : longWord;
  2254. I2C2STATbits : TI2C2_I2C2STAT;
  2255. I2C2STAT : longWord;
  2256. I2C2ASTATCLR : longWord;
  2257. I2C2STATCLR : longWord;
  2258. I2C2ASTATSET : longWord;
  2259. I2C2STATSET : longWord;
  2260. I2C2ASTATINV : longWord;
  2261. I2C2STATINV : longWord;
  2262. I2C2AADD : longWord;
  2263. I2C2ADD : longWord;
  2264. I2C2AADDCLR : longWord;
  2265. I2C2ADDCLR : longWord;
  2266. I2C2AADDSET : longWord;
  2267. I2C2ADDSET : longWord;
  2268. I2C2AADDINV : longWord;
  2269. I2C2ADDINV : longWord;
  2270. I2C2AMSK : longWord;
  2271. I2C2MSK : longWord;
  2272. I2C2AMSKCLR : longWord;
  2273. I2C2MSKCLR : longWord;
  2274. I2C2AMSKSET : longWord;
  2275. I2C2MSKSET : longWord;
  2276. I2C2AMSKINV : longWord;
  2277. I2C2MSKINV : longWord;
  2278. I2C2ABRG : longWord;
  2279. I2C2BRG : longWord;
  2280. I2C2ABRGCLR : longWord;
  2281. I2C2BRGCLR : longWord;
  2282. I2C2ABRGSET : longWord;
  2283. I2C2BRGSET : longWord;
  2284. I2C2ABRGINV : longWord;
  2285. I2C2BRGINV : longWord;
  2286. I2C2ATRN : longWord;
  2287. I2C2TRN : longWord;
  2288. I2C2ATRNCLR : longWord;
  2289. I2C2TRNCLR : longWord;
  2290. I2C2ATRNSET : longWord;
  2291. I2C2TRNSET : longWord;
  2292. I2C2ATRNINV : longWord;
  2293. I2C2TRNINV : longWord;
  2294. I2C2ARCV : longWord;
  2295. I2C2RCV : longWord;
  2296. end;
  2297. TSPI1_SPI1CON = record
  2298. private
  2299. function getCKE : TBits_1; inline;
  2300. function getCKP : TBits_1; inline;
  2301. function getDISSDI : TBits_1; inline;
  2302. function getDISSDO : TBits_1; inline;
  2303. function getENHBUF : TBits_1; inline;
  2304. function getFRMCNT : TBits_3; inline;
  2305. function getFRMEN : TBits_1; inline;
  2306. function getFRMPOL : TBits_1; inline;
  2307. function getFRMSYNC : TBits_1; inline;
  2308. function getFRMSYPW : TBits_1; inline;
  2309. function getMCLKSEL : TBits_1; inline;
  2310. function getMODE16 : TBits_1; inline;
  2311. function getMODE32 : TBits_1; inline;
  2312. function getMSSEN : TBits_1; inline;
  2313. function getMSTEN : TBits_1; inline;
  2314. function getON : TBits_1; inline;
  2315. function getSIDL : TBits_1; inline;
  2316. function getSMP : TBits_1; inline;
  2317. function getSPIFE : TBits_1; inline;
  2318. function getSRXISEL : TBits_2; inline;
  2319. function getSSEN : TBits_1; inline;
  2320. function getSTXISEL : TBits_2; inline;
  2321. function getw : TBits_32; inline;
  2322. procedure setCKE(thebits : TBits_1); inline;
  2323. procedure setCKP(thebits : TBits_1); inline;
  2324. procedure setDISSDI(thebits : TBits_1); inline;
  2325. procedure setDISSDO(thebits : TBits_1); inline;
  2326. procedure setENHBUF(thebits : TBits_1); inline;
  2327. procedure setFRMCNT(thebits : TBits_3); inline;
  2328. procedure setFRMEN(thebits : TBits_1); inline;
  2329. procedure setFRMPOL(thebits : TBits_1); inline;
  2330. procedure setFRMSYNC(thebits : TBits_1); inline;
  2331. procedure setFRMSYPW(thebits : TBits_1); inline;
  2332. procedure setMCLKSEL(thebits : TBits_1); inline;
  2333. procedure setMODE16(thebits : TBits_1); inline;
  2334. procedure setMODE32(thebits : TBits_1); inline;
  2335. procedure setMSSEN(thebits : TBits_1); inline;
  2336. procedure setMSTEN(thebits : TBits_1); inline;
  2337. procedure setON(thebits : TBits_1); inline;
  2338. procedure setSIDL(thebits : TBits_1); inline;
  2339. procedure setSMP(thebits : TBits_1); inline;
  2340. procedure setSPIFE(thebits : TBits_1); inline;
  2341. procedure setSRXISEL(thebits : TBits_2); inline;
  2342. procedure setSSEN(thebits : TBits_1); inline;
  2343. procedure setSTXISEL(thebits : TBits_2); inline;
  2344. procedure setw(thebits : TBits_32); inline;
  2345. public
  2346. procedure clearCKE; inline;
  2347. procedure clearCKP; inline;
  2348. procedure clearDISSDI; inline;
  2349. procedure clearDISSDO; inline;
  2350. procedure clearENHBUF; inline;
  2351. procedure clearFRMEN; inline;
  2352. procedure clearFRMPOL; inline;
  2353. procedure clearFRMSYNC; inline;
  2354. procedure clearFRMSYPW; inline;
  2355. procedure clearMCLKSEL; inline;
  2356. procedure clearMODE16; inline;
  2357. procedure clearMODE32; inline;
  2358. procedure clearMSSEN; inline;
  2359. procedure clearMSTEN; inline;
  2360. procedure clearON; inline;
  2361. procedure clearSIDL; inline;
  2362. procedure clearSMP; inline;
  2363. procedure clearSPIFE; inline;
  2364. procedure clearSSEN; inline;
  2365. procedure setCKE; inline;
  2366. procedure setCKP; inline;
  2367. procedure setDISSDI; inline;
  2368. procedure setDISSDO; inline;
  2369. procedure setENHBUF; inline;
  2370. procedure setFRMEN; inline;
  2371. procedure setFRMPOL; inline;
  2372. procedure setFRMSYNC; inline;
  2373. procedure setFRMSYPW; inline;
  2374. procedure setMCLKSEL; inline;
  2375. procedure setMODE16; inline;
  2376. procedure setMODE32; inline;
  2377. procedure setMSSEN; inline;
  2378. procedure setMSTEN; inline;
  2379. procedure setON; inline;
  2380. procedure setSIDL; inline;
  2381. procedure setSMP; inline;
  2382. procedure setSPIFE; inline;
  2383. procedure setSSEN; inline;
  2384. property CKE : TBits_1 read getCKE write setCKE;
  2385. property CKP : TBits_1 read getCKP write setCKP;
  2386. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2387. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2388. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2389. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2390. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2391. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2392. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2393. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2394. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2395. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2396. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2397. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2398. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2399. property ON : TBits_1 read getON write setON;
  2400. property SIDL : TBits_1 read getSIDL write setSIDL;
  2401. property SMP : TBits_1 read getSMP write setSMP;
  2402. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2403. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2404. property SSEN : TBits_1 read getSSEN write setSSEN;
  2405. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2406. property w : TBits_32 read getw write setw;
  2407. end;
  2408. TSPI1_SPI1STAT = record
  2409. private
  2410. function getFRMERR : TBits_1; inline;
  2411. function getRXBUFELM : TBits_5; inline;
  2412. function getSPIBUSY : TBits_1; inline;
  2413. function getSPIRBE : TBits_1; inline;
  2414. function getSPIRBF : TBits_1; inline;
  2415. function getSPIROV : TBits_1; inline;
  2416. function getSPITBE : TBits_1; inline;
  2417. function getSPITBF : TBits_1; inline;
  2418. function getSPITUR : TBits_1; inline;
  2419. function getSRMT : TBits_1; inline;
  2420. function getTXBUFELM : TBits_5; inline;
  2421. function getw : TBits_32; inline;
  2422. procedure setFRMERR(thebits : TBits_1); inline;
  2423. procedure setRXBUFELM(thebits : TBits_5); inline;
  2424. procedure setSPIBUSY(thebits : TBits_1); inline;
  2425. procedure setSPIRBE(thebits : TBits_1); inline;
  2426. procedure setSPIRBF(thebits : TBits_1); inline;
  2427. procedure setSPIROV(thebits : TBits_1); inline;
  2428. procedure setSPITBE(thebits : TBits_1); inline;
  2429. procedure setSPITBF(thebits : TBits_1); inline;
  2430. procedure setSPITUR(thebits : TBits_1); inline;
  2431. procedure setSRMT(thebits : TBits_1); inline;
  2432. procedure setTXBUFELM(thebits : TBits_5); inline;
  2433. procedure setw(thebits : TBits_32); inline;
  2434. public
  2435. procedure clearFRMERR; inline;
  2436. procedure clearSPIBUSY; inline;
  2437. procedure clearSPIRBE; inline;
  2438. procedure clearSPIRBF; inline;
  2439. procedure clearSPIROV; inline;
  2440. procedure clearSPITBE; inline;
  2441. procedure clearSPITBF; inline;
  2442. procedure clearSPITUR; inline;
  2443. procedure clearSRMT; inline;
  2444. procedure setFRMERR; inline;
  2445. procedure setSPIBUSY; inline;
  2446. procedure setSPIRBE; inline;
  2447. procedure setSPIRBF; inline;
  2448. procedure setSPIROV; inline;
  2449. procedure setSPITBE; inline;
  2450. procedure setSPITBF; inline;
  2451. procedure setSPITUR; inline;
  2452. procedure setSRMT; inline;
  2453. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2454. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2455. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2456. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2457. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2458. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2459. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2460. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2461. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2462. property SRMT : TBits_1 read getSRMT write setSRMT;
  2463. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2464. property w : TBits_32 read getw write setw;
  2465. end;
  2466. TSPI1_SPI1CON2 = record
  2467. private
  2468. function getAUDEN : TBits_1; inline;
  2469. function getAUDMOD : TBits_2; inline;
  2470. function getAUDMOD0 : TBits_1; inline;
  2471. function getAUDMOD1 : TBits_1; inline;
  2472. function getAUDMONO : TBits_1; inline;
  2473. function getFRMERREN : TBits_1; inline;
  2474. function getIGNROV : TBits_1; inline;
  2475. function getIGNTUR : TBits_1; inline;
  2476. function getSPIROVEN : TBits_1; inline;
  2477. function getSPISGNEXT : TBits_1; inline;
  2478. function getSPITUREN : TBits_1; inline;
  2479. function getw : TBits_32; inline;
  2480. procedure setAUDEN(thebits : TBits_1); inline;
  2481. procedure setAUDMOD(thebits : TBits_2); inline;
  2482. procedure setAUDMOD0(thebits : TBits_1); inline;
  2483. procedure setAUDMOD1(thebits : TBits_1); inline;
  2484. procedure setAUDMONO(thebits : TBits_1); inline;
  2485. procedure setFRMERREN(thebits : TBits_1); inline;
  2486. procedure setIGNROV(thebits : TBits_1); inline;
  2487. procedure setIGNTUR(thebits : TBits_1); inline;
  2488. procedure setSPIROVEN(thebits : TBits_1); inline;
  2489. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2490. procedure setSPITUREN(thebits : TBits_1); inline;
  2491. procedure setw(thebits : TBits_32); inline;
  2492. public
  2493. procedure clearAUDEN; inline;
  2494. procedure clearAUDMOD0; inline;
  2495. procedure clearAUDMOD1; inline;
  2496. procedure clearAUDMONO; inline;
  2497. procedure clearFRMERREN; inline;
  2498. procedure clearIGNROV; inline;
  2499. procedure clearIGNTUR; inline;
  2500. procedure clearSPIROVEN; inline;
  2501. procedure clearSPISGNEXT; inline;
  2502. procedure clearSPITUREN; inline;
  2503. procedure setAUDEN; inline;
  2504. procedure setAUDMOD0; inline;
  2505. procedure setAUDMOD1; inline;
  2506. procedure setAUDMONO; inline;
  2507. procedure setFRMERREN; inline;
  2508. procedure setIGNROV; inline;
  2509. procedure setIGNTUR; inline;
  2510. procedure setSPIROVEN; inline;
  2511. procedure setSPISGNEXT; inline;
  2512. procedure setSPITUREN; inline;
  2513. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2514. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2515. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2516. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2517. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2518. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2519. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2520. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2521. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2522. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2523. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2524. property w : TBits_32 read getw write setw;
  2525. end;
  2526. type
  2527. TSPI1Registers = record
  2528. SPI1CONbits : TSPI1_SPI1CON;
  2529. SPI1CON : longWord;
  2530. SPI1CONCLR : longWord;
  2531. SPI1CONSET : longWord;
  2532. SPI1CONINV : longWord;
  2533. SPI1STATbits : TSPI1_SPI1STAT;
  2534. SPI1STAT : longWord;
  2535. SPI1STATCLR : longWord;
  2536. SPI1STATSET : longWord;
  2537. SPI1STATINV : longWord;
  2538. SPI1BUF : longWord;
  2539. SPI1BRG : longWord;
  2540. SPI1BRGCLR : longWord;
  2541. SPI1BRGSET : longWord;
  2542. SPI1BRGINV : longWord;
  2543. SPI1CON2bits : TSPI1_SPI1CON2;
  2544. SPI1CON2 : longWord;
  2545. SPI1CON2CLR : longWord;
  2546. SPI1CON2SET : longWord;
  2547. SPI1CON2INV : longWord;
  2548. end;
  2549. TSPI2_SPI2CON = record
  2550. private
  2551. function getCKE : TBits_1; inline;
  2552. function getCKP : TBits_1; inline;
  2553. function getDISSDI : TBits_1; inline;
  2554. function getDISSDO : TBits_1; inline;
  2555. function getENHBUF : TBits_1; inline;
  2556. function getFRMCNT : TBits_3; inline;
  2557. function getFRMEN : TBits_1; inline;
  2558. function getFRMPOL : TBits_1; inline;
  2559. function getFRMSYNC : TBits_1; inline;
  2560. function getFRMSYPW : TBits_1; inline;
  2561. function getMCLKSEL : TBits_1; inline;
  2562. function getMODE16 : TBits_1; inline;
  2563. function getMODE32 : TBits_1; inline;
  2564. function getMSSEN : TBits_1; inline;
  2565. function getMSTEN : TBits_1; inline;
  2566. function getON : TBits_1; inline;
  2567. function getSIDL : TBits_1; inline;
  2568. function getSMP : TBits_1; inline;
  2569. function getSPIFE : TBits_1; inline;
  2570. function getSRXISEL : TBits_2; inline;
  2571. function getSSEN : TBits_1; inline;
  2572. function getSTXISEL : TBits_2; inline;
  2573. function getw : TBits_32; inline;
  2574. procedure setCKE(thebits : TBits_1); inline;
  2575. procedure setCKP(thebits : TBits_1); inline;
  2576. procedure setDISSDI(thebits : TBits_1); inline;
  2577. procedure setDISSDO(thebits : TBits_1); inline;
  2578. procedure setENHBUF(thebits : TBits_1); inline;
  2579. procedure setFRMCNT(thebits : TBits_3); inline;
  2580. procedure setFRMEN(thebits : TBits_1); inline;
  2581. procedure setFRMPOL(thebits : TBits_1); inline;
  2582. procedure setFRMSYNC(thebits : TBits_1); inline;
  2583. procedure setFRMSYPW(thebits : TBits_1); inline;
  2584. procedure setMCLKSEL(thebits : TBits_1); inline;
  2585. procedure setMODE16(thebits : TBits_1); inline;
  2586. procedure setMODE32(thebits : TBits_1); inline;
  2587. procedure setMSSEN(thebits : TBits_1); inline;
  2588. procedure setMSTEN(thebits : TBits_1); inline;
  2589. procedure setON(thebits : TBits_1); inline;
  2590. procedure setSIDL(thebits : TBits_1); inline;
  2591. procedure setSMP(thebits : TBits_1); inline;
  2592. procedure setSPIFE(thebits : TBits_1); inline;
  2593. procedure setSRXISEL(thebits : TBits_2); inline;
  2594. procedure setSSEN(thebits : TBits_1); inline;
  2595. procedure setSTXISEL(thebits : TBits_2); inline;
  2596. procedure setw(thebits : TBits_32); inline;
  2597. public
  2598. procedure clearCKE; inline;
  2599. procedure clearCKP; inline;
  2600. procedure clearDISSDI; inline;
  2601. procedure clearDISSDO; inline;
  2602. procedure clearENHBUF; inline;
  2603. procedure clearFRMEN; inline;
  2604. procedure clearFRMPOL; inline;
  2605. procedure clearFRMSYNC; inline;
  2606. procedure clearFRMSYPW; inline;
  2607. procedure clearMCLKSEL; inline;
  2608. procedure clearMODE16; inline;
  2609. procedure clearMODE32; inline;
  2610. procedure clearMSSEN; inline;
  2611. procedure clearMSTEN; inline;
  2612. procedure clearON; inline;
  2613. procedure clearSIDL; inline;
  2614. procedure clearSMP; inline;
  2615. procedure clearSPIFE; inline;
  2616. procedure clearSSEN; inline;
  2617. procedure setCKE; inline;
  2618. procedure setCKP; inline;
  2619. procedure setDISSDI; inline;
  2620. procedure setDISSDO; inline;
  2621. procedure setENHBUF; inline;
  2622. procedure setFRMEN; inline;
  2623. procedure setFRMPOL; inline;
  2624. procedure setFRMSYNC; inline;
  2625. procedure setFRMSYPW; inline;
  2626. procedure setMCLKSEL; inline;
  2627. procedure setMODE16; inline;
  2628. procedure setMODE32; inline;
  2629. procedure setMSSEN; inline;
  2630. procedure setMSTEN; inline;
  2631. procedure setON; inline;
  2632. procedure setSIDL; inline;
  2633. procedure setSMP; inline;
  2634. procedure setSPIFE; inline;
  2635. procedure setSSEN; inline;
  2636. property CKE : TBits_1 read getCKE write setCKE;
  2637. property CKP : TBits_1 read getCKP write setCKP;
  2638. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2639. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2640. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2641. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2642. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2643. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2644. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2645. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2646. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2647. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2648. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2649. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2650. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2651. property ON : TBits_1 read getON write setON;
  2652. property SIDL : TBits_1 read getSIDL write setSIDL;
  2653. property SMP : TBits_1 read getSMP write setSMP;
  2654. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2655. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2656. property SSEN : TBits_1 read getSSEN write setSSEN;
  2657. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2658. property w : TBits_32 read getw write setw;
  2659. end;
  2660. TSPI2_SPI2STAT = record
  2661. private
  2662. function getFRMERR : TBits_1; inline;
  2663. function getRXBUFELM : TBits_5; inline;
  2664. function getSPIBUSY : TBits_1; inline;
  2665. function getSPIRBE : TBits_1; inline;
  2666. function getSPIRBF : TBits_1; inline;
  2667. function getSPIROV : TBits_1; inline;
  2668. function getSPITBE : TBits_1; inline;
  2669. function getSPITBF : TBits_1; inline;
  2670. function getSPITUR : TBits_1; inline;
  2671. function getSRMT : TBits_1; inline;
  2672. function getTXBUFELM : TBits_5; inline;
  2673. function getw : TBits_32; inline;
  2674. procedure setFRMERR(thebits : TBits_1); inline;
  2675. procedure setRXBUFELM(thebits : TBits_5); inline;
  2676. procedure setSPIBUSY(thebits : TBits_1); inline;
  2677. procedure setSPIRBE(thebits : TBits_1); inline;
  2678. procedure setSPIRBF(thebits : TBits_1); inline;
  2679. procedure setSPIROV(thebits : TBits_1); inline;
  2680. procedure setSPITBE(thebits : TBits_1); inline;
  2681. procedure setSPITBF(thebits : TBits_1); inline;
  2682. procedure setSPITUR(thebits : TBits_1); inline;
  2683. procedure setSRMT(thebits : TBits_1); inline;
  2684. procedure setTXBUFELM(thebits : TBits_5); inline;
  2685. procedure setw(thebits : TBits_32); inline;
  2686. public
  2687. procedure clearFRMERR; inline;
  2688. procedure clearSPIBUSY; inline;
  2689. procedure clearSPIRBE; inline;
  2690. procedure clearSPIRBF; inline;
  2691. procedure clearSPIROV; inline;
  2692. procedure clearSPITBE; inline;
  2693. procedure clearSPITBF; inline;
  2694. procedure clearSPITUR; inline;
  2695. procedure clearSRMT; inline;
  2696. procedure setFRMERR; inline;
  2697. procedure setSPIBUSY; inline;
  2698. procedure setSPIRBE; inline;
  2699. procedure setSPIRBF; inline;
  2700. procedure setSPIROV; inline;
  2701. procedure setSPITBE; inline;
  2702. procedure setSPITBF; inline;
  2703. procedure setSPITUR; inline;
  2704. procedure setSRMT; inline;
  2705. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2706. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2707. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2708. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2709. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2710. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2711. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2712. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2713. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2714. property SRMT : TBits_1 read getSRMT write setSRMT;
  2715. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2716. property w : TBits_32 read getw write setw;
  2717. end;
  2718. TSPI2_SPI2CON2 = record
  2719. private
  2720. function getAUDEN : TBits_1; inline;
  2721. function getAUDMOD : TBits_2; inline;
  2722. function getAUDMOD0 : TBits_1; inline;
  2723. function getAUDMOD1 : TBits_1; inline;
  2724. function getAUDMONO : TBits_1; inline;
  2725. function getFRMERREN : TBits_1; inline;
  2726. function getIGNROV : TBits_1; inline;
  2727. function getIGNTUR : TBits_1; inline;
  2728. function getSPIROVEN : TBits_1; inline;
  2729. function getSPISGNEXT : TBits_1; inline;
  2730. function getSPITUREN : TBits_1; inline;
  2731. function getw : TBits_32; inline;
  2732. procedure setAUDEN(thebits : TBits_1); inline;
  2733. procedure setAUDMOD(thebits : TBits_2); inline;
  2734. procedure setAUDMOD0(thebits : TBits_1); inline;
  2735. procedure setAUDMOD1(thebits : TBits_1); inline;
  2736. procedure setAUDMONO(thebits : TBits_1); inline;
  2737. procedure setFRMERREN(thebits : TBits_1); inline;
  2738. procedure setIGNROV(thebits : TBits_1); inline;
  2739. procedure setIGNTUR(thebits : TBits_1); inline;
  2740. procedure setSPIROVEN(thebits : TBits_1); inline;
  2741. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2742. procedure setSPITUREN(thebits : TBits_1); inline;
  2743. procedure setw(thebits : TBits_32); inline;
  2744. public
  2745. procedure clearAUDEN; inline;
  2746. procedure clearAUDMOD0; inline;
  2747. procedure clearAUDMOD1; inline;
  2748. procedure clearAUDMONO; inline;
  2749. procedure clearFRMERREN; inline;
  2750. procedure clearIGNROV; inline;
  2751. procedure clearIGNTUR; inline;
  2752. procedure clearSPIROVEN; inline;
  2753. procedure clearSPISGNEXT; inline;
  2754. procedure clearSPITUREN; inline;
  2755. procedure setAUDEN; inline;
  2756. procedure setAUDMOD0; inline;
  2757. procedure setAUDMOD1; inline;
  2758. procedure setAUDMONO; inline;
  2759. procedure setFRMERREN; inline;
  2760. procedure setIGNROV; inline;
  2761. procedure setIGNTUR; inline;
  2762. procedure setSPIROVEN; inline;
  2763. procedure setSPISGNEXT; inline;
  2764. procedure setSPITUREN; inline;
  2765. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2766. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2767. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2768. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2769. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2770. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2771. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2772. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2773. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2774. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2775. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2776. property w : TBits_32 read getw write setw;
  2777. end;
  2778. type
  2779. TSPI2Registers = record
  2780. SPI2CONbits : TSPI2_SPI2CON;
  2781. SPI2CON : longWord;
  2782. SPI2CONCLR : longWord;
  2783. SPI2CONSET : longWord;
  2784. SPI2CONINV : longWord;
  2785. SPI2STATbits : TSPI2_SPI2STAT;
  2786. SPI2STAT : longWord;
  2787. SPI2STATCLR : longWord;
  2788. SPI2STATSET : longWord;
  2789. SPI2STATINV : longWord;
  2790. SPI2BUF : longWord;
  2791. SPI2BRG : longWord;
  2792. SPI2BRGCLR : longWord;
  2793. SPI2BRGSET : longWord;
  2794. SPI2BRGINV : longWord;
  2795. SPI2CON2bits : TSPI2_SPI2CON2;
  2796. SPI2CON2 : longWord;
  2797. SPI2CON2CLR : longWord;
  2798. SPI2CON2SET : longWord;
  2799. SPI2CON2INV : longWord;
  2800. end;
  2801. TUART1_U1AMODE = record
  2802. private
  2803. function getABAUD : TBits_1; inline;
  2804. function getBRGH : TBits_1; inline;
  2805. function getIREN : TBits_1; inline;
  2806. function getLPBACK : TBits_1; inline;
  2807. function getON : TBits_1; inline;
  2808. function getPDSEL : TBits_2; inline;
  2809. function getPDSEL0 : TBits_1; inline;
  2810. function getPDSEL1 : TBits_1; inline;
  2811. function getRTSMD : TBits_1; inline;
  2812. function getRXINV : TBits_1; inline;
  2813. function getSIDL : TBits_1; inline;
  2814. function getSTSEL : TBits_1; inline;
  2815. function getUARTEN : TBits_1; inline;
  2816. function getUEN : TBits_2; inline;
  2817. function getUEN0 : TBits_1; inline;
  2818. function getUEN1 : TBits_1; inline;
  2819. function getUSIDL : TBits_1; inline;
  2820. function getWAKE : TBits_1; inline;
  2821. function getw : TBits_32; inline;
  2822. procedure setABAUD(thebits : TBits_1); inline;
  2823. procedure setBRGH(thebits : TBits_1); inline;
  2824. procedure setIREN(thebits : TBits_1); inline;
  2825. procedure setLPBACK(thebits : TBits_1); inline;
  2826. procedure setON(thebits : TBits_1); inline;
  2827. procedure setPDSEL(thebits : TBits_2); inline;
  2828. procedure setPDSEL0(thebits : TBits_1); inline;
  2829. procedure setPDSEL1(thebits : TBits_1); inline;
  2830. procedure setRTSMD(thebits : TBits_1); inline;
  2831. procedure setRXINV(thebits : TBits_1); inline;
  2832. procedure setSIDL(thebits : TBits_1); inline;
  2833. procedure setSTSEL(thebits : TBits_1); inline;
  2834. procedure setUARTEN(thebits : TBits_1); inline;
  2835. procedure setUEN(thebits : TBits_2); inline;
  2836. procedure setUEN0(thebits : TBits_1); inline;
  2837. procedure setUEN1(thebits : TBits_1); inline;
  2838. procedure setUSIDL(thebits : TBits_1); inline;
  2839. procedure setWAKE(thebits : TBits_1); inline;
  2840. procedure setw(thebits : TBits_32); inline;
  2841. public
  2842. procedure clearABAUD; inline;
  2843. procedure clearBRGH; inline;
  2844. procedure clearIREN; inline;
  2845. procedure clearLPBACK; inline;
  2846. procedure clearON; inline;
  2847. procedure clearPDSEL0; inline;
  2848. procedure clearPDSEL1; inline;
  2849. procedure clearRTSMD; inline;
  2850. procedure clearRXINV; inline;
  2851. procedure clearSIDL; inline;
  2852. procedure clearSTSEL; inline;
  2853. procedure clearUARTEN; inline;
  2854. procedure clearUEN0; inline;
  2855. procedure clearUEN1; inline;
  2856. procedure clearUSIDL; inline;
  2857. procedure clearWAKE; inline;
  2858. procedure setABAUD; inline;
  2859. procedure setBRGH; inline;
  2860. procedure setIREN; inline;
  2861. procedure setLPBACK; inline;
  2862. procedure setON; inline;
  2863. procedure setPDSEL0; inline;
  2864. procedure setPDSEL1; inline;
  2865. procedure setRTSMD; inline;
  2866. procedure setRXINV; inline;
  2867. procedure setSIDL; inline;
  2868. procedure setSTSEL; inline;
  2869. procedure setUARTEN; inline;
  2870. procedure setUEN0; inline;
  2871. procedure setUEN1; inline;
  2872. procedure setUSIDL; inline;
  2873. procedure setWAKE; inline;
  2874. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2875. property BRGH : TBits_1 read getBRGH write setBRGH;
  2876. property IREN : TBits_1 read getIREN write setIREN;
  2877. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2878. property ON : TBits_1 read getON write setON;
  2879. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2880. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2881. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2882. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2883. property RXINV : TBits_1 read getRXINV write setRXINV;
  2884. property SIDL : TBits_1 read getSIDL write setSIDL;
  2885. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2886. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2887. property UEN : TBits_2 read getUEN write setUEN;
  2888. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2889. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2890. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2891. property WAKE : TBits_1 read getWAKE write setWAKE;
  2892. property w : TBits_32 read getw write setw;
  2893. end;
  2894. TUART1_U1MODE = record
  2895. private
  2896. function getABAUD : TBits_1; inline;
  2897. function getBRGH : TBits_1; inline;
  2898. function getIREN : TBits_1; inline;
  2899. function getLPBACK : TBits_1; inline;
  2900. function getON : TBits_1; inline;
  2901. function getPDSEL : TBits_2; inline;
  2902. function getPDSEL0 : TBits_1; inline;
  2903. function getPDSEL1 : TBits_1; inline;
  2904. function getRTSMD : TBits_1; inline;
  2905. function getRXINV : TBits_1; inline;
  2906. function getSIDL : TBits_1; inline;
  2907. function getSTSEL : TBits_1; inline;
  2908. function getUARTEN : TBits_1; inline;
  2909. function getUEN : TBits_2; inline;
  2910. function getUEN0 : TBits_1; inline;
  2911. function getUEN1 : TBits_1; inline;
  2912. function getUSIDL : TBits_1; inline;
  2913. function getWAKE : TBits_1; inline;
  2914. function getw : TBits_32; inline;
  2915. procedure setABAUD(thebits : TBits_1); inline;
  2916. procedure setBRGH(thebits : TBits_1); inline;
  2917. procedure setIREN(thebits : TBits_1); inline;
  2918. procedure setLPBACK(thebits : TBits_1); inline;
  2919. procedure setON(thebits : TBits_1); inline;
  2920. procedure setPDSEL(thebits : TBits_2); inline;
  2921. procedure setPDSEL0(thebits : TBits_1); inline;
  2922. procedure setPDSEL1(thebits : TBits_1); inline;
  2923. procedure setRTSMD(thebits : TBits_1); inline;
  2924. procedure setRXINV(thebits : TBits_1); inline;
  2925. procedure setSIDL(thebits : TBits_1); inline;
  2926. procedure setSTSEL(thebits : TBits_1); inline;
  2927. procedure setUARTEN(thebits : TBits_1); inline;
  2928. procedure setUEN(thebits : TBits_2); inline;
  2929. procedure setUEN0(thebits : TBits_1); inline;
  2930. procedure setUEN1(thebits : TBits_1); inline;
  2931. procedure setUSIDL(thebits : TBits_1); inline;
  2932. procedure setWAKE(thebits : TBits_1); inline;
  2933. procedure setw(thebits : TBits_32); inline;
  2934. public
  2935. procedure clearABAUD; inline;
  2936. procedure clearBRGH; inline;
  2937. procedure clearIREN; inline;
  2938. procedure clearLPBACK; inline;
  2939. procedure clearON; inline;
  2940. procedure clearPDSEL0; inline;
  2941. procedure clearPDSEL1; inline;
  2942. procedure clearRTSMD; inline;
  2943. procedure clearRXINV; inline;
  2944. procedure clearSIDL; inline;
  2945. procedure clearSTSEL; inline;
  2946. procedure clearUARTEN; inline;
  2947. procedure clearUEN0; inline;
  2948. procedure clearUEN1; inline;
  2949. procedure clearUSIDL; inline;
  2950. procedure clearWAKE; inline;
  2951. procedure setABAUD; inline;
  2952. procedure setBRGH; inline;
  2953. procedure setIREN; inline;
  2954. procedure setLPBACK; inline;
  2955. procedure setON; inline;
  2956. procedure setPDSEL0; inline;
  2957. procedure setPDSEL1; inline;
  2958. procedure setRTSMD; inline;
  2959. procedure setRXINV; inline;
  2960. procedure setSIDL; inline;
  2961. procedure setSTSEL; inline;
  2962. procedure setUARTEN; inline;
  2963. procedure setUEN0; inline;
  2964. procedure setUEN1; inline;
  2965. procedure setUSIDL; inline;
  2966. procedure setWAKE; inline;
  2967. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2968. property BRGH : TBits_1 read getBRGH write setBRGH;
  2969. property IREN : TBits_1 read getIREN write setIREN;
  2970. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2971. property ON : TBits_1 read getON write setON;
  2972. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2973. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2974. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2975. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2976. property RXINV : TBits_1 read getRXINV write setRXINV;
  2977. property SIDL : TBits_1 read getSIDL write setSIDL;
  2978. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2979. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2980. property UEN : TBits_2 read getUEN write setUEN;
  2981. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2982. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2983. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2984. property WAKE : TBits_1 read getWAKE write setWAKE;
  2985. property w : TBits_32 read getw write setw;
  2986. end;
  2987. TUART1_U1ASTA = record
  2988. private
  2989. function getADDEN : TBits_1; inline;
  2990. function getADDR : TBits_8; inline;
  2991. function getADM_EN : TBits_1; inline;
  2992. function getFERR : TBits_1; inline;
  2993. function getOERR : TBits_1; inline;
  2994. function getPERR : TBits_1; inline;
  2995. function getRIDLE : TBits_1; inline;
  2996. function getTRMT : TBits_1; inline;
  2997. function getURXDA : TBits_1; inline;
  2998. function getURXEN : TBits_1; inline;
  2999. function getURXISEL : TBits_2; inline;
  3000. function getURXISEL0 : TBits_1; inline;
  3001. function getURXISEL1 : TBits_1; inline;
  3002. function getUTXBF : TBits_1; inline;
  3003. function getUTXBRK : TBits_1; inline;
  3004. function getUTXEN : TBits_1; inline;
  3005. function getUTXINV : TBits_1; inline;
  3006. function getUTXISEL : TBits_2; inline;
  3007. function getUTXISEL0 : TBits_1; inline;
  3008. function getUTXISEL1 : TBits_1; inline;
  3009. function getUTXSEL : TBits_2; inline;
  3010. function getw : TBits_32; inline;
  3011. procedure setADDEN(thebits : TBits_1); inline;
  3012. procedure setADDR(thebits : TBits_8); inline;
  3013. procedure setADM_EN(thebits : TBits_1); inline;
  3014. procedure setFERR(thebits : TBits_1); inline;
  3015. procedure setOERR(thebits : TBits_1); inline;
  3016. procedure setPERR(thebits : TBits_1); inline;
  3017. procedure setRIDLE(thebits : TBits_1); inline;
  3018. procedure setTRMT(thebits : TBits_1); inline;
  3019. procedure setURXDA(thebits : TBits_1); inline;
  3020. procedure setURXEN(thebits : TBits_1); inline;
  3021. procedure setURXISEL(thebits : TBits_2); inline;
  3022. procedure setURXISEL0(thebits : TBits_1); inline;
  3023. procedure setURXISEL1(thebits : TBits_1); inline;
  3024. procedure setUTXBF(thebits : TBits_1); inline;
  3025. procedure setUTXBRK(thebits : TBits_1); inline;
  3026. procedure setUTXEN(thebits : TBits_1); inline;
  3027. procedure setUTXINV(thebits : TBits_1); inline;
  3028. procedure setUTXISEL(thebits : TBits_2); inline;
  3029. procedure setUTXISEL0(thebits : TBits_1); inline;
  3030. procedure setUTXISEL1(thebits : TBits_1); inline;
  3031. procedure setUTXSEL(thebits : TBits_2); inline;
  3032. procedure setw(thebits : TBits_32); inline;
  3033. public
  3034. procedure clearADDEN; inline;
  3035. procedure clearADM_EN; inline;
  3036. procedure clearFERR; inline;
  3037. procedure clearOERR; inline;
  3038. procedure clearPERR; inline;
  3039. procedure clearRIDLE; inline;
  3040. procedure clearTRMT; inline;
  3041. procedure clearURXDA; inline;
  3042. procedure clearURXEN; inline;
  3043. procedure clearURXISEL0; inline;
  3044. procedure clearURXISEL1; inline;
  3045. procedure clearUTXBF; inline;
  3046. procedure clearUTXBRK; inline;
  3047. procedure clearUTXEN; inline;
  3048. procedure clearUTXINV; inline;
  3049. procedure clearUTXISEL0; inline;
  3050. procedure clearUTXISEL1; inline;
  3051. procedure setADDEN; inline;
  3052. procedure setADM_EN; inline;
  3053. procedure setFERR; inline;
  3054. procedure setOERR; inline;
  3055. procedure setPERR; inline;
  3056. procedure setRIDLE; inline;
  3057. procedure setTRMT; inline;
  3058. procedure setURXDA; inline;
  3059. procedure setURXEN; inline;
  3060. procedure setURXISEL0; inline;
  3061. procedure setURXISEL1; inline;
  3062. procedure setUTXBF; inline;
  3063. procedure setUTXBRK; inline;
  3064. procedure setUTXEN; inline;
  3065. procedure setUTXINV; inline;
  3066. procedure setUTXISEL0; inline;
  3067. procedure setUTXISEL1; inline;
  3068. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3069. property ADDR : TBits_8 read getADDR write setADDR;
  3070. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3071. property FERR : TBits_1 read getFERR write setFERR;
  3072. property OERR : TBits_1 read getOERR write setOERR;
  3073. property PERR : TBits_1 read getPERR write setPERR;
  3074. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3075. property TRMT : TBits_1 read getTRMT write setTRMT;
  3076. property URXDA : TBits_1 read getURXDA write setURXDA;
  3077. property URXEN : TBits_1 read getURXEN write setURXEN;
  3078. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3079. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3080. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3081. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3082. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3083. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3084. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3085. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3086. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3087. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3088. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3089. property w : TBits_32 read getw write setw;
  3090. end;
  3091. TUART1_U1STA = record
  3092. private
  3093. function getADDEN : TBits_1; inline;
  3094. function getADDR : TBits_8; inline;
  3095. function getADM_EN : TBits_1; inline;
  3096. function getFERR : TBits_1; inline;
  3097. function getOERR : TBits_1; inline;
  3098. function getPERR : TBits_1; inline;
  3099. function getRIDLE : TBits_1; inline;
  3100. function getTRMT : TBits_1; inline;
  3101. function getURXDA : TBits_1; inline;
  3102. function getURXEN : TBits_1; inline;
  3103. function getURXISEL : TBits_2; inline;
  3104. function getURXISEL0 : TBits_1; inline;
  3105. function getURXISEL1 : TBits_1; inline;
  3106. function getUTXBF : TBits_1; inline;
  3107. function getUTXBRK : TBits_1; inline;
  3108. function getUTXEN : TBits_1; inline;
  3109. function getUTXINV : TBits_1; inline;
  3110. function getUTXISEL : TBits_2; inline;
  3111. function getUTXISEL0 : TBits_1; inline;
  3112. function getUTXISEL1 : TBits_1; inline;
  3113. function getUTXSEL : TBits_2; inline;
  3114. function getw : TBits_32; inline;
  3115. procedure setADDEN(thebits : TBits_1); inline;
  3116. procedure setADDR(thebits : TBits_8); inline;
  3117. procedure setADM_EN(thebits : TBits_1); inline;
  3118. procedure setFERR(thebits : TBits_1); inline;
  3119. procedure setOERR(thebits : TBits_1); inline;
  3120. procedure setPERR(thebits : TBits_1); inline;
  3121. procedure setRIDLE(thebits : TBits_1); inline;
  3122. procedure setTRMT(thebits : TBits_1); inline;
  3123. procedure setURXDA(thebits : TBits_1); inline;
  3124. procedure setURXEN(thebits : TBits_1); inline;
  3125. procedure setURXISEL(thebits : TBits_2); inline;
  3126. procedure setURXISEL0(thebits : TBits_1); inline;
  3127. procedure setURXISEL1(thebits : TBits_1); inline;
  3128. procedure setUTXBF(thebits : TBits_1); inline;
  3129. procedure setUTXBRK(thebits : TBits_1); inline;
  3130. procedure setUTXEN(thebits : TBits_1); inline;
  3131. procedure setUTXINV(thebits : TBits_1); inline;
  3132. procedure setUTXISEL(thebits : TBits_2); inline;
  3133. procedure setUTXISEL0(thebits : TBits_1); inline;
  3134. procedure setUTXISEL1(thebits : TBits_1); inline;
  3135. procedure setUTXSEL(thebits : TBits_2); inline;
  3136. procedure setw(thebits : TBits_32); inline;
  3137. public
  3138. procedure clearADDEN; inline;
  3139. procedure clearADM_EN; inline;
  3140. procedure clearFERR; inline;
  3141. procedure clearOERR; inline;
  3142. procedure clearPERR; inline;
  3143. procedure clearRIDLE; inline;
  3144. procedure clearTRMT; inline;
  3145. procedure clearURXDA; inline;
  3146. procedure clearURXEN; inline;
  3147. procedure clearURXISEL0; inline;
  3148. procedure clearURXISEL1; inline;
  3149. procedure clearUTXBF; inline;
  3150. procedure clearUTXBRK; inline;
  3151. procedure clearUTXEN; inline;
  3152. procedure clearUTXINV; inline;
  3153. procedure clearUTXISEL0; inline;
  3154. procedure clearUTXISEL1; inline;
  3155. procedure setADDEN; inline;
  3156. procedure setADM_EN; inline;
  3157. procedure setFERR; inline;
  3158. procedure setOERR; inline;
  3159. procedure setPERR; inline;
  3160. procedure setRIDLE; inline;
  3161. procedure setTRMT; inline;
  3162. procedure setURXDA; inline;
  3163. procedure setURXEN; inline;
  3164. procedure setURXISEL0; inline;
  3165. procedure setURXISEL1; inline;
  3166. procedure setUTXBF; inline;
  3167. procedure setUTXBRK; inline;
  3168. procedure setUTXEN; inline;
  3169. procedure setUTXINV; inline;
  3170. procedure setUTXISEL0; inline;
  3171. procedure setUTXISEL1; inline;
  3172. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3173. property ADDR : TBits_8 read getADDR write setADDR;
  3174. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3175. property FERR : TBits_1 read getFERR write setFERR;
  3176. property OERR : TBits_1 read getOERR write setOERR;
  3177. property PERR : TBits_1 read getPERR write setPERR;
  3178. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3179. property TRMT : TBits_1 read getTRMT write setTRMT;
  3180. property URXDA : TBits_1 read getURXDA write setURXDA;
  3181. property URXEN : TBits_1 read getURXEN write setURXEN;
  3182. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3183. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3184. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3185. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3186. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3187. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3188. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3189. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3190. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3191. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3192. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3193. property w : TBits_32 read getw write setw;
  3194. end;
  3195. type
  3196. TUART1Registers = record
  3197. U1AMODEbits : TUART1_U1AMODE;
  3198. U1AMODE : longWord;
  3199. U1MODEbits : TUART1_U1MODE;
  3200. U1MODE : longWord;
  3201. U1AMODECLR : longWord;
  3202. U1MODECLR : longWord;
  3203. U1AMODESET : longWord;
  3204. U1MODESET : longWord;
  3205. U1AMODEINV : longWord;
  3206. U1MODEINV : longWord;
  3207. U1ASTAbits : TUART1_U1ASTA;
  3208. U1ASTA : longWord;
  3209. U1STAbits : TUART1_U1STA;
  3210. U1STA : longWord;
  3211. U1ASTACLR : longWord;
  3212. U1STACLR : longWord;
  3213. U1ASTASET : longWord;
  3214. U1STASET : longWord;
  3215. U1ASTAINV : longWord;
  3216. U1STAINV : longWord;
  3217. U1ATXREG : longWord;
  3218. U1TXREG : longWord;
  3219. U1ARXREG : longWord;
  3220. U1RXREG : longWord;
  3221. U1ABRG : longWord;
  3222. U1BRG : longWord;
  3223. U1ABRGCLR : longWord;
  3224. U1BRGCLR : longWord;
  3225. U1ABRGSET : longWord;
  3226. U1BRGSET : longWord;
  3227. U1ABRGINV : longWord;
  3228. U1BRGINV : longWord;
  3229. end;
  3230. TUART2_U2MODE = record
  3231. private
  3232. function getABAUD : TBits_1; inline;
  3233. function getBRGH : TBits_1; inline;
  3234. function getIREN : TBits_1; inline;
  3235. function getLPBACK : TBits_1; inline;
  3236. function getON : TBits_1; inline;
  3237. function getPDSEL : TBits_2; inline;
  3238. function getPDSEL0 : TBits_1; inline;
  3239. function getPDSEL1 : TBits_1; inline;
  3240. function getRTSMD : TBits_1; inline;
  3241. function getRXINV : TBits_1; inline;
  3242. function getSIDL : TBits_1; inline;
  3243. function getSTSEL : TBits_1; inline;
  3244. function getUARTEN : TBits_1; inline;
  3245. function getUEN : TBits_2; inline;
  3246. function getUEN0 : TBits_1; inline;
  3247. function getUEN1 : TBits_1; inline;
  3248. function getUSIDL : TBits_1; inline;
  3249. function getWAKE : TBits_1; inline;
  3250. function getw : TBits_32; inline;
  3251. procedure setABAUD(thebits : TBits_1); inline;
  3252. procedure setBRGH(thebits : TBits_1); inline;
  3253. procedure setIREN(thebits : TBits_1); inline;
  3254. procedure setLPBACK(thebits : TBits_1); inline;
  3255. procedure setON(thebits : TBits_1); inline;
  3256. procedure setPDSEL(thebits : TBits_2); inline;
  3257. procedure setPDSEL0(thebits : TBits_1); inline;
  3258. procedure setPDSEL1(thebits : TBits_1); inline;
  3259. procedure setRTSMD(thebits : TBits_1); inline;
  3260. procedure setRXINV(thebits : TBits_1); inline;
  3261. procedure setSIDL(thebits : TBits_1); inline;
  3262. procedure setSTSEL(thebits : TBits_1); inline;
  3263. procedure setUARTEN(thebits : TBits_1); inline;
  3264. procedure setUEN(thebits : TBits_2); inline;
  3265. procedure setUEN0(thebits : TBits_1); inline;
  3266. procedure setUEN1(thebits : TBits_1); inline;
  3267. procedure setUSIDL(thebits : TBits_1); inline;
  3268. procedure setWAKE(thebits : TBits_1); inline;
  3269. procedure setw(thebits : TBits_32); inline;
  3270. public
  3271. procedure clearABAUD; inline;
  3272. procedure clearBRGH; inline;
  3273. procedure clearIREN; inline;
  3274. procedure clearLPBACK; inline;
  3275. procedure clearON; inline;
  3276. procedure clearPDSEL0; inline;
  3277. procedure clearPDSEL1; inline;
  3278. procedure clearRTSMD; inline;
  3279. procedure clearRXINV; inline;
  3280. procedure clearSIDL; inline;
  3281. procedure clearSTSEL; inline;
  3282. procedure clearUARTEN; inline;
  3283. procedure clearUEN0; inline;
  3284. procedure clearUEN1; inline;
  3285. procedure clearUSIDL; inline;
  3286. procedure clearWAKE; inline;
  3287. procedure setABAUD; inline;
  3288. procedure setBRGH; inline;
  3289. procedure setIREN; inline;
  3290. procedure setLPBACK; inline;
  3291. procedure setON; inline;
  3292. procedure setPDSEL0; inline;
  3293. procedure setPDSEL1; inline;
  3294. procedure setRTSMD; inline;
  3295. procedure setRXINV; inline;
  3296. procedure setSIDL; inline;
  3297. procedure setSTSEL; inline;
  3298. procedure setUARTEN; inline;
  3299. procedure setUEN0; inline;
  3300. procedure setUEN1; inline;
  3301. procedure setUSIDL; inline;
  3302. procedure setWAKE; inline;
  3303. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3304. property BRGH : TBits_1 read getBRGH write setBRGH;
  3305. property IREN : TBits_1 read getIREN write setIREN;
  3306. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3307. property ON : TBits_1 read getON write setON;
  3308. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3309. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3310. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3311. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3312. property RXINV : TBits_1 read getRXINV write setRXINV;
  3313. property SIDL : TBits_1 read getSIDL write setSIDL;
  3314. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3315. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3316. property UEN : TBits_2 read getUEN write setUEN;
  3317. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3318. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3319. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3320. property WAKE : TBits_1 read getWAKE write setWAKE;
  3321. property w : TBits_32 read getw write setw;
  3322. end;
  3323. TUART2_U3AMODE = record
  3324. private
  3325. function getABAUD : TBits_1; inline;
  3326. function getBRGH : TBits_1; inline;
  3327. function getIREN : TBits_1; inline;
  3328. function getLPBACK : TBits_1; inline;
  3329. function getON : TBits_1; inline;
  3330. function getPDSEL : TBits_2; inline;
  3331. function getPDSEL0 : TBits_1; inline;
  3332. function getPDSEL1 : TBits_1; inline;
  3333. function getRTSMD : TBits_1; inline;
  3334. function getRXINV : TBits_1; inline;
  3335. function getSIDL : TBits_1; inline;
  3336. function getSTSEL : TBits_1; inline;
  3337. function getUARTEN : TBits_1; inline;
  3338. function getUEN : TBits_2; inline;
  3339. function getUEN0 : TBits_1; inline;
  3340. function getUEN1 : TBits_1; inline;
  3341. function getUSIDL : TBits_1; inline;
  3342. function getWAKE : TBits_1; inline;
  3343. function getw : TBits_32; inline;
  3344. procedure setABAUD(thebits : TBits_1); inline;
  3345. procedure setBRGH(thebits : TBits_1); inline;
  3346. procedure setIREN(thebits : TBits_1); inline;
  3347. procedure setLPBACK(thebits : TBits_1); inline;
  3348. procedure setON(thebits : TBits_1); inline;
  3349. procedure setPDSEL(thebits : TBits_2); inline;
  3350. procedure setPDSEL0(thebits : TBits_1); inline;
  3351. procedure setPDSEL1(thebits : TBits_1); inline;
  3352. procedure setRTSMD(thebits : TBits_1); inline;
  3353. procedure setRXINV(thebits : TBits_1); inline;
  3354. procedure setSIDL(thebits : TBits_1); inline;
  3355. procedure setSTSEL(thebits : TBits_1); inline;
  3356. procedure setUARTEN(thebits : TBits_1); inline;
  3357. procedure setUEN(thebits : TBits_2); inline;
  3358. procedure setUEN0(thebits : TBits_1); inline;
  3359. procedure setUEN1(thebits : TBits_1); inline;
  3360. procedure setUSIDL(thebits : TBits_1); inline;
  3361. procedure setWAKE(thebits : TBits_1); inline;
  3362. procedure setw(thebits : TBits_32); inline;
  3363. public
  3364. procedure clearABAUD; inline;
  3365. procedure clearBRGH; inline;
  3366. procedure clearIREN; inline;
  3367. procedure clearLPBACK; inline;
  3368. procedure clearON; inline;
  3369. procedure clearPDSEL0; inline;
  3370. procedure clearPDSEL1; inline;
  3371. procedure clearRTSMD; inline;
  3372. procedure clearRXINV; inline;
  3373. procedure clearSIDL; inline;
  3374. procedure clearSTSEL; inline;
  3375. procedure clearUARTEN; inline;
  3376. procedure clearUEN0; inline;
  3377. procedure clearUEN1; inline;
  3378. procedure clearUSIDL; inline;
  3379. procedure clearWAKE; inline;
  3380. procedure setABAUD; inline;
  3381. procedure setBRGH; inline;
  3382. procedure setIREN; inline;
  3383. procedure setLPBACK; inline;
  3384. procedure setON; inline;
  3385. procedure setPDSEL0; inline;
  3386. procedure setPDSEL1; inline;
  3387. procedure setRTSMD; inline;
  3388. procedure setRXINV; inline;
  3389. procedure setSIDL; inline;
  3390. procedure setSTSEL; inline;
  3391. procedure setUARTEN; inline;
  3392. procedure setUEN0; inline;
  3393. procedure setUEN1; inline;
  3394. procedure setUSIDL; inline;
  3395. procedure setWAKE; inline;
  3396. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3397. property BRGH : TBits_1 read getBRGH write setBRGH;
  3398. property IREN : TBits_1 read getIREN write setIREN;
  3399. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3400. property ON : TBits_1 read getON write setON;
  3401. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3402. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3403. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3404. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3405. property RXINV : TBits_1 read getRXINV write setRXINV;
  3406. property SIDL : TBits_1 read getSIDL write setSIDL;
  3407. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3408. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3409. property UEN : TBits_2 read getUEN write setUEN;
  3410. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3411. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3412. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3413. property WAKE : TBits_1 read getWAKE write setWAKE;
  3414. property w : TBits_32 read getw write setw;
  3415. end;
  3416. TUART2_U2STA = record
  3417. private
  3418. function getADDEN : TBits_1; inline;
  3419. function getADDR : TBits_8; inline;
  3420. function getADM_EN : TBits_1; inline;
  3421. function getFERR : TBits_1; inline;
  3422. function getOERR : TBits_1; inline;
  3423. function getPERR : TBits_1; inline;
  3424. function getRIDLE : TBits_1; inline;
  3425. function getTRMT : TBits_1; inline;
  3426. function getURXDA : TBits_1; inline;
  3427. function getURXEN : TBits_1; inline;
  3428. function getURXISEL : TBits_2; inline;
  3429. function getURXISEL0 : TBits_1; inline;
  3430. function getURXISEL1 : TBits_1; inline;
  3431. function getUTXBF : TBits_1; inline;
  3432. function getUTXBRK : TBits_1; inline;
  3433. function getUTXEN : TBits_1; inline;
  3434. function getUTXINV : TBits_1; inline;
  3435. function getUTXISEL : TBits_2; inline;
  3436. function getUTXISEL0 : TBits_1; inline;
  3437. function getUTXISEL1 : TBits_1; inline;
  3438. function getUTXSEL : TBits_2; inline;
  3439. function getw : TBits_32; inline;
  3440. procedure setADDEN(thebits : TBits_1); inline;
  3441. procedure setADDR(thebits : TBits_8); inline;
  3442. procedure setADM_EN(thebits : TBits_1); inline;
  3443. procedure setFERR(thebits : TBits_1); inline;
  3444. procedure setOERR(thebits : TBits_1); inline;
  3445. procedure setPERR(thebits : TBits_1); inline;
  3446. procedure setRIDLE(thebits : TBits_1); inline;
  3447. procedure setTRMT(thebits : TBits_1); inline;
  3448. procedure setURXDA(thebits : TBits_1); inline;
  3449. procedure setURXEN(thebits : TBits_1); inline;
  3450. procedure setURXISEL(thebits : TBits_2); inline;
  3451. procedure setURXISEL0(thebits : TBits_1); inline;
  3452. procedure setURXISEL1(thebits : TBits_1); inline;
  3453. procedure setUTXBF(thebits : TBits_1); inline;
  3454. procedure setUTXBRK(thebits : TBits_1); inline;
  3455. procedure setUTXEN(thebits : TBits_1); inline;
  3456. procedure setUTXINV(thebits : TBits_1); inline;
  3457. procedure setUTXISEL(thebits : TBits_2); inline;
  3458. procedure setUTXISEL0(thebits : TBits_1); inline;
  3459. procedure setUTXISEL1(thebits : TBits_1); inline;
  3460. procedure setUTXSEL(thebits : TBits_2); inline;
  3461. procedure setw(thebits : TBits_32); inline;
  3462. public
  3463. procedure clearADDEN; inline;
  3464. procedure clearADM_EN; inline;
  3465. procedure clearFERR; inline;
  3466. procedure clearOERR; inline;
  3467. procedure clearPERR; inline;
  3468. procedure clearRIDLE; inline;
  3469. procedure clearTRMT; inline;
  3470. procedure clearURXDA; inline;
  3471. procedure clearURXEN; inline;
  3472. procedure clearURXISEL0; inline;
  3473. procedure clearURXISEL1; inline;
  3474. procedure clearUTXBF; inline;
  3475. procedure clearUTXBRK; inline;
  3476. procedure clearUTXEN; inline;
  3477. procedure clearUTXINV; inline;
  3478. procedure clearUTXISEL0; inline;
  3479. procedure clearUTXISEL1; inline;
  3480. procedure setADDEN; inline;
  3481. procedure setADM_EN; inline;
  3482. procedure setFERR; inline;
  3483. procedure setOERR; inline;
  3484. procedure setPERR; inline;
  3485. procedure setRIDLE; inline;
  3486. procedure setTRMT; inline;
  3487. procedure setURXDA; inline;
  3488. procedure setURXEN; inline;
  3489. procedure setURXISEL0; inline;
  3490. procedure setURXISEL1; inline;
  3491. procedure setUTXBF; inline;
  3492. procedure setUTXBRK; inline;
  3493. procedure setUTXEN; inline;
  3494. procedure setUTXINV; inline;
  3495. procedure setUTXISEL0; inline;
  3496. procedure setUTXISEL1; inline;
  3497. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3498. property ADDR : TBits_8 read getADDR write setADDR;
  3499. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3500. property FERR : TBits_1 read getFERR write setFERR;
  3501. property OERR : TBits_1 read getOERR write setOERR;
  3502. property PERR : TBits_1 read getPERR write setPERR;
  3503. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3504. property TRMT : TBits_1 read getTRMT write setTRMT;
  3505. property URXDA : TBits_1 read getURXDA write setURXDA;
  3506. property URXEN : TBits_1 read getURXEN write setURXEN;
  3507. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3508. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3509. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3510. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3511. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3512. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3513. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3514. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3515. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3516. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3517. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3518. property w : TBits_32 read getw write setw;
  3519. end;
  3520. TUART2_U3ASTA = record
  3521. private
  3522. function getADDEN : TBits_1; inline;
  3523. function getADDR : TBits_8; inline;
  3524. function getADM_EN : TBits_1; inline;
  3525. function getFERR : TBits_1; inline;
  3526. function getOERR : TBits_1; inline;
  3527. function getPERR : TBits_1; inline;
  3528. function getRIDLE : TBits_1; inline;
  3529. function getTRMT : TBits_1; inline;
  3530. function getURXDA : TBits_1; inline;
  3531. function getURXEN : TBits_1; inline;
  3532. function getURXISEL : TBits_2; inline;
  3533. function getURXISEL0 : TBits_1; inline;
  3534. function getURXISEL1 : TBits_1; inline;
  3535. function getUTXBF : TBits_1; inline;
  3536. function getUTXBRK : TBits_1; inline;
  3537. function getUTXEN : TBits_1; inline;
  3538. function getUTXINV : TBits_1; inline;
  3539. function getUTXISEL : TBits_2; inline;
  3540. function getUTXISEL0 : TBits_1; inline;
  3541. function getUTXISEL1 : TBits_1; inline;
  3542. function getUTXSEL : TBits_2; inline;
  3543. function getw : TBits_32; inline;
  3544. procedure setADDEN(thebits : TBits_1); inline;
  3545. procedure setADDR(thebits : TBits_8); inline;
  3546. procedure setADM_EN(thebits : TBits_1); inline;
  3547. procedure setFERR(thebits : TBits_1); inline;
  3548. procedure setOERR(thebits : TBits_1); inline;
  3549. procedure setPERR(thebits : TBits_1); inline;
  3550. procedure setRIDLE(thebits : TBits_1); inline;
  3551. procedure setTRMT(thebits : TBits_1); inline;
  3552. procedure setURXDA(thebits : TBits_1); inline;
  3553. procedure setURXEN(thebits : TBits_1); inline;
  3554. procedure setURXISEL(thebits : TBits_2); inline;
  3555. procedure setURXISEL0(thebits : TBits_1); inline;
  3556. procedure setURXISEL1(thebits : TBits_1); inline;
  3557. procedure setUTXBF(thebits : TBits_1); inline;
  3558. procedure setUTXBRK(thebits : TBits_1); inline;
  3559. procedure setUTXEN(thebits : TBits_1); inline;
  3560. procedure setUTXINV(thebits : TBits_1); inline;
  3561. procedure setUTXISEL(thebits : TBits_2); inline;
  3562. procedure setUTXISEL0(thebits : TBits_1); inline;
  3563. procedure setUTXISEL1(thebits : TBits_1); inline;
  3564. procedure setUTXSEL(thebits : TBits_2); inline;
  3565. procedure setw(thebits : TBits_32); inline;
  3566. public
  3567. procedure clearADDEN; inline;
  3568. procedure clearADM_EN; inline;
  3569. procedure clearFERR; inline;
  3570. procedure clearOERR; inline;
  3571. procedure clearPERR; inline;
  3572. procedure clearRIDLE; inline;
  3573. procedure clearTRMT; inline;
  3574. procedure clearURXDA; inline;
  3575. procedure clearURXEN; inline;
  3576. procedure clearURXISEL0; inline;
  3577. procedure clearURXISEL1; inline;
  3578. procedure clearUTXBF; inline;
  3579. procedure clearUTXBRK; inline;
  3580. procedure clearUTXEN; inline;
  3581. procedure clearUTXINV; inline;
  3582. procedure clearUTXISEL0; inline;
  3583. procedure clearUTXISEL1; inline;
  3584. procedure setADDEN; inline;
  3585. procedure setADM_EN; inline;
  3586. procedure setFERR; inline;
  3587. procedure setOERR; inline;
  3588. procedure setPERR; inline;
  3589. procedure setRIDLE; inline;
  3590. procedure setTRMT; inline;
  3591. procedure setURXDA; inline;
  3592. procedure setURXEN; inline;
  3593. procedure setURXISEL0; inline;
  3594. procedure setURXISEL1; inline;
  3595. procedure setUTXBF; inline;
  3596. procedure setUTXBRK; inline;
  3597. procedure setUTXEN; inline;
  3598. procedure setUTXINV; inline;
  3599. procedure setUTXISEL0; inline;
  3600. procedure setUTXISEL1; inline;
  3601. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3602. property ADDR : TBits_8 read getADDR write setADDR;
  3603. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3604. property FERR : TBits_1 read getFERR write setFERR;
  3605. property OERR : TBits_1 read getOERR write setOERR;
  3606. property PERR : TBits_1 read getPERR write setPERR;
  3607. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3608. property TRMT : TBits_1 read getTRMT write setTRMT;
  3609. property URXDA : TBits_1 read getURXDA write setURXDA;
  3610. property URXEN : TBits_1 read getURXEN write setURXEN;
  3611. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3612. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3613. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3614. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3615. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3616. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3617. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3618. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3619. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3620. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3621. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3622. property w : TBits_32 read getw write setw;
  3623. end;
  3624. type
  3625. TUART2Registers = record
  3626. U2MODEbits : TUART2_U2MODE;
  3627. U2MODE : longWord;
  3628. U3AMODEbits : TUART2_U3AMODE;
  3629. U3AMODE : longWord;
  3630. U2MODECLR : longWord;
  3631. U3AMODECLR : longWord;
  3632. U2MODESET : longWord;
  3633. U3AMODESET : longWord;
  3634. U2MODEINV : longWord;
  3635. U3AMODEINV : longWord;
  3636. U2STAbits : TUART2_U2STA;
  3637. U2STA : longWord;
  3638. U3ASTAbits : TUART2_U3ASTA;
  3639. U3ASTA : longWord;
  3640. U2STACLR : longWord;
  3641. U3ASTACLR : longWord;
  3642. U2STASET : longWord;
  3643. U3ASTASET : longWord;
  3644. U2STAINV : longWord;
  3645. U3ASTAINV : longWord;
  3646. U2TXREG : longWord;
  3647. U3ATXREG : longWord;
  3648. U2RXREG : longWord;
  3649. U3ARXREG : longWord;
  3650. U2BRG : longWord;
  3651. U3ABRG : longWord;
  3652. U2BRGCLR : longWord;
  3653. U3ABRGCLR : longWord;
  3654. U2BRGSET : longWord;
  3655. U3ABRGSET : longWord;
  3656. U2BRGINV : longWord;
  3657. U3ABRGINV : longWord;
  3658. end;
  3659. TPMP_PMCON = record
  3660. private
  3661. function getADRMUX : TBits_2; inline;
  3662. function getADRMUX0 : TBits_1; inline;
  3663. function getADRMUX1 : TBits_1; inline;
  3664. function getALP : TBits_1; inline;
  3665. function getCS1P : TBits_1; inline;
  3666. function getCSF : TBits_2; inline;
  3667. function getCSF0 : TBits_1; inline;
  3668. function getCSF1 : TBits_1; inline;
  3669. function getON : TBits_1; inline;
  3670. function getPMPEN : TBits_1; inline;
  3671. function getPMPTTL : TBits_1; inline;
  3672. function getPSIDL : TBits_1; inline;
  3673. function getPTRDEN : TBits_1; inline;
  3674. function getPTWREN : TBits_1; inline;
  3675. function getRDSP : TBits_1; inline;
  3676. function getSIDL : TBits_1; inline;
  3677. function getWRSP : TBits_1; inline;
  3678. function getw : TBits_32; inline;
  3679. procedure setADRMUX(thebits : TBits_2); inline;
  3680. procedure setADRMUX0(thebits : TBits_1); inline;
  3681. procedure setADRMUX1(thebits : TBits_1); inline;
  3682. procedure setALP(thebits : TBits_1); inline;
  3683. procedure setCS1P(thebits : TBits_1); inline;
  3684. procedure setCSF(thebits : TBits_2); inline;
  3685. procedure setCSF0(thebits : TBits_1); inline;
  3686. procedure setCSF1(thebits : TBits_1); inline;
  3687. procedure setON(thebits : TBits_1); inline;
  3688. procedure setPMPEN(thebits : TBits_1); inline;
  3689. procedure setPMPTTL(thebits : TBits_1); inline;
  3690. procedure setPSIDL(thebits : TBits_1); inline;
  3691. procedure setPTRDEN(thebits : TBits_1); inline;
  3692. procedure setPTWREN(thebits : TBits_1); inline;
  3693. procedure setRDSP(thebits : TBits_1); inline;
  3694. procedure setSIDL(thebits : TBits_1); inline;
  3695. procedure setWRSP(thebits : TBits_1); inline;
  3696. procedure setw(thebits : TBits_32); inline;
  3697. public
  3698. procedure clearADRMUX0; inline;
  3699. procedure clearADRMUX1; inline;
  3700. procedure clearALP; inline;
  3701. procedure clearCS1P; inline;
  3702. procedure clearCSF0; inline;
  3703. procedure clearCSF1; inline;
  3704. procedure clearON; inline;
  3705. procedure clearPMPEN; inline;
  3706. procedure clearPMPTTL; inline;
  3707. procedure clearPSIDL; inline;
  3708. procedure clearPTRDEN; inline;
  3709. procedure clearPTWREN; inline;
  3710. procedure clearRDSP; inline;
  3711. procedure clearSIDL; inline;
  3712. procedure clearWRSP; inline;
  3713. procedure setADRMUX0; inline;
  3714. procedure setADRMUX1; inline;
  3715. procedure setALP; inline;
  3716. procedure setCS1P; inline;
  3717. procedure setCSF0; inline;
  3718. procedure setCSF1; inline;
  3719. procedure setON; inline;
  3720. procedure setPMPEN; inline;
  3721. procedure setPMPTTL; inline;
  3722. procedure setPSIDL; inline;
  3723. procedure setPTRDEN; inline;
  3724. procedure setPTWREN; inline;
  3725. procedure setRDSP; inline;
  3726. procedure setSIDL; inline;
  3727. procedure setWRSP; inline;
  3728. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  3729. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  3730. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  3731. property ALP : TBits_1 read getALP write setALP;
  3732. property CS1P : TBits_1 read getCS1P write setCS1P;
  3733. property CSF : TBits_2 read getCSF write setCSF;
  3734. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  3735. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  3736. property ON : TBits_1 read getON write setON;
  3737. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  3738. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  3739. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  3740. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  3741. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  3742. property RDSP : TBits_1 read getRDSP write setRDSP;
  3743. property SIDL : TBits_1 read getSIDL write setSIDL;
  3744. property WRSP : TBits_1 read getWRSP write setWRSP;
  3745. property w : TBits_32 read getw write setw;
  3746. end;
  3747. TPMP_PMMODE = record
  3748. private
  3749. function getBUSY : TBits_1; inline;
  3750. function getINCM : TBits_2; inline;
  3751. function getINCM0 : TBits_1; inline;
  3752. function getINCM1 : TBits_1; inline;
  3753. function getIRQM : TBits_2; inline;
  3754. function getIRQM0 : TBits_1; inline;
  3755. function getIRQM1 : TBits_1; inline;
  3756. function getMODE : TBits_2; inline;
  3757. function getMODE0 : TBits_1; inline;
  3758. function getMODE1 : TBits_1; inline;
  3759. function getWAITB : TBits_2; inline;
  3760. function getWAITB0 : TBits_1; inline;
  3761. function getWAITB1 : TBits_1; inline;
  3762. function getWAITE : TBits_2; inline;
  3763. function getWAITE0 : TBits_1; inline;
  3764. function getWAITE1 : TBits_1; inline;
  3765. function getWAITM : TBits_4; inline;
  3766. function getWAITM0 : TBits_1; inline;
  3767. function getWAITM1 : TBits_1; inline;
  3768. function getWAITM2 : TBits_1; inline;
  3769. function getWAITM3 : TBits_1; inline;
  3770. function getw : TBits_32; inline;
  3771. procedure setBUSY(thebits : TBits_1); inline;
  3772. procedure setINCM(thebits : TBits_2); inline;
  3773. procedure setINCM0(thebits : TBits_1); inline;
  3774. procedure setINCM1(thebits : TBits_1); inline;
  3775. procedure setIRQM(thebits : TBits_2); inline;
  3776. procedure setIRQM0(thebits : TBits_1); inline;
  3777. procedure setIRQM1(thebits : TBits_1); inline;
  3778. procedure setMODE(thebits : TBits_2); inline;
  3779. procedure setMODE0(thebits : TBits_1); inline;
  3780. procedure setMODE1(thebits : TBits_1); inline;
  3781. procedure setWAITB(thebits : TBits_2); inline;
  3782. procedure setWAITB0(thebits : TBits_1); inline;
  3783. procedure setWAITB1(thebits : TBits_1); inline;
  3784. procedure setWAITE(thebits : TBits_2); inline;
  3785. procedure setWAITE0(thebits : TBits_1); inline;
  3786. procedure setWAITE1(thebits : TBits_1); inline;
  3787. procedure setWAITM(thebits : TBits_4); inline;
  3788. procedure setWAITM0(thebits : TBits_1); inline;
  3789. procedure setWAITM1(thebits : TBits_1); inline;
  3790. procedure setWAITM2(thebits : TBits_1); inline;
  3791. procedure setWAITM3(thebits : TBits_1); inline;
  3792. procedure setw(thebits : TBits_32); inline;
  3793. public
  3794. procedure clearBUSY; inline;
  3795. procedure clearINCM0; inline;
  3796. procedure clearINCM1; inline;
  3797. procedure clearIRQM0; inline;
  3798. procedure clearIRQM1; inline;
  3799. procedure clearMODE0; inline;
  3800. procedure clearMODE1; inline;
  3801. procedure clearWAITB0; inline;
  3802. procedure clearWAITB1; inline;
  3803. procedure clearWAITE0; inline;
  3804. procedure clearWAITE1; inline;
  3805. procedure clearWAITM0; inline;
  3806. procedure clearWAITM1; inline;
  3807. procedure clearWAITM2; inline;
  3808. procedure clearWAITM3; inline;
  3809. procedure setBUSY; inline;
  3810. procedure setINCM0; inline;
  3811. procedure setINCM1; inline;
  3812. procedure setIRQM0; inline;
  3813. procedure setIRQM1; inline;
  3814. procedure setMODE0; inline;
  3815. procedure setMODE1; inline;
  3816. procedure setWAITB0; inline;
  3817. procedure setWAITB1; inline;
  3818. procedure setWAITE0; inline;
  3819. procedure setWAITE1; inline;
  3820. procedure setWAITM0; inline;
  3821. procedure setWAITM1; inline;
  3822. procedure setWAITM2; inline;
  3823. procedure setWAITM3; inline;
  3824. property BUSY : TBits_1 read getBUSY write setBUSY;
  3825. property INCM : TBits_2 read getINCM write setINCM;
  3826. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  3827. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  3828. property IRQM : TBits_2 read getIRQM write setIRQM;
  3829. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  3830. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  3831. property MODE : TBits_2 read getMODE write setMODE;
  3832. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  3833. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  3834. property WAITB : TBits_2 read getWAITB write setWAITB;
  3835. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  3836. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  3837. property WAITE : TBits_2 read getWAITE write setWAITE;
  3838. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  3839. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  3840. property WAITM : TBits_4 read getWAITM write setWAITM;
  3841. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  3842. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  3843. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  3844. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  3845. property w : TBits_32 read getw write setw;
  3846. end;
  3847. TPMP_PMADDR = record
  3848. private
  3849. function getADDR : TBits_14; inline;
  3850. function getCS : TBits_2; inline;
  3851. function getCS1 : TBits_1; inline;
  3852. function getPADDR : TBits_14; inline;
  3853. function getw : TBits_32; inline;
  3854. procedure setADDR(thebits : TBits_14); inline;
  3855. procedure setCS(thebits : TBits_2); inline;
  3856. procedure setCS1(thebits : TBits_1); inline;
  3857. procedure setPADDR(thebits : TBits_14); inline;
  3858. procedure setw(thebits : TBits_32); inline;
  3859. public
  3860. procedure clearCS1; inline;
  3861. procedure setCS1; inline;
  3862. property ADDR : TBits_14 read getADDR write setADDR;
  3863. property CS : TBits_2 read getCS write setCS;
  3864. property CS1 : TBits_1 read getCS1 write setCS1;
  3865. property PADDR : TBits_14 read getPADDR write setPADDR;
  3866. property w : TBits_32 read getw write setw;
  3867. end;
  3868. TPMP_PMDOUT = record
  3869. private
  3870. function getDATAOUT : TBits_32; inline;
  3871. function getw : TBits_32; inline;
  3872. procedure setDATAOUT(thebits : TBits_32); inline;
  3873. procedure setw(thebits : TBits_32); inline;
  3874. public
  3875. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  3876. property w : TBits_32 read getw write setw;
  3877. end;
  3878. TPMP_PMDIN = record
  3879. private
  3880. function getDATAIN : TBits_32; inline;
  3881. function getw : TBits_32; inline;
  3882. procedure setDATAIN(thebits : TBits_32); inline;
  3883. procedure setw(thebits : TBits_32); inline;
  3884. public
  3885. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  3886. property w : TBits_32 read getw write setw;
  3887. end;
  3888. TPMP_PMAEN = record
  3889. private
  3890. function getPTEN : TBits_16; inline;
  3891. function getPTEN0 : TBits_1; inline;
  3892. function getPTEN1 : TBits_1; inline;
  3893. function getPTEN10 : TBits_1; inline;
  3894. function getPTEN11 : TBits_1; inline;
  3895. function getPTEN12 : TBits_1; inline;
  3896. function getPTEN13 : TBits_1; inline;
  3897. function getPTEN14 : TBits_1; inline;
  3898. function getPTEN15 : TBits_1; inline;
  3899. function getPTEN2 : TBits_1; inline;
  3900. function getPTEN3 : TBits_1; inline;
  3901. function getPTEN4 : TBits_1; inline;
  3902. function getPTEN5 : TBits_1; inline;
  3903. function getPTEN6 : TBits_1; inline;
  3904. function getPTEN7 : TBits_1; inline;
  3905. function getPTEN8 : TBits_1; inline;
  3906. function getPTEN9 : TBits_1; inline;
  3907. function getw : TBits_32; inline;
  3908. procedure setPTEN(thebits : TBits_16); inline;
  3909. procedure setPTEN0(thebits : TBits_1); inline;
  3910. procedure setPTEN1(thebits : TBits_1); inline;
  3911. procedure setPTEN10(thebits : TBits_1); inline;
  3912. procedure setPTEN11(thebits : TBits_1); inline;
  3913. procedure setPTEN12(thebits : TBits_1); inline;
  3914. procedure setPTEN13(thebits : TBits_1); inline;
  3915. procedure setPTEN14(thebits : TBits_1); inline;
  3916. procedure setPTEN15(thebits : TBits_1); inline;
  3917. procedure setPTEN2(thebits : TBits_1); inline;
  3918. procedure setPTEN3(thebits : TBits_1); inline;
  3919. procedure setPTEN4(thebits : TBits_1); inline;
  3920. procedure setPTEN5(thebits : TBits_1); inline;
  3921. procedure setPTEN6(thebits : TBits_1); inline;
  3922. procedure setPTEN7(thebits : TBits_1); inline;
  3923. procedure setPTEN8(thebits : TBits_1); inline;
  3924. procedure setPTEN9(thebits : TBits_1); inline;
  3925. procedure setw(thebits : TBits_32); inline;
  3926. public
  3927. procedure clearPTEN0; inline;
  3928. procedure clearPTEN10; inline;
  3929. procedure clearPTEN11; inline;
  3930. procedure clearPTEN12; inline;
  3931. procedure clearPTEN13; inline;
  3932. procedure clearPTEN14; inline;
  3933. procedure clearPTEN15; inline;
  3934. procedure clearPTEN1; inline;
  3935. procedure clearPTEN2; inline;
  3936. procedure clearPTEN3; inline;
  3937. procedure clearPTEN4; inline;
  3938. procedure clearPTEN5; inline;
  3939. procedure clearPTEN6; inline;
  3940. procedure clearPTEN7; inline;
  3941. procedure clearPTEN8; inline;
  3942. procedure clearPTEN9; inline;
  3943. procedure setPTEN0; inline;
  3944. procedure setPTEN10; inline;
  3945. procedure setPTEN11; inline;
  3946. procedure setPTEN12; inline;
  3947. procedure setPTEN13; inline;
  3948. procedure setPTEN14; inline;
  3949. procedure setPTEN15; inline;
  3950. procedure setPTEN1; inline;
  3951. procedure setPTEN2; inline;
  3952. procedure setPTEN3; inline;
  3953. procedure setPTEN4; inline;
  3954. procedure setPTEN5; inline;
  3955. procedure setPTEN6; inline;
  3956. procedure setPTEN7; inline;
  3957. procedure setPTEN8; inline;
  3958. procedure setPTEN9; inline;
  3959. property PTEN : TBits_16 read getPTEN write setPTEN;
  3960. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  3961. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  3962. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  3963. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  3964. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  3965. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  3966. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  3967. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  3968. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  3969. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  3970. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  3971. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  3972. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  3973. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  3974. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  3975. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  3976. property w : TBits_32 read getw write setw;
  3977. end;
  3978. TPMP_PMSTAT = record
  3979. private
  3980. function getIB0F : TBits_1; inline;
  3981. function getIB1F : TBits_1; inline;
  3982. function getIB2F : TBits_1; inline;
  3983. function getIB3F : TBits_1; inline;
  3984. function getIBF : TBits_1; inline;
  3985. function getIBOV : TBits_1; inline;
  3986. function getOB0E : TBits_1; inline;
  3987. function getOB1E : TBits_1; inline;
  3988. function getOB2E : TBits_1; inline;
  3989. function getOB3E : TBits_1; inline;
  3990. function getOBE : TBits_1; inline;
  3991. function getOBUF : TBits_1; inline;
  3992. function getw : TBits_32; inline;
  3993. procedure setIB0F(thebits : TBits_1); inline;
  3994. procedure setIB1F(thebits : TBits_1); inline;
  3995. procedure setIB2F(thebits : TBits_1); inline;
  3996. procedure setIB3F(thebits : TBits_1); inline;
  3997. procedure setIBF(thebits : TBits_1); inline;
  3998. procedure setIBOV(thebits : TBits_1); inline;
  3999. procedure setOB0E(thebits : TBits_1); inline;
  4000. procedure setOB1E(thebits : TBits_1); inline;
  4001. procedure setOB2E(thebits : TBits_1); inline;
  4002. procedure setOB3E(thebits : TBits_1); inline;
  4003. procedure setOBE(thebits : TBits_1); inline;
  4004. procedure setOBUF(thebits : TBits_1); inline;
  4005. procedure setw(thebits : TBits_32); inline;
  4006. public
  4007. procedure clearIB0F; inline;
  4008. procedure clearIB1F; inline;
  4009. procedure clearIB2F; inline;
  4010. procedure clearIB3F; inline;
  4011. procedure clearIBF; inline;
  4012. procedure clearIBOV; inline;
  4013. procedure clearOB0E; inline;
  4014. procedure clearOB1E; inline;
  4015. procedure clearOB2E; inline;
  4016. procedure clearOB3E; inline;
  4017. procedure clearOBE; inline;
  4018. procedure clearOBUF; inline;
  4019. procedure setIB0F; inline;
  4020. procedure setIB1F; inline;
  4021. procedure setIB2F; inline;
  4022. procedure setIB3F; inline;
  4023. procedure setIBF; inline;
  4024. procedure setIBOV; inline;
  4025. procedure setOB0E; inline;
  4026. procedure setOB1E; inline;
  4027. procedure setOB2E; inline;
  4028. procedure setOB3E; inline;
  4029. procedure setOBE; inline;
  4030. procedure setOBUF; inline;
  4031. property IB0F : TBits_1 read getIB0F write setIB0F;
  4032. property IB1F : TBits_1 read getIB1F write setIB1F;
  4033. property IB2F : TBits_1 read getIB2F write setIB2F;
  4034. property IB3F : TBits_1 read getIB3F write setIB3F;
  4035. property IBF : TBits_1 read getIBF write setIBF;
  4036. property IBOV : TBits_1 read getIBOV write setIBOV;
  4037. property OB0E : TBits_1 read getOB0E write setOB0E;
  4038. property OB1E : TBits_1 read getOB1E write setOB1E;
  4039. property OB2E : TBits_1 read getOB2E write setOB2E;
  4040. property OB3E : TBits_1 read getOB3E write setOB3E;
  4041. property OBE : TBits_1 read getOBE write setOBE;
  4042. property OBUF : TBits_1 read getOBUF write setOBUF;
  4043. property w : TBits_32 read getw write setw;
  4044. end;
  4045. type
  4046. TPMPRegisters = record
  4047. PMCONbits : TPMP_PMCON;
  4048. PMCON : longWord;
  4049. PMCONCLR : longWord;
  4050. PMCONSET : longWord;
  4051. PMCONINV : longWord;
  4052. PMMODEbits : TPMP_PMMODE;
  4053. PMMODE : longWord;
  4054. PMMODECLR : longWord;
  4055. PMMODESET : longWord;
  4056. PMMODEINV : longWord;
  4057. PMADDRbits : TPMP_PMADDR;
  4058. PMADDR : longWord;
  4059. PMADDRCLR : longWord;
  4060. PMADDRSET : longWord;
  4061. PMADDRINV : longWord;
  4062. PMDOUTbits : TPMP_PMDOUT;
  4063. PMDOUT : longWord;
  4064. PMDOUTCLR : longWord;
  4065. PMDOUTSET : longWord;
  4066. PMDOUTINV : longWord;
  4067. PMDINbits : TPMP_PMDIN;
  4068. PMDIN : longWord;
  4069. PMDINCLR : longWord;
  4070. PMDINSET : longWord;
  4071. PMDININV : longWord;
  4072. PMAENbits : TPMP_PMAEN;
  4073. PMAEN : longWord;
  4074. PMAENCLR : longWord;
  4075. PMAENSET : longWord;
  4076. PMAENINV : longWord;
  4077. PMSTATbits : TPMP_PMSTAT;
  4078. PMSTAT : longWord;
  4079. PMSTATCLR : longWord;
  4080. PMSTATSET : longWord;
  4081. PMSTATINV : longWord;
  4082. end;
  4083. TADC10_AD1CON1 = record
  4084. private
  4085. function getADON : TBits_1; inline;
  4086. function getADSIDL : TBits_1; inline;
  4087. function getASAM : TBits_1; inline;
  4088. function getCLRASAM : TBits_1; inline;
  4089. function getDONE : TBits_1; inline;
  4090. function getFORM : TBits_3; inline;
  4091. function getFORM0 : TBits_1; inline;
  4092. function getFORM1 : TBits_1; inline;
  4093. function getFORM2 : TBits_1; inline;
  4094. function getON : TBits_1; inline;
  4095. function getSAMP : TBits_1; inline;
  4096. function getSIDL : TBits_1; inline;
  4097. function getSSRC : TBits_3; inline;
  4098. function getSSRC0 : TBits_1; inline;
  4099. function getSSRC1 : TBits_1; inline;
  4100. function getSSRC2 : TBits_1; inline;
  4101. function getw : TBits_32; inline;
  4102. procedure setADON(thebits : TBits_1); inline;
  4103. procedure setADSIDL(thebits : TBits_1); inline;
  4104. procedure setASAM(thebits : TBits_1); inline;
  4105. procedure setCLRASAM(thebits : TBits_1); inline;
  4106. procedure setDONE(thebits : TBits_1); inline;
  4107. procedure setFORM(thebits : TBits_3); inline;
  4108. procedure setFORM0(thebits : TBits_1); inline;
  4109. procedure setFORM1(thebits : TBits_1); inline;
  4110. procedure setFORM2(thebits : TBits_1); inline;
  4111. procedure setON(thebits : TBits_1); inline;
  4112. procedure setSAMP(thebits : TBits_1); inline;
  4113. procedure setSIDL(thebits : TBits_1); inline;
  4114. procedure setSSRC(thebits : TBits_3); inline;
  4115. procedure setSSRC0(thebits : TBits_1); inline;
  4116. procedure setSSRC1(thebits : TBits_1); inline;
  4117. procedure setSSRC2(thebits : TBits_1); inline;
  4118. procedure setw(thebits : TBits_32); inline;
  4119. public
  4120. procedure clearADON; inline;
  4121. procedure clearADSIDL; inline;
  4122. procedure clearASAM; inline;
  4123. procedure clearCLRASAM; inline;
  4124. procedure clearDONE; inline;
  4125. procedure clearFORM0; inline;
  4126. procedure clearFORM1; inline;
  4127. procedure clearFORM2; inline;
  4128. procedure clearON; inline;
  4129. procedure clearSAMP; inline;
  4130. procedure clearSIDL; inline;
  4131. procedure clearSSRC0; inline;
  4132. procedure clearSSRC1; inline;
  4133. procedure clearSSRC2; inline;
  4134. procedure setADON; inline;
  4135. procedure setADSIDL; inline;
  4136. procedure setASAM; inline;
  4137. procedure setCLRASAM; inline;
  4138. procedure setDONE; inline;
  4139. procedure setFORM0; inline;
  4140. procedure setFORM1; inline;
  4141. procedure setFORM2; inline;
  4142. procedure setON; inline;
  4143. procedure setSAMP; inline;
  4144. procedure setSIDL; inline;
  4145. procedure setSSRC0; inline;
  4146. procedure setSSRC1; inline;
  4147. procedure setSSRC2; inline;
  4148. property ADON : TBits_1 read getADON write setADON;
  4149. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  4150. property ASAM : TBits_1 read getASAM write setASAM;
  4151. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  4152. property DONE : TBits_1 read getDONE write setDONE;
  4153. property FORM : TBits_3 read getFORM write setFORM;
  4154. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  4155. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  4156. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  4157. property ON : TBits_1 read getON write setON;
  4158. property SAMP : TBits_1 read getSAMP write setSAMP;
  4159. property SIDL : TBits_1 read getSIDL write setSIDL;
  4160. property SSRC : TBits_3 read getSSRC write setSSRC;
  4161. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  4162. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  4163. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  4164. property w : TBits_32 read getw write setw;
  4165. end;
  4166. TADC10_AD1CON2 = record
  4167. private
  4168. function getALTS : TBits_1; inline;
  4169. function getBUFM : TBits_1; inline;
  4170. function getBUFS : TBits_1; inline;
  4171. function getCSCNA : TBits_1; inline;
  4172. function getOFFCAL : TBits_1; inline;
  4173. function getSMPI : TBits_4; inline;
  4174. function getSMPI0 : TBits_1; inline;
  4175. function getSMPI1 : TBits_1; inline;
  4176. function getSMPI2 : TBits_1; inline;
  4177. function getSMPI3 : TBits_1; inline;
  4178. function getVCFG : TBits_3; inline;
  4179. function getVCFG0 : TBits_1; inline;
  4180. function getVCFG1 : TBits_1; inline;
  4181. function getVCFG2 : TBits_1; inline;
  4182. function getw : TBits_32; inline;
  4183. procedure setALTS(thebits : TBits_1); inline;
  4184. procedure setBUFM(thebits : TBits_1); inline;
  4185. procedure setBUFS(thebits : TBits_1); inline;
  4186. procedure setCSCNA(thebits : TBits_1); inline;
  4187. procedure setOFFCAL(thebits : TBits_1); inline;
  4188. procedure setSMPI(thebits : TBits_4); inline;
  4189. procedure setSMPI0(thebits : TBits_1); inline;
  4190. procedure setSMPI1(thebits : TBits_1); inline;
  4191. procedure setSMPI2(thebits : TBits_1); inline;
  4192. procedure setSMPI3(thebits : TBits_1); inline;
  4193. procedure setVCFG(thebits : TBits_3); inline;
  4194. procedure setVCFG0(thebits : TBits_1); inline;
  4195. procedure setVCFG1(thebits : TBits_1); inline;
  4196. procedure setVCFG2(thebits : TBits_1); inline;
  4197. procedure setw(thebits : TBits_32); inline;
  4198. public
  4199. procedure clearALTS; inline;
  4200. procedure clearBUFM; inline;
  4201. procedure clearBUFS; inline;
  4202. procedure clearCSCNA; inline;
  4203. procedure clearOFFCAL; inline;
  4204. procedure clearSMPI0; inline;
  4205. procedure clearSMPI1; inline;
  4206. procedure clearSMPI2; inline;
  4207. procedure clearSMPI3; inline;
  4208. procedure clearVCFG0; inline;
  4209. procedure clearVCFG1; inline;
  4210. procedure clearVCFG2; inline;
  4211. procedure setALTS; inline;
  4212. procedure setBUFM; inline;
  4213. procedure setBUFS; inline;
  4214. procedure setCSCNA; inline;
  4215. procedure setOFFCAL; inline;
  4216. procedure setSMPI0; inline;
  4217. procedure setSMPI1; inline;
  4218. procedure setSMPI2; inline;
  4219. procedure setSMPI3; inline;
  4220. procedure setVCFG0; inline;
  4221. procedure setVCFG1; inline;
  4222. procedure setVCFG2; inline;
  4223. property ALTS : TBits_1 read getALTS write setALTS;
  4224. property BUFM : TBits_1 read getBUFM write setBUFM;
  4225. property BUFS : TBits_1 read getBUFS write setBUFS;
  4226. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  4227. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  4228. property SMPI : TBits_4 read getSMPI write setSMPI;
  4229. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  4230. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  4231. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  4232. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  4233. property VCFG : TBits_3 read getVCFG write setVCFG;
  4234. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  4235. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  4236. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  4237. property w : TBits_32 read getw write setw;
  4238. end;
  4239. TADC10_AD1CON3 = record
  4240. private
  4241. function getADCS : TBits_8; inline;
  4242. function getADCS0 : TBits_1; inline;
  4243. function getADCS1 : TBits_1; inline;
  4244. function getADCS2 : TBits_1; inline;
  4245. function getADCS3 : TBits_1; inline;
  4246. function getADCS4 : TBits_1; inline;
  4247. function getADCS5 : TBits_1; inline;
  4248. function getADCS6 : TBits_1; inline;
  4249. function getADCS7 : TBits_1; inline;
  4250. function getADRC : TBits_1; inline;
  4251. function getSAMC : TBits_5; inline;
  4252. function getSAMC0 : TBits_1; inline;
  4253. function getSAMC1 : TBits_1; inline;
  4254. function getSAMC2 : TBits_1; inline;
  4255. function getSAMC3 : TBits_1; inline;
  4256. function getSAMC4 : TBits_1; inline;
  4257. function getw : TBits_32; inline;
  4258. procedure setADCS(thebits : TBits_8); inline;
  4259. procedure setADCS0(thebits : TBits_1); inline;
  4260. procedure setADCS1(thebits : TBits_1); inline;
  4261. procedure setADCS2(thebits : TBits_1); inline;
  4262. procedure setADCS3(thebits : TBits_1); inline;
  4263. procedure setADCS4(thebits : TBits_1); inline;
  4264. procedure setADCS5(thebits : TBits_1); inline;
  4265. procedure setADCS6(thebits : TBits_1); inline;
  4266. procedure setADCS7(thebits : TBits_1); inline;
  4267. procedure setADRC(thebits : TBits_1); inline;
  4268. procedure setSAMC(thebits : TBits_5); inline;
  4269. procedure setSAMC0(thebits : TBits_1); inline;
  4270. procedure setSAMC1(thebits : TBits_1); inline;
  4271. procedure setSAMC2(thebits : TBits_1); inline;
  4272. procedure setSAMC3(thebits : TBits_1); inline;
  4273. procedure setSAMC4(thebits : TBits_1); inline;
  4274. procedure setw(thebits : TBits_32); inline;
  4275. public
  4276. procedure clearADCS0; inline;
  4277. procedure clearADCS1; inline;
  4278. procedure clearADCS2; inline;
  4279. procedure clearADCS3; inline;
  4280. procedure clearADCS4; inline;
  4281. procedure clearADCS5; inline;
  4282. procedure clearADCS6; inline;
  4283. procedure clearADCS7; inline;
  4284. procedure clearADRC; inline;
  4285. procedure clearSAMC0; inline;
  4286. procedure clearSAMC1; inline;
  4287. procedure clearSAMC2; inline;
  4288. procedure clearSAMC3; inline;
  4289. procedure clearSAMC4; inline;
  4290. procedure setADCS0; inline;
  4291. procedure setADCS1; inline;
  4292. procedure setADCS2; inline;
  4293. procedure setADCS3; inline;
  4294. procedure setADCS4; inline;
  4295. procedure setADCS5; inline;
  4296. procedure setADCS6; inline;
  4297. procedure setADCS7; inline;
  4298. procedure setADRC; inline;
  4299. procedure setSAMC0; inline;
  4300. procedure setSAMC1; inline;
  4301. procedure setSAMC2; inline;
  4302. procedure setSAMC3; inline;
  4303. procedure setSAMC4; inline;
  4304. property ADCS : TBits_8 read getADCS write setADCS;
  4305. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  4306. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  4307. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  4308. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  4309. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  4310. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  4311. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  4312. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  4313. property ADRC : TBits_1 read getADRC write setADRC;
  4314. property SAMC : TBits_5 read getSAMC write setSAMC;
  4315. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  4316. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  4317. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  4318. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  4319. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  4320. property w : TBits_32 read getw write setw;
  4321. end;
  4322. TADC10_AD1CHS = record
  4323. private
  4324. function getCH0NA : TBits_1; inline;
  4325. function getCH0NB : TBits_1; inline;
  4326. function getCH0SA : TBits_4; inline;
  4327. function getCH0SA0 : TBits_1; inline;
  4328. function getCH0SA1 : TBits_1; inline;
  4329. function getCH0SA2 : TBits_1; inline;
  4330. function getCH0SA3 : TBits_1; inline;
  4331. function getCH0SB : TBits_4; inline;
  4332. function getCH0SB0 : TBits_1; inline;
  4333. function getCH0SB1 : TBits_1; inline;
  4334. function getCH0SB2 : TBits_1; inline;
  4335. function getCH0SB3 : TBits_1; inline;
  4336. function getw : TBits_32; inline;
  4337. procedure setCH0NA(thebits : TBits_1); inline;
  4338. procedure setCH0NB(thebits : TBits_1); inline;
  4339. procedure setCH0SA(thebits : TBits_4); inline;
  4340. procedure setCH0SA0(thebits : TBits_1); inline;
  4341. procedure setCH0SA1(thebits : TBits_1); inline;
  4342. procedure setCH0SA2(thebits : TBits_1); inline;
  4343. procedure setCH0SA3(thebits : TBits_1); inline;
  4344. procedure setCH0SB(thebits : TBits_4); inline;
  4345. procedure setCH0SB0(thebits : TBits_1); inline;
  4346. procedure setCH0SB1(thebits : TBits_1); inline;
  4347. procedure setCH0SB2(thebits : TBits_1); inline;
  4348. procedure setCH0SB3(thebits : TBits_1); inline;
  4349. procedure setw(thebits : TBits_32); inline;
  4350. public
  4351. procedure clearCH0NA; inline;
  4352. procedure clearCH0NB; inline;
  4353. procedure clearCH0SA0; inline;
  4354. procedure clearCH0SA1; inline;
  4355. procedure clearCH0SA2; inline;
  4356. procedure clearCH0SA3; inline;
  4357. procedure clearCH0SB0; inline;
  4358. procedure clearCH0SB1; inline;
  4359. procedure clearCH0SB2; inline;
  4360. procedure clearCH0SB3; inline;
  4361. procedure setCH0NA; inline;
  4362. procedure setCH0NB; inline;
  4363. procedure setCH0SA0; inline;
  4364. procedure setCH0SA1; inline;
  4365. procedure setCH0SA2; inline;
  4366. procedure setCH0SA3; inline;
  4367. procedure setCH0SB0; inline;
  4368. procedure setCH0SB1; inline;
  4369. procedure setCH0SB2; inline;
  4370. procedure setCH0SB3; inline;
  4371. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  4372. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  4373. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  4374. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  4375. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  4376. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  4377. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  4378. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  4379. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  4380. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  4381. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  4382. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  4383. property w : TBits_32 read getw write setw;
  4384. end;
  4385. TADC10_AD1CSSL = record
  4386. private
  4387. function getCSSL : TBits_16; inline;
  4388. function getCSSL0 : TBits_1; inline;
  4389. function getCSSL1 : TBits_1; inline;
  4390. function getCSSL10 : TBits_1; inline;
  4391. function getCSSL11 : TBits_1; inline;
  4392. function getCSSL12 : TBits_1; inline;
  4393. function getCSSL13 : TBits_1; inline;
  4394. function getCSSL14 : TBits_1; inline;
  4395. function getCSSL15 : TBits_1; inline;
  4396. function getCSSL2 : TBits_1; inline;
  4397. function getCSSL3 : TBits_1; inline;
  4398. function getCSSL4 : TBits_1; inline;
  4399. function getCSSL5 : TBits_1; inline;
  4400. function getCSSL6 : TBits_1; inline;
  4401. function getCSSL7 : TBits_1; inline;
  4402. function getCSSL8 : TBits_1; inline;
  4403. function getCSSL9 : TBits_1; inline;
  4404. function getw : TBits_32; inline;
  4405. procedure setCSSL(thebits : TBits_16); inline;
  4406. procedure setCSSL0(thebits : TBits_1); inline;
  4407. procedure setCSSL1(thebits : TBits_1); inline;
  4408. procedure setCSSL10(thebits : TBits_1); inline;
  4409. procedure setCSSL11(thebits : TBits_1); inline;
  4410. procedure setCSSL12(thebits : TBits_1); inline;
  4411. procedure setCSSL13(thebits : TBits_1); inline;
  4412. procedure setCSSL14(thebits : TBits_1); inline;
  4413. procedure setCSSL15(thebits : TBits_1); inline;
  4414. procedure setCSSL2(thebits : TBits_1); inline;
  4415. procedure setCSSL3(thebits : TBits_1); inline;
  4416. procedure setCSSL4(thebits : TBits_1); inline;
  4417. procedure setCSSL5(thebits : TBits_1); inline;
  4418. procedure setCSSL6(thebits : TBits_1); inline;
  4419. procedure setCSSL7(thebits : TBits_1); inline;
  4420. procedure setCSSL8(thebits : TBits_1); inline;
  4421. procedure setCSSL9(thebits : TBits_1); inline;
  4422. procedure setw(thebits : TBits_32); inline;
  4423. public
  4424. procedure clearCSSL0; inline;
  4425. procedure clearCSSL10; inline;
  4426. procedure clearCSSL11; inline;
  4427. procedure clearCSSL12; inline;
  4428. procedure clearCSSL13; inline;
  4429. procedure clearCSSL14; inline;
  4430. procedure clearCSSL15; inline;
  4431. procedure clearCSSL1; inline;
  4432. procedure clearCSSL2; inline;
  4433. procedure clearCSSL3; inline;
  4434. procedure clearCSSL4; inline;
  4435. procedure clearCSSL5; inline;
  4436. procedure clearCSSL6; inline;
  4437. procedure clearCSSL7; inline;
  4438. procedure clearCSSL8; inline;
  4439. procedure clearCSSL9; inline;
  4440. procedure setCSSL0; inline;
  4441. procedure setCSSL10; inline;
  4442. procedure setCSSL11; inline;
  4443. procedure setCSSL12; inline;
  4444. procedure setCSSL13; inline;
  4445. procedure setCSSL14; inline;
  4446. procedure setCSSL15; inline;
  4447. procedure setCSSL1; inline;
  4448. procedure setCSSL2; inline;
  4449. procedure setCSSL3; inline;
  4450. procedure setCSSL4; inline;
  4451. procedure setCSSL5; inline;
  4452. procedure setCSSL6; inline;
  4453. procedure setCSSL7; inline;
  4454. procedure setCSSL8; inline;
  4455. procedure setCSSL9; inline;
  4456. property CSSL : TBits_16 read getCSSL write setCSSL;
  4457. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  4458. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  4459. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  4460. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  4461. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  4462. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  4463. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  4464. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  4465. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  4466. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  4467. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  4468. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  4469. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  4470. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  4471. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  4472. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  4473. property w : TBits_32 read getw write setw;
  4474. end;
  4475. type
  4476. TADC10Registers = record
  4477. AD1CON1bits : TADC10_AD1CON1;
  4478. AD1CON1 : longWord;
  4479. AD1CON1CLR : longWord;
  4480. AD1CON1SET : longWord;
  4481. AD1CON1INV : longWord;
  4482. AD1CON2bits : TADC10_AD1CON2;
  4483. AD1CON2 : longWord;
  4484. AD1CON2CLR : longWord;
  4485. AD1CON2SET : longWord;
  4486. AD1CON2INV : longWord;
  4487. AD1CON3bits : TADC10_AD1CON3;
  4488. AD1CON3 : longWord;
  4489. AD1CON3CLR : longWord;
  4490. AD1CON3SET : longWord;
  4491. AD1CON3INV : longWord;
  4492. AD1CHSbits : TADC10_AD1CHS;
  4493. AD1CHS : longWord;
  4494. AD1CHSCLR : longWord;
  4495. AD1CHSSET : longWord;
  4496. AD1CHSINV : longWord;
  4497. AD1CSSLbits : TADC10_AD1CSSL;
  4498. AD1CSSL : longWord;
  4499. AD1CSSLCLR : longWord;
  4500. AD1CSSLSET : longWord;
  4501. AD1CSSLINV : longWord;
  4502. ADC1BUF0 : longWord;
  4503. ADC1BUF1 : longWord;
  4504. ADC1BUF2 : longWord;
  4505. ADC1BUF3 : longWord;
  4506. ADC1BUF4 : longWord;
  4507. ADC1BUF5 : longWord;
  4508. ADC1BUF6 : longWord;
  4509. ADC1BUF7 : longWord;
  4510. ADC1BUF8 : longWord;
  4511. ADC1BUF9 : longWord;
  4512. ADC1BUFA : longWord;
  4513. ADC1BUFB : longWord;
  4514. ADC1BUFC : longWord;
  4515. ADC1BUFD : longWord;
  4516. ADC1BUFE : longWord;
  4517. ADC1BUFF : longWord;
  4518. end;
  4519. TCVR_CVRCON = record
  4520. private
  4521. function getCVR : TBits_4; inline;
  4522. function getCVR0 : TBits_1; inline;
  4523. function getCVR1 : TBits_1; inline;
  4524. function getCVR2 : TBits_1; inline;
  4525. function getCVR3 : TBits_1; inline;
  4526. function getCVROE : TBits_1; inline;
  4527. function getCVRR : TBits_1; inline;
  4528. function getCVRSS : TBits_1; inline;
  4529. function getON : TBits_1; inline;
  4530. function getw : TBits_32; inline;
  4531. procedure setCVR(thebits : TBits_4); inline;
  4532. procedure setCVR0(thebits : TBits_1); inline;
  4533. procedure setCVR1(thebits : TBits_1); inline;
  4534. procedure setCVR2(thebits : TBits_1); inline;
  4535. procedure setCVR3(thebits : TBits_1); inline;
  4536. procedure setCVROE(thebits : TBits_1); inline;
  4537. procedure setCVRR(thebits : TBits_1); inline;
  4538. procedure setCVRSS(thebits : TBits_1); inline;
  4539. procedure setON(thebits : TBits_1); inline;
  4540. procedure setw(thebits : TBits_32); inline;
  4541. public
  4542. procedure clearCVR0; inline;
  4543. procedure clearCVR1; inline;
  4544. procedure clearCVR2; inline;
  4545. procedure clearCVR3; inline;
  4546. procedure clearCVROE; inline;
  4547. procedure clearCVRR; inline;
  4548. procedure clearCVRSS; inline;
  4549. procedure clearON; inline;
  4550. procedure setCVR0; inline;
  4551. procedure setCVR1; inline;
  4552. procedure setCVR2; inline;
  4553. procedure setCVR3; inline;
  4554. procedure setCVROE; inline;
  4555. procedure setCVRR; inline;
  4556. procedure setCVRSS; inline;
  4557. procedure setON; inline;
  4558. property CVR : TBits_4 read getCVR write setCVR;
  4559. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  4560. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  4561. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  4562. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  4563. property CVROE : TBits_1 read getCVROE write setCVROE;
  4564. property CVRR : TBits_1 read getCVRR write setCVRR;
  4565. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  4566. property ON : TBits_1 read getON write setON;
  4567. property w : TBits_32 read getw write setw;
  4568. end;
  4569. type
  4570. TCVRRegisters = record
  4571. CVRCONbits : TCVR_CVRCON;
  4572. CVRCON : longWord;
  4573. CVRCONCLR : longWord;
  4574. CVRCONSET : longWord;
  4575. CVRCONINV : longWord;
  4576. end;
  4577. TCMP_CM1CON = record
  4578. private
  4579. function getCCH : TBits_2; inline;
  4580. function getCCH0 : TBits_1; inline;
  4581. function getCCH1 : TBits_1; inline;
  4582. function getCOE : TBits_1; inline;
  4583. function getCOUT : TBits_1; inline;
  4584. function getCPOL : TBits_1; inline;
  4585. function getCREF : TBits_1; inline;
  4586. function getEVPOL : TBits_2; inline;
  4587. function getEVPOL0 : TBits_1; inline;
  4588. function getEVPOL1 : TBits_1; inline;
  4589. function getON : TBits_1; inline;
  4590. function getw : TBits_32; inline;
  4591. procedure setCCH(thebits : TBits_2); inline;
  4592. procedure setCCH0(thebits : TBits_1); inline;
  4593. procedure setCCH1(thebits : TBits_1); inline;
  4594. procedure setCOE(thebits : TBits_1); inline;
  4595. procedure setCOUT(thebits : TBits_1); inline;
  4596. procedure setCPOL(thebits : TBits_1); inline;
  4597. procedure setCREF(thebits : TBits_1); inline;
  4598. procedure setEVPOL(thebits : TBits_2); inline;
  4599. procedure setEVPOL0(thebits : TBits_1); inline;
  4600. procedure setEVPOL1(thebits : TBits_1); inline;
  4601. procedure setON(thebits : TBits_1); inline;
  4602. procedure setw(thebits : TBits_32); inline;
  4603. public
  4604. procedure clearCCH0; inline;
  4605. procedure clearCCH1; inline;
  4606. procedure clearCOE; inline;
  4607. procedure clearCOUT; inline;
  4608. procedure clearCPOL; inline;
  4609. procedure clearCREF; inline;
  4610. procedure clearEVPOL0; inline;
  4611. procedure clearEVPOL1; inline;
  4612. procedure clearON; inline;
  4613. procedure setCCH0; inline;
  4614. procedure setCCH1; inline;
  4615. procedure setCOE; inline;
  4616. procedure setCOUT; inline;
  4617. procedure setCPOL; inline;
  4618. procedure setCREF; inline;
  4619. procedure setEVPOL0; inline;
  4620. procedure setEVPOL1; inline;
  4621. procedure setON; inline;
  4622. property CCH : TBits_2 read getCCH write setCCH;
  4623. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4624. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4625. property COE : TBits_1 read getCOE write setCOE;
  4626. property COUT : TBits_1 read getCOUT write setCOUT;
  4627. property CPOL : TBits_1 read getCPOL write setCPOL;
  4628. property CREF : TBits_1 read getCREF write setCREF;
  4629. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4630. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4631. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4632. property ON : TBits_1 read getON write setON;
  4633. property w : TBits_32 read getw write setw;
  4634. end;
  4635. TCMP_CM2CON = record
  4636. private
  4637. function getCCH : TBits_2; inline;
  4638. function getCCH0 : TBits_1; inline;
  4639. function getCCH1 : TBits_1; inline;
  4640. function getCOE : TBits_1; inline;
  4641. function getCOUT : TBits_1; inline;
  4642. function getCPOL : TBits_1; inline;
  4643. function getCREF : TBits_1; inline;
  4644. function getEVPOL : TBits_2; inline;
  4645. function getEVPOL0 : TBits_1; inline;
  4646. function getEVPOL1 : TBits_1; inline;
  4647. function getON : TBits_1; inline;
  4648. function getw : TBits_32; inline;
  4649. procedure setCCH(thebits : TBits_2); inline;
  4650. procedure setCCH0(thebits : TBits_1); inline;
  4651. procedure setCCH1(thebits : TBits_1); inline;
  4652. procedure setCOE(thebits : TBits_1); inline;
  4653. procedure setCOUT(thebits : TBits_1); inline;
  4654. procedure setCPOL(thebits : TBits_1); inline;
  4655. procedure setCREF(thebits : TBits_1); inline;
  4656. procedure setEVPOL(thebits : TBits_2); inline;
  4657. procedure setEVPOL0(thebits : TBits_1); inline;
  4658. procedure setEVPOL1(thebits : TBits_1); inline;
  4659. procedure setON(thebits : TBits_1); inline;
  4660. procedure setw(thebits : TBits_32); inline;
  4661. public
  4662. procedure clearCCH0; inline;
  4663. procedure clearCCH1; inline;
  4664. procedure clearCOE; inline;
  4665. procedure clearCOUT; inline;
  4666. procedure clearCPOL; inline;
  4667. procedure clearCREF; inline;
  4668. procedure clearEVPOL0; inline;
  4669. procedure clearEVPOL1; inline;
  4670. procedure clearON; inline;
  4671. procedure setCCH0; inline;
  4672. procedure setCCH1; inline;
  4673. procedure setCOE; inline;
  4674. procedure setCOUT; inline;
  4675. procedure setCPOL; inline;
  4676. procedure setCREF; inline;
  4677. procedure setEVPOL0; inline;
  4678. procedure setEVPOL1; inline;
  4679. procedure setON; inline;
  4680. property CCH : TBits_2 read getCCH write setCCH;
  4681. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4682. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4683. property COE : TBits_1 read getCOE write setCOE;
  4684. property COUT : TBits_1 read getCOUT write setCOUT;
  4685. property CPOL : TBits_1 read getCPOL write setCPOL;
  4686. property CREF : TBits_1 read getCREF write setCREF;
  4687. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4688. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4689. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4690. property ON : TBits_1 read getON write setON;
  4691. property w : TBits_32 read getw write setw;
  4692. end;
  4693. TCMP_CM3CON = record
  4694. private
  4695. function getCCH : TBits_2; inline;
  4696. function getCCH0 : TBits_1; inline;
  4697. function getCCH1 : TBits_1; inline;
  4698. function getCOE : TBits_1; inline;
  4699. function getCOUT : TBits_1; inline;
  4700. function getCPOL : TBits_1; inline;
  4701. function getCREF : TBits_1; inline;
  4702. function getEVPOL : TBits_2; inline;
  4703. function getEVPOL0 : TBits_1; inline;
  4704. function getEVPOL1 : TBits_1; inline;
  4705. function getON : TBits_1; inline;
  4706. function getw : TBits_32; inline;
  4707. procedure setCCH(thebits : TBits_2); inline;
  4708. procedure setCCH0(thebits : TBits_1); inline;
  4709. procedure setCCH1(thebits : TBits_1); inline;
  4710. procedure setCOE(thebits : TBits_1); inline;
  4711. procedure setCOUT(thebits : TBits_1); inline;
  4712. procedure setCPOL(thebits : TBits_1); inline;
  4713. procedure setCREF(thebits : TBits_1); inline;
  4714. procedure setEVPOL(thebits : TBits_2); inline;
  4715. procedure setEVPOL0(thebits : TBits_1); inline;
  4716. procedure setEVPOL1(thebits : TBits_1); inline;
  4717. procedure setON(thebits : TBits_1); inline;
  4718. procedure setw(thebits : TBits_32); inline;
  4719. public
  4720. procedure clearCCH0; inline;
  4721. procedure clearCCH1; inline;
  4722. procedure clearCOE; inline;
  4723. procedure clearCOUT; inline;
  4724. procedure clearCPOL; inline;
  4725. procedure clearCREF; inline;
  4726. procedure clearEVPOL0; inline;
  4727. procedure clearEVPOL1; inline;
  4728. procedure clearON; inline;
  4729. procedure setCCH0; inline;
  4730. procedure setCCH1; inline;
  4731. procedure setCOE; inline;
  4732. procedure setCOUT; inline;
  4733. procedure setCPOL; inline;
  4734. procedure setCREF; inline;
  4735. procedure setEVPOL0; inline;
  4736. procedure setEVPOL1; inline;
  4737. procedure setON; inline;
  4738. property CCH : TBits_2 read getCCH write setCCH;
  4739. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4740. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4741. property COE : TBits_1 read getCOE write setCOE;
  4742. property COUT : TBits_1 read getCOUT write setCOUT;
  4743. property CPOL : TBits_1 read getCPOL write setCPOL;
  4744. property CREF : TBits_1 read getCREF write setCREF;
  4745. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4746. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4747. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4748. property ON : TBits_1 read getON write setON;
  4749. property w : TBits_32 read getw write setw;
  4750. end;
  4751. TCMP_CMSTAT = record
  4752. private
  4753. function getC1OUT : TBits_1; inline;
  4754. function getC2OUT : TBits_1; inline;
  4755. function getC3OUT : TBits_1; inline;
  4756. function getSIDL : TBits_1; inline;
  4757. function getw : TBits_32; inline;
  4758. procedure setC1OUT(thebits : TBits_1); inline;
  4759. procedure setC2OUT(thebits : TBits_1); inline;
  4760. procedure setC3OUT(thebits : TBits_1); inline;
  4761. procedure setSIDL(thebits : TBits_1); inline;
  4762. procedure setw(thebits : TBits_32); inline;
  4763. public
  4764. procedure clearC1OUT; inline;
  4765. procedure clearC2OUT; inline;
  4766. procedure clearC3OUT; inline;
  4767. procedure clearSIDL; inline;
  4768. procedure setC1OUT; inline;
  4769. procedure setC2OUT; inline;
  4770. procedure setC3OUT; inline;
  4771. procedure setSIDL; inline;
  4772. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  4773. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  4774. property C3OUT : TBits_1 read getC3OUT write setC3OUT;
  4775. property SIDL : TBits_1 read getSIDL write setSIDL;
  4776. property w : TBits_32 read getw write setw;
  4777. end;
  4778. TCMP_CTMUCON = record
  4779. private
  4780. function getCTMUSIDL : TBits_1; inline;
  4781. function getCTTRIG : TBits_1; inline;
  4782. function getEDG1MOD : TBits_1; inline;
  4783. function getEDG1POL : TBits_1; inline;
  4784. function getEDG1SEL : TBits_4; inline;
  4785. function getEDG1STAT : TBits_1; inline;
  4786. function getEDG2MOD : TBits_1; inline;
  4787. function getEDG2POL : TBits_1; inline;
  4788. function getEDG2SEL : TBits_4; inline;
  4789. function getEDG2STAT : TBits_1; inline;
  4790. function getEDGEN : TBits_1; inline;
  4791. function getEDGSEQEN : TBits_1; inline;
  4792. function getIDISSEN : TBits_1; inline;
  4793. function getIRNG : TBits_2; inline;
  4794. function getITRIM : TBits_6; inline;
  4795. function getON : TBits_1; inline;
  4796. function getTGEN : TBits_1; inline;
  4797. function getw : TBits_32; inline;
  4798. procedure setCTMUSIDL(thebits : TBits_1); inline;
  4799. procedure setCTTRIG(thebits : TBits_1); inline;
  4800. procedure setEDG1MOD(thebits : TBits_1); inline;
  4801. procedure setEDG1POL(thebits : TBits_1); inline;
  4802. procedure setEDG1SEL(thebits : TBits_4); inline;
  4803. procedure setEDG1STAT(thebits : TBits_1); inline;
  4804. procedure setEDG2MOD(thebits : TBits_1); inline;
  4805. procedure setEDG2POL(thebits : TBits_1); inline;
  4806. procedure setEDG2SEL(thebits : TBits_4); inline;
  4807. procedure setEDG2STAT(thebits : TBits_1); inline;
  4808. procedure setEDGEN(thebits : TBits_1); inline;
  4809. procedure setEDGSEQEN(thebits : TBits_1); inline;
  4810. procedure setIDISSEN(thebits : TBits_1); inline;
  4811. procedure setIRNG(thebits : TBits_2); inline;
  4812. procedure setITRIM(thebits : TBits_6); inline;
  4813. procedure setON(thebits : TBits_1); inline;
  4814. procedure setTGEN(thebits : TBits_1); inline;
  4815. procedure setw(thebits : TBits_32); inline;
  4816. public
  4817. procedure clearCTMUSIDL; inline;
  4818. procedure clearCTTRIG; inline;
  4819. procedure clearEDG1MOD; inline;
  4820. procedure clearEDG1POL; inline;
  4821. procedure clearEDG1STAT; inline;
  4822. procedure clearEDG2MOD; inline;
  4823. procedure clearEDG2POL; inline;
  4824. procedure clearEDG2STAT; inline;
  4825. procedure clearEDGEN; inline;
  4826. procedure clearEDGSEQEN; inline;
  4827. procedure clearIDISSEN; inline;
  4828. procedure clearON; inline;
  4829. procedure clearTGEN; inline;
  4830. procedure setCTMUSIDL; inline;
  4831. procedure setCTTRIG; inline;
  4832. procedure setEDG1MOD; inline;
  4833. procedure setEDG1POL; inline;
  4834. procedure setEDG1STAT; inline;
  4835. procedure setEDG2MOD; inline;
  4836. procedure setEDG2POL; inline;
  4837. procedure setEDG2STAT; inline;
  4838. procedure setEDGEN; inline;
  4839. procedure setEDGSEQEN; inline;
  4840. procedure setIDISSEN; inline;
  4841. procedure setON; inline;
  4842. procedure setTGEN; inline;
  4843. property CTMUSIDL : TBits_1 read getCTMUSIDL write setCTMUSIDL;
  4844. property CTTRIG : TBits_1 read getCTTRIG write setCTTRIG;
  4845. property EDG1MOD : TBits_1 read getEDG1MOD write setEDG1MOD;
  4846. property EDG1POL : TBits_1 read getEDG1POL write setEDG1POL;
  4847. property EDG1SEL : TBits_4 read getEDG1SEL write setEDG1SEL;
  4848. property EDG1STAT : TBits_1 read getEDG1STAT write setEDG1STAT;
  4849. property EDG2MOD : TBits_1 read getEDG2MOD write setEDG2MOD;
  4850. property EDG2POL : TBits_1 read getEDG2POL write setEDG2POL;
  4851. property EDG2SEL : TBits_4 read getEDG2SEL write setEDG2SEL;
  4852. property EDG2STAT : TBits_1 read getEDG2STAT write setEDG2STAT;
  4853. property EDGEN : TBits_1 read getEDGEN write setEDGEN;
  4854. property EDGSEQEN : TBits_1 read getEDGSEQEN write setEDGSEQEN;
  4855. property IDISSEN : TBits_1 read getIDISSEN write setIDISSEN;
  4856. property IRNG : TBits_2 read getIRNG write setIRNG;
  4857. property ITRIM : TBits_6 read getITRIM write setITRIM;
  4858. property ON : TBits_1 read getON write setON;
  4859. property TGEN : TBits_1 read getTGEN write setTGEN;
  4860. property w : TBits_32 read getw write setw;
  4861. end;
  4862. type
  4863. TCMPRegisters = record
  4864. CM1CONbits : TCMP_CM1CON;
  4865. CM1CON : longWord;
  4866. CM1CONCLR : longWord;
  4867. CM1CONSET : longWord;
  4868. CM1CONINV : longWord;
  4869. CM2CONbits : TCMP_CM2CON;
  4870. CM2CON : longWord;
  4871. CM2CONCLR : longWord;
  4872. CM2CONSET : longWord;
  4873. CM2CONINV : longWord;
  4874. CM3CONbits : TCMP_CM3CON;
  4875. CM3CON : longWord;
  4876. CM3CONCLR : longWord;
  4877. CM3CONSET : longWord;
  4878. CM3CONINV : longWord;
  4879. CMSTATbits : TCMP_CMSTAT;
  4880. CMSTAT : longWord;
  4881. CMSTATCLR : longWord;
  4882. CMSTATSET : longWord;
  4883. CMSTATINV : longWord;
  4884. CTMUCONbits : TCMP_CTMUCON;
  4885. CTMUCON : longWord;
  4886. CTMUCONCLR : longWord;
  4887. CTMUCONSET : longWord;
  4888. CTMUCONINV : longWord;
  4889. end;
  4890. TOSC_OSCCON = record
  4891. private
  4892. function getCF : TBits_1; inline;
  4893. function getCLKLOCK : TBits_1; inline;
  4894. function getCOSC : TBits_3; inline;
  4895. function getCOSC0 : TBits_1; inline;
  4896. function getCOSC1 : TBits_1; inline;
  4897. function getCOSC2 : TBits_1; inline;
  4898. function getFRCDIV : TBits_3; inline;
  4899. function getFRCDIV0 : TBits_1; inline;
  4900. function getFRCDIV1 : TBits_1; inline;
  4901. function getFRCDIV2 : TBits_1; inline;
  4902. function getNOSC : TBits_3; inline;
  4903. function getNOSC0 : TBits_1; inline;
  4904. function getNOSC1 : TBits_1; inline;
  4905. function getNOSC2 : TBits_1; inline;
  4906. function getOSWEN : TBits_1; inline;
  4907. function getPBDIV : TBits_2; inline;
  4908. function getPBDIV0 : TBits_1; inline;
  4909. function getPBDIV1 : TBits_1; inline;
  4910. function getPBDIVRDY : TBits_1; inline;
  4911. function getPLLMULT : TBits_3; inline;
  4912. function getPLLMULT0 : TBits_1; inline;
  4913. function getPLLMULT1 : TBits_1; inline;
  4914. function getPLLMULT2 : TBits_1; inline;
  4915. function getPLLODIV : TBits_3; inline;
  4916. function getPLLODIV0 : TBits_1; inline;
  4917. function getPLLODIV1 : TBits_1; inline;
  4918. function getPLLODIV2 : TBits_1; inline;
  4919. function getSLOCK : TBits_1; inline;
  4920. function getSLPEN : TBits_1; inline;
  4921. function getSOSCEN : TBits_1; inline;
  4922. function getSOSCRDY : TBits_1; inline;
  4923. function getUFRCEN : TBits_1; inline;
  4924. function getULOCK : TBits_1; inline;
  4925. function getw : TBits_32; inline;
  4926. procedure setCF(thebits : TBits_1); inline;
  4927. procedure setCLKLOCK(thebits : TBits_1); inline;
  4928. procedure setCOSC(thebits : TBits_3); inline;
  4929. procedure setCOSC0(thebits : TBits_1); inline;
  4930. procedure setCOSC1(thebits : TBits_1); inline;
  4931. procedure setCOSC2(thebits : TBits_1); inline;
  4932. procedure setFRCDIV(thebits : TBits_3); inline;
  4933. procedure setFRCDIV0(thebits : TBits_1); inline;
  4934. procedure setFRCDIV1(thebits : TBits_1); inline;
  4935. procedure setFRCDIV2(thebits : TBits_1); inline;
  4936. procedure setNOSC(thebits : TBits_3); inline;
  4937. procedure setNOSC0(thebits : TBits_1); inline;
  4938. procedure setNOSC1(thebits : TBits_1); inline;
  4939. procedure setNOSC2(thebits : TBits_1); inline;
  4940. procedure setOSWEN(thebits : TBits_1); inline;
  4941. procedure setPBDIV(thebits : TBits_2); inline;
  4942. procedure setPBDIV0(thebits : TBits_1); inline;
  4943. procedure setPBDIV1(thebits : TBits_1); inline;
  4944. procedure setPBDIVRDY(thebits : TBits_1); inline;
  4945. procedure setPLLMULT(thebits : TBits_3); inline;
  4946. procedure setPLLMULT0(thebits : TBits_1); inline;
  4947. procedure setPLLMULT1(thebits : TBits_1); inline;
  4948. procedure setPLLMULT2(thebits : TBits_1); inline;
  4949. procedure setPLLODIV(thebits : TBits_3); inline;
  4950. procedure setPLLODIV0(thebits : TBits_1); inline;
  4951. procedure setPLLODIV1(thebits : TBits_1); inline;
  4952. procedure setPLLODIV2(thebits : TBits_1); inline;
  4953. procedure setSLOCK(thebits : TBits_1); inline;
  4954. procedure setSLPEN(thebits : TBits_1); inline;
  4955. procedure setSOSCEN(thebits : TBits_1); inline;
  4956. procedure setSOSCRDY(thebits : TBits_1); inline;
  4957. procedure setUFRCEN(thebits : TBits_1); inline;
  4958. procedure setULOCK(thebits : TBits_1); inline;
  4959. procedure setw(thebits : TBits_32); inline;
  4960. public
  4961. procedure clearCF; inline;
  4962. procedure clearCLKLOCK; inline;
  4963. procedure clearCOSC0; inline;
  4964. procedure clearCOSC1; inline;
  4965. procedure clearCOSC2; inline;
  4966. procedure clearFRCDIV0; inline;
  4967. procedure clearFRCDIV1; inline;
  4968. procedure clearFRCDIV2; inline;
  4969. procedure clearNOSC0; inline;
  4970. procedure clearNOSC1; inline;
  4971. procedure clearNOSC2; inline;
  4972. procedure clearOSWEN; inline;
  4973. procedure clearPBDIV0; inline;
  4974. procedure clearPBDIV1; inline;
  4975. procedure clearPBDIVRDY; inline;
  4976. procedure clearPLLMULT0; inline;
  4977. procedure clearPLLMULT1; inline;
  4978. procedure clearPLLMULT2; inline;
  4979. procedure clearPLLODIV0; inline;
  4980. procedure clearPLLODIV1; inline;
  4981. procedure clearPLLODIV2; inline;
  4982. procedure clearSLOCK; inline;
  4983. procedure clearSLPEN; inline;
  4984. procedure clearSOSCEN; inline;
  4985. procedure clearSOSCRDY; inline;
  4986. procedure clearUFRCEN; inline;
  4987. procedure clearULOCK; inline;
  4988. procedure setCF; inline;
  4989. procedure setCLKLOCK; inline;
  4990. procedure setCOSC0; inline;
  4991. procedure setCOSC1; inline;
  4992. procedure setCOSC2; inline;
  4993. procedure setFRCDIV0; inline;
  4994. procedure setFRCDIV1; inline;
  4995. procedure setFRCDIV2; inline;
  4996. procedure setNOSC0; inline;
  4997. procedure setNOSC1; inline;
  4998. procedure setNOSC2; inline;
  4999. procedure setOSWEN; inline;
  5000. procedure setPBDIV0; inline;
  5001. procedure setPBDIV1; inline;
  5002. procedure setPBDIVRDY; inline;
  5003. procedure setPLLMULT0; inline;
  5004. procedure setPLLMULT1; inline;
  5005. procedure setPLLMULT2; inline;
  5006. procedure setPLLODIV0; inline;
  5007. procedure setPLLODIV1; inline;
  5008. procedure setPLLODIV2; inline;
  5009. procedure setSLOCK; inline;
  5010. procedure setSLPEN; inline;
  5011. procedure setSOSCEN; inline;
  5012. procedure setSOSCRDY; inline;
  5013. procedure setUFRCEN; inline;
  5014. procedure setULOCK; inline;
  5015. property CF : TBits_1 read getCF write setCF;
  5016. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  5017. property COSC : TBits_3 read getCOSC write setCOSC;
  5018. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  5019. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  5020. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  5021. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  5022. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  5023. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  5024. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  5025. property NOSC : TBits_3 read getNOSC write setNOSC;
  5026. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  5027. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  5028. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  5029. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  5030. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  5031. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  5032. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  5033. property PBDIVRDY : TBits_1 read getPBDIVRDY write setPBDIVRDY;
  5034. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  5035. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  5036. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  5037. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  5038. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  5039. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  5040. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  5041. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  5042. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  5043. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  5044. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  5045. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  5046. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  5047. property ULOCK : TBits_1 read getULOCK write setULOCK;
  5048. property w : TBits_32 read getw write setw;
  5049. end;
  5050. TOSC_OSCTUN = record
  5051. private
  5052. function getTUN : TBits_6; inline;
  5053. function getTUN0 : TBits_1; inline;
  5054. function getTUN1 : TBits_1; inline;
  5055. function getTUN2 : TBits_1; inline;
  5056. function getTUN3 : TBits_1; inline;
  5057. function getTUN4 : TBits_1; inline;
  5058. function getTUN5 : TBits_1; inline;
  5059. function getw : TBits_32; inline;
  5060. procedure setTUN(thebits : TBits_6); inline;
  5061. procedure setTUN0(thebits : TBits_1); inline;
  5062. procedure setTUN1(thebits : TBits_1); inline;
  5063. procedure setTUN2(thebits : TBits_1); inline;
  5064. procedure setTUN3(thebits : TBits_1); inline;
  5065. procedure setTUN4(thebits : TBits_1); inline;
  5066. procedure setTUN5(thebits : TBits_1); inline;
  5067. procedure setw(thebits : TBits_32); inline;
  5068. public
  5069. procedure clearTUN0; inline;
  5070. procedure clearTUN1; inline;
  5071. procedure clearTUN2; inline;
  5072. procedure clearTUN3; inline;
  5073. procedure clearTUN4; inline;
  5074. procedure clearTUN5; inline;
  5075. procedure setTUN0; inline;
  5076. procedure setTUN1; inline;
  5077. procedure setTUN2; inline;
  5078. procedure setTUN3; inline;
  5079. procedure setTUN4; inline;
  5080. procedure setTUN5; inline;
  5081. property TUN : TBits_6 read getTUN write setTUN;
  5082. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  5083. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  5084. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  5085. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  5086. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  5087. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  5088. property w : TBits_32 read getw write setw;
  5089. end;
  5090. TOSC_REFOCON = record
  5091. private
  5092. function getACTIVE : TBits_1; inline;
  5093. function getDIVSWEN : TBits_1; inline;
  5094. function getOE : TBits_1; inline;
  5095. function getON : TBits_1; inline;
  5096. function getRODIV : TBits_15; inline;
  5097. function getROSEL : TBits_4; inline;
  5098. function getRSLP : TBits_1; inline;
  5099. function getSIDL : TBits_1; inline;
  5100. function getw : TBits_32; inline;
  5101. procedure setACTIVE(thebits : TBits_1); inline;
  5102. procedure setDIVSWEN(thebits : TBits_1); inline;
  5103. procedure setOE(thebits : TBits_1); inline;
  5104. procedure setON(thebits : TBits_1); inline;
  5105. procedure setRODIV(thebits : TBits_15); inline;
  5106. procedure setROSEL(thebits : TBits_4); inline;
  5107. procedure setRSLP(thebits : TBits_1); inline;
  5108. procedure setSIDL(thebits : TBits_1); inline;
  5109. procedure setw(thebits : TBits_32); inline;
  5110. public
  5111. procedure clearACTIVE; inline;
  5112. procedure clearDIVSWEN; inline;
  5113. procedure clearOE; inline;
  5114. procedure clearON; inline;
  5115. procedure clearRSLP; inline;
  5116. procedure clearSIDL; inline;
  5117. procedure setACTIVE; inline;
  5118. procedure setDIVSWEN; inline;
  5119. procedure setOE; inline;
  5120. procedure setON; inline;
  5121. procedure setRSLP; inline;
  5122. procedure setSIDL; inline;
  5123. property ACTIVE : TBits_1 read getACTIVE write setACTIVE;
  5124. property DIVSWEN : TBits_1 read getDIVSWEN write setDIVSWEN;
  5125. property OE : TBits_1 read getOE write setOE;
  5126. property ON : TBits_1 read getON write setON;
  5127. property RODIV : TBits_15 read getRODIV write setRODIV;
  5128. property ROSEL : TBits_4 read getROSEL write setROSEL;
  5129. property RSLP : TBits_1 read getRSLP write setRSLP;
  5130. property SIDL : TBits_1 read getSIDL write setSIDL;
  5131. property w : TBits_32 read getw write setw;
  5132. end;
  5133. TOSC_REFOTRIM = record
  5134. private
  5135. function getROTRIM : TBits_9; inline;
  5136. function getw : TBits_32; inline;
  5137. procedure setROTRIM(thebits : TBits_9); inline;
  5138. procedure setw(thebits : TBits_32); inline;
  5139. public
  5140. property ROTRIM : TBits_9 read getROTRIM write setROTRIM;
  5141. property w : TBits_32 read getw write setw;
  5142. end;
  5143. type
  5144. TOSCRegisters = record
  5145. OSCCONbits : TOSC_OSCCON;
  5146. OSCCON : longWord;
  5147. OSCCONCLR : longWord;
  5148. OSCCONSET : longWord;
  5149. OSCCONINV : longWord;
  5150. OSCTUNbits : TOSC_OSCTUN;
  5151. OSCTUN : longWord;
  5152. OSCTUNCLR : longWord;
  5153. OSCTUNSET : longWord;
  5154. OSCTUNINV : longWord;
  5155. REFOCONbits : TOSC_REFOCON;
  5156. REFOCON : longWord;
  5157. REFOCONCLR : longWord;
  5158. REFOCONSET : longWord;
  5159. REFOCONINV : longWord;
  5160. REFOTRIMbits : TOSC_REFOTRIM;
  5161. REFOTRIM : longWord;
  5162. REFOTRIMCLR : longWord;
  5163. REFOTRIMSET : longWord;
  5164. REFOTRIMINV : longWord;
  5165. end;
  5166. TCFG_PMD5 = record
  5167. private
  5168. function getI2C1MD : TBits_1; inline;
  5169. function getI2C2MD : TBits_1; inline;
  5170. function getSPI1MD : TBits_1; inline;
  5171. function getSPI2MD : TBits_1; inline;
  5172. function getU1MD : TBits_1; inline;
  5173. function getU2MD : TBits_1; inline;
  5174. function getUSB1MD : TBits_1; inline;
  5175. function getUSBMD : TBits_1; inline;
  5176. procedure setI2C1MD(thebits : TBits_1); inline;
  5177. procedure setI2C2MD(thebits : TBits_1); inline;
  5178. procedure setSPI1MD(thebits : TBits_1); inline;
  5179. procedure setSPI2MD(thebits : TBits_1); inline;
  5180. procedure setU1MD(thebits : TBits_1); inline;
  5181. procedure setU2MD(thebits : TBits_1); inline;
  5182. procedure setUSB1MD(thebits : TBits_1); inline;
  5183. procedure setUSBMD(thebits : TBits_1); inline;
  5184. public
  5185. procedure clearI2C1MD; inline;
  5186. procedure clearI2C2MD; inline;
  5187. procedure clearSPI1MD; inline;
  5188. procedure clearSPI2MD; inline;
  5189. procedure clearU1MD; inline;
  5190. procedure clearU2MD; inline;
  5191. procedure clearUSB1MD; inline;
  5192. procedure clearUSBMD; inline;
  5193. procedure setI2C1MD; inline;
  5194. procedure setI2C2MD; inline;
  5195. procedure setSPI1MD; inline;
  5196. procedure setSPI2MD; inline;
  5197. procedure setU1MD; inline;
  5198. procedure setU2MD; inline;
  5199. procedure setUSB1MD; inline;
  5200. procedure setUSBMD; inline;
  5201. property I2C1MD : TBits_1 read getI2C1MD write setI2C1MD;
  5202. property I2C2MD : TBits_1 read getI2C2MD write setI2C2MD;
  5203. property SPI1MD : TBits_1 read getSPI1MD write setSPI1MD;
  5204. property SPI2MD : TBits_1 read getSPI2MD write setSPI2MD;
  5205. property U1MD : TBits_1 read getU1MD write setU1MD;
  5206. property U2MD : TBits_1 read getU2MD write setU2MD;
  5207. property USB1MD : TBits_1 read getUSB1MD write setUSB1MD;
  5208. property USBMD : TBits_1 read getUSBMD write setUSBMD;
  5209. end;
  5210. type
  5211. TCFGRegisters = record
  5212. CFGCON : longWord;
  5213. DDPCON : longWord;
  5214. DEVID : longWord;
  5215. SYSKEY : longWord;
  5216. SYSKEYCLR : longWord;
  5217. SYSKEYSET : longWord;
  5218. SYSKEYINV : longWord;
  5219. PMD1 : longWord;
  5220. PMD1CLR : longWord;
  5221. PMD1SET : longWord;
  5222. PMD1INV : longWord;
  5223. PMD2 : longWord;
  5224. PMD2CLR : longWord;
  5225. PMD2SET : longWord;
  5226. PMD2INV : longWord;
  5227. PMD3 : longWord;
  5228. PMD3CLR : longWord;
  5229. PMD3SET : longWord;
  5230. PMD3INV : longWord;
  5231. PMD4 : longWord;
  5232. PMD4CLR : longWord;
  5233. PMD4SET : longWord;
  5234. PMD4INV : longWord;
  5235. PMD5bits : TCFG_PMD5;
  5236. PMD5 : longWord;
  5237. PMD5CLR : longWord;
  5238. PMD5SET : longWord;
  5239. PMD5INV : longWord;
  5240. PMD6 : longWord;
  5241. PMD6CLR : longWord;
  5242. PMD6SET : longWord;
  5243. PMD6INV : longWord;
  5244. end;
  5245. TNVM_NVMCON = record
  5246. private
  5247. function getLVDERR : TBits_1; inline;
  5248. function getLVDSTAT : TBits_1; inline;
  5249. function getNVMOP : TBits_4; inline;
  5250. function getNVMOP0 : TBits_1; inline;
  5251. function getNVMOP1 : TBits_1; inline;
  5252. function getNVMOP2 : TBits_1; inline;
  5253. function getNVMOP3 : TBits_1; inline;
  5254. function getPROGOP : TBits_4; inline;
  5255. function getPROGOP0 : TBits_1; inline;
  5256. function getPROGOP1 : TBits_1; inline;
  5257. function getPROGOP2 : TBits_1; inline;
  5258. function getPROGOP3 : TBits_1; inline;
  5259. function getWR : TBits_1; inline;
  5260. function getWREN : TBits_1; inline;
  5261. function getWRERR : TBits_1; inline;
  5262. function getw : TBits_32; inline;
  5263. procedure setLVDERR(thebits : TBits_1); inline;
  5264. procedure setLVDSTAT(thebits : TBits_1); inline;
  5265. procedure setNVMOP(thebits : TBits_4); inline;
  5266. procedure setNVMOP0(thebits : TBits_1); inline;
  5267. procedure setNVMOP1(thebits : TBits_1); inline;
  5268. procedure setNVMOP2(thebits : TBits_1); inline;
  5269. procedure setNVMOP3(thebits : TBits_1); inline;
  5270. procedure setPROGOP(thebits : TBits_4); inline;
  5271. procedure setPROGOP0(thebits : TBits_1); inline;
  5272. procedure setPROGOP1(thebits : TBits_1); inline;
  5273. procedure setPROGOP2(thebits : TBits_1); inline;
  5274. procedure setPROGOP3(thebits : TBits_1); inline;
  5275. procedure setWR(thebits : TBits_1); inline;
  5276. procedure setWREN(thebits : TBits_1); inline;
  5277. procedure setWRERR(thebits : TBits_1); inline;
  5278. procedure setw(thebits : TBits_32); inline;
  5279. public
  5280. procedure clearLVDERR; inline;
  5281. procedure clearLVDSTAT; inline;
  5282. procedure clearNVMOP0; inline;
  5283. procedure clearNVMOP1; inline;
  5284. procedure clearNVMOP2; inline;
  5285. procedure clearNVMOP3; inline;
  5286. procedure clearPROGOP0; inline;
  5287. procedure clearPROGOP1; inline;
  5288. procedure clearPROGOP2; inline;
  5289. procedure clearPROGOP3; inline;
  5290. procedure clearWR; inline;
  5291. procedure clearWREN; inline;
  5292. procedure clearWRERR; inline;
  5293. procedure setLVDERR; inline;
  5294. procedure setLVDSTAT; inline;
  5295. procedure setNVMOP0; inline;
  5296. procedure setNVMOP1; inline;
  5297. procedure setNVMOP2; inline;
  5298. procedure setNVMOP3; inline;
  5299. procedure setPROGOP0; inline;
  5300. procedure setPROGOP1; inline;
  5301. procedure setPROGOP2; inline;
  5302. procedure setPROGOP3; inline;
  5303. procedure setWR; inline;
  5304. procedure setWREN; inline;
  5305. procedure setWRERR; inline;
  5306. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  5307. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  5308. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  5309. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  5310. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  5311. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  5312. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  5313. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  5314. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  5315. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  5316. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  5317. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  5318. property WR : TBits_1 read getWR write setWR;
  5319. property WREN : TBits_1 read getWREN write setWREN;
  5320. property WRERR : TBits_1 read getWRERR write setWRERR;
  5321. property w : TBits_32 read getw write setw;
  5322. end;
  5323. type
  5324. TNVMRegisters = record
  5325. NVMCONbits : TNVM_NVMCON;
  5326. NVMCON : longWord;
  5327. NVMCONCLR : longWord;
  5328. NVMCONSET : longWord;
  5329. NVMCONINV : longWord;
  5330. NVMKEY : longWord;
  5331. NVMADDR : longWord;
  5332. NVMADDRCLR : longWord;
  5333. NVMADDRSET : longWord;
  5334. NVMADDRINV : longWord;
  5335. NVMDATA : longWord;
  5336. NVMSRCADDR : longWord;
  5337. end;
  5338. TRCON_RCON = record
  5339. private
  5340. function getBOR : TBits_1; inline;
  5341. function getCMR : TBits_1; inline;
  5342. function getEXTR : TBits_1; inline;
  5343. function getIDLE : TBits_1; inline;
  5344. function getPOR : TBits_1; inline;
  5345. function getSLEEP : TBits_1; inline;
  5346. function getSWR : TBits_1; inline;
  5347. function getVREGS : TBits_1; inline;
  5348. function getWDTO : TBits_1; inline;
  5349. function getw : TBits_32; inline;
  5350. procedure setBOR(thebits : TBits_1); inline;
  5351. procedure setCMR(thebits : TBits_1); inline;
  5352. procedure setEXTR(thebits : TBits_1); inline;
  5353. procedure setIDLE(thebits : TBits_1); inline;
  5354. procedure setPOR(thebits : TBits_1); inline;
  5355. procedure setSLEEP(thebits : TBits_1); inline;
  5356. procedure setSWR(thebits : TBits_1); inline;
  5357. procedure setVREGS(thebits : TBits_1); inline;
  5358. procedure setWDTO(thebits : TBits_1); inline;
  5359. procedure setw(thebits : TBits_32); inline;
  5360. public
  5361. procedure clearBOR; inline;
  5362. procedure clearCMR; inline;
  5363. procedure clearEXTR; inline;
  5364. procedure clearIDLE; inline;
  5365. procedure clearPOR; inline;
  5366. procedure clearSLEEP; inline;
  5367. procedure clearSWR; inline;
  5368. procedure clearVREGS; inline;
  5369. procedure clearWDTO; inline;
  5370. procedure setBOR; inline;
  5371. procedure setCMR; inline;
  5372. procedure setEXTR; inline;
  5373. procedure setIDLE; inline;
  5374. procedure setPOR; inline;
  5375. procedure setSLEEP; inline;
  5376. procedure setSWR; inline;
  5377. procedure setVREGS; inline;
  5378. procedure setWDTO; inline;
  5379. property BOR : TBits_1 read getBOR write setBOR;
  5380. property CMR : TBits_1 read getCMR write setCMR;
  5381. property EXTR : TBits_1 read getEXTR write setEXTR;
  5382. property IDLE : TBits_1 read getIDLE write setIDLE;
  5383. property POR : TBits_1 read getPOR write setPOR;
  5384. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  5385. property SWR : TBits_1 read getSWR write setSWR;
  5386. property VREGS : TBits_1 read getVREGS write setVREGS;
  5387. property WDTO : TBits_1 read getWDTO write setWDTO;
  5388. property w : TBits_32 read getw write setw;
  5389. end;
  5390. TRCON_RSWRST = record
  5391. private
  5392. function getSWRST : TBits_1; inline;
  5393. function getw : TBits_32; inline;
  5394. procedure setSWRST(thebits : TBits_1); inline;
  5395. procedure setw(thebits : TBits_32); inline;
  5396. public
  5397. procedure clearSWRST; inline;
  5398. procedure setSWRST; inline;
  5399. property SWRST : TBits_1 read getSWRST write setSWRST;
  5400. property w : TBits_32 read getw write setw;
  5401. end;
  5402. type
  5403. TRCONRegisters = record
  5404. RCONbits : TRCON_RCON;
  5405. RCON : longWord;
  5406. RCONCLR : longWord;
  5407. RCONSET : longWord;
  5408. RCONINV : longWord;
  5409. RSWRSTbits : TRCON_RSWRST;
  5410. RSWRST : longWord;
  5411. RSWRSTCLR : longWord;
  5412. RSWRSTSET : longWord;
  5413. RSWRSTINV : longWord;
  5414. INT1R : longWord;
  5415. INT2R : longWord;
  5416. INT3R : longWord;
  5417. INT4R : longWord;
  5418. T2CKR : longWord;
  5419. T3CKR : longWord;
  5420. T4CKR : longWord;
  5421. T5CKR : longWord;
  5422. IC1R : longWord;
  5423. IC2R : longWord;
  5424. IC3R : longWord;
  5425. IC4R : longWord;
  5426. IC5R : longWord;
  5427. OCFAR : longWord;
  5428. OCFBR : longWord;
  5429. U1RXR : longWord;
  5430. U1CTSR : longWord;
  5431. U2RXR : longWord;
  5432. U2CTSR : longWord;
  5433. SDI1R : longWord;
  5434. SS1R : longWord;
  5435. SDI2R : longWord;
  5436. SS2R : longWord;
  5437. REFCLKIR : longWord;
  5438. RPA0R : longWord;
  5439. RPA1R : longWord;
  5440. RPA2R : longWord;
  5441. RPA3R : longWord;
  5442. RPA4R : longWord;
  5443. RPA8R : longWord;
  5444. RPA9R : longWord;
  5445. RPB0R : longWord;
  5446. RPB1R : longWord;
  5447. RPB2R : longWord;
  5448. RPB3R : longWord;
  5449. RPB4R : longWord;
  5450. RPB5R : longWord;
  5451. RPB7R : longWord;
  5452. RPB8R : longWord;
  5453. RPB9R : longWord;
  5454. RPB10R : longWord;
  5455. RPB11R : longWord;
  5456. RPB13R : longWord;
  5457. RPB14R : longWord;
  5458. RPB15R : longWord;
  5459. RPC0R : longWord;
  5460. RPC1R : longWord;
  5461. RPC2R : longWord;
  5462. RPC3R : longWord;
  5463. RPC4R : longWord;
  5464. RPC5R : longWord;
  5465. RPC6R : longWord;
  5466. RPC7R : longWord;
  5467. RPC8R : longWord;
  5468. RPC9R : longWord;
  5469. end;
  5470. TINT_INTCON = record
  5471. private
  5472. function getINT0EP : TBits_1; inline;
  5473. function getINT1EP : TBits_1; inline;
  5474. function getINT2EP : TBits_1; inline;
  5475. function getINT3EP : TBits_1; inline;
  5476. function getINT4EP : TBits_1; inline;
  5477. function getMVEC : TBits_1; inline;
  5478. function getSS0 : TBits_1; inline;
  5479. function getTPC : TBits_3; inline;
  5480. function getw : TBits_32; inline;
  5481. procedure setINT0EP(thebits : TBits_1); inline;
  5482. procedure setINT1EP(thebits : TBits_1); inline;
  5483. procedure setINT2EP(thebits : TBits_1); inline;
  5484. procedure setINT3EP(thebits : TBits_1); inline;
  5485. procedure setINT4EP(thebits : TBits_1); inline;
  5486. procedure setMVEC(thebits : TBits_1); inline;
  5487. procedure setSS0(thebits : TBits_1); inline;
  5488. procedure setTPC(thebits : TBits_3); inline;
  5489. procedure setw(thebits : TBits_32); inline;
  5490. public
  5491. procedure clearINT0EP; inline;
  5492. procedure clearINT1EP; inline;
  5493. procedure clearINT2EP; inline;
  5494. procedure clearINT3EP; inline;
  5495. procedure clearINT4EP; inline;
  5496. procedure clearMVEC; inline;
  5497. procedure clearSS0; inline;
  5498. procedure setINT0EP; inline;
  5499. procedure setINT1EP; inline;
  5500. procedure setINT2EP; inline;
  5501. procedure setINT3EP; inline;
  5502. procedure setINT4EP; inline;
  5503. procedure setMVEC; inline;
  5504. procedure setSS0; inline;
  5505. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  5506. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  5507. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  5508. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  5509. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  5510. property MVEC : TBits_1 read getMVEC write setMVEC;
  5511. property SS0 : TBits_1 read getSS0 write setSS0;
  5512. property TPC : TBits_3 read getTPC write setTPC;
  5513. property w : TBits_32 read getw write setw;
  5514. end;
  5515. TINT_IFS0 = record
  5516. private
  5517. function getAD1IF : TBits_1; inline;
  5518. function getCS0IF : TBits_1; inline;
  5519. function getCS1IF : TBits_1; inline;
  5520. function getCTIF : TBits_1; inline;
  5521. function getFCEIF : TBits_1; inline;
  5522. function getFSCMIF : TBits_1; inline;
  5523. function getIC1EIF : TBits_1; inline;
  5524. function getIC1IF : TBits_1; inline;
  5525. function getIC2EIF : TBits_1; inline;
  5526. function getIC2IF : TBits_1; inline;
  5527. function getIC3EIF : TBits_1; inline;
  5528. function getIC3IF : TBits_1; inline;
  5529. function getIC4EIF : TBits_1; inline;
  5530. function getIC4IF : TBits_1; inline;
  5531. function getIC5EIF : TBits_1; inline;
  5532. function getIC5IF : TBits_1; inline;
  5533. function getINT0IF : TBits_1; inline;
  5534. function getINT1IF : TBits_1; inline;
  5535. function getINT2IF : TBits_1; inline;
  5536. function getINT3IF : TBits_1; inline;
  5537. function getINT4IF : TBits_1; inline;
  5538. function getOC1IF : TBits_1; inline;
  5539. function getOC2IF : TBits_1; inline;
  5540. function getOC3IF : TBits_1; inline;
  5541. function getOC4IF : TBits_1; inline;
  5542. function getOC5IF : TBits_1; inline;
  5543. function getRTCCIF : TBits_1; inline;
  5544. function getT1IF : TBits_1; inline;
  5545. function getT2IF : TBits_1; inline;
  5546. function getT3IF : TBits_1; inline;
  5547. function getT4IF : TBits_1; inline;
  5548. function getT5IF : TBits_1; inline;
  5549. function getw : TBits_32; inline;
  5550. procedure setAD1IF(thebits : TBits_1); inline;
  5551. procedure setCS0IF(thebits : TBits_1); inline;
  5552. procedure setCS1IF(thebits : TBits_1); inline;
  5553. procedure setCTIF(thebits : TBits_1); inline;
  5554. procedure setFCEIF(thebits : TBits_1); inline;
  5555. procedure setFSCMIF(thebits : TBits_1); inline;
  5556. procedure setIC1EIF(thebits : TBits_1); inline;
  5557. procedure setIC1IF(thebits : TBits_1); inline;
  5558. procedure setIC2EIF(thebits : TBits_1); inline;
  5559. procedure setIC2IF(thebits : TBits_1); inline;
  5560. procedure setIC3EIF(thebits : TBits_1); inline;
  5561. procedure setIC3IF(thebits : TBits_1); inline;
  5562. procedure setIC4EIF(thebits : TBits_1); inline;
  5563. procedure setIC4IF(thebits : TBits_1); inline;
  5564. procedure setIC5EIF(thebits : TBits_1); inline;
  5565. procedure setIC5IF(thebits : TBits_1); inline;
  5566. procedure setINT0IF(thebits : TBits_1); inline;
  5567. procedure setINT1IF(thebits : TBits_1); inline;
  5568. procedure setINT2IF(thebits : TBits_1); inline;
  5569. procedure setINT3IF(thebits : TBits_1); inline;
  5570. procedure setINT4IF(thebits : TBits_1); inline;
  5571. procedure setOC1IF(thebits : TBits_1); inline;
  5572. procedure setOC2IF(thebits : TBits_1); inline;
  5573. procedure setOC3IF(thebits : TBits_1); inline;
  5574. procedure setOC4IF(thebits : TBits_1); inline;
  5575. procedure setOC5IF(thebits : TBits_1); inline;
  5576. procedure setRTCCIF(thebits : TBits_1); inline;
  5577. procedure setT1IF(thebits : TBits_1); inline;
  5578. procedure setT2IF(thebits : TBits_1); inline;
  5579. procedure setT3IF(thebits : TBits_1); inline;
  5580. procedure setT4IF(thebits : TBits_1); inline;
  5581. procedure setT5IF(thebits : TBits_1); inline;
  5582. procedure setw(thebits : TBits_32); inline;
  5583. public
  5584. procedure clearAD1IF; inline;
  5585. procedure clearCS0IF; inline;
  5586. procedure clearCS1IF; inline;
  5587. procedure clearCTIF; inline;
  5588. procedure clearFCEIF; inline;
  5589. procedure clearFSCMIF; inline;
  5590. procedure clearIC1EIF; inline;
  5591. procedure clearIC1IF; inline;
  5592. procedure clearIC2EIF; inline;
  5593. procedure clearIC2IF; inline;
  5594. procedure clearIC3EIF; inline;
  5595. procedure clearIC3IF; inline;
  5596. procedure clearIC4EIF; inline;
  5597. procedure clearIC4IF; inline;
  5598. procedure clearIC5EIF; inline;
  5599. procedure clearIC5IF; inline;
  5600. procedure clearINT0IF; inline;
  5601. procedure clearINT1IF; inline;
  5602. procedure clearINT2IF; inline;
  5603. procedure clearINT3IF; inline;
  5604. procedure clearINT4IF; inline;
  5605. procedure clearOC1IF; inline;
  5606. procedure clearOC2IF; inline;
  5607. procedure clearOC3IF; inline;
  5608. procedure clearOC4IF; inline;
  5609. procedure clearOC5IF; inline;
  5610. procedure clearRTCCIF; inline;
  5611. procedure clearT1IF; inline;
  5612. procedure clearT2IF; inline;
  5613. procedure clearT3IF; inline;
  5614. procedure clearT4IF; inline;
  5615. procedure clearT5IF; inline;
  5616. procedure setAD1IF; inline;
  5617. procedure setCS0IF; inline;
  5618. procedure setCS1IF; inline;
  5619. procedure setCTIF; inline;
  5620. procedure setFCEIF; inline;
  5621. procedure setFSCMIF; inline;
  5622. procedure setIC1EIF; inline;
  5623. procedure setIC1IF; inline;
  5624. procedure setIC2EIF; inline;
  5625. procedure setIC2IF; inline;
  5626. procedure setIC3EIF; inline;
  5627. procedure setIC3IF; inline;
  5628. procedure setIC4EIF; inline;
  5629. procedure setIC4IF; inline;
  5630. procedure setIC5EIF; inline;
  5631. procedure setIC5IF; inline;
  5632. procedure setINT0IF; inline;
  5633. procedure setINT1IF; inline;
  5634. procedure setINT2IF; inline;
  5635. procedure setINT3IF; inline;
  5636. procedure setINT4IF; inline;
  5637. procedure setOC1IF; inline;
  5638. procedure setOC2IF; inline;
  5639. procedure setOC3IF; inline;
  5640. procedure setOC4IF; inline;
  5641. procedure setOC5IF; inline;
  5642. procedure setRTCCIF; inline;
  5643. procedure setT1IF; inline;
  5644. procedure setT2IF; inline;
  5645. procedure setT3IF; inline;
  5646. procedure setT4IF; inline;
  5647. procedure setT5IF; inline;
  5648. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  5649. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  5650. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  5651. property CTIF : TBits_1 read getCTIF write setCTIF;
  5652. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  5653. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  5654. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  5655. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  5656. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  5657. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  5658. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  5659. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  5660. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  5661. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  5662. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  5663. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  5664. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  5665. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  5666. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  5667. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  5668. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  5669. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  5670. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  5671. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  5672. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  5673. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  5674. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  5675. property T1IF : TBits_1 read getT1IF write setT1IF;
  5676. property T2IF : TBits_1 read getT2IF write setT2IF;
  5677. property T3IF : TBits_1 read getT3IF write setT3IF;
  5678. property T4IF : TBits_1 read getT4IF write setT4IF;
  5679. property T5IF : TBits_1 read getT5IF write setT5IF;
  5680. property w : TBits_32 read getw write setw;
  5681. end;
  5682. TINT_IFS1 = record
  5683. private
  5684. function getCMP1IF : TBits_1; inline;
  5685. function getCMP2IF : TBits_1; inline;
  5686. function getCMP3IF : TBits_1; inline;
  5687. function getCNAIF : TBits_1; inline;
  5688. function getCNBIF : TBits_1; inline;
  5689. function getCNCIF : TBits_1; inline;
  5690. function getCTMUIF : TBits_1; inline;
  5691. function getDMA0IF : TBits_1; inline;
  5692. function getDMA1IF : TBits_1; inline;
  5693. function getDMA2IF : TBits_1; inline;
  5694. function getDMA3IF : TBits_1; inline;
  5695. function getI2C1BIF : TBits_1; inline;
  5696. function getI2C1MIF : TBits_1; inline;
  5697. function getI2C1SIF : TBits_1; inline;
  5698. function getI2C2BIF : TBits_1; inline;
  5699. function getI2C2MIF : TBits_1; inline;
  5700. function getI2C2SIF : TBits_1; inline;
  5701. function getPMPEIF : TBits_1; inline;
  5702. function getPMPIF : TBits_1; inline;
  5703. function getSPI1EIF : TBits_1; inline;
  5704. function getSPI1RXIF : TBits_1; inline;
  5705. function getSPI1TXIF : TBits_1; inline;
  5706. function getSPI2EIF : TBits_1; inline;
  5707. function getSPI2RXIF : TBits_1; inline;
  5708. function getSPI2TXIF : TBits_1; inline;
  5709. function getU1EIF : TBits_1; inline;
  5710. function getU1RXIF : TBits_1; inline;
  5711. function getU1TXIF : TBits_1; inline;
  5712. function getU2EIF : TBits_1; inline;
  5713. function getU2RXIF : TBits_1; inline;
  5714. function getU2TXIF : TBits_1; inline;
  5715. function getUSBIF : TBits_1; inline;
  5716. function getw : TBits_32; inline;
  5717. procedure setCMP1IF(thebits : TBits_1); inline;
  5718. procedure setCMP2IF(thebits : TBits_1); inline;
  5719. procedure setCMP3IF(thebits : TBits_1); inline;
  5720. procedure setCNAIF(thebits : TBits_1); inline;
  5721. procedure setCNBIF(thebits : TBits_1); inline;
  5722. procedure setCNCIF(thebits : TBits_1); inline;
  5723. procedure setCTMUIF(thebits : TBits_1); inline;
  5724. procedure setDMA0IF(thebits : TBits_1); inline;
  5725. procedure setDMA1IF(thebits : TBits_1); inline;
  5726. procedure setDMA2IF(thebits : TBits_1); inline;
  5727. procedure setDMA3IF(thebits : TBits_1); inline;
  5728. procedure setI2C1BIF(thebits : TBits_1); inline;
  5729. procedure setI2C1MIF(thebits : TBits_1); inline;
  5730. procedure setI2C1SIF(thebits : TBits_1); inline;
  5731. procedure setI2C2BIF(thebits : TBits_1); inline;
  5732. procedure setI2C2MIF(thebits : TBits_1); inline;
  5733. procedure setI2C2SIF(thebits : TBits_1); inline;
  5734. procedure setPMPEIF(thebits : TBits_1); inline;
  5735. procedure setPMPIF(thebits : TBits_1); inline;
  5736. procedure setSPI1EIF(thebits : TBits_1); inline;
  5737. procedure setSPI1RXIF(thebits : TBits_1); inline;
  5738. procedure setSPI1TXIF(thebits : TBits_1); inline;
  5739. procedure setSPI2EIF(thebits : TBits_1); inline;
  5740. procedure setSPI2RXIF(thebits : TBits_1); inline;
  5741. procedure setSPI2TXIF(thebits : TBits_1); inline;
  5742. procedure setU1EIF(thebits : TBits_1); inline;
  5743. procedure setU1RXIF(thebits : TBits_1); inline;
  5744. procedure setU1TXIF(thebits : TBits_1); inline;
  5745. procedure setU2EIF(thebits : TBits_1); inline;
  5746. procedure setU2RXIF(thebits : TBits_1); inline;
  5747. procedure setU2TXIF(thebits : TBits_1); inline;
  5748. procedure setUSBIF(thebits : TBits_1); inline;
  5749. procedure setw(thebits : TBits_32); inline;
  5750. public
  5751. procedure clearCMP1IF; inline;
  5752. procedure clearCMP2IF; inline;
  5753. procedure clearCMP3IF; inline;
  5754. procedure clearCNAIF; inline;
  5755. procedure clearCNBIF; inline;
  5756. procedure clearCNCIF; inline;
  5757. procedure clearCTMUIF; inline;
  5758. procedure clearDMA0IF; inline;
  5759. procedure clearDMA1IF; inline;
  5760. procedure clearDMA2IF; inline;
  5761. procedure clearDMA3IF; inline;
  5762. procedure clearI2C1BIF; inline;
  5763. procedure clearI2C1MIF; inline;
  5764. procedure clearI2C1SIF; inline;
  5765. procedure clearI2C2BIF; inline;
  5766. procedure clearI2C2MIF; inline;
  5767. procedure clearI2C2SIF; inline;
  5768. procedure clearPMPEIF; inline;
  5769. procedure clearPMPIF; inline;
  5770. procedure clearSPI1EIF; inline;
  5771. procedure clearSPI1RXIF; inline;
  5772. procedure clearSPI1TXIF; inline;
  5773. procedure clearSPI2EIF; inline;
  5774. procedure clearSPI2RXIF; inline;
  5775. procedure clearSPI2TXIF; inline;
  5776. procedure clearU1EIF; inline;
  5777. procedure clearU1RXIF; inline;
  5778. procedure clearU1TXIF; inline;
  5779. procedure clearU2EIF; inline;
  5780. procedure clearU2RXIF; inline;
  5781. procedure clearU2TXIF; inline;
  5782. procedure clearUSBIF; inline;
  5783. procedure setCMP1IF; inline;
  5784. procedure setCMP2IF; inline;
  5785. procedure setCMP3IF; inline;
  5786. procedure setCNAIF; inline;
  5787. procedure setCNBIF; inline;
  5788. procedure setCNCIF; inline;
  5789. procedure setCTMUIF; inline;
  5790. procedure setDMA0IF; inline;
  5791. procedure setDMA1IF; inline;
  5792. procedure setDMA2IF; inline;
  5793. procedure setDMA3IF; inline;
  5794. procedure setI2C1BIF; inline;
  5795. procedure setI2C1MIF; inline;
  5796. procedure setI2C1SIF; inline;
  5797. procedure setI2C2BIF; inline;
  5798. procedure setI2C2MIF; inline;
  5799. procedure setI2C2SIF; inline;
  5800. procedure setPMPEIF; inline;
  5801. procedure setPMPIF; inline;
  5802. procedure setSPI1EIF; inline;
  5803. procedure setSPI1RXIF; inline;
  5804. procedure setSPI1TXIF; inline;
  5805. procedure setSPI2EIF; inline;
  5806. procedure setSPI2RXIF; inline;
  5807. procedure setSPI2TXIF; inline;
  5808. procedure setU1EIF; inline;
  5809. procedure setU1RXIF; inline;
  5810. procedure setU1TXIF; inline;
  5811. procedure setU2EIF; inline;
  5812. procedure setU2RXIF; inline;
  5813. procedure setU2TXIF; inline;
  5814. procedure setUSBIF; inline;
  5815. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  5816. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  5817. property CMP3IF : TBits_1 read getCMP3IF write setCMP3IF;
  5818. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  5819. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  5820. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  5821. property CTMUIF : TBits_1 read getCTMUIF write setCTMUIF;
  5822. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  5823. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  5824. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  5825. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  5826. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  5827. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  5828. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  5829. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  5830. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  5831. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  5832. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  5833. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  5834. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  5835. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  5836. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  5837. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  5838. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  5839. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  5840. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  5841. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  5842. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  5843. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  5844. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  5845. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  5846. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  5847. property w : TBits_32 read getw write setw;
  5848. end;
  5849. TINT_IEC0 = record
  5850. private
  5851. function getAD1IE : TBits_1; inline;
  5852. function getCS0IE : TBits_1; inline;
  5853. function getCS1IE : TBits_1; inline;
  5854. function getCTIE : TBits_1; inline;
  5855. function getFCEIE : TBits_1; inline;
  5856. function getFSCMIE : TBits_1; inline;
  5857. function getIC1EIE : TBits_1; inline;
  5858. function getIC1IE : TBits_1; inline;
  5859. function getIC2EIE : TBits_1; inline;
  5860. function getIC2IE : TBits_1; inline;
  5861. function getIC3EIE : TBits_1; inline;
  5862. function getIC3IE : TBits_1; inline;
  5863. function getIC4EIE : TBits_1; inline;
  5864. function getIC4IE : TBits_1; inline;
  5865. function getIC5EIE : TBits_1; inline;
  5866. function getIC5IE : TBits_1; inline;
  5867. function getINT0IE : TBits_1; inline;
  5868. function getINT1IE : TBits_1; inline;
  5869. function getINT2IE : TBits_1; inline;
  5870. function getINT3IE : TBits_1; inline;
  5871. function getINT4IE : TBits_1; inline;
  5872. function getOC1IE : TBits_1; inline;
  5873. function getOC2IE : TBits_1; inline;
  5874. function getOC3IE : TBits_1; inline;
  5875. function getOC4IE : TBits_1; inline;
  5876. function getOC5IE : TBits_1; inline;
  5877. function getRTCCIE : TBits_1; inline;
  5878. function getT1IE : TBits_1; inline;
  5879. function getT2IE : TBits_1; inline;
  5880. function getT3IE : TBits_1; inline;
  5881. function getT4IE : TBits_1; inline;
  5882. function getT5IE : TBits_1; inline;
  5883. function getw : TBits_32; inline;
  5884. procedure setAD1IE(thebits : TBits_1); inline;
  5885. procedure setCS0IE(thebits : TBits_1); inline;
  5886. procedure setCS1IE(thebits : TBits_1); inline;
  5887. procedure setCTIE(thebits : TBits_1); inline;
  5888. procedure setFCEIE(thebits : TBits_1); inline;
  5889. procedure setFSCMIE(thebits : TBits_1); inline;
  5890. procedure setIC1EIE(thebits : TBits_1); inline;
  5891. procedure setIC1IE(thebits : TBits_1); inline;
  5892. procedure setIC2EIE(thebits : TBits_1); inline;
  5893. procedure setIC2IE(thebits : TBits_1); inline;
  5894. procedure setIC3EIE(thebits : TBits_1); inline;
  5895. procedure setIC3IE(thebits : TBits_1); inline;
  5896. procedure setIC4EIE(thebits : TBits_1); inline;
  5897. procedure setIC4IE(thebits : TBits_1); inline;
  5898. procedure setIC5EIE(thebits : TBits_1); inline;
  5899. procedure setIC5IE(thebits : TBits_1); inline;
  5900. procedure setINT0IE(thebits : TBits_1); inline;
  5901. procedure setINT1IE(thebits : TBits_1); inline;
  5902. procedure setINT2IE(thebits : TBits_1); inline;
  5903. procedure setINT3IE(thebits : TBits_1); inline;
  5904. procedure setINT4IE(thebits : TBits_1); inline;
  5905. procedure setOC1IE(thebits : TBits_1); inline;
  5906. procedure setOC2IE(thebits : TBits_1); inline;
  5907. procedure setOC3IE(thebits : TBits_1); inline;
  5908. procedure setOC4IE(thebits : TBits_1); inline;
  5909. procedure setOC5IE(thebits : TBits_1); inline;
  5910. procedure setRTCCIE(thebits : TBits_1); inline;
  5911. procedure setT1IE(thebits : TBits_1); inline;
  5912. procedure setT2IE(thebits : TBits_1); inline;
  5913. procedure setT3IE(thebits : TBits_1); inline;
  5914. procedure setT4IE(thebits : TBits_1); inline;
  5915. procedure setT5IE(thebits : TBits_1); inline;
  5916. procedure setw(thebits : TBits_32); inline;
  5917. public
  5918. procedure clearAD1IE; inline;
  5919. procedure clearCS0IE; inline;
  5920. procedure clearCS1IE; inline;
  5921. procedure clearCTIE; inline;
  5922. procedure clearFCEIE; inline;
  5923. procedure clearFSCMIE; inline;
  5924. procedure clearIC1EIE; inline;
  5925. procedure clearIC1IE; inline;
  5926. procedure clearIC2EIE; inline;
  5927. procedure clearIC2IE; inline;
  5928. procedure clearIC3EIE; inline;
  5929. procedure clearIC3IE; inline;
  5930. procedure clearIC4EIE; inline;
  5931. procedure clearIC4IE; inline;
  5932. procedure clearIC5EIE; inline;
  5933. procedure clearIC5IE; inline;
  5934. procedure clearINT0IE; inline;
  5935. procedure clearINT1IE; inline;
  5936. procedure clearINT2IE; inline;
  5937. procedure clearINT3IE; inline;
  5938. procedure clearINT4IE; inline;
  5939. procedure clearOC1IE; inline;
  5940. procedure clearOC2IE; inline;
  5941. procedure clearOC3IE; inline;
  5942. procedure clearOC4IE; inline;
  5943. procedure clearOC5IE; inline;
  5944. procedure clearRTCCIE; inline;
  5945. procedure clearT1IE; inline;
  5946. procedure clearT2IE; inline;
  5947. procedure clearT3IE; inline;
  5948. procedure clearT4IE; inline;
  5949. procedure clearT5IE; inline;
  5950. procedure setAD1IE; inline;
  5951. procedure setCS0IE; inline;
  5952. procedure setCS1IE; inline;
  5953. procedure setCTIE; inline;
  5954. procedure setFCEIE; inline;
  5955. procedure setFSCMIE; inline;
  5956. procedure setIC1EIE; inline;
  5957. procedure setIC1IE; inline;
  5958. procedure setIC2EIE; inline;
  5959. procedure setIC2IE; inline;
  5960. procedure setIC3EIE; inline;
  5961. procedure setIC3IE; inline;
  5962. procedure setIC4EIE; inline;
  5963. procedure setIC4IE; inline;
  5964. procedure setIC5EIE; inline;
  5965. procedure setIC5IE; inline;
  5966. procedure setINT0IE; inline;
  5967. procedure setINT1IE; inline;
  5968. procedure setINT2IE; inline;
  5969. procedure setINT3IE; inline;
  5970. procedure setINT4IE; inline;
  5971. procedure setOC1IE; inline;
  5972. procedure setOC2IE; inline;
  5973. procedure setOC3IE; inline;
  5974. procedure setOC4IE; inline;
  5975. procedure setOC5IE; inline;
  5976. procedure setRTCCIE; inline;
  5977. procedure setT1IE; inline;
  5978. procedure setT2IE; inline;
  5979. procedure setT3IE; inline;
  5980. procedure setT4IE; inline;
  5981. procedure setT5IE; inline;
  5982. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  5983. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  5984. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  5985. property CTIE : TBits_1 read getCTIE write setCTIE;
  5986. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  5987. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  5988. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  5989. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  5990. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  5991. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  5992. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  5993. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  5994. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  5995. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  5996. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  5997. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  5998. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  5999. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  6000. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  6001. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  6002. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  6003. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  6004. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  6005. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  6006. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  6007. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  6008. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  6009. property T1IE : TBits_1 read getT1IE write setT1IE;
  6010. property T2IE : TBits_1 read getT2IE write setT2IE;
  6011. property T3IE : TBits_1 read getT3IE write setT3IE;
  6012. property T4IE : TBits_1 read getT4IE write setT4IE;
  6013. property T5IE : TBits_1 read getT5IE write setT5IE;
  6014. property w : TBits_32 read getw write setw;
  6015. end;
  6016. TINT_IEC1 = record
  6017. private
  6018. function getCMP1IE : TBits_1; inline;
  6019. function getCMP2IE : TBits_1; inline;
  6020. function getCMP3IE : TBits_1; inline;
  6021. function getCNAIE : TBits_1; inline;
  6022. function getCNBIE : TBits_1; inline;
  6023. function getCNCIE : TBits_1; inline;
  6024. function getCTMUIE : TBits_1; inline;
  6025. function getDMA0IE : TBits_1; inline;
  6026. function getDMA1IE : TBits_1; inline;
  6027. function getDMA2IE : TBits_1; inline;
  6028. function getDMA3IE : TBits_1; inline;
  6029. function getI2C1BIE : TBits_1; inline;
  6030. function getI2C1MIE : TBits_1; inline;
  6031. function getI2C1SIE : TBits_1; inline;
  6032. function getI2C2BIE : TBits_1; inline;
  6033. function getI2C2MIE : TBits_1; inline;
  6034. function getI2C2SIE : TBits_1; inline;
  6035. function getPMPEIE : TBits_1; inline;
  6036. function getPMPIE : TBits_1; inline;
  6037. function getSPI1EIE : TBits_1; inline;
  6038. function getSPI1RXIE : TBits_1; inline;
  6039. function getSPI1TXIE : TBits_1; inline;
  6040. function getSPI2EIE : TBits_1; inline;
  6041. function getSPI2RXIE : TBits_1; inline;
  6042. function getSPI2TXIE : TBits_1; inline;
  6043. function getU1EIE : TBits_1; inline;
  6044. function getU1RXIE : TBits_1; inline;
  6045. function getU1TXIE : TBits_1; inline;
  6046. function getU2EIE : TBits_1; inline;
  6047. function getU2RXIE : TBits_1; inline;
  6048. function getU2TXIE : TBits_1; inline;
  6049. function getUSBIE : TBits_1; inline;
  6050. function getw : TBits_32; inline;
  6051. procedure setCMP1IE(thebits : TBits_1); inline;
  6052. procedure setCMP2IE(thebits : TBits_1); inline;
  6053. procedure setCMP3IE(thebits : TBits_1); inline;
  6054. procedure setCNAIE(thebits : TBits_1); inline;
  6055. procedure setCNBIE(thebits : TBits_1); inline;
  6056. procedure setCNCIE(thebits : TBits_1); inline;
  6057. procedure setCTMUIE(thebits : TBits_1); inline;
  6058. procedure setDMA0IE(thebits : TBits_1); inline;
  6059. procedure setDMA1IE(thebits : TBits_1); inline;
  6060. procedure setDMA2IE(thebits : TBits_1); inline;
  6061. procedure setDMA3IE(thebits : TBits_1); inline;
  6062. procedure setI2C1BIE(thebits : TBits_1); inline;
  6063. procedure setI2C1MIE(thebits : TBits_1); inline;
  6064. procedure setI2C1SIE(thebits : TBits_1); inline;
  6065. procedure setI2C2BIE(thebits : TBits_1); inline;
  6066. procedure setI2C2MIE(thebits : TBits_1); inline;
  6067. procedure setI2C2SIE(thebits : TBits_1); inline;
  6068. procedure setPMPEIE(thebits : TBits_1); inline;
  6069. procedure setPMPIE(thebits : TBits_1); inline;
  6070. procedure setSPI1EIE(thebits : TBits_1); inline;
  6071. procedure setSPI1RXIE(thebits : TBits_1); inline;
  6072. procedure setSPI1TXIE(thebits : TBits_1); inline;
  6073. procedure setSPI2EIE(thebits : TBits_1); inline;
  6074. procedure setSPI2RXIE(thebits : TBits_1); inline;
  6075. procedure setSPI2TXIE(thebits : TBits_1); inline;
  6076. procedure setU1EIE(thebits : TBits_1); inline;
  6077. procedure setU1RXIE(thebits : TBits_1); inline;
  6078. procedure setU1TXIE(thebits : TBits_1); inline;
  6079. procedure setU2EIE(thebits : TBits_1); inline;
  6080. procedure setU2RXIE(thebits : TBits_1); inline;
  6081. procedure setU2TXIE(thebits : TBits_1); inline;
  6082. procedure setUSBIE(thebits : TBits_1); inline;
  6083. procedure setw(thebits : TBits_32); inline;
  6084. public
  6085. procedure clearCMP1IE; inline;
  6086. procedure clearCMP2IE; inline;
  6087. procedure clearCMP3IE; inline;
  6088. procedure clearCNAIE; inline;
  6089. procedure clearCNBIE; inline;
  6090. procedure clearCNCIE; inline;
  6091. procedure clearCTMUIE; inline;
  6092. procedure clearDMA0IE; inline;
  6093. procedure clearDMA1IE; inline;
  6094. procedure clearDMA2IE; inline;
  6095. procedure clearDMA3IE; inline;
  6096. procedure clearI2C1BIE; inline;
  6097. procedure clearI2C1MIE; inline;
  6098. procedure clearI2C1SIE; inline;
  6099. procedure clearI2C2BIE; inline;
  6100. procedure clearI2C2MIE; inline;
  6101. procedure clearI2C2SIE; inline;
  6102. procedure clearPMPEIE; inline;
  6103. procedure clearPMPIE; inline;
  6104. procedure clearSPI1EIE; inline;
  6105. procedure clearSPI1RXIE; inline;
  6106. procedure clearSPI1TXIE; inline;
  6107. procedure clearSPI2EIE; inline;
  6108. procedure clearSPI2RXIE; inline;
  6109. procedure clearSPI2TXIE; inline;
  6110. procedure clearU1EIE; inline;
  6111. procedure clearU1RXIE; inline;
  6112. procedure clearU1TXIE; inline;
  6113. procedure clearU2EIE; inline;
  6114. procedure clearU2RXIE; inline;
  6115. procedure clearU2TXIE; inline;
  6116. procedure clearUSBIE; inline;
  6117. procedure setCMP1IE; inline;
  6118. procedure setCMP2IE; inline;
  6119. procedure setCMP3IE; inline;
  6120. procedure setCNAIE; inline;
  6121. procedure setCNBIE; inline;
  6122. procedure setCNCIE; inline;
  6123. procedure setCTMUIE; inline;
  6124. procedure setDMA0IE; inline;
  6125. procedure setDMA1IE; inline;
  6126. procedure setDMA2IE; inline;
  6127. procedure setDMA3IE; inline;
  6128. procedure setI2C1BIE; inline;
  6129. procedure setI2C1MIE; inline;
  6130. procedure setI2C1SIE; inline;
  6131. procedure setI2C2BIE; inline;
  6132. procedure setI2C2MIE; inline;
  6133. procedure setI2C2SIE; inline;
  6134. procedure setPMPEIE; inline;
  6135. procedure setPMPIE; inline;
  6136. procedure setSPI1EIE; inline;
  6137. procedure setSPI1RXIE; inline;
  6138. procedure setSPI1TXIE; inline;
  6139. procedure setSPI2EIE; inline;
  6140. procedure setSPI2RXIE; inline;
  6141. procedure setSPI2TXIE; inline;
  6142. procedure setU1EIE; inline;
  6143. procedure setU1RXIE; inline;
  6144. procedure setU1TXIE; inline;
  6145. procedure setU2EIE; inline;
  6146. procedure setU2RXIE; inline;
  6147. procedure setU2TXIE; inline;
  6148. procedure setUSBIE; inline;
  6149. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  6150. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  6151. property CMP3IE : TBits_1 read getCMP3IE write setCMP3IE;
  6152. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  6153. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  6154. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  6155. property CTMUIE : TBits_1 read getCTMUIE write setCTMUIE;
  6156. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  6157. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  6158. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  6159. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  6160. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  6161. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  6162. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  6163. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  6164. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  6165. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  6166. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  6167. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  6168. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  6169. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  6170. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  6171. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  6172. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  6173. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  6174. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  6175. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  6176. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  6177. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  6178. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  6179. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  6180. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  6181. property w : TBits_32 read getw write setw;
  6182. end;
  6183. TINT_IPC0 = record
  6184. private
  6185. function getCS0IP : TBits_3; inline;
  6186. function getCS0IS : TBits_2; inline;
  6187. function getCS1IP : TBits_3; inline;
  6188. function getCS1IS : TBits_2; inline;
  6189. function getCTIP : TBits_3; inline;
  6190. function getCTIS : TBits_2; inline;
  6191. function getINT0IP : TBits_3; inline;
  6192. function getINT0IS : TBits_2; inline;
  6193. function getw : TBits_32; inline;
  6194. procedure setCS0IP(thebits : TBits_3); inline;
  6195. procedure setCS0IS(thebits : TBits_2); inline;
  6196. procedure setCS1IP(thebits : TBits_3); inline;
  6197. procedure setCS1IS(thebits : TBits_2); inline;
  6198. procedure setCTIP(thebits : TBits_3); inline;
  6199. procedure setCTIS(thebits : TBits_2); inline;
  6200. procedure setINT0IP(thebits : TBits_3); inline;
  6201. procedure setINT0IS(thebits : TBits_2); inline;
  6202. procedure setw(thebits : TBits_32); inline;
  6203. public
  6204. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  6205. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  6206. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  6207. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  6208. property CTIP : TBits_3 read getCTIP write setCTIP;
  6209. property CTIS : TBits_2 read getCTIS write setCTIS;
  6210. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  6211. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  6212. property w : TBits_32 read getw write setw;
  6213. end;
  6214. TINT_IPC1 = record
  6215. private
  6216. function getIC1IP : TBits_3; inline;
  6217. function getIC1IS : TBits_2; inline;
  6218. function getINT1IP : TBits_3; inline;
  6219. function getINT1IS : TBits_2; inline;
  6220. function getOC1IP : TBits_3; inline;
  6221. function getOC1IS : TBits_2; inline;
  6222. function getT1IP : TBits_3; inline;
  6223. function getT1IS : TBits_2; inline;
  6224. function getw : TBits_32; inline;
  6225. procedure setIC1IP(thebits : TBits_3); inline;
  6226. procedure setIC1IS(thebits : TBits_2); inline;
  6227. procedure setINT1IP(thebits : TBits_3); inline;
  6228. procedure setINT1IS(thebits : TBits_2); inline;
  6229. procedure setOC1IP(thebits : TBits_3); inline;
  6230. procedure setOC1IS(thebits : TBits_2); inline;
  6231. procedure setT1IP(thebits : TBits_3); inline;
  6232. procedure setT1IS(thebits : TBits_2); inline;
  6233. procedure setw(thebits : TBits_32); inline;
  6234. public
  6235. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  6236. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  6237. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  6238. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  6239. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  6240. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  6241. property T1IP : TBits_3 read getT1IP write setT1IP;
  6242. property T1IS : TBits_2 read getT1IS write setT1IS;
  6243. property w : TBits_32 read getw write setw;
  6244. end;
  6245. TINT_IPC2 = record
  6246. private
  6247. function getIC2IP : TBits_3; inline;
  6248. function getIC2IS : TBits_2; inline;
  6249. function getINT2IP : TBits_3; inline;
  6250. function getINT2IS : TBits_2; inline;
  6251. function getOC2IP : TBits_3; inline;
  6252. function getOC2IS : TBits_2; inline;
  6253. function getT2IP : TBits_3; inline;
  6254. function getT2IS : TBits_2; inline;
  6255. function getw : TBits_32; inline;
  6256. procedure setIC2IP(thebits : TBits_3); inline;
  6257. procedure setIC2IS(thebits : TBits_2); inline;
  6258. procedure setINT2IP(thebits : TBits_3); inline;
  6259. procedure setINT2IS(thebits : TBits_2); inline;
  6260. procedure setOC2IP(thebits : TBits_3); inline;
  6261. procedure setOC2IS(thebits : TBits_2); inline;
  6262. procedure setT2IP(thebits : TBits_3); inline;
  6263. procedure setT2IS(thebits : TBits_2); inline;
  6264. procedure setw(thebits : TBits_32); inline;
  6265. public
  6266. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  6267. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  6268. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  6269. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  6270. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  6271. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  6272. property T2IP : TBits_3 read getT2IP write setT2IP;
  6273. property T2IS : TBits_2 read getT2IS write setT2IS;
  6274. property w : TBits_32 read getw write setw;
  6275. end;
  6276. TINT_IPC3 = record
  6277. private
  6278. function getIC3IP : TBits_3; inline;
  6279. function getIC3IS : TBits_2; inline;
  6280. function getINT3IP : TBits_3; inline;
  6281. function getINT3IS : TBits_2; inline;
  6282. function getOC3IP : TBits_3; inline;
  6283. function getOC3IS : TBits_2; inline;
  6284. function getT3IP : TBits_3; inline;
  6285. function getT3IS : TBits_2; inline;
  6286. function getw : TBits_32; inline;
  6287. procedure setIC3IP(thebits : TBits_3); inline;
  6288. procedure setIC3IS(thebits : TBits_2); inline;
  6289. procedure setINT3IP(thebits : TBits_3); inline;
  6290. procedure setINT3IS(thebits : TBits_2); inline;
  6291. procedure setOC3IP(thebits : TBits_3); inline;
  6292. procedure setOC3IS(thebits : TBits_2); inline;
  6293. procedure setT3IP(thebits : TBits_3); inline;
  6294. procedure setT3IS(thebits : TBits_2); inline;
  6295. procedure setw(thebits : TBits_32); inline;
  6296. public
  6297. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  6298. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  6299. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  6300. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  6301. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  6302. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  6303. property T3IP : TBits_3 read getT3IP write setT3IP;
  6304. property T3IS : TBits_2 read getT3IS write setT3IS;
  6305. property w : TBits_32 read getw write setw;
  6306. end;
  6307. TINT_IPC4 = record
  6308. private
  6309. function getIC4IP : TBits_3; inline;
  6310. function getIC4IS : TBits_2; inline;
  6311. function getINT4IP : TBits_3; inline;
  6312. function getINT4IS : TBits_2; inline;
  6313. function getOC4IP : TBits_3; inline;
  6314. function getOC4IS : TBits_2; inline;
  6315. function getT4IP : TBits_3; inline;
  6316. function getT4IS : TBits_2; inline;
  6317. function getw : TBits_32; inline;
  6318. procedure setIC4IP(thebits : TBits_3); inline;
  6319. procedure setIC4IS(thebits : TBits_2); inline;
  6320. procedure setINT4IP(thebits : TBits_3); inline;
  6321. procedure setINT4IS(thebits : TBits_2); inline;
  6322. procedure setOC4IP(thebits : TBits_3); inline;
  6323. procedure setOC4IS(thebits : TBits_2); inline;
  6324. procedure setT4IP(thebits : TBits_3); inline;
  6325. procedure setT4IS(thebits : TBits_2); inline;
  6326. procedure setw(thebits : TBits_32); inline;
  6327. public
  6328. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  6329. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  6330. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  6331. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  6332. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  6333. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  6334. property T4IP : TBits_3 read getT4IP write setT4IP;
  6335. property T4IS : TBits_2 read getT4IS write setT4IS;
  6336. property w : TBits_32 read getw write setw;
  6337. end;
  6338. TINT_IPC5 = record
  6339. private
  6340. function getAD1IP : TBits_3; inline;
  6341. function getAD1IS : TBits_2; inline;
  6342. function getIC5IP : TBits_3; inline;
  6343. function getIC5IS : TBits_2; inline;
  6344. function getOC5IP : TBits_3; inline;
  6345. function getOC5IS : TBits_2; inline;
  6346. function getT5IP : TBits_3; inline;
  6347. function getT5IS : TBits_2; inline;
  6348. function getw : TBits_32; inline;
  6349. procedure setAD1IP(thebits : TBits_3); inline;
  6350. procedure setAD1IS(thebits : TBits_2); inline;
  6351. procedure setIC5IP(thebits : TBits_3); inline;
  6352. procedure setIC5IS(thebits : TBits_2); inline;
  6353. procedure setOC5IP(thebits : TBits_3); inline;
  6354. procedure setOC5IS(thebits : TBits_2); inline;
  6355. procedure setT5IP(thebits : TBits_3); inline;
  6356. procedure setT5IS(thebits : TBits_2); inline;
  6357. procedure setw(thebits : TBits_32); inline;
  6358. public
  6359. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  6360. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  6361. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  6362. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  6363. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  6364. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  6365. property T5IP : TBits_3 read getT5IP write setT5IP;
  6366. property T5IS : TBits_2 read getT5IS write setT5IS;
  6367. property w : TBits_32 read getw write setw;
  6368. end;
  6369. TINT_IPC6 = record
  6370. private
  6371. function getCMP1IP : TBits_3; inline;
  6372. function getCMP1IS : TBits_2; inline;
  6373. function getFCEIP : TBits_3; inline;
  6374. function getFCEIS : TBits_2; inline;
  6375. function getFSCMIP : TBits_3; inline;
  6376. function getFSCMIS : TBits_2; inline;
  6377. function getRTCCIP : TBits_3; inline;
  6378. function getRTCCIS : TBits_2; inline;
  6379. function getw : TBits_32; inline;
  6380. procedure setCMP1IP(thebits : TBits_3); inline;
  6381. procedure setCMP1IS(thebits : TBits_2); inline;
  6382. procedure setFCEIP(thebits : TBits_3); inline;
  6383. procedure setFCEIS(thebits : TBits_2); inline;
  6384. procedure setFSCMIP(thebits : TBits_3); inline;
  6385. procedure setFSCMIS(thebits : TBits_2); inline;
  6386. procedure setRTCCIP(thebits : TBits_3); inline;
  6387. procedure setRTCCIS(thebits : TBits_2); inline;
  6388. procedure setw(thebits : TBits_32); inline;
  6389. public
  6390. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  6391. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  6392. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  6393. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  6394. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  6395. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  6396. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  6397. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  6398. property w : TBits_32 read getw write setw;
  6399. end;
  6400. TINT_IPC7 = record
  6401. private
  6402. function getCMP2IP : TBits_3; inline;
  6403. function getCMP2IS : TBits_2; inline;
  6404. function getCMP3IP : TBits_3; inline;
  6405. function getCMP3IS : TBits_2; inline;
  6406. function getSPI1IP : TBits_3; inline;
  6407. function getSPI1IS : TBits_2; inline;
  6408. function getUSBIP : TBits_3; inline;
  6409. function getUSBIS : TBits_2; inline;
  6410. function getw : TBits_32; inline;
  6411. procedure setCMP2IP(thebits : TBits_3); inline;
  6412. procedure setCMP2IS(thebits : TBits_2); inline;
  6413. procedure setCMP3IP(thebits : TBits_3); inline;
  6414. procedure setCMP3IS(thebits : TBits_2); inline;
  6415. procedure setSPI1IP(thebits : TBits_3); inline;
  6416. procedure setSPI1IS(thebits : TBits_2); inline;
  6417. procedure setUSBIP(thebits : TBits_3); inline;
  6418. procedure setUSBIS(thebits : TBits_2); inline;
  6419. procedure setw(thebits : TBits_32); inline;
  6420. public
  6421. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  6422. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  6423. property CMP3IP : TBits_3 read getCMP3IP write setCMP3IP;
  6424. property CMP3IS : TBits_2 read getCMP3IS write setCMP3IS;
  6425. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  6426. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  6427. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  6428. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  6429. property w : TBits_32 read getw write setw;
  6430. end;
  6431. TINT_IPC8 = record
  6432. private
  6433. function getCNIP : TBits_3; inline;
  6434. function getCNIS : TBits_2; inline;
  6435. function getI2C1IP : TBits_3; inline;
  6436. function getI2C1IS : TBits_2; inline;
  6437. function getPMPIP : TBits_3; inline;
  6438. function getPMPIS : TBits_2; inline;
  6439. function getU1IP : TBits_3; inline;
  6440. function getU1IS : TBits_2; inline;
  6441. function getw : TBits_32; inline;
  6442. procedure setCNIP(thebits : TBits_3); inline;
  6443. procedure setCNIS(thebits : TBits_2); inline;
  6444. procedure setI2C1IP(thebits : TBits_3); inline;
  6445. procedure setI2C1IS(thebits : TBits_2); inline;
  6446. procedure setPMPIP(thebits : TBits_3); inline;
  6447. procedure setPMPIS(thebits : TBits_2); inline;
  6448. procedure setU1IP(thebits : TBits_3); inline;
  6449. procedure setU1IS(thebits : TBits_2); inline;
  6450. procedure setw(thebits : TBits_32); inline;
  6451. public
  6452. property CNIP : TBits_3 read getCNIP write setCNIP;
  6453. property CNIS : TBits_2 read getCNIS write setCNIS;
  6454. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  6455. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  6456. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  6457. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  6458. property U1IP : TBits_3 read getU1IP write setU1IP;
  6459. property U1IS : TBits_2 read getU1IS write setU1IS;
  6460. property w : TBits_32 read getw write setw;
  6461. end;
  6462. TINT_IPC9 = record
  6463. private
  6464. function getCTMUIP : TBits_3; inline;
  6465. function getCTMUIS : TBits_2; inline;
  6466. function getI2C2IP : TBits_3; inline;
  6467. function getI2C2IS : TBits_2; inline;
  6468. function getSPI2IP : TBits_3; inline;
  6469. function getSPI2IS : TBits_2; inline;
  6470. function getU2IP : TBits_3; inline;
  6471. function getU2IS : TBits_2; inline;
  6472. function getw : TBits_32; inline;
  6473. procedure setCTMUIP(thebits : TBits_3); inline;
  6474. procedure setCTMUIS(thebits : TBits_2); inline;
  6475. procedure setI2C2IP(thebits : TBits_3); inline;
  6476. procedure setI2C2IS(thebits : TBits_2); inline;
  6477. procedure setSPI2IP(thebits : TBits_3); inline;
  6478. procedure setSPI2IS(thebits : TBits_2); inline;
  6479. procedure setU2IP(thebits : TBits_3); inline;
  6480. procedure setU2IS(thebits : TBits_2); inline;
  6481. procedure setw(thebits : TBits_32); inline;
  6482. public
  6483. property CTMUIP : TBits_3 read getCTMUIP write setCTMUIP;
  6484. property CTMUIS : TBits_2 read getCTMUIS write setCTMUIS;
  6485. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  6486. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  6487. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  6488. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  6489. property U2IP : TBits_3 read getU2IP write setU2IP;
  6490. property U2IS : TBits_2 read getU2IS write setU2IS;
  6491. property w : TBits_32 read getw write setw;
  6492. end;
  6493. TINT_IPC10 = record
  6494. private
  6495. function getDMA0IP : TBits_3; inline;
  6496. function getDMA0IS : TBits_2; inline;
  6497. function getDMA1IP : TBits_3; inline;
  6498. function getDMA1IS : TBits_2; inline;
  6499. function getDMA2IP : TBits_3; inline;
  6500. function getDMA2IS : TBits_2; inline;
  6501. function getDMA3IP : TBits_3; inline;
  6502. function getDMA3IS : TBits_2; inline;
  6503. function getw : TBits_32; inline;
  6504. procedure setDMA0IP(thebits : TBits_3); inline;
  6505. procedure setDMA0IS(thebits : TBits_2); inline;
  6506. procedure setDMA1IP(thebits : TBits_3); inline;
  6507. procedure setDMA1IS(thebits : TBits_2); inline;
  6508. procedure setDMA2IP(thebits : TBits_3); inline;
  6509. procedure setDMA2IS(thebits : TBits_2); inline;
  6510. procedure setDMA3IP(thebits : TBits_3); inline;
  6511. procedure setDMA3IS(thebits : TBits_2); inline;
  6512. procedure setw(thebits : TBits_32); inline;
  6513. public
  6514. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  6515. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  6516. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  6517. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  6518. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  6519. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  6520. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  6521. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  6522. property w : TBits_32 read getw write setw;
  6523. end;
  6524. type
  6525. TINTRegisters = record
  6526. INTCONbits : TINT_INTCON;
  6527. INTCON : longWord;
  6528. INTCONCLR : longWord;
  6529. INTCONSET : longWord;
  6530. INTCONINV : longWord;
  6531. INTSTAT : longWord;
  6532. IPTMR : longWord;
  6533. IPTMRCLR : longWord;
  6534. IPTMRSET : longWord;
  6535. IPTMRINV : longWord;
  6536. IFS0bits : TINT_IFS0;
  6537. IFS0 : longWord;
  6538. IFS0CLR : longWord;
  6539. IFS0SET : longWord;
  6540. IFS0INV : longWord;
  6541. IFS1bits : TINT_IFS1;
  6542. IFS1 : longWord;
  6543. IFS1CLR : longWord;
  6544. IFS1SET : longWord;
  6545. IFS1INV : longWord;
  6546. IEC0bits : TINT_IEC0;
  6547. IEC0 : longWord;
  6548. IEC0CLR : longWord;
  6549. IEC0SET : longWord;
  6550. IEC0INV : longWord;
  6551. IEC1bits : TINT_IEC1;
  6552. IEC1 : longWord;
  6553. IEC1CLR : longWord;
  6554. IEC1SET : longWord;
  6555. IEC1INV : longWord;
  6556. IPC0bits : TINT_IPC0;
  6557. IPC0 : longWord;
  6558. IPC0CLR : longWord;
  6559. IPC0SET : longWord;
  6560. IPC0INV : longWord;
  6561. IPC1bits : TINT_IPC1;
  6562. IPC1 : longWord;
  6563. IPC1CLR : longWord;
  6564. IPC1SET : longWord;
  6565. IPC1INV : longWord;
  6566. IPC2bits : TINT_IPC2;
  6567. IPC2 : longWord;
  6568. IPC2CLR : longWord;
  6569. IPC2SET : longWord;
  6570. IPC2INV : longWord;
  6571. IPC3bits : TINT_IPC3;
  6572. IPC3 : longWord;
  6573. IPC3CLR : longWord;
  6574. IPC3SET : longWord;
  6575. IPC3INV : longWord;
  6576. IPC4bits : TINT_IPC4;
  6577. IPC4 : longWord;
  6578. IPC4CLR : longWord;
  6579. IPC4SET : longWord;
  6580. IPC4INV : longWord;
  6581. IPC5bits : TINT_IPC5;
  6582. IPC5 : longWord;
  6583. IPC5CLR : longWord;
  6584. IPC5SET : longWord;
  6585. IPC5INV : longWord;
  6586. IPC6bits : TINT_IPC6;
  6587. IPC6 : longWord;
  6588. IPC6CLR : longWord;
  6589. IPC6SET : longWord;
  6590. IPC6INV : longWord;
  6591. IPC7bits : TINT_IPC7;
  6592. IPC7 : longWord;
  6593. IPC7CLR : longWord;
  6594. IPC7SET : longWord;
  6595. IPC7INV : longWord;
  6596. IPC8bits : TINT_IPC8;
  6597. IPC8 : longWord;
  6598. IPC8CLR : longWord;
  6599. IPC8SET : longWord;
  6600. IPC8INV : longWord;
  6601. IPC9bits : TINT_IPC9;
  6602. IPC9 : longWord;
  6603. IPC9CLR : longWord;
  6604. IPC9SET : longWord;
  6605. IPC9INV : longWord;
  6606. IPC10bits : TINT_IPC10;
  6607. IPC10 : longWord;
  6608. IPC10CLR : longWord;
  6609. IPC10SET : longWord;
  6610. IPC10INV : longWord;
  6611. end;
  6612. TBMX_BMXCON = record
  6613. private
  6614. function getBMXARB : TBits_3; inline;
  6615. function getBMXCHEDMA : TBits_1; inline;
  6616. function getBMXERRDMA : TBits_1; inline;
  6617. function getBMXERRDS : TBits_1; inline;
  6618. function getBMXERRICD : TBits_1; inline;
  6619. function getBMXERRIS : TBits_1; inline;
  6620. function getBMXERRIXI : TBits_1; inline;
  6621. function getBMXWSDRM : TBits_1; inline;
  6622. function getw : TBits_32; inline;
  6623. procedure setBMXARB(thebits : TBits_3); inline;
  6624. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  6625. procedure setBMXERRDMA(thebits : TBits_1); inline;
  6626. procedure setBMXERRDS(thebits : TBits_1); inline;
  6627. procedure setBMXERRICD(thebits : TBits_1); inline;
  6628. procedure setBMXERRIS(thebits : TBits_1); inline;
  6629. procedure setBMXERRIXI(thebits : TBits_1); inline;
  6630. procedure setBMXWSDRM(thebits : TBits_1); inline;
  6631. procedure setw(thebits : TBits_32); inline;
  6632. public
  6633. procedure clearBMXCHEDMA; inline;
  6634. procedure clearBMXERRDMA; inline;
  6635. procedure clearBMXERRDS; inline;
  6636. procedure clearBMXERRICD; inline;
  6637. procedure clearBMXERRIS; inline;
  6638. procedure clearBMXERRIXI; inline;
  6639. procedure clearBMXWSDRM; inline;
  6640. procedure setBMXCHEDMA; inline;
  6641. procedure setBMXERRDMA; inline;
  6642. procedure setBMXERRDS; inline;
  6643. procedure setBMXERRICD; inline;
  6644. procedure setBMXERRIS; inline;
  6645. procedure setBMXERRIXI; inline;
  6646. procedure setBMXWSDRM; inline;
  6647. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  6648. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  6649. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  6650. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  6651. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  6652. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  6653. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  6654. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  6655. property w : TBits_32 read getw write setw;
  6656. end;
  6657. type
  6658. TBMXRegisters = record
  6659. BMXCONbits : TBMX_BMXCON;
  6660. BMXCON : longWord;
  6661. BMXCONCLR : longWord;
  6662. BMXCONSET : longWord;
  6663. BMXCONINV : longWord;
  6664. BMXDKPBA : longWord;
  6665. BMXDKPBACLR : longWord;
  6666. BMXDKPBASET : longWord;
  6667. BMXDKPBAINV : longWord;
  6668. BMXDUDBA : longWord;
  6669. BMXDUDBACLR : longWord;
  6670. BMXDUDBASET : longWord;
  6671. BMXDUDBAINV : longWord;
  6672. BMXDUPBA : longWord;
  6673. BMXDUPBACLR : longWord;
  6674. BMXDUPBASET : longWord;
  6675. BMXDUPBAINV : longWord;
  6676. BMXDRMSZ : longWord;
  6677. BMXPUPBA : longWord;
  6678. BMXPUPBACLR : longWord;
  6679. BMXPUPBASET : longWord;
  6680. BMXPUPBAINV : longWord;
  6681. BMXPFMSZ : longWord;
  6682. BMXBOOTSZ : longWord;
  6683. end;
  6684. TDMAC_DMACON = record
  6685. private
  6686. function getDMABUSY : TBits_1; inline;
  6687. function getON : TBits_1; inline;
  6688. function getSUSPEND : TBits_1; inline;
  6689. function getw : TBits_32; inline;
  6690. procedure setDMABUSY(thebits : TBits_1); inline;
  6691. procedure setON(thebits : TBits_1); inline;
  6692. procedure setSUSPEND(thebits : TBits_1); inline;
  6693. procedure setw(thebits : TBits_32); inline;
  6694. public
  6695. procedure clearDMABUSY; inline;
  6696. procedure clearON; inline;
  6697. procedure clearSUSPEND; inline;
  6698. procedure setDMABUSY; inline;
  6699. procedure setON; inline;
  6700. procedure setSUSPEND; inline;
  6701. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  6702. property ON : TBits_1 read getON write setON;
  6703. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  6704. property w : TBits_32 read getw write setw;
  6705. end;
  6706. TDMAC_DMASTAT = record
  6707. private
  6708. function getDMACH : TBits_3; inline;
  6709. function getRDWR : TBits_1; inline;
  6710. function getw : TBits_32; inline;
  6711. procedure setDMACH(thebits : TBits_3); inline;
  6712. procedure setRDWR(thebits : TBits_1); inline;
  6713. procedure setw(thebits : TBits_32); inline;
  6714. public
  6715. procedure clearRDWR; inline;
  6716. procedure setRDWR; inline;
  6717. property DMACH : TBits_3 read getDMACH write setDMACH;
  6718. property RDWR : TBits_1 read getRDWR write setRDWR;
  6719. property w : TBits_32 read getw write setw;
  6720. end;
  6721. TDMAC_DCRCCON = record
  6722. private
  6723. function getBITO : TBits_1; inline;
  6724. function getBYTO : TBits_2; inline;
  6725. function getCRCAPP : TBits_1; inline;
  6726. function getCRCCH : TBits_3; inline;
  6727. function getCRCEN : TBits_1; inline;
  6728. function getCRCTYP : TBits_1; inline;
  6729. function getPLEN : TBits_5; inline;
  6730. function getWBO : TBits_1; inline;
  6731. function getw : TBits_32; inline;
  6732. procedure setBITO(thebits : TBits_1); inline;
  6733. procedure setBYTO(thebits : TBits_2); inline;
  6734. procedure setCRCAPP(thebits : TBits_1); inline;
  6735. procedure setCRCCH(thebits : TBits_3); inline;
  6736. procedure setCRCEN(thebits : TBits_1); inline;
  6737. procedure setCRCTYP(thebits : TBits_1); inline;
  6738. procedure setPLEN(thebits : TBits_5); inline;
  6739. procedure setWBO(thebits : TBits_1); inline;
  6740. procedure setw(thebits : TBits_32); inline;
  6741. public
  6742. procedure clearBITO; inline;
  6743. procedure clearCRCAPP; inline;
  6744. procedure clearCRCEN; inline;
  6745. procedure clearCRCTYP; inline;
  6746. procedure clearWBO; inline;
  6747. procedure setBITO; inline;
  6748. procedure setCRCAPP; inline;
  6749. procedure setCRCEN; inline;
  6750. procedure setCRCTYP; inline;
  6751. procedure setWBO; inline;
  6752. property BITO : TBits_1 read getBITO write setBITO;
  6753. property BYTO : TBits_2 read getBYTO write setBYTO;
  6754. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  6755. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  6756. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  6757. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  6758. property PLEN : TBits_5 read getPLEN write setPLEN;
  6759. property WBO : TBits_1 read getWBO write setWBO;
  6760. property w : TBits_32 read getw write setw;
  6761. end;
  6762. type
  6763. TDMACRegisters = record
  6764. DMACONbits : TDMAC_DMACON;
  6765. DMACON : longWord;
  6766. DMACONCLR : longWord;
  6767. DMACONSET : longWord;
  6768. DMACONINV : longWord;
  6769. DMASTATbits : TDMAC_DMASTAT;
  6770. DMASTAT : longWord;
  6771. DMASTATCLR : longWord;
  6772. DMASTATSET : longWord;
  6773. DMASTATINV : longWord;
  6774. DMAADDR : longWord;
  6775. DMAADDRCLR : longWord;
  6776. DMAADDRSET : longWord;
  6777. DMAADDRINV : longWord;
  6778. DCRCCONbits : TDMAC_DCRCCON;
  6779. DCRCCON : longWord;
  6780. DCRCCONCLR : longWord;
  6781. DCRCCONSET : longWord;
  6782. DCRCCONINV : longWord;
  6783. DCRCDATA : longWord;
  6784. DCRCDATACLR : longWord;
  6785. DCRCDATASET : longWord;
  6786. DCRCDATAINV : longWord;
  6787. DCRCXOR : longWord;
  6788. DCRCXORCLR : longWord;
  6789. DCRCXORSET : longWord;
  6790. DCRCXORINV : longWord;
  6791. end;
  6792. TDMAC0_DCH0CON = record
  6793. private
  6794. function getCHAED : TBits_1; inline;
  6795. function getCHAEN : TBits_1; inline;
  6796. function getCHBUSY : TBits_1; inline;
  6797. function getCHCHN : TBits_1; inline;
  6798. function getCHCHNS : TBits_1; inline;
  6799. function getCHEDET : TBits_1; inline;
  6800. function getCHEN : TBits_1; inline;
  6801. function getCHPRI : TBits_2; inline;
  6802. function getw : TBits_32; inline;
  6803. procedure setCHAED(thebits : TBits_1); inline;
  6804. procedure setCHAEN(thebits : TBits_1); inline;
  6805. procedure setCHBUSY(thebits : TBits_1); inline;
  6806. procedure setCHCHN(thebits : TBits_1); inline;
  6807. procedure setCHCHNS(thebits : TBits_1); inline;
  6808. procedure setCHEDET(thebits : TBits_1); inline;
  6809. procedure setCHEN(thebits : TBits_1); inline;
  6810. procedure setCHPRI(thebits : TBits_2); inline;
  6811. procedure setw(thebits : TBits_32); inline;
  6812. public
  6813. procedure clearCHAED; inline;
  6814. procedure clearCHAEN; inline;
  6815. procedure clearCHBUSY; inline;
  6816. procedure clearCHCHN; inline;
  6817. procedure clearCHCHNS; inline;
  6818. procedure clearCHEDET; inline;
  6819. procedure clearCHEN; inline;
  6820. procedure setCHAED; inline;
  6821. procedure setCHAEN; inline;
  6822. procedure setCHBUSY; inline;
  6823. procedure setCHCHN; inline;
  6824. procedure setCHCHNS; inline;
  6825. procedure setCHEDET; inline;
  6826. procedure setCHEN; inline;
  6827. property CHAED : TBits_1 read getCHAED write setCHAED;
  6828. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6829. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6830. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6831. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6832. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6833. property CHEN : TBits_1 read getCHEN write setCHEN;
  6834. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  6835. property w : TBits_32 read getw write setw;
  6836. end;
  6837. TDMAC0_DCH0ECON = record
  6838. private
  6839. function getAIRQEN : TBits_1; inline;
  6840. function getCABORT : TBits_1; inline;
  6841. function getCFORCE : TBits_1; inline;
  6842. function getCHAIRQ : TBits_8; inline;
  6843. function getCHSIRQ : TBits_8; inline;
  6844. function getPATEN : TBits_1; inline;
  6845. function getSIRQEN : TBits_1; inline;
  6846. function getw : TBits_32; inline;
  6847. procedure setAIRQEN(thebits : TBits_1); inline;
  6848. procedure setCABORT(thebits : TBits_1); inline;
  6849. procedure setCFORCE(thebits : TBits_1); inline;
  6850. procedure setCHAIRQ(thebits : TBits_8); inline;
  6851. procedure setCHSIRQ(thebits : TBits_8); inline;
  6852. procedure setPATEN(thebits : TBits_1); inline;
  6853. procedure setSIRQEN(thebits : TBits_1); inline;
  6854. procedure setw(thebits : TBits_32); inline;
  6855. public
  6856. procedure clearAIRQEN; inline;
  6857. procedure clearCABORT; inline;
  6858. procedure clearCFORCE; inline;
  6859. procedure clearPATEN; inline;
  6860. procedure clearSIRQEN; inline;
  6861. procedure setAIRQEN; inline;
  6862. procedure setCABORT; inline;
  6863. procedure setCFORCE; inline;
  6864. procedure setPATEN; inline;
  6865. procedure setSIRQEN; inline;
  6866. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  6867. property CABORT : TBits_1 read getCABORT write setCABORT;
  6868. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  6869. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  6870. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  6871. property PATEN : TBits_1 read getPATEN write setPATEN;
  6872. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  6873. property w : TBits_32 read getw write setw;
  6874. end;
  6875. TDMAC0_DCH0INT = record
  6876. private
  6877. function getCHBCIE : TBits_1; inline;
  6878. function getCHBCIF : TBits_1; inline;
  6879. function getCHCCIE : TBits_1; inline;
  6880. function getCHCCIF : TBits_1; inline;
  6881. function getCHDDIE : TBits_1; inline;
  6882. function getCHDDIF : TBits_1; inline;
  6883. function getCHDHIE : TBits_1; inline;
  6884. function getCHDHIF : TBits_1; inline;
  6885. function getCHERIE : TBits_1; inline;
  6886. function getCHERIF : TBits_1; inline;
  6887. function getCHSDIE : TBits_1; inline;
  6888. function getCHSDIF : TBits_1; inline;
  6889. function getCHSHIE : TBits_1; inline;
  6890. function getCHSHIF : TBits_1; inline;
  6891. function getCHTAIE : TBits_1; inline;
  6892. function getCHTAIF : TBits_1; inline;
  6893. function getw : TBits_32; inline;
  6894. procedure setCHBCIE(thebits : TBits_1); inline;
  6895. procedure setCHBCIF(thebits : TBits_1); inline;
  6896. procedure setCHCCIE(thebits : TBits_1); inline;
  6897. procedure setCHCCIF(thebits : TBits_1); inline;
  6898. procedure setCHDDIE(thebits : TBits_1); inline;
  6899. procedure setCHDDIF(thebits : TBits_1); inline;
  6900. procedure setCHDHIE(thebits : TBits_1); inline;
  6901. procedure setCHDHIF(thebits : TBits_1); inline;
  6902. procedure setCHERIE(thebits : TBits_1); inline;
  6903. procedure setCHERIF(thebits : TBits_1); inline;
  6904. procedure setCHSDIE(thebits : TBits_1); inline;
  6905. procedure setCHSDIF(thebits : TBits_1); inline;
  6906. procedure setCHSHIE(thebits : TBits_1); inline;
  6907. procedure setCHSHIF(thebits : TBits_1); inline;
  6908. procedure setCHTAIE(thebits : TBits_1); inline;
  6909. procedure setCHTAIF(thebits : TBits_1); inline;
  6910. procedure setw(thebits : TBits_32); inline;
  6911. public
  6912. procedure clearCHBCIE; inline;
  6913. procedure clearCHBCIF; inline;
  6914. procedure clearCHCCIE; inline;
  6915. procedure clearCHCCIF; inline;
  6916. procedure clearCHDDIE; inline;
  6917. procedure clearCHDDIF; inline;
  6918. procedure clearCHDHIE; inline;
  6919. procedure clearCHDHIF; inline;
  6920. procedure clearCHERIE; inline;
  6921. procedure clearCHERIF; inline;
  6922. procedure clearCHSDIE; inline;
  6923. procedure clearCHSDIF; inline;
  6924. procedure clearCHSHIE; inline;
  6925. procedure clearCHSHIF; inline;
  6926. procedure clearCHTAIE; inline;
  6927. procedure clearCHTAIF; inline;
  6928. procedure setCHBCIE; inline;
  6929. procedure setCHBCIF; inline;
  6930. procedure setCHCCIE; inline;
  6931. procedure setCHCCIF; inline;
  6932. procedure setCHDDIE; inline;
  6933. procedure setCHDDIF; inline;
  6934. procedure setCHDHIE; inline;
  6935. procedure setCHDHIF; inline;
  6936. procedure setCHERIE; inline;
  6937. procedure setCHERIF; inline;
  6938. procedure setCHSDIE; inline;
  6939. procedure setCHSDIF; inline;
  6940. procedure setCHSHIE; inline;
  6941. procedure setCHSHIF; inline;
  6942. procedure setCHTAIE; inline;
  6943. procedure setCHTAIF; inline;
  6944. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  6945. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  6946. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  6947. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  6948. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  6949. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  6950. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  6951. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  6952. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  6953. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  6954. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  6955. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  6956. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  6957. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  6958. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  6959. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  6960. property w : TBits_32 read getw write setw;
  6961. end;
  6962. type
  6963. TDMAC0Registers = record
  6964. DCH0CONbits : TDMAC0_DCH0CON;
  6965. DCH0CON : longWord;
  6966. DCH0CONCLR : longWord;
  6967. DCH0CONSET : longWord;
  6968. DCH0CONINV : longWord;
  6969. DCH0ECONbits : TDMAC0_DCH0ECON;
  6970. DCH0ECON : longWord;
  6971. DCH0ECONCLR : longWord;
  6972. DCH0ECONSET : longWord;
  6973. DCH0ECONINV : longWord;
  6974. DCH0INTbits : TDMAC0_DCH0INT;
  6975. DCH0INT : longWord;
  6976. DCH0INTCLR : longWord;
  6977. DCH0INTSET : longWord;
  6978. DCH0INTINV : longWord;
  6979. DCH0SSA : longWord;
  6980. DCH0SSACLR : longWord;
  6981. DCH0SSASET : longWord;
  6982. DCH0SSAINV : longWord;
  6983. DCH0DSA : longWord;
  6984. DCH0DSACLR : longWord;
  6985. DCH0DSASET : longWord;
  6986. DCH0DSAINV : longWord;
  6987. DCH0SSIZ : longWord;
  6988. DCH0SSIZCLR : longWord;
  6989. DCH0SSIZSET : longWord;
  6990. DCH0SSIZINV : longWord;
  6991. DCH0DSIZ : longWord;
  6992. DCH0DSIZCLR : longWord;
  6993. DCH0DSIZSET : longWord;
  6994. DCH0DSIZINV : longWord;
  6995. DCH0SPTR : longWord;
  6996. DCH0SPTRCLR : longWord;
  6997. DCH0SPTRSET : longWord;
  6998. DCH0SPTRINV : longWord;
  6999. DCH0DPTR : longWord;
  7000. DCH0DPTRCLR : longWord;
  7001. DCH0DPTRSET : longWord;
  7002. DCH0DPTRINV : longWord;
  7003. DCH0CSIZ : longWord;
  7004. DCH0CSIZCLR : longWord;
  7005. DCH0CSIZSET : longWord;
  7006. DCH0CSIZINV : longWord;
  7007. DCH0CPTR : longWord;
  7008. DCH0CPTRCLR : longWord;
  7009. DCH0CPTRSET : longWord;
  7010. DCH0CPTRINV : longWord;
  7011. DCH0DAT : longWord;
  7012. DCH0DATCLR : longWord;
  7013. DCH0DATSET : longWord;
  7014. DCH0DATINV : longWord;
  7015. end;
  7016. TDMAC1_DCH1CON = record
  7017. private
  7018. function getCHAED : TBits_1; inline;
  7019. function getCHAEN : TBits_1; inline;
  7020. function getCHBUSY : TBits_1; inline;
  7021. function getCHCHN : TBits_1; inline;
  7022. function getCHCHNS : TBits_1; inline;
  7023. function getCHEDET : TBits_1; inline;
  7024. function getCHEN : TBits_1; inline;
  7025. function getCHPRI : TBits_2; inline;
  7026. function getw : TBits_32; inline;
  7027. procedure setCHAED(thebits : TBits_1); inline;
  7028. procedure setCHAEN(thebits : TBits_1); inline;
  7029. procedure setCHBUSY(thebits : TBits_1); inline;
  7030. procedure setCHCHN(thebits : TBits_1); inline;
  7031. procedure setCHCHNS(thebits : TBits_1); inline;
  7032. procedure setCHEDET(thebits : TBits_1); inline;
  7033. procedure setCHEN(thebits : TBits_1); inline;
  7034. procedure setCHPRI(thebits : TBits_2); inline;
  7035. procedure setw(thebits : TBits_32); inline;
  7036. public
  7037. procedure clearCHAED; inline;
  7038. procedure clearCHAEN; inline;
  7039. procedure clearCHBUSY; inline;
  7040. procedure clearCHCHN; inline;
  7041. procedure clearCHCHNS; inline;
  7042. procedure clearCHEDET; inline;
  7043. procedure clearCHEN; inline;
  7044. procedure setCHAED; inline;
  7045. procedure setCHAEN; inline;
  7046. procedure setCHBUSY; inline;
  7047. procedure setCHCHN; inline;
  7048. procedure setCHCHNS; inline;
  7049. procedure setCHEDET; inline;
  7050. procedure setCHEN; inline;
  7051. property CHAED : TBits_1 read getCHAED write setCHAED;
  7052. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7053. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7054. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7055. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7056. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7057. property CHEN : TBits_1 read getCHEN write setCHEN;
  7058. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7059. property w : TBits_32 read getw write setw;
  7060. end;
  7061. TDMAC1_DCH1ECON = record
  7062. private
  7063. function getAIRQEN : TBits_1; inline;
  7064. function getCABORT : TBits_1; inline;
  7065. function getCFORCE : TBits_1; inline;
  7066. function getCHAIRQ : TBits_8; inline;
  7067. function getCHSIRQ : TBits_8; inline;
  7068. function getPATEN : TBits_1; inline;
  7069. function getSIRQEN : TBits_1; inline;
  7070. function getw : TBits_32; inline;
  7071. procedure setAIRQEN(thebits : TBits_1); inline;
  7072. procedure setCABORT(thebits : TBits_1); inline;
  7073. procedure setCFORCE(thebits : TBits_1); inline;
  7074. procedure setCHAIRQ(thebits : TBits_8); inline;
  7075. procedure setCHSIRQ(thebits : TBits_8); inline;
  7076. procedure setPATEN(thebits : TBits_1); inline;
  7077. procedure setSIRQEN(thebits : TBits_1); inline;
  7078. procedure setw(thebits : TBits_32); inline;
  7079. public
  7080. procedure clearAIRQEN; inline;
  7081. procedure clearCABORT; inline;
  7082. procedure clearCFORCE; inline;
  7083. procedure clearPATEN; inline;
  7084. procedure clearSIRQEN; inline;
  7085. procedure setAIRQEN; inline;
  7086. procedure setCABORT; inline;
  7087. procedure setCFORCE; inline;
  7088. procedure setPATEN; inline;
  7089. procedure setSIRQEN; inline;
  7090. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7091. property CABORT : TBits_1 read getCABORT write setCABORT;
  7092. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7093. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7094. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7095. property PATEN : TBits_1 read getPATEN write setPATEN;
  7096. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7097. property w : TBits_32 read getw write setw;
  7098. end;
  7099. TDMAC1_DCH1INT = record
  7100. private
  7101. function getCHBCIE : TBits_1; inline;
  7102. function getCHBCIF : TBits_1; inline;
  7103. function getCHCCIE : TBits_1; inline;
  7104. function getCHCCIF : TBits_1; inline;
  7105. function getCHDDIE : TBits_1; inline;
  7106. function getCHDDIF : TBits_1; inline;
  7107. function getCHDHIE : TBits_1; inline;
  7108. function getCHDHIF : TBits_1; inline;
  7109. function getCHERIE : TBits_1; inline;
  7110. function getCHERIF : TBits_1; inline;
  7111. function getCHSDIE : TBits_1; inline;
  7112. function getCHSDIF : TBits_1; inline;
  7113. function getCHSHIE : TBits_1; inline;
  7114. function getCHSHIF : TBits_1; inline;
  7115. function getCHTAIE : TBits_1; inline;
  7116. function getCHTAIF : TBits_1; inline;
  7117. function getw : TBits_32; inline;
  7118. procedure setCHBCIE(thebits : TBits_1); inline;
  7119. procedure setCHBCIF(thebits : TBits_1); inline;
  7120. procedure setCHCCIE(thebits : TBits_1); inline;
  7121. procedure setCHCCIF(thebits : TBits_1); inline;
  7122. procedure setCHDDIE(thebits : TBits_1); inline;
  7123. procedure setCHDDIF(thebits : TBits_1); inline;
  7124. procedure setCHDHIE(thebits : TBits_1); inline;
  7125. procedure setCHDHIF(thebits : TBits_1); inline;
  7126. procedure setCHERIE(thebits : TBits_1); inline;
  7127. procedure setCHERIF(thebits : TBits_1); inline;
  7128. procedure setCHSDIE(thebits : TBits_1); inline;
  7129. procedure setCHSDIF(thebits : TBits_1); inline;
  7130. procedure setCHSHIE(thebits : TBits_1); inline;
  7131. procedure setCHSHIF(thebits : TBits_1); inline;
  7132. procedure setCHTAIE(thebits : TBits_1); inline;
  7133. procedure setCHTAIF(thebits : TBits_1); inline;
  7134. procedure setw(thebits : TBits_32); inline;
  7135. public
  7136. procedure clearCHBCIE; inline;
  7137. procedure clearCHBCIF; inline;
  7138. procedure clearCHCCIE; inline;
  7139. procedure clearCHCCIF; inline;
  7140. procedure clearCHDDIE; inline;
  7141. procedure clearCHDDIF; inline;
  7142. procedure clearCHDHIE; inline;
  7143. procedure clearCHDHIF; inline;
  7144. procedure clearCHERIE; inline;
  7145. procedure clearCHERIF; inline;
  7146. procedure clearCHSDIE; inline;
  7147. procedure clearCHSDIF; inline;
  7148. procedure clearCHSHIE; inline;
  7149. procedure clearCHSHIF; inline;
  7150. procedure clearCHTAIE; inline;
  7151. procedure clearCHTAIF; inline;
  7152. procedure setCHBCIE; inline;
  7153. procedure setCHBCIF; inline;
  7154. procedure setCHCCIE; inline;
  7155. procedure setCHCCIF; inline;
  7156. procedure setCHDDIE; inline;
  7157. procedure setCHDDIF; inline;
  7158. procedure setCHDHIE; inline;
  7159. procedure setCHDHIF; inline;
  7160. procedure setCHERIE; inline;
  7161. procedure setCHERIF; inline;
  7162. procedure setCHSDIE; inline;
  7163. procedure setCHSDIF; inline;
  7164. procedure setCHSHIE; inline;
  7165. procedure setCHSHIF; inline;
  7166. procedure setCHTAIE; inline;
  7167. procedure setCHTAIF; inline;
  7168. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7169. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7170. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7171. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7172. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7173. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7174. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7175. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7176. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7177. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7178. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7179. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7180. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7181. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7182. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7183. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7184. property w : TBits_32 read getw write setw;
  7185. end;
  7186. type
  7187. TDMAC1Registers = record
  7188. DCH1CONbits : TDMAC1_DCH1CON;
  7189. DCH1CON : longWord;
  7190. DCH1CONCLR : longWord;
  7191. DCH1CONSET : longWord;
  7192. DCH1CONINV : longWord;
  7193. DCH1ECONbits : TDMAC1_DCH1ECON;
  7194. DCH1ECON : longWord;
  7195. DCH1ECONCLR : longWord;
  7196. DCH1ECONSET : longWord;
  7197. DCH1ECONINV : longWord;
  7198. DCH1INTbits : TDMAC1_DCH1INT;
  7199. DCH1INT : longWord;
  7200. DCH1INTCLR : longWord;
  7201. DCH1INTSET : longWord;
  7202. DCH1INTINV : longWord;
  7203. DCH1SSA : longWord;
  7204. DCH1SSACLR : longWord;
  7205. DCH1SSASET : longWord;
  7206. DCH1SSAINV : longWord;
  7207. DCH1DSA : longWord;
  7208. DCH1DSACLR : longWord;
  7209. DCH1DSASET : longWord;
  7210. DCH1DSAINV : longWord;
  7211. DCH1SSIZ : longWord;
  7212. DCH1SSIZCLR : longWord;
  7213. DCH1SSIZSET : longWord;
  7214. DCH1SSIZINV : longWord;
  7215. DCH1DSIZ : longWord;
  7216. DCH1DSIZCLR : longWord;
  7217. DCH1DSIZSET : longWord;
  7218. DCH1DSIZINV : longWord;
  7219. DCH1SPTR : longWord;
  7220. DCH1SPTRCLR : longWord;
  7221. DCH1SPTRSET : longWord;
  7222. DCH1SPTRINV : longWord;
  7223. DCH1DPTR : longWord;
  7224. DCH1DPTRCLR : longWord;
  7225. DCH1DPTRSET : longWord;
  7226. DCH1DPTRINV : longWord;
  7227. DCH1CSIZ : longWord;
  7228. DCH1CSIZCLR : longWord;
  7229. DCH1CSIZSET : longWord;
  7230. DCH1CSIZINV : longWord;
  7231. DCH1CPTR : longWord;
  7232. DCH1CPTRCLR : longWord;
  7233. DCH1CPTRSET : longWord;
  7234. DCH1CPTRINV : longWord;
  7235. DCH1DAT : longWord;
  7236. DCH1DATCLR : longWord;
  7237. DCH1DATSET : longWord;
  7238. DCH1DATINV : longWord;
  7239. end;
  7240. TDMAC2_DCH2CON = record
  7241. private
  7242. function getCHAED : TBits_1; inline;
  7243. function getCHAEN : TBits_1; inline;
  7244. function getCHBUSY : TBits_1; inline;
  7245. function getCHCHN : TBits_1; inline;
  7246. function getCHCHNS : TBits_1; inline;
  7247. function getCHEDET : TBits_1; inline;
  7248. function getCHEN : TBits_1; inline;
  7249. function getCHPRI : TBits_2; inline;
  7250. function getw : TBits_32; inline;
  7251. procedure setCHAED(thebits : TBits_1); inline;
  7252. procedure setCHAEN(thebits : TBits_1); inline;
  7253. procedure setCHBUSY(thebits : TBits_1); inline;
  7254. procedure setCHCHN(thebits : TBits_1); inline;
  7255. procedure setCHCHNS(thebits : TBits_1); inline;
  7256. procedure setCHEDET(thebits : TBits_1); inline;
  7257. procedure setCHEN(thebits : TBits_1); inline;
  7258. procedure setCHPRI(thebits : TBits_2); inline;
  7259. procedure setw(thebits : TBits_32); inline;
  7260. public
  7261. procedure clearCHAED; inline;
  7262. procedure clearCHAEN; inline;
  7263. procedure clearCHBUSY; inline;
  7264. procedure clearCHCHN; inline;
  7265. procedure clearCHCHNS; inline;
  7266. procedure clearCHEDET; inline;
  7267. procedure clearCHEN; inline;
  7268. procedure setCHAED; inline;
  7269. procedure setCHAEN; inline;
  7270. procedure setCHBUSY; inline;
  7271. procedure setCHCHN; inline;
  7272. procedure setCHCHNS; inline;
  7273. procedure setCHEDET; inline;
  7274. procedure setCHEN; inline;
  7275. property CHAED : TBits_1 read getCHAED write setCHAED;
  7276. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7277. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7278. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7279. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7280. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7281. property CHEN : TBits_1 read getCHEN write setCHEN;
  7282. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7283. property w : TBits_32 read getw write setw;
  7284. end;
  7285. TDMAC2_DCH2ECON = record
  7286. private
  7287. function getAIRQEN : TBits_1; inline;
  7288. function getCABORT : TBits_1; inline;
  7289. function getCFORCE : TBits_1; inline;
  7290. function getCHAIRQ : TBits_8; inline;
  7291. function getCHSIRQ : TBits_8; inline;
  7292. function getPATEN : TBits_1; inline;
  7293. function getSIRQEN : TBits_1; inline;
  7294. function getw : TBits_32; inline;
  7295. procedure setAIRQEN(thebits : TBits_1); inline;
  7296. procedure setCABORT(thebits : TBits_1); inline;
  7297. procedure setCFORCE(thebits : TBits_1); inline;
  7298. procedure setCHAIRQ(thebits : TBits_8); inline;
  7299. procedure setCHSIRQ(thebits : TBits_8); inline;
  7300. procedure setPATEN(thebits : TBits_1); inline;
  7301. procedure setSIRQEN(thebits : TBits_1); inline;
  7302. procedure setw(thebits : TBits_32); inline;
  7303. public
  7304. procedure clearAIRQEN; inline;
  7305. procedure clearCABORT; inline;
  7306. procedure clearCFORCE; inline;
  7307. procedure clearPATEN; inline;
  7308. procedure clearSIRQEN; inline;
  7309. procedure setAIRQEN; inline;
  7310. procedure setCABORT; inline;
  7311. procedure setCFORCE; inline;
  7312. procedure setPATEN; inline;
  7313. procedure setSIRQEN; inline;
  7314. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7315. property CABORT : TBits_1 read getCABORT write setCABORT;
  7316. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7317. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7318. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7319. property PATEN : TBits_1 read getPATEN write setPATEN;
  7320. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7321. property w : TBits_32 read getw write setw;
  7322. end;
  7323. TDMAC2_DCH2INT = record
  7324. private
  7325. function getCHBCIE : TBits_1; inline;
  7326. function getCHBCIF : TBits_1; inline;
  7327. function getCHCCIE : TBits_1; inline;
  7328. function getCHCCIF : TBits_1; inline;
  7329. function getCHDDIE : TBits_1; inline;
  7330. function getCHDDIF : TBits_1; inline;
  7331. function getCHDHIE : TBits_1; inline;
  7332. function getCHDHIF : TBits_1; inline;
  7333. function getCHERIE : TBits_1; inline;
  7334. function getCHERIF : TBits_1; inline;
  7335. function getCHSDIE : TBits_1; inline;
  7336. function getCHSDIF : TBits_1; inline;
  7337. function getCHSHIE : TBits_1; inline;
  7338. function getCHSHIF : TBits_1; inline;
  7339. function getCHTAIE : TBits_1; inline;
  7340. function getCHTAIF : TBits_1; inline;
  7341. function getw : TBits_32; inline;
  7342. procedure setCHBCIE(thebits : TBits_1); inline;
  7343. procedure setCHBCIF(thebits : TBits_1); inline;
  7344. procedure setCHCCIE(thebits : TBits_1); inline;
  7345. procedure setCHCCIF(thebits : TBits_1); inline;
  7346. procedure setCHDDIE(thebits : TBits_1); inline;
  7347. procedure setCHDDIF(thebits : TBits_1); inline;
  7348. procedure setCHDHIE(thebits : TBits_1); inline;
  7349. procedure setCHDHIF(thebits : TBits_1); inline;
  7350. procedure setCHERIE(thebits : TBits_1); inline;
  7351. procedure setCHERIF(thebits : TBits_1); inline;
  7352. procedure setCHSDIE(thebits : TBits_1); inline;
  7353. procedure setCHSDIF(thebits : TBits_1); inline;
  7354. procedure setCHSHIE(thebits : TBits_1); inline;
  7355. procedure setCHSHIF(thebits : TBits_1); inline;
  7356. procedure setCHTAIE(thebits : TBits_1); inline;
  7357. procedure setCHTAIF(thebits : TBits_1); inline;
  7358. procedure setw(thebits : TBits_32); inline;
  7359. public
  7360. procedure clearCHBCIE; inline;
  7361. procedure clearCHBCIF; inline;
  7362. procedure clearCHCCIE; inline;
  7363. procedure clearCHCCIF; inline;
  7364. procedure clearCHDDIE; inline;
  7365. procedure clearCHDDIF; inline;
  7366. procedure clearCHDHIE; inline;
  7367. procedure clearCHDHIF; inline;
  7368. procedure clearCHERIE; inline;
  7369. procedure clearCHERIF; inline;
  7370. procedure clearCHSDIE; inline;
  7371. procedure clearCHSDIF; inline;
  7372. procedure clearCHSHIE; inline;
  7373. procedure clearCHSHIF; inline;
  7374. procedure clearCHTAIE; inline;
  7375. procedure clearCHTAIF; inline;
  7376. procedure setCHBCIE; inline;
  7377. procedure setCHBCIF; inline;
  7378. procedure setCHCCIE; inline;
  7379. procedure setCHCCIF; inline;
  7380. procedure setCHDDIE; inline;
  7381. procedure setCHDDIF; inline;
  7382. procedure setCHDHIE; inline;
  7383. procedure setCHDHIF; inline;
  7384. procedure setCHERIE; inline;
  7385. procedure setCHERIF; inline;
  7386. procedure setCHSDIE; inline;
  7387. procedure setCHSDIF; inline;
  7388. procedure setCHSHIE; inline;
  7389. procedure setCHSHIF; inline;
  7390. procedure setCHTAIE; inline;
  7391. procedure setCHTAIF; inline;
  7392. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7393. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7394. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7395. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7396. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7397. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7398. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7399. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7400. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7401. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7402. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7403. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7404. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7405. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7406. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7407. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7408. property w : TBits_32 read getw write setw;
  7409. end;
  7410. type
  7411. TDMAC2Registers = record
  7412. DCH2CONbits : TDMAC2_DCH2CON;
  7413. DCH2CON : longWord;
  7414. DCH2CONCLR : longWord;
  7415. DCH2CONSET : longWord;
  7416. DCH2CONINV : longWord;
  7417. DCH2ECONbits : TDMAC2_DCH2ECON;
  7418. DCH2ECON : longWord;
  7419. DCH2ECONCLR : longWord;
  7420. DCH2ECONSET : longWord;
  7421. DCH2ECONINV : longWord;
  7422. DCH2INTbits : TDMAC2_DCH2INT;
  7423. DCH2INT : longWord;
  7424. DCH2INTCLR : longWord;
  7425. DCH2INTSET : longWord;
  7426. DCH2INTINV : longWord;
  7427. DCH2SSA : longWord;
  7428. DCH2SSACLR : longWord;
  7429. DCH2SSASET : longWord;
  7430. DCH2SSAINV : longWord;
  7431. DCH2DSA : longWord;
  7432. DCH2DSACLR : longWord;
  7433. DCH2DSASET : longWord;
  7434. DCH2DSAINV : longWord;
  7435. DCH2SSIZ : longWord;
  7436. DCH2SSIZCLR : longWord;
  7437. DCH2SSIZSET : longWord;
  7438. DCH2SSIZINV : longWord;
  7439. DCH2DSIZ : longWord;
  7440. DCH2DSIZCLR : longWord;
  7441. DCH2DSIZSET : longWord;
  7442. DCH2DSIZINV : longWord;
  7443. DCH2SPTR : longWord;
  7444. DCH2SPTRCLR : longWord;
  7445. DCH2SPTRSET : longWord;
  7446. DCH2SPTRINV : longWord;
  7447. DCH2DPTR : longWord;
  7448. DCH2DPTRCLR : longWord;
  7449. DCH2DPTRSET : longWord;
  7450. DCH2DPTRINV : longWord;
  7451. DCH2CSIZ : longWord;
  7452. DCH2CSIZCLR : longWord;
  7453. DCH2CSIZSET : longWord;
  7454. DCH2CSIZINV : longWord;
  7455. DCH2CPTR : longWord;
  7456. DCH2CPTRCLR : longWord;
  7457. DCH2CPTRSET : longWord;
  7458. DCH2CPTRINV : longWord;
  7459. DCH2DAT : longWord;
  7460. DCH2DATCLR : longWord;
  7461. DCH2DATSET : longWord;
  7462. DCH2DATINV : longWord;
  7463. end;
  7464. TDMAC3_DCH3CON = record
  7465. private
  7466. function getCHAED : TBits_1; inline;
  7467. function getCHAEN : TBits_1; inline;
  7468. function getCHBUSY : TBits_1; inline;
  7469. function getCHCHN : TBits_1; inline;
  7470. function getCHCHNS : TBits_1; inline;
  7471. function getCHEDET : TBits_1; inline;
  7472. function getCHEN : TBits_1; inline;
  7473. function getCHPRI : TBits_2; inline;
  7474. function getw : TBits_32; inline;
  7475. procedure setCHAED(thebits : TBits_1); inline;
  7476. procedure setCHAEN(thebits : TBits_1); inline;
  7477. procedure setCHBUSY(thebits : TBits_1); inline;
  7478. procedure setCHCHN(thebits : TBits_1); inline;
  7479. procedure setCHCHNS(thebits : TBits_1); inline;
  7480. procedure setCHEDET(thebits : TBits_1); inline;
  7481. procedure setCHEN(thebits : TBits_1); inline;
  7482. procedure setCHPRI(thebits : TBits_2); inline;
  7483. procedure setw(thebits : TBits_32); inline;
  7484. public
  7485. procedure clearCHAED; inline;
  7486. procedure clearCHAEN; inline;
  7487. procedure clearCHBUSY; inline;
  7488. procedure clearCHCHN; inline;
  7489. procedure clearCHCHNS; inline;
  7490. procedure clearCHEDET; inline;
  7491. procedure clearCHEN; inline;
  7492. procedure setCHAED; inline;
  7493. procedure setCHAEN; inline;
  7494. procedure setCHBUSY; inline;
  7495. procedure setCHCHN; inline;
  7496. procedure setCHCHNS; inline;
  7497. procedure setCHEDET; inline;
  7498. procedure setCHEN; inline;
  7499. property CHAED : TBits_1 read getCHAED write setCHAED;
  7500. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7501. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7502. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7503. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7504. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7505. property CHEN : TBits_1 read getCHEN write setCHEN;
  7506. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7507. property w : TBits_32 read getw write setw;
  7508. end;
  7509. TDMAC3_DCH3ECON = record
  7510. private
  7511. function getAIRQEN : TBits_1; inline;
  7512. function getCABORT : TBits_1; inline;
  7513. function getCFORCE : TBits_1; inline;
  7514. function getCHAIRQ : TBits_8; inline;
  7515. function getCHSIRQ : TBits_8; inline;
  7516. function getPATEN : TBits_1; inline;
  7517. function getSIRQEN : TBits_1; inline;
  7518. function getw : TBits_32; inline;
  7519. procedure setAIRQEN(thebits : TBits_1); inline;
  7520. procedure setCABORT(thebits : TBits_1); inline;
  7521. procedure setCFORCE(thebits : TBits_1); inline;
  7522. procedure setCHAIRQ(thebits : TBits_8); inline;
  7523. procedure setCHSIRQ(thebits : TBits_8); inline;
  7524. procedure setPATEN(thebits : TBits_1); inline;
  7525. procedure setSIRQEN(thebits : TBits_1); inline;
  7526. procedure setw(thebits : TBits_32); inline;
  7527. public
  7528. procedure clearAIRQEN; inline;
  7529. procedure clearCABORT; inline;
  7530. procedure clearCFORCE; inline;
  7531. procedure clearPATEN; inline;
  7532. procedure clearSIRQEN; inline;
  7533. procedure setAIRQEN; inline;
  7534. procedure setCABORT; inline;
  7535. procedure setCFORCE; inline;
  7536. procedure setPATEN; inline;
  7537. procedure setSIRQEN; inline;
  7538. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7539. property CABORT : TBits_1 read getCABORT write setCABORT;
  7540. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7541. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7542. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7543. property PATEN : TBits_1 read getPATEN write setPATEN;
  7544. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7545. property w : TBits_32 read getw write setw;
  7546. end;
  7547. TDMAC3_DCH3INT = record
  7548. private
  7549. function getCHBCIE : TBits_1; inline;
  7550. function getCHBCIF : TBits_1; inline;
  7551. function getCHCCIE : TBits_1; inline;
  7552. function getCHCCIF : TBits_1; inline;
  7553. function getCHDDIE : TBits_1; inline;
  7554. function getCHDDIF : TBits_1; inline;
  7555. function getCHDHIE : TBits_1; inline;
  7556. function getCHDHIF : TBits_1; inline;
  7557. function getCHERIE : TBits_1; inline;
  7558. function getCHERIF : TBits_1; inline;
  7559. function getCHSDIE : TBits_1; inline;
  7560. function getCHSDIF : TBits_1; inline;
  7561. function getCHSHIE : TBits_1; inline;
  7562. function getCHSHIF : TBits_1; inline;
  7563. function getCHTAIE : TBits_1; inline;
  7564. function getCHTAIF : TBits_1; inline;
  7565. function getw : TBits_32; inline;
  7566. procedure setCHBCIE(thebits : TBits_1); inline;
  7567. procedure setCHBCIF(thebits : TBits_1); inline;
  7568. procedure setCHCCIE(thebits : TBits_1); inline;
  7569. procedure setCHCCIF(thebits : TBits_1); inline;
  7570. procedure setCHDDIE(thebits : TBits_1); inline;
  7571. procedure setCHDDIF(thebits : TBits_1); inline;
  7572. procedure setCHDHIE(thebits : TBits_1); inline;
  7573. procedure setCHDHIF(thebits : TBits_1); inline;
  7574. procedure setCHERIE(thebits : TBits_1); inline;
  7575. procedure setCHERIF(thebits : TBits_1); inline;
  7576. procedure setCHSDIE(thebits : TBits_1); inline;
  7577. procedure setCHSDIF(thebits : TBits_1); inline;
  7578. procedure setCHSHIE(thebits : TBits_1); inline;
  7579. procedure setCHSHIF(thebits : TBits_1); inline;
  7580. procedure setCHTAIE(thebits : TBits_1); inline;
  7581. procedure setCHTAIF(thebits : TBits_1); inline;
  7582. procedure setw(thebits : TBits_32); inline;
  7583. public
  7584. procedure clearCHBCIE; inline;
  7585. procedure clearCHBCIF; inline;
  7586. procedure clearCHCCIE; inline;
  7587. procedure clearCHCCIF; inline;
  7588. procedure clearCHDDIE; inline;
  7589. procedure clearCHDDIF; inline;
  7590. procedure clearCHDHIE; inline;
  7591. procedure clearCHDHIF; inline;
  7592. procedure clearCHERIE; inline;
  7593. procedure clearCHERIF; inline;
  7594. procedure clearCHSDIE; inline;
  7595. procedure clearCHSDIF; inline;
  7596. procedure clearCHSHIE; inline;
  7597. procedure clearCHSHIF; inline;
  7598. procedure clearCHTAIE; inline;
  7599. procedure clearCHTAIF; inline;
  7600. procedure setCHBCIE; inline;
  7601. procedure setCHBCIF; inline;
  7602. procedure setCHCCIE; inline;
  7603. procedure setCHCCIF; inline;
  7604. procedure setCHDDIE; inline;
  7605. procedure setCHDDIF; inline;
  7606. procedure setCHDHIE; inline;
  7607. procedure setCHDHIF; inline;
  7608. procedure setCHERIE; inline;
  7609. procedure setCHERIF; inline;
  7610. procedure setCHSDIE; inline;
  7611. procedure setCHSDIF; inline;
  7612. procedure setCHSHIE; inline;
  7613. procedure setCHSHIF; inline;
  7614. procedure setCHTAIE; inline;
  7615. procedure setCHTAIF; inline;
  7616. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7617. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7618. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7619. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7620. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7621. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7622. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7623. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7624. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7625. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7626. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7627. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7628. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7629. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7630. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7631. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7632. property w : TBits_32 read getw write setw;
  7633. end;
  7634. type
  7635. TDMAC3Registers = record
  7636. DCH3CONbits : TDMAC3_DCH3CON;
  7637. DCH3CON : longWord;
  7638. DCH3CONCLR : longWord;
  7639. DCH3CONSET : longWord;
  7640. DCH3CONINV : longWord;
  7641. DCH3ECONbits : TDMAC3_DCH3ECON;
  7642. DCH3ECON : longWord;
  7643. DCH3ECONCLR : longWord;
  7644. DCH3ECONSET : longWord;
  7645. DCH3ECONINV : longWord;
  7646. DCH3INTbits : TDMAC3_DCH3INT;
  7647. DCH3INT : longWord;
  7648. DCH3INTCLR : longWord;
  7649. DCH3INTSET : longWord;
  7650. DCH3INTINV : longWord;
  7651. DCH3SSA : longWord;
  7652. DCH3SSACLR : longWord;
  7653. DCH3SSASET : longWord;
  7654. DCH3SSAINV : longWord;
  7655. DCH3DSA : longWord;
  7656. DCH3DSACLR : longWord;
  7657. DCH3DSASET : longWord;
  7658. DCH3DSAINV : longWord;
  7659. DCH3SSIZ : longWord;
  7660. DCH3SSIZCLR : longWord;
  7661. DCH3SSIZSET : longWord;
  7662. DCH3SSIZINV : longWord;
  7663. DCH3DSIZ : longWord;
  7664. DCH3DSIZCLR : longWord;
  7665. DCH3DSIZSET : longWord;
  7666. DCH3DSIZINV : longWord;
  7667. DCH3SPTR : longWord;
  7668. DCH3SPTRCLR : longWord;
  7669. DCH3SPTRSET : longWord;
  7670. DCH3SPTRINV : longWord;
  7671. DCH3DPTR : longWord;
  7672. DCH3DPTRCLR : longWord;
  7673. DCH3DPTRSET : longWord;
  7674. DCH3DPTRINV : longWord;
  7675. DCH3CSIZ : longWord;
  7676. DCH3CSIZCLR : longWord;
  7677. DCH3CSIZSET : longWord;
  7678. DCH3CSIZINV : longWord;
  7679. DCH3CPTR : longWord;
  7680. DCH3CPTRCLR : longWord;
  7681. DCH3CPTRSET : longWord;
  7682. DCH3CPTRINV : longWord;
  7683. DCH3DAT : longWord;
  7684. DCH3DATCLR : longWord;
  7685. DCH3DATSET : longWord;
  7686. DCH3DATINV : longWord;
  7687. end;
  7688. TUSB_U1IR = record
  7689. private
  7690. function getATTACHIF : TBits_1; inline;
  7691. function getDETACHIF : TBits_1; inline;
  7692. function getIDLEIF : TBits_1; inline;
  7693. function getRESUMEIF : TBits_1; inline;
  7694. function getSOFIF : TBits_1; inline;
  7695. function getSTALLIF : TBits_1; inline;
  7696. function getTRNIF : TBits_1; inline;
  7697. function getUERRIF : TBits_1; inline;
  7698. function getURSTIF : TBits_1; inline;
  7699. function getURSTIF_DETACHIF : TBits_1; inline;
  7700. procedure setATTACHIF(thebits : TBits_1); inline;
  7701. procedure setDETACHIF(thebits : TBits_1); inline;
  7702. procedure setIDLEIF(thebits : TBits_1); inline;
  7703. procedure setRESUMEIF(thebits : TBits_1); inline;
  7704. procedure setSOFIF(thebits : TBits_1); inline;
  7705. procedure setSTALLIF(thebits : TBits_1); inline;
  7706. procedure setTRNIF(thebits : TBits_1); inline;
  7707. procedure setUERRIF(thebits : TBits_1); inline;
  7708. procedure setURSTIF(thebits : TBits_1); inline;
  7709. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  7710. public
  7711. procedure clearATTACHIF; inline;
  7712. procedure clearDETACHIF; inline;
  7713. procedure clearIDLEIF; inline;
  7714. procedure clearRESUMEIF; inline;
  7715. procedure clearSOFIF; inline;
  7716. procedure clearSTALLIF; inline;
  7717. procedure clearTRNIF; inline;
  7718. procedure clearUERRIF; inline;
  7719. procedure clearURSTIF; inline;
  7720. procedure clearURSTIF_DETACHIF; inline;
  7721. procedure setATTACHIF; inline;
  7722. procedure setDETACHIF; inline;
  7723. procedure setIDLEIF; inline;
  7724. procedure setRESUMEIF; inline;
  7725. procedure setSOFIF; inline;
  7726. procedure setSTALLIF; inline;
  7727. procedure setTRNIF; inline;
  7728. procedure setUERRIF; inline;
  7729. procedure setURSTIF; inline;
  7730. procedure setURSTIF_DETACHIF; inline;
  7731. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  7732. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  7733. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  7734. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  7735. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  7736. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  7737. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  7738. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  7739. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  7740. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  7741. end;
  7742. TUSB_U1IE = record
  7743. private
  7744. function getATTACHIE : TBits_1; inline;
  7745. function getDETACHIE : TBits_1; inline;
  7746. function getIDLEIE : TBits_1; inline;
  7747. function getRESUMEIE : TBits_1; inline;
  7748. function getSOFIE : TBits_1; inline;
  7749. function getSTALLIE : TBits_1; inline;
  7750. function getTRNIE : TBits_1; inline;
  7751. function getUERRIE : TBits_1; inline;
  7752. function getURSTIE : TBits_1; inline;
  7753. function getURSTIE_DETACHIE : TBits_1; inline;
  7754. procedure setATTACHIE(thebits : TBits_1); inline;
  7755. procedure setDETACHIE(thebits : TBits_1); inline;
  7756. procedure setIDLEIE(thebits : TBits_1); inline;
  7757. procedure setRESUMEIE(thebits : TBits_1); inline;
  7758. procedure setSOFIE(thebits : TBits_1); inline;
  7759. procedure setSTALLIE(thebits : TBits_1); inline;
  7760. procedure setTRNIE(thebits : TBits_1); inline;
  7761. procedure setUERRIE(thebits : TBits_1); inline;
  7762. procedure setURSTIE(thebits : TBits_1); inline;
  7763. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  7764. public
  7765. procedure clearATTACHIE; inline;
  7766. procedure clearDETACHIE; inline;
  7767. procedure clearIDLEIE; inline;
  7768. procedure clearRESUMEIE; inline;
  7769. procedure clearSOFIE; inline;
  7770. procedure clearSTALLIE; inline;
  7771. procedure clearTRNIE; inline;
  7772. procedure clearUERRIE; inline;
  7773. procedure clearURSTIE; inline;
  7774. procedure clearURSTIE_DETACHIE; inline;
  7775. procedure setATTACHIE; inline;
  7776. procedure setDETACHIE; inline;
  7777. procedure setIDLEIE; inline;
  7778. procedure setRESUMEIE; inline;
  7779. procedure setSOFIE; inline;
  7780. procedure setSTALLIE; inline;
  7781. procedure setTRNIE; inline;
  7782. procedure setUERRIE; inline;
  7783. procedure setURSTIE; inline;
  7784. procedure setURSTIE_DETACHIE; inline;
  7785. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  7786. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  7787. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  7788. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  7789. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  7790. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  7791. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  7792. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  7793. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  7794. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  7795. end;
  7796. TUSB_U1EIR = record
  7797. private
  7798. function getBMXEF : TBits_1; inline;
  7799. function getBTOEF : TBits_1; inline;
  7800. function getBTSEF : TBits_1; inline;
  7801. function getCRC16EF : TBits_1; inline;
  7802. function getCRC5EF : TBits_1; inline;
  7803. function getCRC5EF_EOFEF : TBits_1; inline;
  7804. function getDFN8EF : TBits_1; inline;
  7805. function getDMAEF : TBits_1; inline;
  7806. function getEOFEF : TBits_1; inline;
  7807. function getPIDEF : TBits_1; inline;
  7808. procedure setBMXEF(thebits : TBits_1); inline;
  7809. procedure setBTOEF(thebits : TBits_1); inline;
  7810. procedure setBTSEF(thebits : TBits_1); inline;
  7811. procedure setCRC16EF(thebits : TBits_1); inline;
  7812. procedure setCRC5EF(thebits : TBits_1); inline;
  7813. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  7814. procedure setDFN8EF(thebits : TBits_1); inline;
  7815. procedure setDMAEF(thebits : TBits_1); inline;
  7816. procedure setEOFEF(thebits : TBits_1); inline;
  7817. procedure setPIDEF(thebits : TBits_1); inline;
  7818. public
  7819. procedure clearBMXEF; inline;
  7820. procedure clearBTOEF; inline;
  7821. procedure clearBTSEF; inline;
  7822. procedure clearCRC16EF; inline;
  7823. procedure clearCRC5EF; inline;
  7824. procedure clearCRC5EF_EOFEF; inline;
  7825. procedure clearDFN8EF; inline;
  7826. procedure clearDMAEF; inline;
  7827. procedure clearEOFEF; inline;
  7828. procedure clearPIDEF; inline;
  7829. procedure setBMXEF; inline;
  7830. procedure setBTOEF; inline;
  7831. procedure setBTSEF; inline;
  7832. procedure setCRC16EF; inline;
  7833. procedure setCRC5EF; inline;
  7834. procedure setCRC5EF_EOFEF; inline;
  7835. procedure setDFN8EF; inline;
  7836. procedure setDMAEF; inline;
  7837. procedure setEOFEF; inline;
  7838. procedure setPIDEF; inline;
  7839. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  7840. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  7841. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  7842. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  7843. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  7844. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  7845. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  7846. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  7847. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  7848. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  7849. end;
  7850. TUSB_U1EIE = record
  7851. private
  7852. function getBMXEE : TBits_1; inline;
  7853. function getBTOEE : TBits_1; inline;
  7854. function getBTSEE : TBits_1; inline;
  7855. function getCRC16EE : TBits_1; inline;
  7856. function getCRC5EE : TBits_1; inline;
  7857. function getCRC5EE_EOFEE : TBits_1; inline;
  7858. function getDFN8EE : TBits_1; inline;
  7859. function getDMAEE : TBits_1; inline;
  7860. function getEOFEE : TBits_1; inline;
  7861. function getPIDEE : TBits_1; inline;
  7862. procedure setBMXEE(thebits : TBits_1); inline;
  7863. procedure setBTOEE(thebits : TBits_1); inline;
  7864. procedure setBTSEE(thebits : TBits_1); inline;
  7865. procedure setCRC16EE(thebits : TBits_1); inline;
  7866. procedure setCRC5EE(thebits : TBits_1); inline;
  7867. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  7868. procedure setDFN8EE(thebits : TBits_1); inline;
  7869. procedure setDMAEE(thebits : TBits_1); inline;
  7870. procedure setEOFEE(thebits : TBits_1); inline;
  7871. procedure setPIDEE(thebits : TBits_1); inline;
  7872. public
  7873. procedure clearBMXEE; inline;
  7874. procedure clearBTOEE; inline;
  7875. procedure clearBTSEE; inline;
  7876. procedure clearCRC16EE; inline;
  7877. procedure clearCRC5EE; inline;
  7878. procedure clearCRC5EE_EOFEE; inline;
  7879. procedure clearDFN8EE; inline;
  7880. procedure clearDMAEE; inline;
  7881. procedure clearEOFEE; inline;
  7882. procedure clearPIDEE; inline;
  7883. procedure setBMXEE; inline;
  7884. procedure setBTOEE; inline;
  7885. procedure setBTSEE; inline;
  7886. procedure setCRC16EE; inline;
  7887. procedure setCRC5EE; inline;
  7888. procedure setCRC5EE_EOFEE; inline;
  7889. procedure setDFN8EE; inline;
  7890. procedure setDMAEE; inline;
  7891. procedure setEOFEE; inline;
  7892. procedure setPIDEE; inline;
  7893. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  7894. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  7895. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  7896. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  7897. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  7898. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  7899. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  7900. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  7901. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  7902. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  7903. end;
  7904. TUSB_U1STAT = record
  7905. private
  7906. function getDIR : TBits_1; inline;
  7907. function getENDPT : TBits_4; inline;
  7908. function getENDPT0 : TBits_1; inline;
  7909. function getENDPT1 : TBits_1; inline;
  7910. function getENDPT2 : TBits_1; inline;
  7911. function getENDPT3 : TBits_1; inline;
  7912. function getPPBI : TBits_1; inline;
  7913. procedure setDIR(thebits : TBits_1); inline;
  7914. procedure setENDPT(thebits : TBits_4); inline;
  7915. procedure setENDPT0(thebits : TBits_1); inline;
  7916. procedure setENDPT1(thebits : TBits_1); inline;
  7917. procedure setENDPT2(thebits : TBits_1); inline;
  7918. procedure setENDPT3(thebits : TBits_1); inline;
  7919. procedure setPPBI(thebits : TBits_1); inline;
  7920. public
  7921. procedure clearDIR; inline;
  7922. procedure clearENDPT0; inline;
  7923. procedure clearENDPT1; inline;
  7924. procedure clearENDPT2; inline;
  7925. procedure clearENDPT3; inline;
  7926. procedure clearPPBI; inline;
  7927. procedure setDIR; inline;
  7928. procedure setENDPT0; inline;
  7929. procedure setENDPT1; inline;
  7930. procedure setENDPT2; inline;
  7931. procedure setENDPT3; inline;
  7932. procedure setPPBI; inline;
  7933. property DIR : TBits_1 read getDIR write setDIR;
  7934. property ENDPT : TBits_4 read getENDPT write setENDPT;
  7935. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  7936. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  7937. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  7938. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  7939. property PPBI : TBits_1 read getPPBI write setPPBI;
  7940. end;
  7941. TUSB_U1CON = record
  7942. private
  7943. function getHOSTEN : TBits_1; inline;
  7944. function getJSTATE : TBits_1; inline;
  7945. function getPKTDIS : TBits_1; inline;
  7946. function getPKTDIS_TOKBUSY : TBits_1; inline;
  7947. function getPPBRST : TBits_1; inline;
  7948. function getRESUME : TBits_1; inline;
  7949. function getSE0 : TBits_1; inline;
  7950. function getSOFEN : TBits_1; inline;
  7951. function getTOKBUSY : TBits_1; inline;
  7952. function getUSBEN : TBits_1; inline;
  7953. function getUSBEN_SOFEN : TBits_1; inline;
  7954. function getUSBRST : TBits_1; inline;
  7955. procedure setHOSTEN(thebits : TBits_1); inline;
  7956. procedure setJSTATE(thebits : TBits_1); inline;
  7957. procedure setPKTDIS(thebits : TBits_1); inline;
  7958. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  7959. procedure setPPBRST(thebits : TBits_1); inline;
  7960. procedure setRESUME(thebits : TBits_1); inline;
  7961. procedure setSE0(thebits : TBits_1); inline;
  7962. procedure setSOFEN(thebits : TBits_1); inline;
  7963. procedure setTOKBUSY(thebits : TBits_1); inline;
  7964. procedure setUSBEN(thebits : TBits_1); inline;
  7965. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  7966. procedure setUSBRST(thebits : TBits_1); inline;
  7967. public
  7968. procedure clearHOSTEN; inline;
  7969. procedure clearJSTATE; inline;
  7970. procedure clearPKTDIS; inline;
  7971. procedure clearPKTDIS_TOKBUSY; inline;
  7972. procedure clearPPBRST; inline;
  7973. procedure clearRESUME; inline;
  7974. procedure clearSE0; inline;
  7975. procedure clearSOFEN; inline;
  7976. procedure clearTOKBUSY; inline;
  7977. procedure clearUSBEN; inline;
  7978. procedure clearUSBEN_SOFEN; inline;
  7979. procedure clearUSBRST; inline;
  7980. procedure setHOSTEN; inline;
  7981. procedure setJSTATE; inline;
  7982. procedure setPKTDIS; inline;
  7983. procedure setPKTDIS_TOKBUSY; inline;
  7984. procedure setPPBRST; inline;
  7985. procedure setRESUME; inline;
  7986. procedure setSE0; inline;
  7987. procedure setSOFEN; inline;
  7988. procedure setTOKBUSY; inline;
  7989. procedure setUSBEN; inline;
  7990. procedure setUSBEN_SOFEN; inline;
  7991. procedure setUSBRST; inline;
  7992. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  7993. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  7994. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  7995. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  7996. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  7997. property RESUME : TBits_1 read getRESUME write setRESUME;
  7998. property SE0 : TBits_1 read getSE0 write setSE0;
  7999. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  8000. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  8001. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  8002. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  8003. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  8004. end;
  8005. TUSB_U1ADDR = record
  8006. private
  8007. function getDEVADDR : TBits_7; inline;
  8008. function getDEVADDR0 : TBits_1; inline;
  8009. function getDEVADDR1 : TBits_1; inline;
  8010. function getDEVADDR2 : TBits_1; inline;
  8011. function getDEVADDR3 : TBits_1; inline;
  8012. function getDEVADDR4 : TBits_1; inline;
  8013. function getDEVADDR5 : TBits_1; inline;
  8014. function getDEVADDR6 : TBits_1; inline;
  8015. function getLSPDEN : TBits_1; inline;
  8016. procedure setDEVADDR(thebits : TBits_7); inline;
  8017. procedure setDEVADDR0(thebits : TBits_1); inline;
  8018. procedure setDEVADDR1(thebits : TBits_1); inline;
  8019. procedure setDEVADDR2(thebits : TBits_1); inline;
  8020. procedure setDEVADDR3(thebits : TBits_1); inline;
  8021. procedure setDEVADDR4(thebits : TBits_1); inline;
  8022. procedure setDEVADDR5(thebits : TBits_1); inline;
  8023. procedure setDEVADDR6(thebits : TBits_1); inline;
  8024. procedure setLSPDEN(thebits : TBits_1); inline;
  8025. public
  8026. procedure clearDEVADDR0; inline;
  8027. procedure clearDEVADDR1; inline;
  8028. procedure clearDEVADDR2; inline;
  8029. procedure clearDEVADDR3; inline;
  8030. procedure clearDEVADDR4; inline;
  8031. procedure clearDEVADDR5; inline;
  8032. procedure clearDEVADDR6; inline;
  8033. procedure clearLSPDEN; inline;
  8034. procedure setDEVADDR0; inline;
  8035. procedure setDEVADDR1; inline;
  8036. procedure setDEVADDR2; inline;
  8037. procedure setDEVADDR3; inline;
  8038. procedure setDEVADDR4; inline;
  8039. procedure setDEVADDR5; inline;
  8040. procedure setDEVADDR6; inline;
  8041. procedure setLSPDEN; inline;
  8042. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  8043. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  8044. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  8045. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  8046. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  8047. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  8048. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  8049. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  8050. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  8051. end;
  8052. TUSB_U1FRML = record
  8053. private
  8054. function getFRM0 : TBits_1; inline;
  8055. function getFRM1 : TBits_1; inline;
  8056. function getFRM2 : TBits_1; inline;
  8057. function getFRM3 : TBits_1; inline;
  8058. function getFRM4 : TBits_1; inline;
  8059. function getFRM5 : TBits_1; inline;
  8060. function getFRM6 : TBits_1; inline;
  8061. function getFRM7 : TBits_1; inline;
  8062. function getFRML : TBits_8; inline;
  8063. procedure setFRM0(thebits : TBits_1); inline;
  8064. procedure setFRM1(thebits : TBits_1); inline;
  8065. procedure setFRM2(thebits : TBits_1); inline;
  8066. procedure setFRM3(thebits : TBits_1); inline;
  8067. procedure setFRM4(thebits : TBits_1); inline;
  8068. procedure setFRM5(thebits : TBits_1); inline;
  8069. procedure setFRM6(thebits : TBits_1); inline;
  8070. procedure setFRM7(thebits : TBits_1); inline;
  8071. procedure setFRML(thebits : TBits_8); inline;
  8072. public
  8073. procedure clearFRM0; inline;
  8074. procedure clearFRM1; inline;
  8075. procedure clearFRM2; inline;
  8076. procedure clearFRM3; inline;
  8077. procedure clearFRM4; inline;
  8078. procedure clearFRM5; inline;
  8079. procedure clearFRM6; inline;
  8080. procedure clearFRM7; inline;
  8081. procedure setFRM0; inline;
  8082. procedure setFRM1; inline;
  8083. procedure setFRM2; inline;
  8084. procedure setFRM3; inline;
  8085. procedure setFRM4; inline;
  8086. procedure setFRM5; inline;
  8087. procedure setFRM6; inline;
  8088. procedure setFRM7; inline;
  8089. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  8090. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  8091. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  8092. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  8093. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  8094. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  8095. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  8096. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  8097. property FRML : TBits_8 read getFRML write setFRML;
  8098. end;
  8099. TUSB_U1FRMH = record
  8100. private
  8101. function getFRM10 : TBits_1; inline;
  8102. function getFRM8 : TBits_1; inline;
  8103. function getFRM9 : TBits_1; inline;
  8104. function getFRMH : TBits_3; inline;
  8105. procedure setFRM10(thebits : TBits_1); inline;
  8106. procedure setFRM8(thebits : TBits_1); inline;
  8107. procedure setFRM9(thebits : TBits_1); inline;
  8108. procedure setFRMH(thebits : TBits_3); inline;
  8109. public
  8110. procedure clearFRM10; inline;
  8111. procedure clearFRM8; inline;
  8112. procedure clearFRM9; inline;
  8113. procedure setFRM10; inline;
  8114. procedure setFRM8; inline;
  8115. procedure setFRM9; inline;
  8116. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  8117. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  8118. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  8119. property FRMH : TBits_3 read getFRMH write setFRMH;
  8120. end;
  8121. TUSB_U1TOK = record
  8122. private
  8123. function getEP : TBits_4; inline;
  8124. function getEP0 : TBits_1; inline;
  8125. function getEP1 : TBits_1; inline;
  8126. function getEP2 : TBits_1; inline;
  8127. function getEP3 : TBits_1; inline;
  8128. function getPID : TBits_4; inline;
  8129. function getPID0 : TBits_1; inline;
  8130. function getPID1 : TBits_1; inline;
  8131. function getPID2 : TBits_1; inline;
  8132. function getPID3 : TBits_1; inline;
  8133. procedure setEP(thebits : TBits_4); inline;
  8134. procedure setEP0(thebits : TBits_1); inline;
  8135. procedure setEP1(thebits : TBits_1); inline;
  8136. procedure setEP2(thebits : TBits_1); inline;
  8137. procedure setEP3(thebits : TBits_1); inline;
  8138. procedure setPID(thebits : TBits_4); inline;
  8139. procedure setPID0(thebits : TBits_1); inline;
  8140. procedure setPID1(thebits : TBits_1); inline;
  8141. procedure setPID2(thebits : TBits_1); inline;
  8142. procedure setPID3(thebits : TBits_1); inline;
  8143. public
  8144. procedure clearEP0; inline;
  8145. procedure clearEP1; inline;
  8146. procedure clearEP2; inline;
  8147. procedure clearEP3; inline;
  8148. procedure clearPID0; inline;
  8149. procedure clearPID1; inline;
  8150. procedure clearPID2; inline;
  8151. procedure clearPID3; inline;
  8152. procedure setEP0; inline;
  8153. procedure setEP1; inline;
  8154. procedure setEP2; inline;
  8155. procedure setEP3; inline;
  8156. procedure setPID0; inline;
  8157. procedure setPID1; inline;
  8158. procedure setPID2; inline;
  8159. procedure setPID3; inline;
  8160. property EP : TBits_4 read getEP write setEP;
  8161. property EP0 : TBits_1 read getEP0 write setEP0;
  8162. property EP1 : TBits_1 read getEP1 write setEP1;
  8163. property EP2 : TBits_1 read getEP2 write setEP2;
  8164. property EP3 : TBits_1 read getEP3 write setEP3;
  8165. property PID : TBits_4 read getPID write setPID;
  8166. property PID0 : TBits_1 read getPID0 write setPID0;
  8167. property PID1 : TBits_1 read getPID1 write setPID1;
  8168. property PID2 : TBits_1 read getPID2 write setPID2;
  8169. property PID3 : TBits_1 read getPID3 write setPID3;
  8170. end;
  8171. type
  8172. TUSBRegisters = record
  8173. U1OTGIR : longWord;
  8174. U1OTGIRCLR : longWord;
  8175. U1OTGIE : longWord;
  8176. U1OTGIECLR : longWord;
  8177. U1OTGIESET : longWord;
  8178. U1OTGIEINV : longWord;
  8179. U1OTGSTAT : longWord;
  8180. U1OTGCON : longWord;
  8181. U1OTGCONCLR : longWord;
  8182. U1OTGCONSET : longWord;
  8183. U1OTGCONINV : longWord;
  8184. U1PWRC : longWord;
  8185. U1PWRCCLR : longWord;
  8186. U1PWRCSET : longWord;
  8187. U1PWRCINV : longWord;
  8188. U1IRbits : TUSB_U1IR;
  8189. U1IR : longWord;
  8190. U1IRCLR : longWord;
  8191. U1IEbits : TUSB_U1IE;
  8192. U1IE : longWord;
  8193. U1IECLR : longWord;
  8194. U1IESET : longWord;
  8195. U1IEINV : longWord;
  8196. U1EIRbits : TUSB_U1EIR;
  8197. U1EIR : longWord;
  8198. U1EIRCLR : longWord;
  8199. U1EIEbits : TUSB_U1EIE;
  8200. U1EIE : longWord;
  8201. U1EIECLR : longWord;
  8202. U1EIESET : longWord;
  8203. U1EIEINV : longWord;
  8204. U1STATbits : TUSB_U1STAT;
  8205. U1STAT : longWord;
  8206. U1CONbits : TUSB_U1CON;
  8207. U1CON : longWord;
  8208. U1CONCLR : longWord;
  8209. U1CONSET : longWord;
  8210. U1CONINV : longWord;
  8211. U1ADDRbits : TUSB_U1ADDR;
  8212. U1ADDR : longWord;
  8213. U1ADDRCLR : longWord;
  8214. U1ADDRSET : longWord;
  8215. U1ADDRINV : longWord;
  8216. U1BDTP1 : longWord;
  8217. U1BDTP1CLR : longWord;
  8218. U1BDTP1SET : longWord;
  8219. U1BDTP1INV : longWord;
  8220. U1FRMLbits : TUSB_U1FRML;
  8221. U1FRML : longWord;
  8222. U1FRMHbits : TUSB_U1FRMH;
  8223. U1FRMH : longWord;
  8224. U1TOKbits : TUSB_U1TOK;
  8225. U1TOK : longWord;
  8226. U1TOKCLR : longWord;
  8227. U1TOKSET : longWord;
  8228. U1TOKINV : longWord;
  8229. U1SOF : longWord;
  8230. U1SOFCLR : longWord;
  8231. U1SOFSET : longWord;
  8232. U1SOFINV : longWord;
  8233. U1BDTP2 : longWord;
  8234. U1BDTP2CLR : longWord;
  8235. U1BDTP2SET : longWord;
  8236. U1BDTP2INV : longWord;
  8237. U1BDTP3 : longWord;
  8238. U1BDTP3CLR : longWord;
  8239. U1BDTP3SET : longWord;
  8240. U1BDTP3INV : longWord;
  8241. U1CNFG1 : longWord;
  8242. U1CNFG1CLR : longWord;
  8243. U1CNFG1SET : longWord;
  8244. U1CNFG1INV : longWord;
  8245. U1EP0 : longWord;
  8246. U1EP0CLR : longWord;
  8247. U1EP0SET : longWord;
  8248. U1EP0INV : longWord;
  8249. U1EP1 : longWord;
  8250. U1EP1CLR : longWord;
  8251. U1EP1SET : longWord;
  8252. U1EP1INV : longWord;
  8253. U1EP2 : longWord;
  8254. U1EP2CLR : longWord;
  8255. U1EP2SET : longWord;
  8256. U1EP2INV : longWord;
  8257. U1EP3 : longWord;
  8258. U1EP3CLR : longWord;
  8259. U1EP3SET : longWord;
  8260. U1EP3INV : longWord;
  8261. U1EP4 : longWord;
  8262. U1EP4CLR : longWord;
  8263. U1EP4SET : longWord;
  8264. U1EP4INV : longWord;
  8265. U1EP5 : longWord;
  8266. U1EP5CLR : longWord;
  8267. U1EP5SET : longWord;
  8268. U1EP5INV : longWord;
  8269. U1EP6 : longWord;
  8270. U1EP6CLR : longWord;
  8271. U1EP6SET : longWord;
  8272. U1EP6INV : longWord;
  8273. U1EP7 : longWord;
  8274. U1EP7CLR : longWord;
  8275. U1EP7SET : longWord;
  8276. U1EP7INV : longWord;
  8277. U1EP8 : longWord;
  8278. U1EP8CLR : longWord;
  8279. U1EP8SET : longWord;
  8280. U1EP8INV : longWord;
  8281. U1EP9 : longWord;
  8282. U1EP9CLR : longWord;
  8283. U1EP9SET : longWord;
  8284. U1EP9INV : longWord;
  8285. U1EP10 : longWord;
  8286. U1EP10CLR : longWord;
  8287. U1EP10SET : longWord;
  8288. U1EP10INV : longWord;
  8289. U1EP11 : longWord;
  8290. U1EP11CLR : longWord;
  8291. U1EP11SET : longWord;
  8292. U1EP11INV : longWord;
  8293. U1EP12 : longWord;
  8294. U1EP12CLR : longWord;
  8295. U1EP12SET : longWord;
  8296. U1EP12INV : longWord;
  8297. U1EP13 : longWord;
  8298. U1EP13CLR : longWord;
  8299. U1EP13SET : longWord;
  8300. U1EP13INV : longWord;
  8301. U1EP14 : longWord;
  8302. U1EP14CLR : longWord;
  8303. U1EP14SET : longWord;
  8304. U1EP14INV : longWord;
  8305. U1EP15 : longWord;
  8306. U1EP15CLR : longWord;
  8307. U1EP15SET : longWord;
  8308. U1EP15INV : longWord;
  8309. end;
  8310. TPORTA_ANSELA = record
  8311. private
  8312. function getANSA0 : TBits_1; inline;
  8313. function getANSA1 : TBits_1; inline;
  8314. function getw : TBits_32; inline;
  8315. procedure setANSA0(thebits : TBits_1); inline;
  8316. procedure setANSA1(thebits : TBits_1); inline;
  8317. procedure setw(thebits : TBits_32); inline;
  8318. public
  8319. procedure clearANSA0; inline;
  8320. procedure clearANSA1; inline;
  8321. procedure setANSA0; inline;
  8322. procedure setANSA1; inline;
  8323. property ANSA0 : TBits_1 read getANSA0 write setANSA0;
  8324. property ANSA1 : TBits_1 read getANSA1 write setANSA1;
  8325. property w : TBits_32 read getw write setw;
  8326. end;
  8327. TPORTA_TRISA = record
  8328. private
  8329. function getTRISA0 : TBits_1; inline;
  8330. function getTRISA1 : TBits_1; inline;
  8331. function getTRISA2 : TBits_1; inline;
  8332. function getTRISA3 : TBits_1; inline;
  8333. function getTRISA4 : TBits_1; inline;
  8334. function getw : TBits_32; inline;
  8335. procedure setTRISA0(thebits : TBits_1); inline;
  8336. procedure setTRISA1(thebits : TBits_1); inline;
  8337. procedure setTRISA2(thebits : TBits_1); inline;
  8338. procedure setTRISA3(thebits : TBits_1); inline;
  8339. procedure setTRISA4(thebits : TBits_1); inline;
  8340. procedure setw(thebits : TBits_32); inline;
  8341. public
  8342. procedure clearTRISA0; inline;
  8343. procedure clearTRISA1; inline;
  8344. procedure clearTRISA2; inline;
  8345. procedure clearTRISA3; inline;
  8346. procedure clearTRISA4; inline;
  8347. procedure setTRISA0; inline;
  8348. procedure setTRISA1; inline;
  8349. procedure setTRISA2; inline;
  8350. procedure setTRISA3; inline;
  8351. procedure setTRISA4; inline;
  8352. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  8353. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  8354. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  8355. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  8356. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  8357. property w : TBits_32 read getw write setw;
  8358. end;
  8359. TPORTA_PORTA = record
  8360. private
  8361. function getRA0 : TBits_1; inline;
  8362. function getRA1 : TBits_1; inline;
  8363. function getRA2 : TBits_1; inline;
  8364. function getRA3 : TBits_1; inline;
  8365. function getRA4 : TBits_1; inline;
  8366. function getw : TBits_32; inline;
  8367. procedure setRA0(thebits : TBits_1); inline;
  8368. procedure setRA1(thebits : TBits_1); inline;
  8369. procedure setRA2(thebits : TBits_1); inline;
  8370. procedure setRA3(thebits : TBits_1); inline;
  8371. procedure setRA4(thebits : TBits_1); inline;
  8372. procedure setw(thebits : TBits_32); inline;
  8373. public
  8374. procedure clearRA0; inline;
  8375. procedure clearRA1; inline;
  8376. procedure clearRA2; inline;
  8377. procedure clearRA3; inline;
  8378. procedure clearRA4; inline;
  8379. procedure setRA0; inline;
  8380. procedure setRA1; inline;
  8381. procedure setRA2; inline;
  8382. procedure setRA3; inline;
  8383. procedure setRA4; inline;
  8384. property RA0 : TBits_1 read getRA0 write setRA0;
  8385. property RA1 : TBits_1 read getRA1 write setRA1;
  8386. property RA2 : TBits_1 read getRA2 write setRA2;
  8387. property RA3 : TBits_1 read getRA3 write setRA3;
  8388. property RA4 : TBits_1 read getRA4 write setRA4;
  8389. property w : TBits_32 read getw write setw;
  8390. end;
  8391. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4);
  8392. TPortA_bitset = set of TPortA_bits;
  8393. TPORTA_LATA = record
  8394. private
  8395. function getLATA0 : TBits_1; inline;
  8396. function getLATA1 : TBits_1; inline;
  8397. function getLATA2 : TBits_1; inline;
  8398. function getLATA3 : TBits_1; inline;
  8399. function getLATA4 : TBits_1; inline;
  8400. function getw : TBits_32; inline;
  8401. procedure setLATA0(thebits : TBits_1); inline;
  8402. procedure setLATA1(thebits : TBits_1); inline;
  8403. procedure setLATA2(thebits : TBits_1); inline;
  8404. procedure setLATA3(thebits : TBits_1); inline;
  8405. procedure setLATA4(thebits : TBits_1); inline;
  8406. procedure setw(thebits : TBits_32); inline;
  8407. public
  8408. procedure clearLATA0; inline;
  8409. procedure clearLATA1; inline;
  8410. procedure clearLATA2; inline;
  8411. procedure clearLATA3; inline;
  8412. procedure clearLATA4; inline;
  8413. procedure setLATA0; inline;
  8414. procedure setLATA1; inline;
  8415. procedure setLATA2; inline;
  8416. procedure setLATA3; inline;
  8417. procedure setLATA4; inline;
  8418. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  8419. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  8420. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  8421. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  8422. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  8423. property w : TBits_32 read getw write setw;
  8424. end;
  8425. TPORTA_CNPUA = record
  8426. private
  8427. function getCNPUA0 : TBits_1; inline;
  8428. function getCNPUA1 : TBits_1; inline;
  8429. function getCNPUA2 : TBits_1; inline;
  8430. function getCNPUA3 : TBits_1; inline;
  8431. function getCNPUA4 : TBits_1; inline;
  8432. function getw : TBits_32; inline;
  8433. procedure setCNPUA0(thebits : TBits_1); inline;
  8434. procedure setCNPUA1(thebits : TBits_1); inline;
  8435. procedure setCNPUA2(thebits : TBits_1); inline;
  8436. procedure setCNPUA3(thebits : TBits_1); inline;
  8437. procedure setCNPUA4(thebits : TBits_1); inline;
  8438. procedure setw(thebits : TBits_32); inline;
  8439. public
  8440. procedure clearCNPUA0; inline;
  8441. procedure clearCNPUA1; inline;
  8442. procedure clearCNPUA2; inline;
  8443. procedure clearCNPUA3; inline;
  8444. procedure clearCNPUA4; inline;
  8445. procedure setCNPUA0; inline;
  8446. procedure setCNPUA1; inline;
  8447. procedure setCNPUA2; inline;
  8448. procedure setCNPUA3; inline;
  8449. procedure setCNPUA4; inline;
  8450. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  8451. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  8452. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  8453. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  8454. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  8455. property w : TBits_32 read getw write setw;
  8456. end;
  8457. TPORTA_CNPDA = record
  8458. private
  8459. function getCNPDA0 : TBits_1; inline;
  8460. function getCNPDA1 : TBits_1; inline;
  8461. function getCNPDA2 : TBits_1; inline;
  8462. function getCNPDA3 : TBits_1; inline;
  8463. function getCNPDA4 : TBits_1; inline;
  8464. function getw : TBits_32; inline;
  8465. procedure setCNPDA0(thebits : TBits_1); inline;
  8466. procedure setCNPDA1(thebits : TBits_1); inline;
  8467. procedure setCNPDA2(thebits : TBits_1); inline;
  8468. procedure setCNPDA3(thebits : TBits_1); inline;
  8469. procedure setCNPDA4(thebits : TBits_1); inline;
  8470. procedure setw(thebits : TBits_32); inline;
  8471. public
  8472. procedure clearCNPDA0; inline;
  8473. procedure clearCNPDA1; inline;
  8474. procedure clearCNPDA2; inline;
  8475. procedure clearCNPDA3; inline;
  8476. procedure clearCNPDA4; inline;
  8477. procedure setCNPDA0; inline;
  8478. procedure setCNPDA1; inline;
  8479. procedure setCNPDA2; inline;
  8480. procedure setCNPDA3; inline;
  8481. procedure setCNPDA4; inline;
  8482. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  8483. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  8484. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  8485. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  8486. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  8487. property w : TBits_32 read getw write setw;
  8488. end;
  8489. TPORTA_CNCONA = record
  8490. private
  8491. function getON : TBits_1; inline;
  8492. function getSIDL : TBits_1; inline;
  8493. function getw : TBits_32; inline;
  8494. procedure setON(thebits : TBits_1); inline;
  8495. procedure setSIDL(thebits : TBits_1); inline;
  8496. procedure setw(thebits : TBits_32); inline;
  8497. public
  8498. procedure clearON; inline;
  8499. procedure clearSIDL; inline;
  8500. procedure setON; inline;
  8501. procedure setSIDL; inline;
  8502. property ON : TBits_1 read getON write setON;
  8503. property SIDL : TBits_1 read getSIDL write setSIDL;
  8504. property w : TBits_32 read getw write setw;
  8505. end;
  8506. TPORTA_CNENA = record
  8507. private
  8508. function getCNIEA0 : TBits_1; inline;
  8509. function getCNIEA1 : TBits_1; inline;
  8510. function getCNIEA2 : TBits_1; inline;
  8511. function getCNIEA3 : TBits_1; inline;
  8512. function getCNIEA4 : TBits_1; inline;
  8513. function getw : TBits_32; inline;
  8514. procedure setCNIEA0(thebits : TBits_1); inline;
  8515. procedure setCNIEA1(thebits : TBits_1); inline;
  8516. procedure setCNIEA2(thebits : TBits_1); inline;
  8517. procedure setCNIEA3(thebits : TBits_1); inline;
  8518. procedure setCNIEA4(thebits : TBits_1); inline;
  8519. procedure setw(thebits : TBits_32); inline;
  8520. public
  8521. procedure clearCNIEA0; inline;
  8522. procedure clearCNIEA1; inline;
  8523. procedure clearCNIEA2; inline;
  8524. procedure clearCNIEA3; inline;
  8525. procedure clearCNIEA4; inline;
  8526. procedure setCNIEA0; inline;
  8527. procedure setCNIEA1; inline;
  8528. procedure setCNIEA2; inline;
  8529. procedure setCNIEA3; inline;
  8530. procedure setCNIEA4; inline;
  8531. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  8532. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  8533. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  8534. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  8535. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  8536. property w : TBits_32 read getw write setw;
  8537. end;
  8538. TPORTA_CNSTATA = record
  8539. private
  8540. function getCNSTATA0 : TBits_1; inline;
  8541. function getCNSTATA1 : TBits_1; inline;
  8542. function getCNSTATA2 : TBits_1; inline;
  8543. function getCNSTATA3 : TBits_1; inline;
  8544. function getCNSTATA4 : TBits_1; inline;
  8545. function getw : TBits_32; inline;
  8546. procedure setCNSTATA0(thebits : TBits_1); inline;
  8547. procedure setCNSTATA1(thebits : TBits_1); inline;
  8548. procedure setCNSTATA2(thebits : TBits_1); inline;
  8549. procedure setCNSTATA3(thebits : TBits_1); inline;
  8550. procedure setCNSTATA4(thebits : TBits_1); inline;
  8551. procedure setw(thebits : TBits_32); inline;
  8552. public
  8553. procedure clearCNSTATA0; inline;
  8554. procedure clearCNSTATA1; inline;
  8555. procedure clearCNSTATA2; inline;
  8556. procedure clearCNSTATA3; inline;
  8557. procedure clearCNSTATA4; inline;
  8558. procedure setCNSTATA0; inline;
  8559. procedure setCNSTATA1; inline;
  8560. procedure setCNSTATA2; inline;
  8561. procedure setCNSTATA3; inline;
  8562. procedure setCNSTATA4; inline;
  8563. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  8564. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  8565. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  8566. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  8567. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  8568. property w : TBits_32 read getw write setw;
  8569. end;
  8570. type
  8571. TPORTARegisters = record
  8572. ANSELAbits : TPORTA_ANSELA;
  8573. ANSELA : longWord;
  8574. ANSELACLR : longWord;
  8575. ANSELASET : longWord;
  8576. ANSELAINV : longWord;
  8577. TRISAbits : TPORTA_TRISA;
  8578. TRISA : longWord;
  8579. TRISACLR : longWord;
  8580. TRISASET : longWord;
  8581. TRISAINV : longWord;
  8582. PORTAbits : TPORTA_PORTA;
  8583. PORTA : longWord;
  8584. PORTACLR : longWord;
  8585. PORTASET : longWord;
  8586. PORTAINV : longWord;
  8587. LATAbits : TPORTA_LATA;
  8588. LATA : longWord;
  8589. LATACLR : longWord;
  8590. LATASET : longWord;
  8591. LATAINV : longWord;
  8592. ODCA : longWord;
  8593. ODCACLR : longWord;
  8594. ODCASET : longWord;
  8595. ODCAINV : longWord;
  8596. CNPUAbits : TPORTA_CNPUA;
  8597. CNPUA : longWord;
  8598. CNPUACLR : longWord;
  8599. CNPUASET : longWord;
  8600. CNPUAINV : longWord;
  8601. CNPDAbits : TPORTA_CNPDA;
  8602. CNPDA : longWord;
  8603. CNPDACLR : longWord;
  8604. CNPDASET : longWord;
  8605. CNPDAINV : longWord;
  8606. CNCONAbits : TPORTA_CNCONA;
  8607. CNCONA : longWord;
  8608. CNCONACLR : longWord;
  8609. CNCONASET : longWord;
  8610. CNCONAINV : longWord;
  8611. CNENAbits : TPORTA_CNENA;
  8612. CNENA : longWord;
  8613. CNENACLR : longWord;
  8614. CNENASET : longWord;
  8615. CNENAINV : longWord;
  8616. CNSTATAbits : TPORTA_CNSTATA;
  8617. CNSTATA : longWord;
  8618. CNSTATACLR : longWord;
  8619. CNSTATASET : longWord;
  8620. CNSTATAINV : longWord;
  8621. end;
  8622. TPORTB_ANSELB = record
  8623. private
  8624. function getANSB0 : TBits_1; inline;
  8625. function getANSB1 : TBits_1; inline;
  8626. function getANSB13 : TBits_1; inline;
  8627. function getANSB14 : TBits_1; inline;
  8628. function getANSB15 : TBits_1; inline;
  8629. function getANSB2 : TBits_1; inline;
  8630. function getANSB3 : TBits_1; inline;
  8631. function getw : TBits_32; inline;
  8632. procedure setANSB0(thebits : TBits_1); inline;
  8633. procedure setANSB1(thebits : TBits_1); inline;
  8634. procedure setANSB13(thebits : TBits_1); inline;
  8635. procedure setANSB14(thebits : TBits_1); inline;
  8636. procedure setANSB15(thebits : TBits_1); inline;
  8637. procedure setANSB2(thebits : TBits_1); inline;
  8638. procedure setANSB3(thebits : TBits_1); inline;
  8639. procedure setw(thebits : TBits_32); inline;
  8640. public
  8641. procedure clearANSB0; inline;
  8642. procedure clearANSB13; inline;
  8643. procedure clearANSB14; inline;
  8644. procedure clearANSB15; inline;
  8645. procedure clearANSB1; inline;
  8646. procedure clearANSB2; inline;
  8647. procedure clearANSB3; inline;
  8648. procedure setANSB0; inline;
  8649. procedure setANSB13; inline;
  8650. procedure setANSB14; inline;
  8651. procedure setANSB15; inline;
  8652. procedure setANSB1; inline;
  8653. procedure setANSB2; inline;
  8654. procedure setANSB3; inline;
  8655. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8656. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8657. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8658. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8659. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8660. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8661. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8662. property w : TBits_32 read getw write setw;
  8663. end;
  8664. TPORTB_TRISB = record
  8665. private
  8666. function getTRISB0 : TBits_1; inline;
  8667. function getTRISB1 : TBits_1; inline;
  8668. function getTRISB10 : TBits_1; inline;
  8669. function getTRISB11 : TBits_1; inline;
  8670. function getTRISB13 : TBits_1; inline;
  8671. function getTRISB14 : TBits_1; inline;
  8672. function getTRISB15 : TBits_1; inline;
  8673. function getTRISB2 : TBits_1; inline;
  8674. function getTRISB3 : TBits_1; inline;
  8675. function getTRISB4 : TBits_1; inline;
  8676. function getTRISB5 : TBits_1; inline;
  8677. function getTRISB7 : TBits_1; inline;
  8678. function getTRISB8 : TBits_1; inline;
  8679. function getTRISB9 : TBits_1; inline;
  8680. function getw : TBits_32; inline;
  8681. procedure setTRISB0(thebits : TBits_1); inline;
  8682. procedure setTRISB1(thebits : TBits_1); inline;
  8683. procedure setTRISB10(thebits : TBits_1); inline;
  8684. procedure setTRISB11(thebits : TBits_1); inline;
  8685. procedure setTRISB13(thebits : TBits_1); inline;
  8686. procedure setTRISB14(thebits : TBits_1); inline;
  8687. procedure setTRISB15(thebits : TBits_1); inline;
  8688. procedure setTRISB2(thebits : TBits_1); inline;
  8689. procedure setTRISB3(thebits : TBits_1); inline;
  8690. procedure setTRISB4(thebits : TBits_1); inline;
  8691. procedure setTRISB5(thebits : TBits_1); inline;
  8692. procedure setTRISB7(thebits : TBits_1); inline;
  8693. procedure setTRISB8(thebits : TBits_1); inline;
  8694. procedure setTRISB9(thebits : TBits_1); inline;
  8695. procedure setw(thebits : TBits_32); inline;
  8696. public
  8697. procedure clearTRISB0; inline;
  8698. procedure clearTRISB10; inline;
  8699. procedure clearTRISB11; inline;
  8700. procedure clearTRISB13; inline;
  8701. procedure clearTRISB14; inline;
  8702. procedure clearTRISB15; inline;
  8703. procedure clearTRISB1; inline;
  8704. procedure clearTRISB2; inline;
  8705. procedure clearTRISB3; inline;
  8706. procedure clearTRISB4; inline;
  8707. procedure clearTRISB5; inline;
  8708. procedure clearTRISB7; inline;
  8709. procedure clearTRISB8; inline;
  8710. procedure clearTRISB9; inline;
  8711. procedure setTRISB0; inline;
  8712. procedure setTRISB10; inline;
  8713. procedure setTRISB11; inline;
  8714. procedure setTRISB13; inline;
  8715. procedure setTRISB14; inline;
  8716. procedure setTRISB15; inline;
  8717. procedure setTRISB1; inline;
  8718. procedure setTRISB2; inline;
  8719. procedure setTRISB3; inline;
  8720. procedure setTRISB4; inline;
  8721. procedure setTRISB5; inline;
  8722. procedure setTRISB7; inline;
  8723. procedure setTRISB8; inline;
  8724. procedure setTRISB9; inline;
  8725. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8726. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8727. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8728. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8729. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8730. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8731. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8732. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8733. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8734. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8735. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8736. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8737. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8738. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8739. property w : TBits_32 read getw write setw;
  8740. end;
  8741. TPORTB_PORTB = record
  8742. private
  8743. function getRB0 : TBits_1; inline;
  8744. function getRB1 : TBits_1; inline;
  8745. function getRB10 : TBits_1; inline;
  8746. function getRB11 : TBits_1; inline;
  8747. function getRB13 : TBits_1; inline;
  8748. function getRB14 : TBits_1; inline;
  8749. function getRB15 : TBits_1; inline;
  8750. function getRB2 : TBits_1; inline;
  8751. function getRB3 : TBits_1; inline;
  8752. function getRB4 : TBits_1; inline;
  8753. function getRB5 : TBits_1; inline;
  8754. function getRB7 : TBits_1; inline;
  8755. function getRB8 : TBits_1; inline;
  8756. function getRB9 : TBits_1; inline;
  8757. function getw : TBits_32; inline;
  8758. procedure setRB0(thebits : TBits_1); inline;
  8759. procedure setRB1(thebits : TBits_1); inline;
  8760. procedure setRB10(thebits : TBits_1); inline;
  8761. procedure setRB11(thebits : TBits_1); inline;
  8762. procedure setRB13(thebits : TBits_1); inline;
  8763. procedure setRB14(thebits : TBits_1); inline;
  8764. procedure setRB15(thebits : TBits_1); inline;
  8765. procedure setRB2(thebits : TBits_1); inline;
  8766. procedure setRB3(thebits : TBits_1); inline;
  8767. procedure setRB4(thebits : TBits_1); inline;
  8768. procedure setRB5(thebits : TBits_1); inline;
  8769. procedure setRB7(thebits : TBits_1); inline;
  8770. procedure setRB8(thebits : TBits_1); inline;
  8771. procedure setRB9(thebits : TBits_1); inline;
  8772. procedure setw(thebits : TBits_32); inline;
  8773. public
  8774. procedure clearRB0; inline;
  8775. procedure clearRB10; inline;
  8776. procedure clearRB11; inline;
  8777. procedure clearRB13; inline;
  8778. procedure clearRB14; inline;
  8779. procedure clearRB15; inline;
  8780. procedure clearRB1; inline;
  8781. procedure clearRB2; inline;
  8782. procedure clearRB3; inline;
  8783. procedure clearRB4; inline;
  8784. procedure clearRB5; inline;
  8785. procedure clearRB7; inline;
  8786. procedure clearRB8; inline;
  8787. procedure clearRB9; inline;
  8788. procedure setRB0; inline;
  8789. procedure setRB10; inline;
  8790. procedure setRB11; inline;
  8791. procedure setRB13; inline;
  8792. procedure setRB14; inline;
  8793. procedure setRB15; inline;
  8794. procedure setRB1; inline;
  8795. procedure setRB2; inline;
  8796. procedure setRB3; inline;
  8797. procedure setRB4; inline;
  8798. procedure setRB5; inline;
  8799. procedure setRB7; inline;
  8800. procedure setRB8; inline;
  8801. procedure setRB9; inline;
  8802. property RB0 : TBits_1 read getRB0 write setRB0;
  8803. property RB1 : TBits_1 read getRB1 write setRB1;
  8804. property RB10 : TBits_1 read getRB10 write setRB10;
  8805. property RB11 : TBits_1 read getRB11 write setRB11;
  8806. property RB13 : TBits_1 read getRB13 write setRB13;
  8807. property RB14 : TBits_1 read getRB14 write setRB14;
  8808. property RB15 : TBits_1 read getRB15 write setRB15;
  8809. property RB2 : TBits_1 read getRB2 write setRB2;
  8810. property RB3 : TBits_1 read getRB3 write setRB3;
  8811. property RB4 : TBits_1 read getRB4 write setRB4;
  8812. property RB5 : TBits_1 read getRB5 write setRB5;
  8813. property RB7 : TBits_1 read getRB7 write setRB7;
  8814. property RB8 : TBits_1 read getRB8 write setRB8;
  8815. property RB9 : TBits_1 read getRB9 write setRB9;
  8816. property w : TBits_32 read getw write setw;
  8817. end;
  8818. TPortB_bits=(RB0=0,RB1=1,RB2=2,RB3=3,RB4=4,RB5=5,RB7=7,RB8=8,RB9=9,RB10=10,RB11=11,RB13=13,RB14=14,RB15=15);
  8819. TPortB_bitset = set of TPortB_bits;
  8820. TPORTB_LATB = record
  8821. private
  8822. function getLATB0 : TBits_1; inline;
  8823. function getLATB1 : TBits_1; inline;
  8824. function getLATB10 : TBits_1; inline;
  8825. function getLATB11 : TBits_1; inline;
  8826. function getLATB13 : TBits_1; inline;
  8827. function getLATB14 : TBits_1; inline;
  8828. function getLATB15 : TBits_1; inline;
  8829. function getLATB2 : TBits_1; inline;
  8830. function getLATB3 : TBits_1; inline;
  8831. function getLATB4 : TBits_1; inline;
  8832. function getLATB5 : TBits_1; inline;
  8833. function getLATB7 : TBits_1; inline;
  8834. function getLATB8 : TBits_1; inline;
  8835. function getLATB9 : TBits_1; inline;
  8836. function getw : TBits_32; inline;
  8837. procedure setLATB0(thebits : TBits_1); inline;
  8838. procedure setLATB1(thebits : TBits_1); inline;
  8839. procedure setLATB10(thebits : TBits_1); inline;
  8840. procedure setLATB11(thebits : TBits_1); inline;
  8841. procedure setLATB13(thebits : TBits_1); inline;
  8842. procedure setLATB14(thebits : TBits_1); inline;
  8843. procedure setLATB15(thebits : TBits_1); inline;
  8844. procedure setLATB2(thebits : TBits_1); inline;
  8845. procedure setLATB3(thebits : TBits_1); inline;
  8846. procedure setLATB4(thebits : TBits_1); inline;
  8847. procedure setLATB5(thebits : TBits_1); inline;
  8848. procedure setLATB7(thebits : TBits_1); inline;
  8849. procedure setLATB8(thebits : TBits_1); inline;
  8850. procedure setLATB9(thebits : TBits_1); inline;
  8851. procedure setw(thebits : TBits_32); inline;
  8852. public
  8853. procedure clearLATB0; inline;
  8854. procedure clearLATB10; inline;
  8855. procedure clearLATB11; inline;
  8856. procedure clearLATB13; inline;
  8857. procedure clearLATB14; inline;
  8858. procedure clearLATB15; inline;
  8859. procedure clearLATB1; inline;
  8860. procedure clearLATB2; inline;
  8861. procedure clearLATB3; inline;
  8862. procedure clearLATB4; inline;
  8863. procedure clearLATB5; inline;
  8864. procedure clearLATB7; inline;
  8865. procedure clearLATB8; inline;
  8866. procedure clearLATB9; inline;
  8867. procedure setLATB0; inline;
  8868. procedure setLATB10; inline;
  8869. procedure setLATB11; inline;
  8870. procedure setLATB13; inline;
  8871. procedure setLATB14; inline;
  8872. procedure setLATB15; inline;
  8873. procedure setLATB1; inline;
  8874. procedure setLATB2; inline;
  8875. procedure setLATB3; inline;
  8876. procedure setLATB4; inline;
  8877. procedure setLATB5; inline;
  8878. procedure setLATB7; inline;
  8879. procedure setLATB8; inline;
  8880. procedure setLATB9; inline;
  8881. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  8882. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  8883. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  8884. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  8885. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  8886. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  8887. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  8888. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  8889. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  8890. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  8891. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  8892. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  8893. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  8894. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  8895. property w : TBits_32 read getw write setw;
  8896. end;
  8897. TPORTB_ODCB = record
  8898. private
  8899. function getODCB10 : TBits_1; inline;
  8900. function getODCB11 : TBits_1; inline;
  8901. function getODCB4 : TBits_1; inline;
  8902. function getODCB5 : TBits_1; inline;
  8903. function getODCB7 : TBits_1; inline;
  8904. function getODCB8 : TBits_1; inline;
  8905. function getODCB9 : TBits_1; inline;
  8906. function getw : TBits_32; inline;
  8907. procedure setODCB10(thebits : TBits_1); inline;
  8908. procedure setODCB11(thebits : TBits_1); inline;
  8909. procedure setODCB4(thebits : TBits_1); inline;
  8910. procedure setODCB5(thebits : TBits_1); inline;
  8911. procedure setODCB7(thebits : TBits_1); inline;
  8912. procedure setODCB8(thebits : TBits_1); inline;
  8913. procedure setODCB9(thebits : TBits_1); inline;
  8914. procedure setw(thebits : TBits_32); inline;
  8915. public
  8916. procedure clearODCB10; inline;
  8917. procedure clearODCB11; inline;
  8918. procedure clearODCB4; inline;
  8919. procedure clearODCB5; inline;
  8920. procedure clearODCB7; inline;
  8921. procedure clearODCB8; inline;
  8922. procedure clearODCB9; inline;
  8923. procedure setODCB10; inline;
  8924. procedure setODCB11; inline;
  8925. procedure setODCB4; inline;
  8926. procedure setODCB5; inline;
  8927. procedure setODCB7; inline;
  8928. procedure setODCB8; inline;
  8929. procedure setODCB9; inline;
  8930. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  8931. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  8932. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  8933. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  8934. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  8935. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  8936. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  8937. property w : TBits_32 read getw write setw;
  8938. end;
  8939. TPORTB_CNPUB = record
  8940. private
  8941. function getCNPUB0 : TBits_1; inline;
  8942. function getCNPUB1 : TBits_1; inline;
  8943. function getCNPUB10 : TBits_1; inline;
  8944. function getCNPUB11 : TBits_1; inline;
  8945. function getCNPUB13 : TBits_1; inline;
  8946. function getCNPUB14 : TBits_1; inline;
  8947. function getCNPUB15 : TBits_1; inline;
  8948. function getCNPUB2 : TBits_1; inline;
  8949. function getCNPUB3 : TBits_1; inline;
  8950. function getCNPUB4 : TBits_1; inline;
  8951. function getCNPUB5 : TBits_1; inline;
  8952. function getCNPUB7 : TBits_1; inline;
  8953. function getCNPUB8 : TBits_1; inline;
  8954. function getCNPUB9 : TBits_1; inline;
  8955. function getw : TBits_32; inline;
  8956. procedure setCNPUB0(thebits : TBits_1); inline;
  8957. procedure setCNPUB1(thebits : TBits_1); inline;
  8958. procedure setCNPUB10(thebits : TBits_1); inline;
  8959. procedure setCNPUB11(thebits : TBits_1); inline;
  8960. procedure setCNPUB13(thebits : TBits_1); inline;
  8961. procedure setCNPUB14(thebits : TBits_1); inline;
  8962. procedure setCNPUB15(thebits : TBits_1); inline;
  8963. procedure setCNPUB2(thebits : TBits_1); inline;
  8964. procedure setCNPUB3(thebits : TBits_1); inline;
  8965. procedure setCNPUB4(thebits : TBits_1); inline;
  8966. procedure setCNPUB5(thebits : TBits_1); inline;
  8967. procedure setCNPUB7(thebits : TBits_1); inline;
  8968. procedure setCNPUB8(thebits : TBits_1); inline;
  8969. procedure setCNPUB9(thebits : TBits_1); inline;
  8970. procedure setw(thebits : TBits_32); inline;
  8971. public
  8972. procedure clearCNPUB0; inline;
  8973. procedure clearCNPUB10; inline;
  8974. procedure clearCNPUB11; inline;
  8975. procedure clearCNPUB13; inline;
  8976. procedure clearCNPUB14; inline;
  8977. procedure clearCNPUB15; inline;
  8978. procedure clearCNPUB1; inline;
  8979. procedure clearCNPUB2; inline;
  8980. procedure clearCNPUB3; inline;
  8981. procedure clearCNPUB4; inline;
  8982. procedure clearCNPUB5; inline;
  8983. procedure clearCNPUB7; inline;
  8984. procedure clearCNPUB8; inline;
  8985. procedure clearCNPUB9; inline;
  8986. procedure setCNPUB0; inline;
  8987. procedure setCNPUB10; inline;
  8988. procedure setCNPUB11; inline;
  8989. procedure setCNPUB13; inline;
  8990. procedure setCNPUB14; inline;
  8991. procedure setCNPUB15; inline;
  8992. procedure setCNPUB1; inline;
  8993. procedure setCNPUB2; inline;
  8994. procedure setCNPUB3; inline;
  8995. procedure setCNPUB4; inline;
  8996. procedure setCNPUB5; inline;
  8997. procedure setCNPUB7; inline;
  8998. procedure setCNPUB8; inline;
  8999. procedure setCNPUB9; inline;
  9000. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  9001. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  9002. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  9003. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  9004. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  9005. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  9006. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  9007. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  9008. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  9009. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  9010. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  9011. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9012. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9013. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9014. property w : TBits_32 read getw write setw;
  9015. end;
  9016. TPORTB_CNPDB = record
  9017. private
  9018. function getCNPDB0 : TBits_1; inline;
  9019. function getCNPDB1 : TBits_1; inline;
  9020. function getCNPDB10 : TBits_1; inline;
  9021. function getCNPDB11 : TBits_1; inline;
  9022. function getCNPDB13 : TBits_1; inline;
  9023. function getCNPDB14 : TBits_1; inline;
  9024. function getCNPDB15 : TBits_1; inline;
  9025. function getCNPDB2 : TBits_1; inline;
  9026. function getCNPDB3 : TBits_1; inline;
  9027. function getCNPDB4 : TBits_1; inline;
  9028. function getCNPDB5 : TBits_1; inline;
  9029. function getCNPDB7 : TBits_1; inline;
  9030. function getCNPDB8 : TBits_1; inline;
  9031. function getCNPDB9 : TBits_1; inline;
  9032. function getw : TBits_32; inline;
  9033. procedure setCNPDB0(thebits : TBits_1); inline;
  9034. procedure setCNPDB1(thebits : TBits_1); inline;
  9035. procedure setCNPDB10(thebits : TBits_1); inline;
  9036. procedure setCNPDB11(thebits : TBits_1); inline;
  9037. procedure setCNPDB13(thebits : TBits_1); inline;
  9038. procedure setCNPDB14(thebits : TBits_1); inline;
  9039. procedure setCNPDB15(thebits : TBits_1); inline;
  9040. procedure setCNPDB2(thebits : TBits_1); inline;
  9041. procedure setCNPDB3(thebits : TBits_1); inline;
  9042. procedure setCNPDB4(thebits : TBits_1); inline;
  9043. procedure setCNPDB5(thebits : TBits_1); inline;
  9044. procedure setCNPDB7(thebits : TBits_1); inline;
  9045. procedure setCNPDB8(thebits : TBits_1); inline;
  9046. procedure setCNPDB9(thebits : TBits_1); inline;
  9047. procedure setw(thebits : TBits_32); inline;
  9048. public
  9049. procedure clearCNPDB0; inline;
  9050. procedure clearCNPDB10; inline;
  9051. procedure clearCNPDB11; inline;
  9052. procedure clearCNPDB13; inline;
  9053. procedure clearCNPDB14; inline;
  9054. procedure clearCNPDB15; inline;
  9055. procedure clearCNPDB1; inline;
  9056. procedure clearCNPDB2; inline;
  9057. procedure clearCNPDB3; inline;
  9058. procedure clearCNPDB4; inline;
  9059. procedure clearCNPDB5; inline;
  9060. procedure clearCNPDB7; inline;
  9061. procedure clearCNPDB8; inline;
  9062. procedure clearCNPDB9; inline;
  9063. procedure setCNPDB0; inline;
  9064. procedure setCNPDB10; inline;
  9065. procedure setCNPDB11; inline;
  9066. procedure setCNPDB13; inline;
  9067. procedure setCNPDB14; inline;
  9068. procedure setCNPDB15; inline;
  9069. procedure setCNPDB1; inline;
  9070. procedure setCNPDB2; inline;
  9071. procedure setCNPDB3; inline;
  9072. procedure setCNPDB4; inline;
  9073. procedure setCNPDB5; inline;
  9074. procedure setCNPDB7; inline;
  9075. procedure setCNPDB8; inline;
  9076. procedure setCNPDB9; inline;
  9077. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9078. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9079. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9080. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9081. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9082. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9083. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9084. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9085. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9086. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9087. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9088. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9089. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9090. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9091. property w : TBits_32 read getw write setw;
  9092. end;
  9093. TPORTB_CNCONB = record
  9094. private
  9095. function getON : TBits_1; inline;
  9096. function getSIDL : TBits_1; inline;
  9097. function getw : TBits_32; inline;
  9098. procedure setON(thebits : TBits_1); inline;
  9099. procedure setSIDL(thebits : TBits_1); inline;
  9100. procedure setw(thebits : TBits_32); inline;
  9101. public
  9102. procedure clearON; inline;
  9103. procedure clearSIDL; inline;
  9104. procedure setON; inline;
  9105. procedure setSIDL; inline;
  9106. property ON : TBits_1 read getON write setON;
  9107. property SIDL : TBits_1 read getSIDL write setSIDL;
  9108. property w : TBits_32 read getw write setw;
  9109. end;
  9110. TPORTB_CNENB = record
  9111. private
  9112. function getCNIEB0 : TBits_1; inline;
  9113. function getCNIEB1 : TBits_1; inline;
  9114. function getCNIEB10 : TBits_1; inline;
  9115. function getCNIEB11 : TBits_1; inline;
  9116. function getCNIEB13 : TBits_1; inline;
  9117. function getCNIEB14 : TBits_1; inline;
  9118. function getCNIEB15 : TBits_1; inline;
  9119. function getCNIEB2 : TBits_1; inline;
  9120. function getCNIEB3 : TBits_1; inline;
  9121. function getCNIEB4 : TBits_1; inline;
  9122. function getCNIEB5 : TBits_1; inline;
  9123. function getCNIEB7 : TBits_1; inline;
  9124. function getCNIEB8 : TBits_1; inline;
  9125. function getCNIEB9 : TBits_1; inline;
  9126. function getw : TBits_32; inline;
  9127. procedure setCNIEB0(thebits : TBits_1); inline;
  9128. procedure setCNIEB1(thebits : TBits_1); inline;
  9129. procedure setCNIEB10(thebits : TBits_1); inline;
  9130. procedure setCNIEB11(thebits : TBits_1); inline;
  9131. procedure setCNIEB13(thebits : TBits_1); inline;
  9132. procedure setCNIEB14(thebits : TBits_1); inline;
  9133. procedure setCNIEB15(thebits : TBits_1); inline;
  9134. procedure setCNIEB2(thebits : TBits_1); inline;
  9135. procedure setCNIEB3(thebits : TBits_1); inline;
  9136. procedure setCNIEB4(thebits : TBits_1); inline;
  9137. procedure setCNIEB5(thebits : TBits_1); inline;
  9138. procedure setCNIEB7(thebits : TBits_1); inline;
  9139. procedure setCNIEB8(thebits : TBits_1); inline;
  9140. procedure setCNIEB9(thebits : TBits_1); inline;
  9141. procedure setw(thebits : TBits_32); inline;
  9142. public
  9143. procedure clearCNIEB0; inline;
  9144. procedure clearCNIEB10; inline;
  9145. procedure clearCNIEB11; inline;
  9146. procedure clearCNIEB13; inline;
  9147. procedure clearCNIEB14; inline;
  9148. procedure clearCNIEB15; inline;
  9149. procedure clearCNIEB1; inline;
  9150. procedure clearCNIEB2; inline;
  9151. procedure clearCNIEB3; inline;
  9152. procedure clearCNIEB4; inline;
  9153. procedure clearCNIEB5; inline;
  9154. procedure clearCNIEB7; inline;
  9155. procedure clearCNIEB8; inline;
  9156. procedure clearCNIEB9; inline;
  9157. procedure setCNIEB0; inline;
  9158. procedure setCNIEB10; inline;
  9159. procedure setCNIEB11; inline;
  9160. procedure setCNIEB13; inline;
  9161. procedure setCNIEB14; inline;
  9162. procedure setCNIEB15; inline;
  9163. procedure setCNIEB1; inline;
  9164. procedure setCNIEB2; inline;
  9165. procedure setCNIEB3; inline;
  9166. procedure setCNIEB4; inline;
  9167. procedure setCNIEB5; inline;
  9168. procedure setCNIEB7; inline;
  9169. procedure setCNIEB8; inline;
  9170. procedure setCNIEB9; inline;
  9171. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9172. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9173. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9174. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9175. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9176. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9177. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9178. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9179. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9180. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9181. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9182. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9183. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9184. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9185. property w : TBits_32 read getw write setw;
  9186. end;
  9187. TPORTB_CNSTATB = record
  9188. private
  9189. function getCNSTATB0 : TBits_1; inline;
  9190. function getCNSTATB1 : TBits_1; inline;
  9191. function getCNSTATB10 : TBits_1; inline;
  9192. function getCNSTATB11 : TBits_1; inline;
  9193. function getCNSTATB13 : TBits_1; inline;
  9194. function getCNSTATB14 : TBits_1; inline;
  9195. function getCNSTATB15 : TBits_1; inline;
  9196. function getCNSTATB2 : TBits_1; inline;
  9197. function getCNSTATB3 : TBits_1; inline;
  9198. function getCNSTATB4 : TBits_1; inline;
  9199. function getCNSTATB5 : TBits_1; inline;
  9200. function getCNSTATB7 : TBits_1; inline;
  9201. function getCNSTATB8 : TBits_1; inline;
  9202. function getCNSTATB9 : TBits_1; inline;
  9203. function getw : TBits_32; inline;
  9204. procedure setCNSTATB0(thebits : TBits_1); inline;
  9205. procedure setCNSTATB1(thebits : TBits_1); inline;
  9206. procedure setCNSTATB10(thebits : TBits_1); inline;
  9207. procedure setCNSTATB11(thebits : TBits_1); inline;
  9208. procedure setCNSTATB13(thebits : TBits_1); inline;
  9209. procedure setCNSTATB14(thebits : TBits_1); inline;
  9210. procedure setCNSTATB15(thebits : TBits_1); inline;
  9211. procedure setCNSTATB2(thebits : TBits_1); inline;
  9212. procedure setCNSTATB3(thebits : TBits_1); inline;
  9213. procedure setCNSTATB4(thebits : TBits_1); inline;
  9214. procedure setCNSTATB5(thebits : TBits_1); inline;
  9215. procedure setCNSTATB7(thebits : TBits_1); inline;
  9216. procedure setCNSTATB8(thebits : TBits_1); inline;
  9217. procedure setCNSTATB9(thebits : TBits_1); inline;
  9218. procedure setw(thebits : TBits_32); inline;
  9219. public
  9220. procedure clearCNSTATB0; inline;
  9221. procedure clearCNSTATB10; inline;
  9222. procedure clearCNSTATB11; inline;
  9223. procedure clearCNSTATB13; inline;
  9224. procedure clearCNSTATB14; inline;
  9225. procedure clearCNSTATB15; inline;
  9226. procedure clearCNSTATB1; inline;
  9227. procedure clearCNSTATB2; inline;
  9228. procedure clearCNSTATB3; inline;
  9229. procedure clearCNSTATB4; inline;
  9230. procedure clearCNSTATB5; inline;
  9231. procedure clearCNSTATB7; inline;
  9232. procedure clearCNSTATB8; inline;
  9233. procedure clearCNSTATB9; inline;
  9234. procedure setCNSTATB0; inline;
  9235. procedure setCNSTATB10; inline;
  9236. procedure setCNSTATB11; inline;
  9237. procedure setCNSTATB13; inline;
  9238. procedure setCNSTATB14; inline;
  9239. procedure setCNSTATB15; inline;
  9240. procedure setCNSTATB1; inline;
  9241. procedure setCNSTATB2; inline;
  9242. procedure setCNSTATB3; inline;
  9243. procedure setCNSTATB4; inline;
  9244. procedure setCNSTATB5; inline;
  9245. procedure setCNSTATB7; inline;
  9246. procedure setCNSTATB8; inline;
  9247. procedure setCNSTATB9; inline;
  9248. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9249. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9250. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9251. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9252. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9253. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9254. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9255. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9256. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9257. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9258. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9259. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9260. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9261. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9262. property w : TBits_32 read getw write setw;
  9263. end;
  9264. type
  9265. TPORTBRegisters = record
  9266. ANSELBbits : TPORTB_ANSELB;
  9267. ANSELB : longWord;
  9268. ANSELBCLR : longWord;
  9269. ANSELBSET : longWord;
  9270. ANSELBINV : longWord;
  9271. TRISBbits : TPORTB_TRISB;
  9272. TRISB : longWord;
  9273. TRISBCLR : longWord;
  9274. TRISBSET : longWord;
  9275. TRISBINV : longWord;
  9276. PORTBbits : TPORTB_PORTB;
  9277. PORTB : longWord;
  9278. PORTBCLR : longWord;
  9279. PORTBSET : longWord;
  9280. PORTBINV : longWord;
  9281. LATBbits : TPORTB_LATB;
  9282. LATB : longWord;
  9283. LATBCLR : longWord;
  9284. LATBSET : longWord;
  9285. LATBINV : longWord;
  9286. ODCBbits : TPORTB_ODCB;
  9287. ODCB : longWord;
  9288. ODCBCLR : longWord;
  9289. ODCBSET : longWord;
  9290. ODCBINV : longWord;
  9291. CNPUBbits : TPORTB_CNPUB;
  9292. CNPUB : longWord;
  9293. CNPUBCLR : longWord;
  9294. CNPUBSET : longWord;
  9295. CNPUBINV : longWord;
  9296. CNPDBbits : TPORTB_CNPDB;
  9297. CNPDB : longWord;
  9298. CNPDBCLR : longWord;
  9299. CNPDBSET : longWord;
  9300. CNPDBINV : longWord;
  9301. CNCONBbits : TPORTB_CNCONB;
  9302. CNCONB : longWord;
  9303. CNCONBCLR : longWord;
  9304. CNCONBSET : longWord;
  9305. CNCONBINV : longWord;
  9306. CNENBbits : TPORTB_CNENB;
  9307. CNENB : longWord;
  9308. CNENBCLR : longWord;
  9309. CNENBSET : longWord;
  9310. CNENBINV : longWord;
  9311. CNSTATBbits : TPORTB_CNSTATB;
  9312. CNSTATB : longWord;
  9313. CNSTATBCLR : longWord;
  9314. CNSTATBSET : longWord;
  9315. CNSTATBINV : longWord;
  9316. end;
  9317. TDEVCFG_DEVCFG3 = record
  9318. private
  9319. function getFUSBIDIO : TBits_1; inline;
  9320. function getFVBUSONIO : TBits_1; inline;
  9321. function getIOL1WAY : TBits_1; inline;
  9322. function getPMDL1WAY : TBits_1; inline;
  9323. function getUSERID : TBits_16; inline;
  9324. function getw : TBits_32; inline;
  9325. procedure setFUSBIDIO(thebits : TBits_1); inline;
  9326. procedure setFVBUSONIO(thebits : TBits_1); inline;
  9327. procedure setIOL1WAY(thebits : TBits_1); inline;
  9328. procedure setPMDL1WAY(thebits : TBits_1); inline;
  9329. procedure setUSERID(thebits : TBits_16); inline;
  9330. procedure setw(thebits : TBits_32); inline;
  9331. public
  9332. procedure clearFUSBIDIO; inline;
  9333. procedure clearFVBUSONIO; inline;
  9334. procedure clearIOL1WAY; inline;
  9335. procedure clearPMDL1WAY; inline;
  9336. procedure setFUSBIDIO; inline;
  9337. procedure setFVBUSONIO; inline;
  9338. procedure setIOL1WAY; inline;
  9339. procedure setPMDL1WAY; inline;
  9340. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  9341. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  9342. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  9343. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  9344. property USERID : TBits_16 read getUSERID write setUSERID;
  9345. property w : TBits_32 read getw write setw;
  9346. end;
  9347. TDEVCFG_DEVCFG2 = record
  9348. private
  9349. function getFPLLIDIV : TBits_3; inline;
  9350. function getFPLLMUL : TBits_3; inline;
  9351. function getFPLLODIV : TBits_3; inline;
  9352. function getUPLLEN : TBits_1; inline;
  9353. function getUPLLIDIV : TBits_3; inline;
  9354. function getw : TBits_32; inline;
  9355. procedure setFPLLIDIV(thebits : TBits_3); inline;
  9356. procedure setFPLLMUL(thebits : TBits_3); inline;
  9357. procedure setFPLLODIV(thebits : TBits_3); inline;
  9358. procedure setUPLLEN(thebits : TBits_1); inline;
  9359. procedure setUPLLIDIV(thebits : TBits_3); inline;
  9360. procedure setw(thebits : TBits_32); inline;
  9361. public
  9362. procedure clearUPLLEN; inline;
  9363. procedure setUPLLEN; inline;
  9364. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  9365. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  9366. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  9367. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  9368. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  9369. property w : TBits_32 read getw write setw;
  9370. end;
  9371. TDEVCFG_DEVCFG1 = record
  9372. private
  9373. function getFCKSM : TBits_2; inline;
  9374. function getFNOSC : TBits_3; inline;
  9375. function getFPBDIV : TBits_2; inline;
  9376. function getFSOSCEN : TBits_1; inline;
  9377. function getFWDTEN : TBits_1; inline;
  9378. function getFWDTWINSZ : TBits_2; inline;
  9379. function getIESO : TBits_1; inline;
  9380. function getOSCIOFNC : TBits_1; inline;
  9381. function getPOSCMOD : TBits_2; inline;
  9382. function getWDTPS : TBits_5; inline;
  9383. function getWINDIS : TBits_1; inline;
  9384. function getw : TBits_32; inline;
  9385. procedure setFCKSM(thebits : TBits_2); inline;
  9386. procedure setFNOSC(thebits : TBits_3); inline;
  9387. procedure setFPBDIV(thebits : TBits_2); inline;
  9388. procedure setFSOSCEN(thebits : TBits_1); inline;
  9389. procedure setFWDTEN(thebits : TBits_1); inline;
  9390. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  9391. procedure setIESO(thebits : TBits_1); inline;
  9392. procedure setOSCIOFNC(thebits : TBits_1); inline;
  9393. procedure setPOSCMOD(thebits : TBits_2); inline;
  9394. procedure setWDTPS(thebits : TBits_5); inline;
  9395. procedure setWINDIS(thebits : TBits_1); inline;
  9396. procedure setw(thebits : TBits_32); inline;
  9397. public
  9398. procedure clearFSOSCEN; inline;
  9399. procedure clearFWDTEN; inline;
  9400. procedure clearIESO; inline;
  9401. procedure clearOSCIOFNC; inline;
  9402. procedure clearWINDIS; inline;
  9403. procedure setFSOSCEN; inline;
  9404. procedure setFWDTEN; inline;
  9405. procedure setIESO; inline;
  9406. procedure setOSCIOFNC; inline;
  9407. procedure setWINDIS; inline;
  9408. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  9409. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  9410. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  9411. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  9412. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  9413. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  9414. property IESO : TBits_1 read getIESO write setIESO;
  9415. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  9416. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  9417. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  9418. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  9419. property w : TBits_32 read getw write setw;
  9420. end;
  9421. TDEVCFG_DEVCFG0 = record
  9422. private
  9423. function getBWP : TBits_1; inline;
  9424. function getCP : TBits_1; inline;
  9425. function getDEBUG : TBits_2; inline;
  9426. function getFDEBUG : TBits_2; inline;
  9427. function getICESEL : TBits_2; inline;
  9428. function getJTAGEN : TBits_1; inline;
  9429. function getPWP : TBits_6; inline;
  9430. function getw : TBits_32; inline;
  9431. procedure setBWP(thebits : TBits_1); inline;
  9432. procedure setCP(thebits : TBits_1); inline;
  9433. procedure setDEBUG(thebits : TBits_2); inline;
  9434. procedure setFDEBUG(thebits : TBits_2); inline;
  9435. procedure setICESEL(thebits : TBits_2); inline;
  9436. procedure setJTAGEN(thebits : TBits_1); inline;
  9437. procedure setPWP(thebits : TBits_6); inline;
  9438. procedure setw(thebits : TBits_32); inline;
  9439. public
  9440. procedure clearBWP; inline;
  9441. procedure clearCP; inline;
  9442. procedure clearJTAGEN; inline;
  9443. procedure setBWP; inline;
  9444. procedure setCP; inline;
  9445. procedure setJTAGEN; inline;
  9446. property BWP : TBits_1 read getBWP write setBWP;
  9447. property CP : TBits_1 read getCP write setCP;
  9448. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  9449. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  9450. property ICESEL : TBits_2 read getICESEL write setICESEL;
  9451. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  9452. property PWP : TBits_6 read getPWP write setPWP;
  9453. property w : TBits_32 read getw write setw;
  9454. end;
  9455. const
  9456. _CORE_TIMER_IRQ = 0;
  9457. _CORE_SOFTWARE_0_IRQ = 1;
  9458. _CORE_SOFTWARE_1_IRQ = 2;
  9459. _EXTERNAL_0_IRQ = 3;
  9460. _TIMER_1_IRQ = 4;
  9461. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  9462. _INPUT_CAPTURE_1_IRQ = 6;
  9463. _OUTPUT_COMPARE_1_IRQ = 7;
  9464. _EXTERNAL_1_IRQ = 8;
  9465. _TIMER_2_IRQ = 9;
  9466. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  9467. _INPUT_CAPTURE_2_IRQ = 11;
  9468. _OUTPUT_COMPARE_2_IRQ = 12;
  9469. _EXTERNAL_2_IRQ = 13;
  9470. _TIMER_3_IRQ = 14;
  9471. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  9472. _INPUT_CAPTURE_3_IRQ = 16;
  9473. _OUTPUT_COMPARE_3_IRQ = 17;
  9474. _EXTERNAL_3_IRQ = 18;
  9475. _TIMER_4_IRQ = 19;
  9476. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  9477. _INPUT_CAPTURE_4_IRQ = 21;
  9478. _OUTPUT_COMPARE_4_IRQ = 22;
  9479. _EXTERNAL_4_IRQ = 23;
  9480. _TIMER_5_IRQ = 24;
  9481. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  9482. _INPUT_CAPTURE_5_IRQ = 26;
  9483. _OUTPUT_COMPARE_5_IRQ = 27;
  9484. _ADC_IRQ = 28;
  9485. _FAIL_SAFE_MONITOR_IRQ = 29;
  9486. _RTCC_IRQ = 30;
  9487. _FLASH_CONTROL_IRQ = 31;
  9488. _COMPARATOR_1_IRQ = 32;
  9489. _COMPARATOR_2_IRQ = 33;
  9490. _COMPARATOR_3_IRQ = 34;
  9491. _USB_IRQ = 35;
  9492. _SPI1_ERR_IRQ = 36;
  9493. _SPI1_RX_IRQ = 37;
  9494. _SPI1_TX_IRQ = 38;
  9495. _UART1_ERR_IRQ = 39;
  9496. _UART1_RX_IRQ = 40;
  9497. _UART1_TX_IRQ = 41;
  9498. _I2C1_BUS_IRQ = 42;
  9499. _I2C1_SLAVE_IRQ = 43;
  9500. _I2C1_MASTER_IRQ = 44;
  9501. _CHANGE_NOTICE_A_IRQ = 45;
  9502. _CHANGE_NOTICE_B_IRQ = 46;
  9503. _CHANGE_NOTICE_C_IRQ = 47;
  9504. _PMP_IRQ = 48;
  9505. _PMP_ERROR_IRQ = 49;
  9506. _SPI2_ERR_IRQ = 50;
  9507. _SPI2_RX_IRQ = 51;
  9508. _SPI2_TX_IRQ = 52;
  9509. _UART2_ERR_IRQ = 53;
  9510. _UART2_RX_IRQ = 54;
  9511. _UART2_TX_IRQ = 55;
  9512. _I2C2_BUS_IRQ = 56;
  9513. _I2C2_SLAVE_IRQ = 57;
  9514. _I2C2_MASTER_IRQ = 58;
  9515. _CTMU_IRQ = 59;
  9516. _DMA0_IRQ = 60;
  9517. _DMA1_IRQ = 61;
  9518. _DMA2_IRQ = 62;
  9519. _DMA3_IRQ = 63;
  9520. const
  9521. ADC10_BASE_ADDRESS = $BF809000;
  9522. var
  9523. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  9524. const
  9525. BMX_BASE_ADDRESS = $BF882000;
  9526. var
  9527. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  9528. const
  9529. CFG_BASE_ADDRESS = $BF80F200;
  9530. var
  9531. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  9532. const
  9533. CMP_BASE_ADDRESS = $BF80A000;
  9534. var
  9535. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  9536. const
  9537. CVR_BASE_ADDRESS = $BF809800;
  9538. var
  9539. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  9540. const
  9541. DMAC_BASE_ADDRESS = $BF883000;
  9542. var
  9543. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  9544. const
  9545. DMAC0_BASE_ADDRESS = $BF883060;
  9546. var
  9547. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  9548. const
  9549. DMAC1_BASE_ADDRESS = $BF883120;
  9550. var
  9551. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  9552. const
  9553. DMAC2_BASE_ADDRESS = $BF8831E0;
  9554. var
  9555. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  9556. const
  9557. DMAC3_BASE_ADDRESS = $BF8832A0;
  9558. var
  9559. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  9560. const
  9561. I2C1_BASE_ADDRESS = $BF805000;
  9562. var
  9563. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  9564. const
  9565. I2C2_BASE_ADDRESS = $BF805100;
  9566. var
  9567. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  9568. const
  9569. ICAP1_BASE_ADDRESS = $BF802000;
  9570. var
  9571. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  9572. const
  9573. ICAP2_BASE_ADDRESS = $BF802200;
  9574. var
  9575. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  9576. const
  9577. ICAP3_BASE_ADDRESS = $BF802400;
  9578. var
  9579. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  9580. const
  9581. ICAP4_BASE_ADDRESS = $BF802600;
  9582. var
  9583. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  9584. const
  9585. ICAP5_BASE_ADDRESS = $BF802800;
  9586. var
  9587. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  9588. const
  9589. INT_BASE_ADDRESS = $BF881000;
  9590. var
  9591. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  9592. const
  9593. NVM_BASE_ADDRESS = $BF80F400;
  9594. var
  9595. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  9596. const
  9597. OCMP1_BASE_ADDRESS = $BF803000;
  9598. var
  9599. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  9600. const
  9601. OCMP2_BASE_ADDRESS = $BF803200;
  9602. var
  9603. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  9604. const
  9605. OCMP3_BASE_ADDRESS = $BF803400;
  9606. var
  9607. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  9608. const
  9609. OCMP4_BASE_ADDRESS = $BF803600;
  9610. var
  9611. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  9612. const
  9613. OCMP5_BASE_ADDRESS = $BF803800;
  9614. var
  9615. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  9616. const
  9617. OSC_BASE_ADDRESS = $BF80F000;
  9618. var
  9619. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  9620. const
  9621. PMP_BASE_ADDRESS = $BF807000;
  9622. var
  9623. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  9624. const
  9625. PORTA_BASE_ADDRESS = $BF886000;
  9626. var
  9627. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  9628. const
  9629. PORTB_BASE_ADDRESS = $BF886100;
  9630. var
  9631. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  9632. const
  9633. RCON_BASE_ADDRESS = $BF80F600;
  9634. var
  9635. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  9636. const
  9637. RTCC_BASE_ADDRESS = $BF800200;
  9638. var
  9639. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  9640. const
  9641. SPI1_BASE_ADDRESS = $BF805800;
  9642. var
  9643. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  9644. const
  9645. SPI2_BASE_ADDRESS = $BF805A00;
  9646. var
  9647. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  9648. const
  9649. TMR1_BASE_ADDRESS = $BF800600;
  9650. var
  9651. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  9652. const
  9653. TMR2_BASE_ADDRESS = $BF800800;
  9654. var
  9655. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  9656. const
  9657. TMR3_BASE_ADDRESS = $BF800A00;
  9658. var
  9659. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  9660. const
  9661. TMR4_BASE_ADDRESS = $BF800C00;
  9662. var
  9663. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  9664. const
  9665. TMR5_BASE_ADDRESS = $BF800E00;
  9666. var
  9667. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  9668. const
  9669. UART1_BASE_ADDRESS = $BF806000;
  9670. var
  9671. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  9672. const
  9673. UART2_BASE_ADDRESS = $BF806200;
  9674. var
  9675. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  9676. const
  9677. USB_BASE_ADDRESS = $BF885040;
  9678. var
  9679. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  9680. const
  9681. WDT_BASE_ADDRESS = $BF800000;
  9682. var
  9683. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  9684. implementation
  9685. type
  9686. TDefRegMap = record
  9687. val : longWord;
  9688. clr : longWord;
  9689. &set : longWord;
  9690. inv : longWord;
  9691. end;
  9692. pTDefRegMap = ^TDefRegMap;
  9693. procedure TWDT_WDTCON.setWDTCLR; inline;
  9694. begin
  9695. pTDefRegMap(@Self)^.&set := $00000001;
  9696. end;
  9697. procedure TWDT_WDTCON.clearWDTCLR; inline;
  9698. begin
  9699. pTDefRegMap(@Self)^.clr := $00000001;
  9700. end;
  9701. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  9702. begin
  9703. if thebits = 0 then
  9704. pTDefRegMap(@Self)^.clr := $00000001
  9705. else
  9706. pTDefRegMap(@Self)^.&set := $00000001;
  9707. end;
  9708. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  9709. begin
  9710. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9711. end;
  9712. procedure TWDT_WDTCON.setWDTWINEN; inline;
  9713. begin
  9714. pTDefRegMap(@Self)^.&set := $00000002;
  9715. end;
  9716. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  9717. begin
  9718. pTDefRegMap(@Self)^.clr := $00000002;
  9719. end;
  9720. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  9721. begin
  9722. if thebits = 0 then
  9723. pTDefRegMap(@Self)^.clr := $00000002
  9724. else
  9725. pTDefRegMap(@Self)^.&set := $00000002;
  9726. end;
  9727. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  9728. begin
  9729. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9730. end;
  9731. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  9732. begin
  9733. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9734. end;
  9735. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  9736. begin
  9737. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9738. end;
  9739. procedure TWDT_WDTCON.setON; inline;
  9740. begin
  9741. pTDefRegMap(@Self)^.&set := $00008000;
  9742. end;
  9743. procedure TWDT_WDTCON.clearON; inline;
  9744. begin
  9745. pTDefRegMap(@Self)^.clr := $00008000;
  9746. end;
  9747. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  9748. begin
  9749. if thebits = 0 then
  9750. pTDefRegMap(@Self)^.clr := $00008000
  9751. else
  9752. pTDefRegMap(@Self)^.&set := $00008000;
  9753. end;
  9754. function TWDT_WDTCON.getON : TBits_1; inline;
  9755. begin
  9756. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9757. end;
  9758. procedure TWDT_WDTCON.setSWDTPS0; inline;
  9759. begin
  9760. pTDefRegMap(@Self)^.&set := $00000004;
  9761. end;
  9762. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  9763. begin
  9764. pTDefRegMap(@Self)^.clr := $00000004;
  9765. end;
  9766. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  9767. begin
  9768. if thebits = 0 then
  9769. pTDefRegMap(@Self)^.clr := $00000004
  9770. else
  9771. pTDefRegMap(@Self)^.&set := $00000004;
  9772. end;
  9773. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  9774. begin
  9775. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9776. end;
  9777. procedure TWDT_WDTCON.setSWDTPS1; inline;
  9778. begin
  9779. pTDefRegMap(@Self)^.&set := $00000008;
  9780. end;
  9781. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  9782. begin
  9783. pTDefRegMap(@Self)^.clr := $00000008;
  9784. end;
  9785. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  9786. begin
  9787. if thebits = 0 then
  9788. pTDefRegMap(@Self)^.clr := $00000008
  9789. else
  9790. pTDefRegMap(@Self)^.&set := $00000008;
  9791. end;
  9792. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  9793. begin
  9794. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9795. end;
  9796. procedure TWDT_WDTCON.setSWDTPS2; inline;
  9797. begin
  9798. pTDefRegMap(@Self)^.&set := $00000010;
  9799. end;
  9800. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  9801. begin
  9802. pTDefRegMap(@Self)^.clr := $00000010;
  9803. end;
  9804. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  9805. begin
  9806. if thebits = 0 then
  9807. pTDefRegMap(@Self)^.clr := $00000010
  9808. else
  9809. pTDefRegMap(@Self)^.&set := $00000010;
  9810. end;
  9811. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  9812. begin
  9813. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9814. end;
  9815. procedure TWDT_WDTCON.setSWDTPS3; inline;
  9816. begin
  9817. pTDefRegMap(@Self)^.&set := $00000020;
  9818. end;
  9819. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  9820. begin
  9821. pTDefRegMap(@Self)^.clr := $00000020;
  9822. end;
  9823. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  9824. begin
  9825. if thebits = 0 then
  9826. pTDefRegMap(@Self)^.clr := $00000020
  9827. else
  9828. pTDefRegMap(@Self)^.&set := $00000020;
  9829. end;
  9830. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  9831. begin
  9832. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9833. end;
  9834. procedure TWDT_WDTCON.setSWDTPS4; inline;
  9835. begin
  9836. pTDefRegMap(@Self)^.&set := $00000040;
  9837. end;
  9838. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  9839. begin
  9840. pTDefRegMap(@Self)^.clr := $00000040;
  9841. end;
  9842. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  9843. begin
  9844. if thebits = 0 then
  9845. pTDefRegMap(@Self)^.clr := $00000040
  9846. else
  9847. pTDefRegMap(@Self)^.&set := $00000040;
  9848. end;
  9849. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  9850. begin
  9851. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9852. end;
  9853. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  9854. begin
  9855. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9856. end;
  9857. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  9858. begin
  9859. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9860. end;
  9861. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  9862. begin
  9863. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9864. end;
  9865. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  9866. begin
  9867. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9868. end;
  9869. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  9870. begin
  9871. pTDefRegMap(@Self)^.val := thebits;
  9872. end;
  9873. function TWDT_WDTCON.getw : TBits_32; inline;
  9874. begin
  9875. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9876. end;
  9877. procedure TRTCC_RTCCON.setRTCOE; inline;
  9878. begin
  9879. pTDefRegMap(@Self)^.&set := $00000001;
  9880. end;
  9881. procedure TRTCC_RTCCON.clearRTCOE; inline;
  9882. begin
  9883. pTDefRegMap(@Self)^.clr := $00000001;
  9884. end;
  9885. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  9886. begin
  9887. if thebits = 0 then
  9888. pTDefRegMap(@Self)^.clr := $00000001
  9889. else
  9890. pTDefRegMap(@Self)^.&set := $00000001;
  9891. end;
  9892. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  9893. begin
  9894. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9895. end;
  9896. procedure TRTCC_RTCCON.setHALFSEC; inline;
  9897. begin
  9898. pTDefRegMap(@Self)^.&set := $00000002;
  9899. end;
  9900. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  9901. begin
  9902. pTDefRegMap(@Self)^.clr := $00000002;
  9903. end;
  9904. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  9905. begin
  9906. if thebits = 0 then
  9907. pTDefRegMap(@Self)^.clr := $00000002
  9908. else
  9909. pTDefRegMap(@Self)^.&set := $00000002;
  9910. end;
  9911. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  9912. begin
  9913. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9914. end;
  9915. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  9916. begin
  9917. pTDefRegMap(@Self)^.&set := $00000004;
  9918. end;
  9919. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  9920. begin
  9921. pTDefRegMap(@Self)^.clr := $00000004;
  9922. end;
  9923. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  9924. begin
  9925. if thebits = 0 then
  9926. pTDefRegMap(@Self)^.clr := $00000004
  9927. else
  9928. pTDefRegMap(@Self)^.&set := $00000004;
  9929. end;
  9930. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  9931. begin
  9932. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9933. end;
  9934. procedure TRTCC_RTCCON.setRTCWREN; inline;
  9935. begin
  9936. pTDefRegMap(@Self)^.&set := $00000008;
  9937. end;
  9938. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  9939. begin
  9940. pTDefRegMap(@Self)^.clr := $00000008;
  9941. end;
  9942. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  9943. begin
  9944. if thebits = 0 then
  9945. pTDefRegMap(@Self)^.clr := $00000008
  9946. else
  9947. pTDefRegMap(@Self)^.&set := $00000008;
  9948. end;
  9949. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  9950. begin
  9951. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9952. end;
  9953. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  9954. begin
  9955. pTDefRegMap(@Self)^.&set := $00000040;
  9956. end;
  9957. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  9958. begin
  9959. pTDefRegMap(@Self)^.clr := $00000040;
  9960. end;
  9961. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  9962. begin
  9963. if thebits = 0 then
  9964. pTDefRegMap(@Self)^.clr := $00000040
  9965. else
  9966. pTDefRegMap(@Self)^.&set := $00000040;
  9967. end;
  9968. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  9969. begin
  9970. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9971. end;
  9972. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  9973. begin
  9974. pTDefRegMap(@Self)^.&set := $00000080;
  9975. end;
  9976. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  9977. begin
  9978. pTDefRegMap(@Self)^.clr := $00000080;
  9979. end;
  9980. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  9981. begin
  9982. if thebits = 0 then
  9983. pTDefRegMap(@Self)^.clr := $00000080
  9984. else
  9985. pTDefRegMap(@Self)^.&set := $00000080;
  9986. end;
  9987. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  9988. begin
  9989. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9990. end;
  9991. procedure TRTCC_RTCCON.setSIDL; inline;
  9992. begin
  9993. pTDefRegMap(@Self)^.&set := $00002000;
  9994. end;
  9995. procedure TRTCC_RTCCON.clearSIDL; inline;
  9996. begin
  9997. pTDefRegMap(@Self)^.clr := $00002000;
  9998. end;
  9999. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  10000. begin
  10001. if thebits = 0 then
  10002. pTDefRegMap(@Self)^.clr := $00002000
  10003. else
  10004. pTDefRegMap(@Self)^.&set := $00002000;
  10005. end;
  10006. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  10007. begin
  10008. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10009. end;
  10010. procedure TRTCC_RTCCON.setON; inline;
  10011. begin
  10012. pTDefRegMap(@Self)^.&set := $00008000;
  10013. end;
  10014. procedure TRTCC_RTCCON.clearON; inline;
  10015. begin
  10016. pTDefRegMap(@Self)^.clr := $00008000;
  10017. end;
  10018. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  10019. begin
  10020. if thebits = 0 then
  10021. pTDefRegMap(@Self)^.clr := $00008000
  10022. else
  10023. pTDefRegMap(@Self)^.&set := $00008000;
  10024. end;
  10025. function TRTCC_RTCCON.getON : TBits_1; inline;
  10026. begin
  10027. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10028. end;
  10029. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  10030. begin
  10031. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  10032. end;
  10033. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  10034. begin
  10035. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  10036. end;
  10037. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  10038. begin
  10039. pTDefRegMap(@Self)^.val := thebits;
  10040. end;
  10041. function TRTCC_RTCCON.getw : TBits_32; inline;
  10042. begin
  10043. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10044. end;
  10045. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  10046. begin
  10047. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  10048. end;
  10049. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  10050. begin
  10051. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  10052. end;
  10053. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  10054. begin
  10055. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10056. end;
  10057. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  10058. begin
  10059. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10060. end;
  10061. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  10062. begin
  10063. pTDefRegMap(@Self)^.&set := $00001000;
  10064. end;
  10065. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  10066. begin
  10067. pTDefRegMap(@Self)^.clr := $00001000;
  10068. end;
  10069. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  10070. begin
  10071. if thebits = 0 then
  10072. pTDefRegMap(@Self)^.clr := $00001000
  10073. else
  10074. pTDefRegMap(@Self)^.&set := $00001000;
  10075. end;
  10076. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  10077. begin
  10078. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10079. end;
  10080. procedure TRTCC_RTCALRM.setPIV; inline;
  10081. begin
  10082. pTDefRegMap(@Self)^.&set := $00002000;
  10083. end;
  10084. procedure TRTCC_RTCALRM.clearPIV; inline;
  10085. begin
  10086. pTDefRegMap(@Self)^.clr := $00002000;
  10087. end;
  10088. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  10089. begin
  10090. if thebits = 0 then
  10091. pTDefRegMap(@Self)^.clr := $00002000
  10092. else
  10093. pTDefRegMap(@Self)^.&set := $00002000;
  10094. end;
  10095. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  10096. begin
  10097. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10098. end;
  10099. procedure TRTCC_RTCALRM.setCHIME; inline;
  10100. begin
  10101. pTDefRegMap(@Self)^.&set := $00004000;
  10102. end;
  10103. procedure TRTCC_RTCALRM.clearCHIME; inline;
  10104. begin
  10105. pTDefRegMap(@Self)^.clr := $00004000;
  10106. end;
  10107. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  10108. begin
  10109. if thebits = 0 then
  10110. pTDefRegMap(@Self)^.clr := $00004000
  10111. else
  10112. pTDefRegMap(@Self)^.&set := $00004000;
  10113. end;
  10114. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  10115. begin
  10116. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10117. end;
  10118. procedure TRTCC_RTCALRM.setALRMEN; inline;
  10119. begin
  10120. pTDefRegMap(@Self)^.&set := $00008000;
  10121. end;
  10122. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  10123. begin
  10124. pTDefRegMap(@Self)^.clr := $00008000;
  10125. end;
  10126. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  10127. begin
  10128. if thebits = 0 then
  10129. pTDefRegMap(@Self)^.clr := $00008000
  10130. else
  10131. pTDefRegMap(@Self)^.&set := $00008000;
  10132. end;
  10133. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  10134. begin
  10135. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10136. end;
  10137. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  10138. begin
  10139. pTDefRegMap(@Self)^.val := thebits;
  10140. end;
  10141. function TRTCC_RTCALRM.getw : TBits_32; inline;
  10142. begin
  10143. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10144. end;
  10145. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  10146. begin
  10147. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10148. end;
  10149. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  10150. begin
  10151. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10152. end;
  10153. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  10154. begin
  10155. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10156. end;
  10157. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  10158. begin
  10159. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10160. end;
  10161. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  10162. begin
  10163. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10164. end;
  10165. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  10166. begin
  10167. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10168. end;
  10169. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  10170. begin
  10171. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10172. end;
  10173. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  10174. begin
  10175. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10176. end;
  10177. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  10178. begin
  10179. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10180. end;
  10181. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  10182. begin
  10183. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10184. end;
  10185. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  10186. begin
  10187. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10188. end;
  10189. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  10190. begin
  10191. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10192. end;
  10193. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  10194. begin
  10195. pTDefRegMap(@Self)^.val := thebits;
  10196. end;
  10197. function TRTCC_RTCTIME.getw : TBits_32; inline;
  10198. begin
  10199. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10200. end;
  10201. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  10202. begin
  10203. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10204. end;
  10205. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  10206. begin
  10207. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10208. end;
  10209. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  10210. begin
  10211. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10212. end;
  10213. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  10214. begin
  10215. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10216. end;
  10217. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  10218. begin
  10219. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10220. end;
  10221. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  10222. begin
  10223. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10224. end;
  10225. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  10226. begin
  10227. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10228. end;
  10229. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  10230. begin
  10231. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10232. end;
  10233. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  10234. begin
  10235. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10236. end;
  10237. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  10238. begin
  10239. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10240. end;
  10241. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  10242. begin
  10243. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10244. end;
  10245. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  10246. begin
  10247. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10248. end;
  10249. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  10250. begin
  10251. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10252. end;
  10253. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  10254. begin
  10255. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10256. end;
  10257. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  10258. begin
  10259. pTDefRegMap(@Self)^.val := thebits;
  10260. end;
  10261. function TRTCC_RTCDATE.getw : TBits_32; inline;
  10262. begin
  10263. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10264. end;
  10265. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  10266. begin
  10267. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10268. end;
  10269. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  10270. begin
  10271. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10272. end;
  10273. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  10274. begin
  10275. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10276. end;
  10277. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  10278. begin
  10279. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10280. end;
  10281. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  10282. begin
  10283. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10284. end;
  10285. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  10286. begin
  10287. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10288. end;
  10289. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  10290. begin
  10291. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10292. end;
  10293. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  10294. begin
  10295. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10296. end;
  10297. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  10298. begin
  10299. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10300. end;
  10301. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  10302. begin
  10303. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10304. end;
  10305. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  10306. begin
  10307. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10308. end;
  10309. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  10310. begin
  10311. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10312. end;
  10313. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  10314. begin
  10315. pTDefRegMap(@Self)^.val := thebits;
  10316. end;
  10317. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  10318. begin
  10319. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10320. end;
  10321. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  10322. begin
  10323. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10324. end;
  10325. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  10326. begin
  10327. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10328. end;
  10329. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  10330. begin
  10331. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10332. end;
  10333. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  10334. begin
  10335. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10336. end;
  10337. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  10338. begin
  10339. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10340. end;
  10341. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  10342. begin
  10343. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10344. end;
  10345. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  10346. begin
  10347. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10348. end;
  10349. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  10350. begin
  10351. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10352. end;
  10353. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  10354. begin
  10355. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10356. end;
  10357. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  10358. begin
  10359. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10360. end;
  10361. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  10362. begin
  10363. pTDefRegMap(@Self)^.val := thebits;
  10364. end;
  10365. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  10366. begin
  10367. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10368. end;
  10369. procedure TTMR1_T1CON.setTCS; inline;
  10370. begin
  10371. pTDefRegMap(@Self)^.&set := $00000002;
  10372. end;
  10373. procedure TTMR1_T1CON.clearTCS; inline;
  10374. begin
  10375. pTDefRegMap(@Self)^.clr := $00000002;
  10376. end;
  10377. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  10378. begin
  10379. if thebits = 0 then
  10380. pTDefRegMap(@Self)^.clr := $00000002
  10381. else
  10382. pTDefRegMap(@Self)^.&set := $00000002;
  10383. end;
  10384. function TTMR1_T1CON.getTCS : TBits_1; inline;
  10385. begin
  10386. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10387. end;
  10388. procedure TTMR1_T1CON.setTSYNC; inline;
  10389. begin
  10390. pTDefRegMap(@Self)^.&set := $00000004;
  10391. end;
  10392. procedure TTMR1_T1CON.clearTSYNC; inline;
  10393. begin
  10394. pTDefRegMap(@Self)^.clr := $00000004;
  10395. end;
  10396. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  10397. begin
  10398. if thebits = 0 then
  10399. pTDefRegMap(@Self)^.clr := $00000004
  10400. else
  10401. pTDefRegMap(@Self)^.&set := $00000004;
  10402. end;
  10403. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  10404. begin
  10405. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10406. end;
  10407. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  10408. begin
  10409. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  10410. end;
  10411. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  10412. begin
  10413. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  10414. end;
  10415. procedure TTMR1_T1CON.setTGATE; inline;
  10416. begin
  10417. pTDefRegMap(@Self)^.&set := $00000080;
  10418. end;
  10419. procedure TTMR1_T1CON.clearTGATE; inline;
  10420. begin
  10421. pTDefRegMap(@Self)^.clr := $00000080;
  10422. end;
  10423. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  10424. begin
  10425. if thebits = 0 then
  10426. pTDefRegMap(@Self)^.clr := $00000080
  10427. else
  10428. pTDefRegMap(@Self)^.&set := $00000080;
  10429. end;
  10430. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  10431. begin
  10432. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10433. end;
  10434. procedure TTMR1_T1CON.setTWIP; inline;
  10435. begin
  10436. pTDefRegMap(@Self)^.&set := $00000800;
  10437. end;
  10438. procedure TTMR1_T1CON.clearTWIP; inline;
  10439. begin
  10440. pTDefRegMap(@Self)^.clr := $00000800;
  10441. end;
  10442. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  10443. begin
  10444. if thebits = 0 then
  10445. pTDefRegMap(@Self)^.clr := $00000800
  10446. else
  10447. pTDefRegMap(@Self)^.&set := $00000800;
  10448. end;
  10449. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  10450. begin
  10451. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  10452. end;
  10453. procedure TTMR1_T1CON.setTWDIS; inline;
  10454. begin
  10455. pTDefRegMap(@Self)^.&set := $00001000;
  10456. end;
  10457. procedure TTMR1_T1CON.clearTWDIS; inline;
  10458. begin
  10459. pTDefRegMap(@Self)^.clr := $00001000;
  10460. end;
  10461. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  10462. begin
  10463. if thebits = 0 then
  10464. pTDefRegMap(@Self)^.clr := $00001000
  10465. else
  10466. pTDefRegMap(@Self)^.&set := $00001000;
  10467. end;
  10468. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  10469. begin
  10470. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10471. end;
  10472. procedure TTMR1_T1CON.setSIDL; inline;
  10473. begin
  10474. pTDefRegMap(@Self)^.&set := $00002000;
  10475. end;
  10476. procedure TTMR1_T1CON.clearSIDL; inline;
  10477. begin
  10478. pTDefRegMap(@Self)^.clr := $00002000;
  10479. end;
  10480. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  10481. begin
  10482. if thebits = 0 then
  10483. pTDefRegMap(@Self)^.clr := $00002000
  10484. else
  10485. pTDefRegMap(@Self)^.&set := $00002000;
  10486. end;
  10487. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  10488. begin
  10489. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10490. end;
  10491. procedure TTMR1_T1CON.setON; inline;
  10492. begin
  10493. pTDefRegMap(@Self)^.&set := $00008000;
  10494. end;
  10495. procedure TTMR1_T1CON.clearON; inline;
  10496. begin
  10497. pTDefRegMap(@Self)^.clr := $00008000;
  10498. end;
  10499. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  10500. begin
  10501. if thebits = 0 then
  10502. pTDefRegMap(@Self)^.clr := $00008000
  10503. else
  10504. pTDefRegMap(@Self)^.&set := $00008000;
  10505. end;
  10506. function TTMR1_T1CON.getON : TBits_1; inline;
  10507. begin
  10508. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10509. end;
  10510. procedure TTMR1_T1CON.setTCKPS0; inline;
  10511. begin
  10512. pTDefRegMap(@Self)^.&set := $00000010;
  10513. end;
  10514. procedure TTMR1_T1CON.clearTCKPS0; inline;
  10515. begin
  10516. pTDefRegMap(@Self)^.clr := $00000010;
  10517. end;
  10518. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  10519. begin
  10520. if thebits = 0 then
  10521. pTDefRegMap(@Self)^.clr := $00000010
  10522. else
  10523. pTDefRegMap(@Self)^.&set := $00000010;
  10524. end;
  10525. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  10526. begin
  10527. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10528. end;
  10529. procedure TTMR1_T1CON.setTCKPS1; inline;
  10530. begin
  10531. pTDefRegMap(@Self)^.&set := $00000020;
  10532. end;
  10533. procedure TTMR1_T1CON.clearTCKPS1; inline;
  10534. begin
  10535. pTDefRegMap(@Self)^.clr := $00000020;
  10536. end;
  10537. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  10538. begin
  10539. if thebits = 0 then
  10540. pTDefRegMap(@Self)^.clr := $00000020
  10541. else
  10542. pTDefRegMap(@Self)^.&set := $00000020;
  10543. end;
  10544. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  10545. begin
  10546. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10547. end;
  10548. procedure TTMR1_T1CON.setTSIDL; inline;
  10549. begin
  10550. pTDefRegMap(@Self)^.&set := $00002000;
  10551. end;
  10552. procedure TTMR1_T1CON.clearTSIDL; inline;
  10553. begin
  10554. pTDefRegMap(@Self)^.clr := $00002000;
  10555. end;
  10556. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  10557. begin
  10558. if thebits = 0 then
  10559. pTDefRegMap(@Self)^.clr := $00002000
  10560. else
  10561. pTDefRegMap(@Self)^.&set := $00002000;
  10562. end;
  10563. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  10564. begin
  10565. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10566. end;
  10567. procedure TTMR1_T1CON.setTON; inline;
  10568. begin
  10569. pTDefRegMap(@Self)^.&set := $00008000;
  10570. end;
  10571. procedure TTMR1_T1CON.clearTON; inline;
  10572. begin
  10573. pTDefRegMap(@Self)^.clr := $00008000;
  10574. end;
  10575. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  10576. begin
  10577. if thebits = 0 then
  10578. pTDefRegMap(@Self)^.clr := $00008000
  10579. else
  10580. pTDefRegMap(@Self)^.&set := $00008000;
  10581. end;
  10582. function TTMR1_T1CON.getTON : TBits_1; inline;
  10583. begin
  10584. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10585. end;
  10586. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  10587. begin
  10588. pTDefRegMap(@Self)^.val := thebits;
  10589. end;
  10590. function TTMR1_T1CON.getw : TBits_32; inline;
  10591. begin
  10592. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10593. end;
  10594. procedure TTMR2_T2CON.setTCS; inline;
  10595. begin
  10596. pTDefRegMap(@Self)^.&set := $00000002;
  10597. end;
  10598. procedure TTMR2_T2CON.clearTCS; inline;
  10599. begin
  10600. pTDefRegMap(@Self)^.clr := $00000002;
  10601. end;
  10602. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  10603. begin
  10604. if thebits = 0 then
  10605. pTDefRegMap(@Self)^.clr := $00000002
  10606. else
  10607. pTDefRegMap(@Self)^.&set := $00000002;
  10608. end;
  10609. function TTMR2_T2CON.getTCS : TBits_1; inline;
  10610. begin
  10611. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10612. end;
  10613. procedure TTMR2_T2CON.setT32; inline;
  10614. begin
  10615. pTDefRegMap(@Self)^.&set := $00000008;
  10616. end;
  10617. procedure TTMR2_T2CON.clearT32; inline;
  10618. begin
  10619. pTDefRegMap(@Self)^.clr := $00000008;
  10620. end;
  10621. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  10622. begin
  10623. if thebits = 0 then
  10624. pTDefRegMap(@Self)^.clr := $00000008
  10625. else
  10626. pTDefRegMap(@Self)^.&set := $00000008;
  10627. end;
  10628. function TTMR2_T2CON.getT32 : TBits_1; inline;
  10629. begin
  10630. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10631. end;
  10632. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  10633. begin
  10634. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10635. end;
  10636. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  10637. begin
  10638. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10639. end;
  10640. procedure TTMR2_T2CON.setTGATE; inline;
  10641. begin
  10642. pTDefRegMap(@Self)^.&set := $00000080;
  10643. end;
  10644. procedure TTMR2_T2CON.clearTGATE; inline;
  10645. begin
  10646. pTDefRegMap(@Self)^.clr := $00000080;
  10647. end;
  10648. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  10649. begin
  10650. if thebits = 0 then
  10651. pTDefRegMap(@Self)^.clr := $00000080
  10652. else
  10653. pTDefRegMap(@Self)^.&set := $00000080;
  10654. end;
  10655. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  10656. begin
  10657. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10658. end;
  10659. procedure TTMR2_T2CON.setSIDL; inline;
  10660. begin
  10661. pTDefRegMap(@Self)^.&set := $00002000;
  10662. end;
  10663. procedure TTMR2_T2CON.clearSIDL; inline;
  10664. begin
  10665. pTDefRegMap(@Self)^.clr := $00002000;
  10666. end;
  10667. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  10668. begin
  10669. if thebits = 0 then
  10670. pTDefRegMap(@Self)^.clr := $00002000
  10671. else
  10672. pTDefRegMap(@Self)^.&set := $00002000;
  10673. end;
  10674. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  10675. begin
  10676. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10677. end;
  10678. procedure TTMR2_T2CON.setON; inline;
  10679. begin
  10680. pTDefRegMap(@Self)^.&set := $00008000;
  10681. end;
  10682. procedure TTMR2_T2CON.clearON; inline;
  10683. begin
  10684. pTDefRegMap(@Self)^.clr := $00008000;
  10685. end;
  10686. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  10687. begin
  10688. if thebits = 0 then
  10689. pTDefRegMap(@Self)^.clr := $00008000
  10690. else
  10691. pTDefRegMap(@Self)^.&set := $00008000;
  10692. end;
  10693. function TTMR2_T2CON.getON : TBits_1; inline;
  10694. begin
  10695. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10696. end;
  10697. procedure TTMR2_T2CON.setTCKPS0; inline;
  10698. begin
  10699. pTDefRegMap(@Self)^.&set := $00000010;
  10700. end;
  10701. procedure TTMR2_T2CON.clearTCKPS0; inline;
  10702. begin
  10703. pTDefRegMap(@Self)^.clr := $00000010;
  10704. end;
  10705. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  10706. begin
  10707. if thebits = 0 then
  10708. pTDefRegMap(@Self)^.clr := $00000010
  10709. else
  10710. pTDefRegMap(@Self)^.&set := $00000010;
  10711. end;
  10712. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  10713. begin
  10714. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10715. end;
  10716. procedure TTMR2_T2CON.setTCKPS1; inline;
  10717. begin
  10718. pTDefRegMap(@Self)^.&set := $00000020;
  10719. end;
  10720. procedure TTMR2_T2CON.clearTCKPS1; inline;
  10721. begin
  10722. pTDefRegMap(@Self)^.clr := $00000020;
  10723. end;
  10724. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  10725. begin
  10726. if thebits = 0 then
  10727. pTDefRegMap(@Self)^.clr := $00000020
  10728. else
  10729. pTDefRegMap(@Self)^.&set := $00000020;
  10730. end;
  10731. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  10732. begin
  10733. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10734. end;
  10735. procedure TTMR2_T2CON.setTCKPS2; inline;
  10736. begin
  10737. pTDefRegMap(@Self)^.&set := $00000040;
  10738. end;
  10739. procedure TTMR2_T2CON.clearTCKPS2; inline;
  10740. begin
  10741. pTDefRegMap(@Self)^.clr := $00000040;
  10742. end;
  10743. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  10744. begin
  10745. if thebits = 0 then
  10746. pTDefRegMap(@Self)^.clr := $00000040
  10747. else
  10748. pTDefRegMap(@Self)^.&set := $00000040;
  10749. end;
  10750. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  10751. begin
  10752. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10753. end;
  10754. procedure TTMR2_T2CON.setTSIDL; inline;
  10755. begin
  10756. pTDefRegMap(@Self)^.&set := $00002000;
  10757. end;
  10758. procedure TTMR2_T2CON.clearTSIDL; inline;
  10759. begin
  10760. pTDefRegMap(@Self)^.clr := $00002000;
  10761. end;
  10762. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  10763. begin
  10764. if thebits = 0 then
  10765. pTDefRegMap(@Self)^.clr := $00002000
  10766. else
  10767. pTDefRegMap(@Self)^.&set := $00002000;
  10768. end;
  10769. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  10770. begin
  10771. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10772. end;
  10773. procedure TTMR2_T2CON.setTON; inline;
  10774. begin
  10775. pTDefRegMap(@Self)^.&set := $00008000;
  10776. end;
  10777. procedure TTMR2_T2CON.clearTON; inline;
  10778. begin
  10779. pTDefRegMap(@Self)^.clr := $00008000;
  10780. end;
  10781. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  10782. begin
  10783. if thebits = 0 then
  10784. pTDefRegMap(@Self)^.clr := $00008000
  10785. else
  10786. pTDefRegMap(@Self)^.&set := $00008000;
  10787. end;
  10788. function TTMR2_T2CON.getTON : TBits_1; inline;
  10789. begin
  10790. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10791. end;
  10792. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  10793. begin
  10794. pTDefRegMap(@Self)^.val := thebits;
  10795. end;
  10796. function TTMR2_T2CON.getw : TBits_32; inline;
  10797. begin
  10798. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10799. end;
  10800. procedure TTMR3_T3CON.setTCS; inline;
  10801. begin
  10802. pTDefRegMap(@Self)^.&set := $00000002;
  10803. end;
  10804. procedure TTMR3_T3CON.clearTCS; inline;
  10805. begin
  10806. pTDefRegMap(@Self)^.clr := $00000002;
  10807. end;
  10808. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  10809. begin
  10810. if thebits = 0 then
  10811. pTDefRegMap(@Self)^.clr := $00000002
  10812. else
  10813. pTDefRegMap(@Self)^.&set := $00000002;
  10814. end;
  10815. function TTMR3_T3CON.getTCS : TBits_1; inline;
  10816. begin
  10817. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10818. end;
  10819. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  10820. begin
  10821. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10822. end;
  10823. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  10824. begin
  10825. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10826. end;
  10827. procedure TTMR3_T3CON.setTGATE; inline;
  10828. begin
  10829. pTDefRegMap(@Self)^.&set := $00000080;
  10830. end;
  10831. procedure TTMR3_T3CON.clearTGATE; inline;
  10832. begin
  10833. pTDefRegMap(@Self)^.clr := $00000080;
  10834. end;
  10835. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  10836. begin
  10837. if thebits = 0 then
  10838. pTDefRegMap(@Self)^.clr := $00000080
  10839. else
  10840. pTDefRegMap(@Self)^.&set := $00000080;
  10841. end;
  10842. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  10843. begin
  10844. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10845. end;
  10846. procedure TTMR3_T3CON.setSIDL; inline;
  10847. begin
  10848. pTDefRegMap(@Self)^.&set := $00002000;
  10849. end;
  10850. procedure TTMR3_T3CON.clearSIDL; inline;
  10851. begin
  10852. pTDefRegMap(@Self)^.clr := $00002000;
  10853. end;
  10854. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  10855. begin
  10856. if thebits = 0 then
  10857. pTDefRegMap(@Self)^.clr := $00002000
  10858. else
  10859. pTDefRegMap(@Self)^.&set := $00002000;
  10860. end;
  10861. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  10862. begin
  10863. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10864. end;
  10865. procedure TTMR3_T3CON.setON; inline;
  10866. begin
  10867. pTDefRegMap(@Self)^.&set := $00008000;
  10868. end;
  10869. procedure TTMR3_T3CON.clearON; inline;
  10870. begin
  10871. pTDefRegMap(@Self)^.clr := $00008000;
  10872. end;
  10873. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  10874. begin
  10875. if thebits = 0 then
  10876. pTDefRegMap(@Self)^.clr := $00008000
  10877. else
  10878. pTDefRegMap(@Self)^.&set := $00008000;
  10879. end;
  10880. function TTMR3_T3CON.getON : TBits_1; inline;
  10881. begin
  10882. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10883. end;
  10884. procedure TTMR3_T3CON.setTCKPS0; inline;
  10885. begin
  10886. pTDefRegMap(@Self)^.&set := $00000010;
  10887. end;
  10888. procedure TTMR3_T3CON.clearTCKPS0; inline;
  10889. begin
  10890. pTDefRegMap(@Self)^.clr := $00000010;
  10891. end;
  10892. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  10893. begin
  10894. if thebits = 0 then
  10895. pTDefRegMap(@Self)^.clr := $00000010
  10896. else
  10897. pTDefRegMap(@Self)^.&set := $00000010;
  10898. end;
  10899. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  10900. begin
  10901. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10902. end;
  10903. procedure TTMR3_T3CON.setTCKPS1; inline;
  10904. begin
  10905. pTDefRegMap(@Self)^.&set := $00000020;
  10906. end;
  10907. procedure TTMR3_T3CON.clearTCKPS1; inline;
  10908. begin
  10909. pTDefRegMap(@Self)^.clr := $00000020;
  10910. end;
  10911. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  10912. begin
  10913. if thebits = 0 then
  10914. pTDefRegMap(@Self)^.clr := $00000020
  10915. else
  10916. pTDefRegMap(@Self)^.&set := $00000020;
  10917. end;
  10918. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  10919. begin
  10920. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10921. end;
  10922. procedure TTMR3_T3CON.setTCKPS2; inline;
  10923. begin
  10924. pTDefRegMap(@Self)^.&set := $00000040;
  10925. end;
  10926. procedure TTMR3_T3CON.clearTCKPS2; inline;
  10927. begin
  10928. pTDefRegMap(@Self)^.clr := $00000040;
  10929. end;
  10930. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  10931. begin
  10932. if thebits = 0 then
  10933. pTDefRegMap(@Self)^.clr := $00000040
  10934. else
  10935. pTDefRegMap(@Self)^.&set := $00000040;
  10936. end;
  10937. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  10938. begin
  10939. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10940. end;
  10941. procedure TTMR3_T3CON.setTSIDL; inline;
  10942. begin
  10943. pTDefRegMap(@Self)^.&set := $00002000;
  10944. end;
  10945. procedure TTMR3_T3CON.clearTSIDL; inline;
  10946. begin
  10947. pTDefRegMap(@Self)^.clr := $00002000;
  10948. end;
  10949. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  10950. begin
  10951. if thebits = 0 then
  10952. pTDefRegMap(@Self)^.clr := $00002000
  10953. else
  10954. pTDefRegMap(@Self)^.&set := $00002000;
  10955. end;
  10956. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  10957. begin
  10958. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10959. end;
  10960. procedure TTMR3_T3CON.setTON; inline;
  10961. begin
  10962. pTDefRegMap(@Self)^.&set := $00008000;
  10963. end;
  10964. procedure TTMR3_T3CON.clearTON; inline;
  10965. begin
  10966. pTDefRegMap(@Self)^.clr := $00008000;
  10967. end;
  10968. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  10969. begin
  10970. if thebits = 0 then
  10971. pTDefRegMap(@Self)^.clr := $00008000
  10972. else
  10973. pTDefRegMap(@Self)^.&set := $00008000;
  10974. end;
  10975. function TTMR3_T3CON.getTON : TBits_1; inline;
  10976. begin
  10977. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10978. end;
  10979. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  10980. begin
  10981. pTDefRegMap(@Self)^.val := thebits;
  10982. end;
  10983. function TTMR3_T3CON.getw : TBits_32; inline;
  10984. begin
  10985. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10986. end;
  10987. procedure TTMR4_T4CON.setTCS; inline;
  10988. begin
  10989. pTDefRegMap(@Self)^.&set := $00000002;
  10990. end;
  10991. procedure TTMR4_T4CON.clearTCS; inline;
  10992. begin
  10993. pTDefRegMap(@Self)^.clr := $00000002;
  10994. end;
  10995. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  10996. begin
  10997. if thebits = 0 then
  10998. pTDefRegMap(@Self)^.clr := $00000002
  10999. else
  11000. pTDefRegMap(@Self)^.&set := $00000002;
  11001. end;
  11002. function TTMR4_T4CON.getTCS : TBits_1; inline;
  11003. begin
  11004. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11005. end;
  11006. procedure TTMR4_T4CON.setT32; inline;
  11007. begin
  11008. pTDefRegMap(@Self)^.&set := $00000008;
  11009. end;
  11010. procedure TTMR4_T4CON.clearT32; inline;
  11011. begin
  11012. pTDefRegMap(@Self)^.clr := $00000008;
  11013. end;
  11014. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  11015. begin
  11016. if thebits = 0 then
  11017. pTDefRegMap(@Self)^.clr := $00000008
  11018. else
  11019. pTDefRegMap(@Self)^.&set := $00000008;
  11020. end;
  11021. function TTMR4_T4CON.getT32 : TBits_1; inline;
  11022. begin
  11023. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11024. end;
  11025. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  11026. begin
  11027. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11028. end;
  11029. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  11030. begin
  11031. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11032. end;
  11033. procedure TTMR4_T4CON.setTGATE; inline;
  11034. begin
  11035. pTDefRegMap(@Self)^.&set := $00000080;
  11036. end;
  11037. procedure TTMR4_T4CON.clearTGATE; inline;
  11038. begin
  11039. pTDefRegMap(@Self)^.clr := $00000080;
  11040. end;
  11041. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  11042. begin
  11043. if thebits = 0 then
  11044. pTDefRegMap(@Self)^.clr := $00000080
  11045. else
  11046. pTDefRegMap(@Self)^.&set := $00000080;
  11047. end;
  11048. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  11049. begin
  11050. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11051. end;
  11052. procedure TTMR4_T4CON.setSIDL; inline;
  11053. begin
  11054. pTDefRegMap(@Self)^.&set := $00002000;
  11055. end;
  11056. procedure TTMR4_T4CON.clearSIDL; inline;
  11057. begin
  11058. pTDefRegMap(@Self)^.clr := $00002000;
  11059. end;
  11060. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  11061. begin
  11062. if thebits = 0 then
  11063. pTDefRegMap(@Self)^.clr := $00002000
  11064. else
  11065. pTDefRegMap(@Self)^.&set := $00002000;
  11066. end;
  11067. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  11068. begin
  11069. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11070. end;
  11071. procedure TTMR4_T4CON.setON; inline;
  11072. begin
  11073. pTDefRegMap(@Self)^.&set := $00008000;
  11074. end;
  11075. procedure TTMR4_T4CON.clearON; inline;
  11076. begin
  11077. pTDefRegMap(@Self)^.clr := $00008000;
  11078. end;
  11079. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  11080. begin
  11081. if thebits = 0 then
  11082. pTDefRegMap(@Self)^.clr := $00008000
  11083. else
  11084. pTDefRegMap(@Self)^.&set := $00008000;
  11085. end;
  11086. function TTMR4_T4CON.getON : TBits_1; inline;
  11087. begin
  11088. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11089. end;
  11090. procedure TTMR4_T4CON.setTCKPS0; inline;
  11091. begin
  11092. pTDefRegMap(@Self)^.&set := $00000010;
  11093. end;
  11094. procedure TTMR4_T4CON.clearTCKPS0; inline;
  11095. begin
  11096. pTDefRegMap(@Self)^.clr := $00000010;
  11097. end;
  11098. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  11099. begin
  11100. if thebits = 0 then
  11101. pTDefRegMap(@Self)^.clr := $00000010
  11102. else
  11103. pTDefRegMap(@Self)^.&set := $00000010;
  11104. end;
  11105. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  11106. begin
  11107. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11108. end;
  11109. procedure TTMR4_T4CON.setTCKPS1; inline;
  11110. begin
  11111. pTDefRegMap(@Self)^.&set := $00000020;
  11112. end;
  11113. procedure TTMR4_T4CON.clearTCKPS1; inline;
  11114. begin
  11115. pTDefRegMap(@Self)^.clr := $00000020;
  11116. end;
  11117. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  11118. begin
  11119. if thebits = 0 then
  11120. pTDefRegMap(@Self)^.clr := $00000020
  11121. else
  11122. pTDefRegMap(@Self)^.&set := $00000020;
  11123. end;
  11124. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  11125. begin
  11126. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11127. end;
  11128. procedure TTMR4_T4CON.setTCKPS2; inline;
  11129. begin
  11130. pTDefRegMap(@Self)^.&set := $00000040;
  11131. end;
  11132. procedure TTMR4_T4CON.clearTCKPS2; inline;
  11133. begin
  11134. pTDefRegMap(@Self)^.clr := $00000040;
  11135. end;
  11136. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  11137. begin
  11138. if thebits = 0 then
  11139. pTDefRegMap(@Self)^.clr := $00000040
  11140. else
  11141. pTDefRegMap(@Self)^.&set := $00000040;
  11142. end;
  11143. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  11144. begin
  11145. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11146. end;
  11147. procedure TTMR4_T4CON.setTSIDL; inline;
  11148. begin
  11149. pTDefRegMap(@Self)^.&set := $00002000;
  11150. end;
  11151. procedure TTMR4_T4CON.clearTSIDL; inline;
  11152. begin
  11153. pTDefRegMap(@Self)^.clr := $00002000;
  11154. end;
  11155. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  11156. begin
  11157. if thebits = 0 then
  11158. pTDefRegMap(@Self)^.clr := $00002000
  11159. else
  11160. pTDefRegMap(@Self)^.&set := $00002000;
  11161. end;
  11162. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  11163. begin
  11164. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11165. end;
  11166. procedure TTMR4_T4CON.setTON; inline;
  11167. begin
  11168. pTDefRegMap(@Self)^.&set := $00008000;
  11169. end;
  11170. procedure TTMR4_T4CON.clearTON; inline;
  11171. begin
  11172. pTDefRegMap(@Self)^.clr := $00008000;
  11173. end;
  11174. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  11175. begin
  11176. if thebits = 0 then
  11177. pTDefRegMap(@Self)^.clr := $00008000
  11178. else
  11179. pTDefRegMap(@Self)^.&set := $00008000;
  11180. end;
  11181. function TTMR4_T4CON.getTON : TBits_1; inline;
  11182. begin
  11183. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11184. end;
  11185. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  11186. begin
  11187. pTDefRegMap(@Self)^.val := thebits;
  11188. end;
  11189. function TTMR4_T4CON.getw : TBits_32; inline;
  11190. begin
  11191. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11192. end;
  11193. procedure TTMR5_T5CON.setTCS; inline;
  11194. begin
  11195. pTDefRegMap(@Self)^.&set := $00000002;
  11196. end;
  11197. procedure TTMR5_T5CON.clearTCS; inline;
  11198. begin
  11199. pTDefRegMap(@Self)^.clr := $00000002;
  11200. end;
  11201. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  11202. begin
  11203. if thebits = 0 then
  11204. pTDefRegMap(@Self)^.clr := $00000002
  11205. else
  11206. pTDefRegMap(@Self)^.&set := $00000002;
  11207. end;
  11208. function TTMR5_T5CON.getTCS : TBits_1; inline;
  11209. begin
  11210. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11211. end;
  11212. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  11213. begin
  11214. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11215. end;
  11216. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  11217. begin
  11218. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11219. end;
  11220. procedure TTMR5_T5CON.setTGATE; inline;
  11221. begin
  11222. pTDefRegMap(@Self)^.&set := $00000080;
  11223. end;
  11224. procedure TTMR5_T5CON.clearTGATE; inline;
  11225. begin
  11226. pTDefRegMap(@Self)^.clr := $00000080;
  11227. end;
  11228. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  11229. begin
  11230. if thebits = 0 then
  11231. pTDefRegMap(@Self)^.clr := $00000080
  11232. else
  11233. pTDefRegMap(@Self)^.&set := $00000080;
  11234. end;
  11235. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  11236. begin
  11237. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11238. end;
  11239. procedure TTMR5_T5CON.setSIDL; inline;
  11240. begin
  11241. pTDefRegMap(@Self)^.&set := $00002000;
  11242. end;
  11243. procedure TTMR5_T5CON.clearSIDL; inline;
  11244. begin
  11245. pTDefRegMap(@Self)^.clr := $00002000;
  11246. end;
  11247. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  11248. begin
  11249. if thebits = 0 then
  11250. pTDefRegMap(@Self)^.clr := $00002000
  11251. else
  11252. pTDefRegMap(@Self)^.&set := $00002000;
  11253. end;
  11254. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  11255. begin
  11256. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11257. end;
  11258. procedure TTMR5_T5CON.setON; inline;
  11259. begin
  11260. pTDefRegMap(@Self)^.&set := $00008000;
  11261. end;
  11262. procedure TTMR5_T5CON.clearON; inline;
  11263. begin
  11264. pTDefRegMap(@Self)^.clr := $00008000;
  11265. end;
  11266. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  11267. begin
  11268. if thebits = 0 then
  11269. pTDefRegMap(@Self)^.clr := $00008000
  11270. else
  11271. pTDefRegMap(@Self)^.&set := $00008000;
  11272. end;
  11273. function TTMR5_T5CON.getON : TBits_1; inline;
  11274. begin
  11275. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11276. end;
  11277. procedure TTMR5_T5CON.setTCKPS0; inline;
  11278. begin
  11279. pTDefRegMap(@Self)^.&set := $00000010;
  11280. end;
  11281. procedure TTMR5_T5CON.clearTCKPS0; inline;
  11282. begin
  11283. pTDefRegMap(@Self)^.clr := $00000010;
  11284. end;
  11285. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  11286. begin
  11287. if thebits = 0 then
  11288. pTDefRegMap(@Self)^.clr := $00000010
  11289. else
  11290. pTDefRegMap(@Self)^.&set := $00000010;
  11291. end;
  11292. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  11293. begin
  11294. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11295. end;
  11296. procedure TTMR5_T5CON.setTCKPS1; inline;
  11297. begin
  11298. pTDefRegMap(@Self)^.&set := $00000020;
  11299. end;
  11300. procedure TTMR5_T5CON.clearTCKPS1; inline;
  11301. begin
  11302. pTDefRegMap(@Self)^.clr := $00000020;
  11303. end;
  11304. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  11305. begin
  11306. if thebits = 0 then
  11307. pTDefRegMap(@Self)^.clr := $00000020
  11308. else
  11309. pTDefRegMap(@Self)^.&set := $00000020;
  11310. end;
  11311. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  11312. begin
  11313. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11314. end;
  11315. procedure TTMR5_T5CON.setTCKPS2; inline;
  11316. begin
  11317. pTDefRegMap(@Self)^.&set := $00000040;
  11318. end;
  11319. procedure TTMR5_T5CON.clearTCKPS2; inline;
  11320. begin
  11321. pTDefRegMap(@Self)^.clr := $00000040;
  11322. end;
  11323. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  11324. begin
  11325. if thebits = 0 then
  11326. pTDefRegMap(@Self)^.clr := $00000040
  11327. else
  11328. pTDefRegMap(@Self)^.&set := $00000040;
  11329. end;
  11330. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  11331. begin
  11332. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11333. end;
  11334. procedure TTMR5_T5CON.setTSIDL; inline;
  11335. begin
  11336. pTDefRegMap(@Self)^.&set := $00002000;
  11337. end;
  11338. procedure TTMR5_T5CON.clearTSIDL; inline;
  11339. begin
  11340. pTDefRegMap(@Self)^.clr := $00002000;
  11341. end;
  11342. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  11343. begin
  11344. if thebits = 0 then
  11345. pTDefRegMap(@Self)^.clr := $00002000
  11346. else
  11347. pTDefRegMap(@Self)^.&set := $00002000;
  11348. end;
  11349. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  11350. begin
  11351. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11352. end;
  11353. procedure TTMR5_T5CON.setTON; inline;
  11354. begin
  11355. pTDefRegMap(@Self)^.&set := $00008000;
  11356. end;
  11357. procedure TTMR5_T5CON.clearTON; inline;
  11358. begin
  11359. pTDefRegMap(@Self)^.clr := $00008000;
  11360. end;
  11361. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  11362. begin
  11363. if thebits = 0 then
  11364. pTDefRegMap(@Self)^.clr := $00008000
  11365. else
  11366. pTDefRegMap(@Self)^.&set := $00008000;
  11367. end;
  11368. function TTMR5_T5CON.getTON : TBits_1; inline;
  11369. begin
  11370. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11371. end;
  11372. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  11373. begin
  11374. pTDefRegMap(@Self)^.val := thebits;
  11375. end;
  11376. function TTMR5_T5CON.getw : TBits_32; inline;
  11377. begin
  11378. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11379. end;
  11380. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  11381. begin
  11382. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11383. end;
  11384. function TICAP1_IC1CON.getICM : TBits_3; inline;
  11385. begin
  11386. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11387. end;
  11388. procedure TICAP1_IC1CON.setICBNE; inline;
  11389. begin
  11390. pTDefRegMap(@Self)^.&set := $00000008;
  11391. end;
  11392. procedure TICAP1_IC1CON.clearICBNE; inline;
  11393. begin
  11394. pTDefRegMap(@Self)^.clr := $00000008;
  11395. end;
  11396. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  11397. begin
  11398. if thebits = 0 then
  11399. pTDefRegMap(@Self)^.clr := $00000008
  11400. else
  11401. pTDefRegMap(@Self)^.&set := $00000008;
  11402. end;
  11403. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  11404. begin
  11405. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11406. end;
  11407. procedure TICAP1_IC1CON.setICOV; inline;
  11408. begin
  11409. pTDefRegMap(@Self)^.&set := $00000010;
  11410. end;
  11411. procedure TICAP1_IC1CON.clearICOV; inline;
  11412. begin
  11413. pTDefRegMap(@Self)^.clr := $00000010;
  11414. end;
  11415. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  11416. begin
  11417. if thebits = 0 then
  11418. pTDefRegMap(@Self)^.clr := $00000010
  11419. else
  11420. pTDefRegMap(@Self)^.&set := $00000010;
  11421. end;
  11422. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  11423. begin
  11424. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11425. end;
  11426. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  11427. begin
  11428. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11429. end;
  11430. function TICAP1_IC1CON.getICI : TBits_2; inline;
  11431. begin
  11432. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11433. end;
  11434. procedure TICAP1_IC1CON.setICTMR; inline;
  11435. begin
  11436. pTDefRegMap(@Self)^.&set := $00000080;
  11437. end;
  11438. procedure TICAP1_IC1CON.clearICTMR; inline;
  11439. begin
  11440. pTDefRegMap(@Self)^.clr := $00000080;
  11441. end;
  11442. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  11443. begin
  11444. if thebits = 0 then
  11445. pTDefRegMap(@Self)^.clr := $00000080
  11446. else
  11447. pTDefRegMap(@Self)^.&set := $00000080;
  11448. end;
  11449. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  11450. begin
  11451. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11452. end;
  11453. procedure TICAP1_IC1CON.setC32; inline;
  11454. begin
  11455. pTDefRegMap(@Self)^.&set := $00000100;
  11456. end;
  11457. procedure TICAP1_IC1CON.clearC32; inline;
  11458. begin
  11459. pTDefRegMap(@Self)^.clr := $00000100;
  11460. end;
  11461. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  11462. begin
  11463. if thebits = 0 then
  11464. pTDefRegMap(@Self)^.clr := $00000100
  11465. else
  11466. pTDefRegMap(@Self)^.&set := $00000100;
  11467. end;
  11468. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  11469. begin
  11470. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11471. end;
  11472. procedure TICAP1_IC1CON.setFEDGE; inline;
  11473. begin
  11474. pTDefRegMap(@Self)^.&set := $00000200;
  11475. end;
  11476. procedure TICAP1_IC1CON.clearFEDGE; inline;
  11477. begin
  11478. pTDefRegMap(@Self)^.clr := $00000200;
  11479. end;
  11480. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  11481. begin
  11482. if thebits = 0 then
  11483. pTDefRegMap(@Self)^.clr := $00000200
  11484. else
  11485. pTDefRegMap(@Self)^.&set := $00000200;
  11486. end;
  11487. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  11488. begin
  11489. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11490. end;
  11491. procedure TICAP1_IC1CON.setSIDL; inline;
  11492. begin
  11493. pTDefRegMap(@Self)^.&set := $00002000;
  11494. end;
  11495. procedure TICAP1_IC1CON.clearSIDL; inline;
  11496. begin
  11497. pTDefRegMap(@Self)^.clr := $00002000;
  11498. end;
  11499. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  11500. begin
  11501. if thebits = 0 then
  11502. pTDefRegMap(@Self)^.clr := $00002000
  11503. else
  11504. pTDefRegMap(@Self)^.&set := $00002000;
  11505. end;
  11506. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  11507. begin
  11508. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11509. end;
  11510. procedure TICAP1_IC1CON.setON; inline;
  11511. begin
  11512. pTDefRegMap(@Self)^.&set := $00008000;
  11513. end;
  11514. procedure TICAP1_IC1CON.clearON; inline;
  11515. begin
  11516. pTDefRegMap(@Self)^.clr := $00008000;
  11517. end;
  11518. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  11519. begin
  11520. if thebits = 0 then
  11521. pTDefRegMap(@Self)^.clr := $00008000
  11522. else
  11523. pTDefRegMap(@Self)^.&set := $00008000;
  11524. end;
  11525. function TICAP1_IC1CON.getON : TBits_1; inline;
  11526. begin
  11527. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11528. end;
  11529. procedure TICAP1_IC1CON.setICM0; inline;
  11530. begin
  11531. pTDefRegMap(@Self)^.&set := $00000001;
  11532. end;
  11533. procedure TICAP1_IC1CON.clearICM0; inline;
  11534. begin
  11535. pTDefRegMap(@Self)^.clr := $00000001;
  11536. end;
  11537. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  11538. begin
  11539. if thebits = 0 then
  11540. pTDefRegMap(@Self)^.clr := $00000001
  11541. else
  11542. pTDefRegMap(@Self)^.&set := $00000001;
  11543. end;
  11544. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  11545. begin
  11546. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11547. end;
  11548. procedure TICAP1_IC1CON.setICM1; inline;
  11549. begin
  11550. pTDefRegMap(@Self)^.&set := $00000002;
  11551. end;
  11552. procedure TICAP1_IC1CON.clearICM1; inline;
  11553. begin
  11554. pTDefRegMap(@Self)^.clr := $00000002;
  11555. end;
  11556. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  11557. begin
  11558. if thebits = 0 then
  11559. pTDefRegMap(@Self)^.clr := $00000002
  11560. else
  11561. pTDefRegMap(@Self)^.&set := $00000002;
  11562. end;
  11563. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  11564. begin
  11565. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11566. end;
  11567. procedure TICAP1_IC1CON.setICM2; inline;
  11568. begin
  11569. pTDefRegMap(@Self)^.&set := $00000004;
  11570. end;
  11571. procedure TICAP1_IC1CON.clearICM2; inline;
  11572. begin
  11573. pTDefRegMap(@Self)^.clr := $00000004;
  11574. end;
  11575. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  11576. begin
  11577. if thebits = 0 then
  11578. pTDefRegMap(@Self)^.clr := $00000004
  11579. else
  11580. pTDefRegMap(@Self)^.&set := $00000004;
  11581. end;
  11582. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  11583. begin
  11584. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11585. end;
  11586. procedure TICAP1_IC1CON.setICI0; inline;
  11587. begin
  11588. pTDefRegMap(@Self)^.&set := $00000020;
  11589. end;
  11590. procedure TICAP1_IC1CON.clearICI0; inline;
  11591. begin
  11592. pTDefRegMap(@Self)^.clr := $00000020;
  11593. end;
  11594. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  11595. begin
  11596. if thebits = 0 then
  11597. pTDefRegMap(@Self)^.clr := $00000020
  11598. else
  11599. pTDefRegMap(@Self)^.&set := $00000020;
  11600. end;
  11601. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  11602. begin
  11603. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11604. end;
  11605. procedure TICAP1_IC1CON.setICI1; inline;
  11606. begin
  11607. pTDefRegMap(@Self)^.&set := $00000040;
  11608. end;
  11609. procedure TICAP1_IC1CON.clearICI1; inline;
  11610. begin
  11611. pTDefRegMap(@Self)^.clr := $00000040;
  11612. end;
  11613. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  11614. begin
  11615. if thebits = 0 then
  11616. pTDefRegMap(@Self)^.clr := $00000040
  11617. else
  11618. pTDefRegMap(@Self)^.&set := $00000040;
  11619. end;
  11620. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  11621. begin
  11622. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11623. end;
  11624. procedure TICAP1_IC1CON.setICSIDL; inline;
  11625. begin
  11626. pTDefRegMap(@Self)^.&set := $00002000;
  11627. end;
  11628. procedure TICAP1_IC1CON.clearICSIDL; inline;
  11629. begin
  11630. pTDefRegMap(@Self)^.clr := $00002000;
  11631. end;
  11632. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  11633. begin
  11634. if thebits = 0 then
  11635. pTDefRegMap(@Self)^.clr := $00002000
  11636. else
  11637. pTDefRegMap(@Self)^.&set := $00002000;
  11638. end;
  11639. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  11640. begin
  11641. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11642. end;
  11643. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  11644. begin
  11645. pTDefRegMap(@Self)^.val := thebits;
  11646. end;
  11647. function TICAP1_IC1CON.getw : TBits_32; inline;
  11648. begin
  11649. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11650. end;
  11651. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  11652. begin
  11653. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11654. end;
  11655. function TICAP2_IC2CON.getICM : TBits_3; inline;
  11656. begin
  11657. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11658. end;
  11659. procedure TICAP2_IC2CON.setICBNE; inline;
  11660. begin
  11661. pTDefRegMap(@Self)^.&set := $00000008;
  11662. end;
  11663. procedure TICAP2_IC2CON.clearICBNE; inline;
  11664. begin
  11665. pTDefRegMap(@Self)^.clr := $00000008;
  11666. end;
  11667. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  11668. begin
  11669. if thebits = 0 then
  11670. pTDefRegMap(@Self)^.clr := $00000008
  11671. else
  11672. pTDefRegMap(@Self)^.&set := $00000008;
  11673. end;
  11674. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  11675. begin
  11676. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11677. end;
  11678. procedure TICAP2_IC2CON.setICOV; inline;
  11679. begin
  11680. pTDefRegMap(@Self)^.&set := $00000010;
  11681. end;
  11682. procedure TICAP2_IC2CON.clearICOV; inline;
  11683. begin
  11684. pTDefRegMap(@Self)^.clr := $00000010;
  11685. end;
  11686. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  11687. begin
  11688. if thebits = 0 then
  11689. pTDefRegMap(@Self)^.clr := $00000010
  11690. else
  11691. pTDefRegMap(@Self)^.&set := $00000010;
  11692. end;
  11693. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  11694. begin
  11695. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11696. end;
  11697. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  11698. begin
  11699. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11700. end;
  11701. function TICAP2_IC2CON.getICI : TBits_2; inline;
  11702. begin
  11703. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11704. end;
  11705. procedure TICAP2_IC2CON.setICTMR; inline;
  11706. begin
  11707. pTDefRegMap(@Self)^.&set := $00000080;
  11708. end;
  11709. procedure TICAP2_IC2CON.clearICTMR; inline;
  11710. begin
  11711. pTDefRegMap(@Self)^.clr := $00000080;
  11712. end;
  11713. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  11714. begin
  11715. if thebits = 0 then
  11716. pTDefRegMap(@Self)^.clr := $00000080
  11717. else
  11718. pTDefRegMap(@Self)^.&set := $00000080;
  11719. end;
  11720. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  11721. begin
  11722. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11723. end;
  11724. procedure TICAP2_IC2CON.setC32; inline;
  11725. begin
  11726. pTDefRegMap(@Self)^.&set := $00000100;
  11727. end;
  11728. procedure TICAP2_IC2CON.clearC32; inline;
  11729. begin
  11730. pTDefRegMap(@Self)^.clr := $00000100;
  11731. end;
  11732. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  11733. begin
  11734. if thebits = 0 then
  11735. pTDefRegMap(@Self)^.clr := $00000100
  11736. else
  11737. pTDefRegMap(@Self)^.&set := $00000100;
  11738. end;
  11739. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  11740. begin
  11741. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11742. end;
  11743. procedure TICAP2_IC2CON.setFEDGE; inline;
  11744. begin
  11745. pTDefRegMap(@Self)^.&set := $00000200;
  11746. end;
  11747. procedure TICAP2_IC2CON.clearFEDGE; inline;
  11748. begin
  11749. pTDefRegMap(@Self)^.clr := $00000200;
  11750. end;
  11751. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  11752. begin
  11753. if thebits = 0 then
  11754. pTDefRegMap(@Self)^.clr := $00000200
  11755. else
  11756. pTDefRegMap(@Self)^.&set := $00000200;
  11757. end;
  11758. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  11759. begin
  11760. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11761. end;
  11762. procedure TICAP2_IC2CON.setSIDL; inline;
  11763. begin
  11764. pTDefRegMap(@Self)^.&set := $00002000;
  11765. end;
  11766. procedure TICAP2_IC2CON.clearSIDL; inline;
  11767. begin
  11768. pTDefRegMap(@Self)^.clr := $00002000;
  11769. end;
  11770. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  11771. begin
  11772. if thebits = 0 then
  11773. pTDefRegMap(@Self)^.clr := $00002000
  11774. else
  11775. pTDefRegMap(@Self)^.&set := $00002000;
  11776. end;
  11777. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  11778. begin
  11779. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11780. end;
  11781. procedure TICAP2_IC2CON.setON; inline;
  11782. begin
  11783. pTDefRegMap(@Self)^.&set := $00008000;
  11784. end;
  11785. procedure TICAP2_IC2CON.clearON; inline;
  11786. begin
  11787. pTDefRegMap(@Self)^.clr := $00008000;
  11788. end;
  11789. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  11790. begin
  11791. if thebits = 0 then
  11792. pTDefRegMap(@Self)^.clr := $00008000
  11793. else
  11794. pTDefRegMap(@Self)^.&set := $00008000;
  11795. end;
  11796. function TICAP2_IC2CON.getON : TBits_1; inline;
  11797. begin
  11798. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11799. end;
  11800. procedure TICAP2_IC2CON.setICM0; inline;
  11801. begin
  11802. pTDefRegMap(@Self)^.&set := $00000001;
  11803. end;
  11804. procedure TICAP2_IC2CON.clearICM0; inline;
  11805. begin
  11806. pTDefRegMap(@Self)^.clr := $00000001;
  11807. end;
  11808. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  11809. begin
  11810. if thebits = 0 then
  11811. pTDefRegMap(@Self)^.clr := $00000001
  11812. else
  11813. pTDefRegMap(@Self)^.&set := $00000001;
  11814. end;
  11815. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  11816. begin
  11817. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11818. end;
  11819. procedure TICAP2_IC2CON.setICM1; inline;
  11820. begin
  11821. pTDefRegMap(@Self)^.&set := $00000002;
  11822. end;
  11823. procedure TICAP2_IC2CON.clearICM1; inline;
  11824. begin
  11825. pTDefRegMap(@Self)^.clr := $00000002;
  11826. end;
  11827. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  11828. begin
  11829. if thebits = 0 then
  11830. pTDefRegMap(@Self)^.clr := $00000002
  11831. else
  11832. pTDefRegMap(@Self)^.&set := $00000002;
  11833. end;
  11834. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  11835. begin
  11836. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11837. end;
  11838. procedure TICAP2_IC2CON.setICM2; inline;
  11839. begin
  11840. pTDefRegMap(@Self)^.&set := $00000004;
  11841. end;
  11842. procedure TICAP2_IC2CON.clearICM2; inline;
  11843. begin
  11844. pTDefRegMap(@Self)^.clr := $00000004;
  11845. end;
  11846. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  11847. begin
  11848. if thebits = 0 then
  11849. pTDefRegMap(@Self)^.clr := $00000004
  11850. else
  11851. pTDefRegMap(@Self)^.&set := $00000004;
  11852. end;
  11853. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  11854. begin
  11855. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11856. end;
  11857. procedure TICAP2_IC2CON.setICI0; inline;
  11858. begin
  11859. pTDefRegMap(@Self)^.&set := $00000020;
  11860. end;
  11861. procedure TICAP2_IC2CON.clearICI0; inline;
  11862. begin
  11863. pTDefRegMap(@Self)^.clr := $00000020;
  11864. end;
  11865. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  11866. begin
  11867. if thebits = 0 then
  11868. pTDefRegMap(@Self)^.clr := $00000020
  11869. else
  11870. pTDefRegMap(@Self)^.&set := $00000020;
  11871. end;
  11872. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  11873. begin
  11874. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11875. end;
  11876. procedure TICAP2_IC2CON.setICI1; inline;
  11877. begin
  11878. pTDefRegMap(@Self)^.&set := $00000040;
  11879. end;
  11880. procedure TICAP2_IC2CON.clearICI1; inline;
  11881. begin
  11882. pTDefRegMap(@Self)^.clr := $00000040;
  11883. end;
  11884. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  11885. begin
  11886. if thebits = 0 then
  11887. pTDefRegMap(@Self)^.clr := $00000040
  11888. else
  11889. pTDefRegMap(@Self)^.&set := $00000040;
  11890. end;
  11891. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  11892. begin
  11893. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11894. end;
  11895. procedure TICAP2_IC2CON.setICSIDL; inline;
  11896. begin
  11897. pTDefRegMap(@Self)^.&set := $00002000;
  11898. end;
  11899. procedure TICAP2_IC2CON.clearICSIDL; inline;
  11900. begin
  11901. pTDefRegMap(@Self)^.clr := $00002000;
  11902. end;
  11903. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  11904. begin
  11905. if thebits = 0 then
  11906. pTDefRegMap(@Self)^.clr := $00002000
  11907. else
  11908. pTDefRegMap(@Self)^.&set := $00002000;
  11909. end;
  11910. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  11911. begin
  11912. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11913. end;
  11914. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  11915. begin
  11916. pTDefRegMap(@Self)^.val := thebits;
  11917. end;
  11918. function TICAP2_IC2CON.getw : TBits_32; inline;
  11919. begin
  11920. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11921. end;
  11922. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  11923. begin
  11924. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11925. end;
  11926. function TICAP3_IC3CON.getICM : TBits_3; inline;
  11927. begin
  11928. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11929. end;
  11930. procedure TICAP3_IC3CON.setICBNE; inline;
  11931. begin
  11932. pTDefRegMap(@Self)^.&set := $00000008;
  11933. end;
  11934. procedure TICAP3_IC3CON.clearICBNE; inline;
  11935. begin
  11936. pTDefRegMap(@Self)^.clr := $00000008;
  11937. end;
  11938. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  11939. begin
  11940. if thebits = 0 then
  11941. pTDefRegMap(@Self)^.clr := $00000008
  11942. else
  11943. pTDefRegMap(@Self)^.&set := $00000008;
  11944. end;
  11945. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  11946. begin
  11947. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11948. end;
  11949. procedure TICAP3_IC3CON.setICOV; inline;
  11950. begin
  11951. pTDefRegMap(@Self)^.&set := $00000010;
  11952. end;
  11953. procedure TICAP3_IC3CON.clearICOV; inline;
  11954. begin
  11955. pTDefRegMap(@Self)^.clr := $00000010;
  11956. end;
  11957. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  11958. begin
  11959. if thebits = 0 then
  11960. pTDefRegMap(@Self)^.clr := $00000010
  11961. else
  11962. pTDefRegMap(@Self)^.&set := $00000010;
  11963. end;
  11964. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  11965. begin
  11966. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11967. end;
  11968. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  11969. begin
  11970. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11971. end;
  11972. function TICAP3_IC3CON.getICI : TBits_2; inline;
  11973. begin
  11974. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11975. end;
  11976. procedure TICAP3_IC3CON.setICTMR; inline;
  11977. begin
  11978. pTDefRegMap(@Self)^.&set := $00000080;
  11979. end;
  11980. procedure TICAP3_IC3CON.clearICTMR; inline;
  11981. begin
  11982. pTDefRegMap(@Self)^.clr := $00000080;
  11983. end;
  11984. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  11985. begin
  11986. if thebits = 0 then
  11987. pTDefRegMap(@Self)^.clr := $00000080
  11988. else
  11989. pTDefRegMap(@Self)^.&set := $00000080;
  11990. end;
  11991. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  11992. begin
  11993. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11994. end;
  11995. procedure TICAP3_IC3CON.setC32; inline;
  11996. begin
  11997. pTDefRegMap(@Self)^.&set := $00000100;
  11998. end;
  11999. procedure TICAP3_IC3CON.clearC32; inline;
  12000. begin
  12001. pTDefRegMap(@Self)^.clr := $00000100;
  12002. end;
  12003. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  12004. begin
  12005. if thebits = 0 then
  12006. pTDefRegMap(@Self)^.clr := $00000100
  12007. else
  12008. pTDefRegMap(@Self)^.&set := $00000100;
  12009. end;
  12010. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  12011. begin
  12012. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12013. end;
  12014. procedure TICAP3_IC3CON.setFEDGE; inline;
  12015. begin
  12016. pTDefRegMap(@Self)^.&set := $00000200;
  12017. end;
  12018. procedure TICAP3_IC3CON.clearFEDGE; inline;
  12019. begin
  12020. pTDefRegMap(@Self)^.clr := $00000200;
  12021. end;
  12022. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  12023. begin
  12024. if thebits = 0 then
  12025. pTDefRegMap(@Self)^.clr := $00000200
  12026. else
  12027. pTDefRegMap(@Self)^.&set := $00000200;
  12028. end;
  12029. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  12030. begin
  12031. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12032. end;
  12033. procedure TICAP3_IC3CON.setSIDL; inline;
  12034. begin
  12035. pTDefRegMap(@Self)^.&set := $00002000;
  12036. end;
  12037. procedure TICAP3_IC3CON.clearSIDL; inline;
  12038. begin
  12039. pTDefRegMap(@Self)^.clr := $00002000;
  12040. end;
  12041. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  12042. begin
  12043. if thebits = 0 then
  12044. pTDefRegMap(@Self)^.clr := $00002000
  12045. else
  12046. pTDefRegMap(@Self)^.&set := $00002000;
  12047. end;
  12048. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  12049. begin
  12050. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12051. end;
  12052. procedure TICAP3_IC3CON.setON; inline;
  12053. begin
  12054. pTDefRegMap(@Self)^.&set := $00008000;
  12055. end;
  12056. procedure TICAP3_IC3CON.clearON; inline;
  12057. begin
  12058. pTDefRegMap(@Self)^.clr := $00008000;
  12059. end;
  12060. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  12061. begin
  12062. if thebits = 0 then
  12063. pTDefRegMap(@Self)^.clr := $00008000
  12064. else
  12065. pTDefRegMap(@Self)^.&set := $00008000;
  12066. end;
  12067. function TICAP3_IC3CON.getON : TBits_1; inline;
  12068. begin
  12069. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12070. end;
  12071. procedure TICAP3_IC3CON.setICM0; inline;
  12072. begin
  12073. pTDefRegMap(@Self)^.&set := $00000001;
  12074. end;
  12075. procedure TICAP3_IC3CON.clearICM0; inline;
  12076. begin
  12077. pTDefRegMap(@Self)^.clr := $00000001;
  12078. end;
  12079. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  12080. begin
  12081. if thebits = 0 then
  12082. pTDefRegMap(@Self)^.clr := $00000001
  12083. else
  12084. pTDefRegMap(@Self)^.&set := $00000001;
  12085. end;
  12086. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  12087. begin
  12088. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12089. end;
  12090. procedure TICAP3_IC3CON.setICM1; inline;
  12091. begin
  12092. pTDefRegMap(@Self)^.&set := $00000002;
  12093. end;
  12094. procedure TICAP3_IC3CON.clearICM1; inline;
  12095. begin
  12096. pTDefRegMap(@Self)^.clr := $00000002;
  12097. end;
  12098. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  12099. begin
  12100. if thebits = 0 then
  12101. pTDefRegMap(@Self)^.clr := $00000002
  12102. else
  12103. pTDefRegMap(@Self)^.&set := $00000002;
  12104. end;
  12105. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  12106. begin
  12107. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12108. end;
  12109. procedure TICAP3_IC3CON.setICM2; inline;
  12110. begin
  12111. pTDefRegMap(@Self)^.&set := $00000004;
  12112. end;
  12113. procedure TICAP3_IC3CON.clearICM2; inline;
  12114. begin
  12115. pTDefRegMap(@Self)^.clr := $00000004;
  12116. end;
  12117. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  12118. begin
  12119. if thebits = 0 then
  12120. pTDefRegMap(@Self)^.clr := $00000004
  12121. else
  12122. pTDefRegMap(@Self)^.&set := $00000004;
  12123. end;
  12124. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  12125. begin
  12126. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12127. end;
  12128. procedure TICAP3_IC3CON.setICI0; inline;
  12129. begin
  12130. pTDefRegMap(@Self)^.&set := $00000020;
  12131. end;
  12132. procedure TICAP3_IC3CON.clearICI0; inline;
  12133. begin
  12134. pTDefRegMap(@Self)^.clr := $00000020;
  12135. end;
  12136. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  12137. begin
  12138. if thebits = 0 then
  12139. pTDefRegMap(@Self)^.clr := $00000020
  12140. else
  12141. pTDefRegMap(@Self)^.&set := $00000020;
  12142. end;
  12143. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  12144. begin
  12145. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12146. end;
  12147. procedure TICAP3_IC3CON.setICI1; inline;
  12148. begin
  12149. pTDefRegMap(@Self)^.&set := $00000040;
  12150. end;
  12151. procedure TICAP3_IC3CON.clearICI1; inline;
  12152. begin
  12153. pTDefRegMap(@Self)^.clr := $00000040;
  12154. end;
  12155. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  12156. begin
  12157. if thebits = 0 then
  12158. pTDefRegMap(@Self)^.clr := $00000040
  12159. else
  12160. pTDefRegMap(@Self)^.&set := $00000040;
  12161. end;
  12162. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  12163. begin
  12164. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12165. end;
  12166. procedure TICAP3_IC3CON.setICSIDL; inline;
  12167. begin
  12168. pTDefRegMap(@Self)^.&set := $00002000;
  12169. end;
  12170. procedure TICAP3_IC3CON.clearICSIDL; inline;
  12171. begin
  12172. pTDefRegMap(@Self)^.clr := $00002000;
  12173. end;
  12174. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  12175. begin
  12176. if thebits = 0 then
  12177. pTDefRegMap(@Self)^.clr := $00002000
  12178. else
  12179. pTDefRegMap(@Self)^.&set := $00002000;
  12180. end;
  12181. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  12182. begin
  12183. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12184. end;
  12185. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  12186. begin
  12187. pTDefRegMap(@Self)^.val := thebits;
  12188. end;
  12189. function TICAP3_IC3CON.getw : TBits_32; inline;
  12190. begin
  12191. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12192. end;
  12193. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  12194. begin
  12195. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12196. end;
  12197. function TICAP4_IC4CON.getICM : TBits_3; inline;
  12198. begin
  12199. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12200. end;
  12201. procedure TICAP4_IC4CON.setICBNE; inline;
  12202. begin
  12203. pTDefRegMap(@Self)^.&set := $00000008;
  12204. end;
  12205. procedure TICAP4_IC4CON.clearICBNE; inline;
  12206. begin
  12207. pTDefRegMap(@Self)^.clr := $00000008;
  12208. end;
  12209. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  12210. begin
  12211. if thebits = 0 then
  12212. pTDefRegMap(@Self)^.clr := $00000008
  12213. else
  12214. pTDefRegMap(@Self)^.&set := $00000008;
  12215. end;
  12216. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  12217. begin
  12218. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12219. end;
  12220. procedure TICAP4_IC4CON.setICOV; inline;
  12221. begin
  12222. pTDefRegMap(@Self)^.&set := $00000010;
  12223. end;
  12224. procedure TICAP4_IC4CON.clearICOV; inline;
  12225. begin
  12226. pTDefRegMap(@Self)^.clr := $00000010;
  12227. end;
  12228. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  12229. begin
  12230. if thebits = 0 then
  12231. pTDefRegMap(@Self)^.clr := $00000010
  12232. else
  12233. pTDefRegMap(@Self)^.&set := $00000010;
  12234. end;
  12235. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  12236. begin
  12237. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12238. end;
  12239. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  12240. begin
  12241. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12242. end;
  12243. function TICAP4_IC4CON.getICI : TBits_2; inline;
  12244. begin
  12245. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12246. end;
  12247. procedure TICAP4_IC4CON.setICTMR; inline;
  12248. begin
  12249. pTDefRegMap(@Self)^.&set := $00000080;
  12250. end;
  12251. procedure TICAP4_IC4CON.clearICTMR; inline;
  12252. begin
  12253. pTDefRegMap(@Self)^.clr := $00000080;
  12254. end;
  12255. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  12256. begin
  12257. if thebits = 0 then
  12258. pTDefRegMap(@Self)^.clr := $00000080
  12259. else
  12260. pTDefRegMap(@Self)^.&set := $00000080;
  12261. end;
  12262. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  12263. begin
  12264. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12265. end;
  12266. procedure TICAP4_IC4CON.setC32; inline;
  12267. begin
  12268. pTDefRegMap(@Self)^.&set := $00000100;
  12269. end;
  12270. procedure TICAP4_IC4CON.clearC32; inline;
  12271. begin
  12272. pTDefRegMap(@Self)^.clr := $00000100;
  12273. end;
  12274. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  12275. begin
  12276. if thebits = 0 then
  12277. pTDefRegMap(@Self)^.clr := $00000100
  12278. else
  12279. pTDefRegMap(@Self)^.&set := $00000100;
  12280. end;
  12281. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  12282. begin
  12283. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12284. end;
  12285. procedure TICAP4_IC4CON.setFEDGE; inline;
  12286. begin
  12287. pTDefRegMap(@Self)^.&set := $00000200;
  12288. end;
  12289. procedure TICAP4_IC4CON.clearFEDGE; inline;
  12290. begin
  12291. pTDefRegMap(@Self)^.clr := $00000200;
  12292. end;
  12293. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  12294. begin
  12295. if thebits = 0 then
  12296. pTDefRegMap(@Self)^.clr := $00000200
  12297. else
  12298. pTDefRegMap(@Self)^.&set := $00000200;
  12299. end;
  12300. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  12301. begin
  12302. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12303. end;
  12304. procedure TICAP4_IC4CON.setSIDL; inline;
  12305. begin
  12306. pTDefRegMap(@Self)^.&set := $00002000;
  12307. end;
  12308. procedure TICAP4_IC4CON.clearSIDL; inline;
  12309. begin
  12310. pTDefRegMap(@Self)^.clr := $00002000;
  12311. end;
  12312. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  12313. begin
  12314. if thebits = 0 then
  12315. pTDefRegMap(@Self)^.clr := $00002000
  12316. else
  12317. pTDefRegMap(@Self)^.&set := $00002000;
  12318. end;
  12319. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  12320. begin
  12321. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12322. end;
  12323. procedure TICAP4_IC4CON.setON; inline;
  12324. begin
  12325. pTDefRegMap(@Self)^.&set := $00008000;
  12326. end;
  12327. procedure TICAP4_IC4CON.clearON; inline;
  12328. begin
  12329. pTDefRegMap(@Self)^.clr := $00008000;
  12330. end;
  12331. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  12332. begin
  12333. if thebits = 0 then
  12334. pTDefRegMap(@Self)^.clr := $00008000
  12335. else
  12336. pTDefRegMap(@Self)^.&set := $00008000;
  12337. end;
  12338. function TICAP4_IC4CON.getON : TBits_1; inline;
  12339. begin
  12340. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12341. end;
  12342. procedure TICAP4_IC4CON.setICM0; inline;
  12343. begin
  12344. pTDefRegMap(@Self)^.&set := $00000001;
  12345. end;
  12346. procedure TICAP4_IC4CON.clearICM0; inline;
  12347. begin
  12348. pTDefRegMap(@Self)^.clr := $00000001;
  12349. end;
  12350. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  12351. begin
  12352. if thebits = 0 then
  12353. pTDefRegMap(@Self)^.clr := $00000001
  12354. else
  12355. pTDefRegMap(@Self)^.&set := $00000001;
  12356. end;
  12357. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  12358. begin
  12359. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12360. end;
  12361. procedure TICAP4_IC4CON.setICM1; inline;
  12362. begin
  12363. pTDefRegMap(@Self)^.&set := $00000002;
  12364. end;
  12365. procedure TICAP4_IC4CON.clearICM1; inline;
  12366. begin
  12367. pTDefRegMap(@Self)^.clr := $00000002;
  12368. end;
  12369. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  12370. begin
  12371. if thebits = 0 then
  12372. pTDefRegMap(@Self)^.clr := $00000002
  12373. else
  12374. pTDefRegMap(@Self)^.&set := $00000002;
  12375. end;
  12376. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  12377. begin
  12378. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12379. end;
  12380. procedure TICAP4_IC4CON.setICM2; inline;
  12381. begin
  12382. pTDefRegMap(@Self)^.&set := $00000004;
  12383. end;
  12384. procedure TICAP4_IC4CON.clearICM2; inline;
  12385. begin
  12386. pTDefRegMap(@Self)^.clr := $00000004;
  12387. end;
  12388. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  12389. begin
  12390. if thebits = 0 then
  12391. pTDefRegMap(@Self)^.clr := $00000004
  12392. else
  12393. pTDefRegMap(@Self)^.&set := $00000004;
  12394. end;
  12395. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  12396. begin
  12397. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12398. end;
  12399. procedure TICAP4_IC4CON.setICI0; inline;
  12400. begin
  12401. pTDefRegMap(@Self)^.&set := $00000020;
  12402. end;
  12403. procedure TICAP4_IC4CON.clearICI0; inline;
  12404. begin
  12405. pTDefRegMap(@Self)^.clr := $00000020;
  12406. end;
  12407. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  12408. begin
  12409. if thebits = 0 then
  12410. pTDefRegMap(@Self)^.clr := $00000020
  12411. else
  12412. pTDefRegMap(@Self)^.&set := $00000020;
  12413. end;
  12414. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  12415. begin
  12416. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12417. end;
  12418. procedure TICAP4_IC4CON.setICI1; inline;
  12419. begin
  12420. pTDefRegMap(@Self)^.&set := $00000040;
  12421. end;
  12422. procedure TICAP4_IC4CON.clearICI1; inline;
  12423. begin
  12424. pTDefRegMap(@Self)^.clr := $00000040;
  12425. end;
  12426. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  12427. begin
  12428. if thebits = 0 then
  12429. pTDefRegMap(@Self)^.clr := $00000040
  12430. else
  12431. pTDefRegMap(@Self)^.&set := $00000040;
  12432. end;
  12433. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  12434. begin
  12435. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12436. end;
  12437. procedure TICAP4_IC4CON.setICSIDL; inline;
  12438. begin
  12439. pTDefRegMap(@Self)^.&set := $00002000;
  12440. end;
  12441. procedure TICAP4_IC4CON.clearICSIDL; inline;
  12442. begin
  12443. pTDefRegMap(@Self)^.clr := $00002000;
  12444. end;
  12445. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  12446. begin
  12447. if thebits = 0 then
  12448. pTDefRegMap(@Self)^.clr := $00002000
  12449. else
  12450. pTDefRegMap(@Self)^.&set := $00002000;
  12451. end;
  12452. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  12453. begin
  12454. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12455. end;
  12456. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  12457. begin
  12458. pTDefRegMap(@Self)^.val := thebits;
  12459. end;
  12460. function TICAP4_IC4CON.getw : TBits_32; inline;
  12461. begin
  12462. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12463. end;
  12464. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  12465. begin
  12466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12467. end;
  12468. function TICAP5_IC5CON.getICM : TBits_3; inline;
  12469. begin
  12470. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12471. end;
  12472. procedure TICAP5_IC5CON.setICBNE; inline;
  12473. begin
  12474. pTDefRegMap(@Self)^.&set := $00000008;
  12475. end;
  12476. procedure TICAP5_IC5CON.clearICBNE; inline;
  12477. begin
  12478. pTDefRegMap(@Self)^.clr := $00000008;
  12479. end;
  12480. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  12481. begin
  12482. if thebits = 0 then
  12483. pTDefRegMap(@Self)^.clr := $00000008
  12484. else
  12485. pTDefRegMap(@Self)^.&set := $00000008;
  12486. end;
  12487. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  12488. begin
  12489. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12490. end;
  12491. procedure TICAP5_IC5CON.setICOV; inline;
  12492. begin
  12493. pTDefRegMap(@Self)^.&set := $00000010;
  12494. end;
  12495. procedure TICAP5_IC5CON.clearICOV; inline;
  12496. begin
  12497. pTDefRegMap(@Self)^.clr := $00000010;
  12498. end;
  12499. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  12500. begin
  12501. if thebits = 0 then
  12502. pTDefRegMap(@Self)^.clr := $00000010
  12503. else
  12504. pTDefRegMap(@Self)^.&set := $00000010;
  12505. end;
  12506. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  12507. begin
  12508. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12509. end;
  12510. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  12511. begin
  12512. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12513. end;
  12514. function TICAP5_IC5CON.getICI : TBits_2; inline;
  12515. begin
  12516. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12517. end;
  12518. procedure TICAP5_IC5CON.setICTMR; inline;
  12519. begin
  12520. pTDefRegMap(@Self)^.&set := $00000080;
  12521. end;
  12522. procedure TICAP5_IC5CON.clearICTMR; inline;
  12523. begin
  12524. pTDefRegMap(@Self)^.clr := $00000080;
  12525. end;
  12526. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  12527. begin
  12528. if thebits = 0 then
  12529. pTDefRegMap(@Self)^.clr := $00000080
  12530. else
  12531. pTDefRegMap(@Self)^.&set := $00000080;
  12532. end;
  12533. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  12534. begin
  12535. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12536. end;
  12537. procedure TICAP5_IC5CON.setC32; inline;
  12538. begin
  12539. pTDefRegMap(@Self)^.&set := $00000100;
  12540. end;
  12541. procedure TICAP5_IC5CON.clearC32; inline;
  12542. begin
  12543. pTDefRegMap(@Self)^.clr := $00000100;
  12544. end;
  12545. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  12546. begin
  12547. if thebits = 0 then
  12548. pTDefRegMap(@Self)^.clr := $00000100
  12549. else
  12550. pTDefRegMap(@Self)^.&set := $00000100;
  12551. end;
  12552. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  12553. begin
  12554. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12555. end;
  12556. procedure TICAP5_IC5CON.setFEDGE; inline;
  12557. begin
  12558. pTDefRegMap(@Self)^.&set := $00000200;
  12559. end;
  12560. procedure TICAP5_IC5CON.clearFEDGE; inline;
  12561. begin
  12562. pTDefRegMap(@Self)^.clr := $00000200;
  12563. end;
  12564. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  12565. begin
  12566. if thebits = 0 then
  12567. pTDefRegMap(@Self)^.clr := $00000200
  12568. else
  12569. pTDefRegMap(@Self)^.&set := $00000200;
  12570. end;
  12571. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  12572. begin
  12573. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12574. end;
  12575. procedure TICAP5_IC5CON.setSIDL; inline;
  12576. begin
  12577. pTDefRegMap(@Self)^.&set := $00002000;
  12578. end;
  12579. procedure TICAP5_IC5CON.clearSIDL; inline;
  12580. begin
  12581. pTDefRegMap(@Self)^.clr := $00002000;
  12582. end;
  12583. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  12584. begin
  12585. if thebits = 0 then
  12586. pTDefRegMap(@Self)^.clr := $00002000
  12587. else
  12588. pTDefRegMap(@Self)^.&set := $00002000;
  12589. end;
  12590. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  12591. begin
  12592. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12593. end;
  12594. procedure TICAP5_IC5CON.setON; inline;
  12595. begin
  12596. pTDefRegMap(@Self)^.&set := $00008000;
  12597. end;
  12598. procedure TICAP5_IC5CON.clearON; inline;
  12599. begin
  12600. pTDefRegMap(@Self)^.clr := $00008000;
  12601. end;
  12602. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  12603. begin
  12604. if thebits = 0 then
  12605. pTDefRegMap(@Self)^.clr := $00008000
  12606. else
  12607. pTDefRegMap(@Self)^.&set := $00008000;
  12608. end;
  12609. function TICAP5_IC5CON.getON : TBits_1; inline;
  12610. begin
  12611. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12612. end;
  12613. procedure TICAP5_IC5CON.setICM0; inline;
  12614. begin
  12615. pTDefRegMap(@Self)^.&set := $00000001;
  12616. end;
  12617. procedure TICAP5_IC5CON.clearICM0; inline;
  12618. begin
  12619. pTDefRegMap(@Self)^.clr := $00000001;
  12620. end;
  12621. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  12622. begin
  12623. if thebits = 0 then
  12624. pTDefRegMap(@Self)^.clr := $00000001
  12625. else
  12626. pTDefRegMap(@Self)^.&set := $00000001;
  12627. end;
  12628. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  12629. begin
  12630. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12631. end;
  12632. procedure TICAP5_IC5CON.setICM1; inline;
  12633. begin
  12634. pTDefRegMap(@Self)^.&set := $00000002;
  12635. end;
  12636. procedure TICAP5_IC5CON.clearICM1; inline;
  12637. begin
  12638. pTDefRegMap(@Self)^.clr := $00000002;
  12639. end;
  12640. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  12641. begin
  12642. if thebits = 0 then
  12643. pTDefRegMap(@Self)^.clr := $00000002
  12644. else
  12645. pTDefRegMap(@Self)^.&set := $00000002;
  12646. end;
  12647. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  12648. begin
  12649. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12650. end;
  12651. procedure TICAP5_IC5CON.setICM2; inline;
  12652. begin
  12653. pTDefRegMap(@Self)^.&set := $00000004;
  12654. end;
  12655. procedure TICAP5_IC5CON.clearICM2; inline;
  12656. begin
  12657. pTDefRegMap(@Self)^.clr := $00000004;
  12658. end;
  12659. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  12660. begin
  12661. if thebits = 0 then
  12662. pTDefRegMap(@Self)^.clr := $00000004
  12663. else
  12664. pTDefRegMap(@Self)^.&set := $00000004;
  12665. end;
  12666. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  12667. begin
  12668. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12669. end;
  12670. procedure TICAP5_IC5CON.setICI0; inline;
  12671. begin
  12672. pTDefRegMap(@Self)^.&set := $00000020;
  12673. end;
  12674. procedure TICAP5_IC5CON.clearICI0; inline;
  12675. begin
  12676. pTDefRegMap(@Self)^.clr := $00000020;
  12677. end;
  12678. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  12679. begin
  12680. if thebits = 0 then
  12681. pTDefRegMap(@Self)^.clr := $00000020
  12682. else
  12683. pTDefRegMap(@Self)^.&set := $00000020;
  12684. end;
  12685. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  12686. begin
  12687. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12688. end;
  12689. procedure TICAP5_IC5CON.setICI1; inline;
  12690. begin
  12691. pTDefRegMap(@Self)^.&set := $00000040;
  12692. end;
  12693. procedure TICAP5_IC5CON.clearICI1; inline;
  12694. begin
  12695. pTDefRegMap(@Self)^.clr := $00000040;
  12696. end;
  12697. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  12698. begin
  12699. if thebits = 0 then
  12700. pTDefRegMap(@Self)^.clr := $00000040
  12701. else
  12702. pTDefRegMap(@Self)^.&set := $00000040;
  12703. end;
  12704. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  12705. begin
  12706. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12707. end;
  12708. procedure TICAP5_IC5CON.setICSIDL; inline;
  12709. begin
  12710. pTDefRegMap(@Self)^.&set := $00002000;
  12711. end;
  12712. procedure TICAP5_IC5CON.clearICSIDL; inline;
  12713. begin
  12714. pTDefRegMap(@Self)^.clr := $00002000;
  12715. end;
  12716. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  12717. begin
  12718. if thebits = 0 then
  12719. pTDefRegMap(@Self)^.clr := $00002000
  12720. else
  12721. pTDefRegMap(@Self)^.&set := $00002000;
  12722. end;
  12723. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  12724. begin
  12725. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12726. end;
  12727. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  12728. begin
  12729. pTDefRegMap(@Self)^.val := thebits;
  12730. end;
  12731. function TICAP5_IC5CON.getw : TBits_32; inline;
  12732. begin
  12733. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12734. end;
  12735. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  12736. begin
  12737. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12738. end;
  12739. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  12740. begin
  12741. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12742. end;
  12743. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  12744. begin
  12745. pTDefRegMap(@Self)^.&set := $00000008;
  12746. end;
  12747. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  12748. begin
  12749. pTDefRegMap(@Self)^.clr := $00000008;
  12750. end;
  12751. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  12752. begin
  12753. if thebits = 0 then
  12754. pTDefRegMap(@Self)^.clr := $00000008
  12755. else
  12756. pTDefRegMap(@Self)^.&set := $00000008;
  12757. end;
  12758. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  12759. begin
  12760. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12761. end;
  12762. procedure TOCMP1_OC1CON.setOCFLT; inline;
  12763. begin
  12764. pTDefRegMap(@Self)^.&set := $00000010;
  12765. end;
  12766. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  12767. begin
  12768. pTDefRegMap(@Self)^.clr := $00000010;
  12769. end;
  12770. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  12771. begin
  12772. if thebits = 0 then
  12773. pTDefRegMap(@Self)^.clr := $00000010
  12774. else
  12775. pTDefRegMap(@Self)^.&set := $00000010;
  12776. end;
  12777. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  12778. begin
  12779. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12780. end;
  12781. procedure TOCMP1_OC1CON.setOC32; inline;
  12782. begin
  12783. pTDefRegMap(@Self)^.&set := $00000020;
  12784. end;
  12785. procedure TOCMP1_OC1CON.clearOC32; inline;
  12786. begin
  12787. pTDefRegMap(@Self)^.clr := $00000020;
  12788. end;
  12789. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  12790. begin
  12791. if thebits = 0 then
  12792. pTDefRegMap(@Self)^.clr := $00000020
  12793. else
  12794. pTDefRegMap(@Self)^.&set := $00000020;
  12795. end;
  12796. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  12797. begin
  12798. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12799. end;
  12800. procedure TOCMP1_OC1CON.setSIDL; inline;
  12801. begin
  12802. pTDefRegMap(@Self)^.&set := $00002000;
  12803. end;
  12804. procedure TOCMP1_OC1CON.clearSIDL; inline;
  12805. begin
  12806. pTDefRegMap(@Self)^.clr := $00002000;
  12807. end;
  12808. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  12809. begin
  12810. if thebits = 0 then
  12811. pTDefRegMap(@Self)^.clr := $00002000
  12812. else
  12813. pTDefRegMap(@Self)^.&set := $00002000;
  12814. end;
  12815. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  12816. begin
  12817. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12818. end;
  12819. procedure TOCMP1_OC1CON.setON; inline;
  12820. begin
  12821. pTDefRegMap(@Self)^.&set := $00008000;
  12822. end;
  12823. procedure TOCMP1_OC1CON.clearON; inline;
  12824. begin
  12825. pTDefRegMap(@Self)^.clr := $00008000;
  12826. end;
  12827. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  12828. begin
  12829. if thebits = 0 then
  12830. pTDefRegMap(@Self)^.clr := $00008000
  12831. else
  12832. pTDefRegMap(@Self)^.&set := $00008000;
  12833. end;
  12834. function TOCMP1_OC1CON.getON : TBits_1; inline;
  12835. begin
  12836. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12837. end;
  12838. procedure TOCMP1_OC1CON.setOCM0; inline;
  12839. begin
  12840. pTDefRegMap(@Self)^.&set := $00000001;
  12841. end;
  12842. procedure TOCMP1_OC1CON.clearOCM0; inline;
  12843. begin
  12844. pTDefRegMap(@Self)^.clr := $00000001;
  12845. end;
  12846. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  12847. begin
  12848. if thebits = 0 then
  12849. pTDefRegMap(@Self)^.clr := $00000001
  12850. else
  12851. pTDefRegMap(@Self)^.&set := $00000001;
  12852. end;
  12853. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  12854. begin
  12855. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12856. end;
  12857. procedure TOCMP1_OC1CON.setOCM1; inline;
  12858. begin
  12859. pTDefRegMap(@Self)^.&set := $00000002;
  12860. end;
  12861. procedure TOCMP1_OC1CON.clearOCM1; inline;
  12862. begin
  12863. pTDefRegMap(@Self)^.clr := $00000002;
  12864. end;
  12865. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  12866. begin
  12867. if thebits = 0 then
  12868. pTDefRegMap(@Self)^.clr := $00000002
  12869. else
  12870. pTDefRegMap(@Self)^.&set := $00000002;
  12871. end;
  12872. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  12873. begin
  12874. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12875. end;
  12876. procedure TOCMP1_OC1CON.setOCM2; inline;
  12877. begin
  12878. pTDefRegMap(@Self)^.&set := $00000004;
  12879. end;
  12880. procedure TOCMP1_OC1CON.clearOCM2; inline;
  12881. begin
  12882. pTDefRegMap(@Self)^.clr := $00000004;
  12883. end;
  12884. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  12885. begin
  12886. if thebits = 0 then
  12887. pTDefRegMap(@Self)^.clr := $00000004
  12888. else
  12889. pTDefRegMap(@Self)^.&set := $00000004;
  12890. end;
  12891. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  12892. begin
  12893. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12894. end;
  12895. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  12896. begin
  12897. pTDefRegMap(@Self)^.&set := $00002000;
  12898. end;
  12899. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  12900. begin
  12901. pTDefRegMap(@Self)^.clr := $00002000;
  12902. end;
  12903. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  12904. begin
  12905. if thebits = 0 then
  12906. pTDefRegMap(@Self)^.clr := $00002000
  12907. else
  12908. pTDefRegMap(@Self)^.&set := $00002000;
  12909. end;
  12910. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  12911. begin
  12912. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12913. end;
  12914. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  12915. begin
  12916. pTDefRegMap(@Self)^.val := thebits;
  12917. end;
  12918. function TOCMP1_OC1CON.getw : TBits_32; inline;
  12919. begin
  12920. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12921. end;
  12922. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  12923. begin
  12924. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12925. end;
  12926. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  12927. begin
  12928. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12929. end;
  12930. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  12931. begin
  12932. pTDefRegMap(@Self)^.&set := $00000008;
  12933. end;
  12934. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  12935. begin
  12936. pTDefRegMap(@Self)^.clr := $00000008;
  12937. end;
  12938. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  12939. begin
  12940. if thebits = 0 then
  12941. pTDefRegMap(@Self)^.clr := $00000008
  12942. else
  12943. pTDefRegMap(@Self)^.&set := $00000008;
  12944. end;
  12945. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  12946. begin
  12947. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12948. end;
  12949. procedure TOCMP2_OC2CON.setOCFLT; inline;
  12950. begin
  12951. pTDefRegMap(@Self)^.&set := $00000010;
  12952. end;
  12953. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  12954. begin
  12955. pTDefRegMap(@Self)^.clr := $00000010;
  12956. end;
  12957. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  12958. begin
  12959. if thebits = 0 then
  12960. pTDefRegMap(@Self)^.clr := $00000010
  12961. else
  12962. pTDefRegMap(@Self)^.&set := $00000010;
  12963. end;
  12964. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  12965. begin
  12966. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12967. end;
  12968. procedure TOCMP2_OC2CON.setOC32; inline;
  12969. begin
  12970. pTDefRegMap(@Self)^.&set := $00000020;
  12971. end;
  12972. procedure TOCMP2_OC2CON.clearOC32; inline;
  12973. begin
  12974. pTDefRegMap(@Self)^.clr := $00000020;
  12975. end;
  12976. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  12977. begin
  12978. if thebits = 0 then
  12979. pTDefRegMap(@Self)^.clr := $00000020
  12980. else
  12981. pTDefRegMap(@Self)^.&set := $00000020;
  12982. end;
  12983. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  12984. begin
  12985. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12986. end;
  12987. procedure TOCMP2_OC2CON.setSIDL; inline;
  12988. begin
  12989. pTDefRegMap(@Self)^.&set := $00002000;
  12990. end;
  12991. procedure TOCMP2_OC2CON.clearSIDL; inline;
  12992. begin
  12993. pTDefRegMap(@Self)^.clr := $00002000;
  12994. end;
  12995. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  12996. begin
  12997. if thebits = 0 then
  12998. pTDefRegMap(@Self)^.clr := $00002000
  12999. else
  13000. pTDefRegMap(@Self)^.&set := $00002000;
  13001. end;
  13002. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  13003. begin
  13004. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13005. end;
  13006. procedure TOCMP2_OC2CON.setON; inline;
  13007. begin
  13008. pTDefRegMap(@Self)^.&set := $00008000;
  13009. end;
  13010. procedure TOCMP2_OC2CON.clearON; inline;
  13011. begin
  13012. pTDefRegMap(@Self)^.clr := $00008000;
  13013. end;
  13014. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  13015. begin
  13016. if thebits = 0 then
  13017. pTDefRegMap(@Self)^.clr := $00008000
  13018. else
  13019. pTDefRegMap(@Self)^.&set := $00008000;
  13020. end;
  13021. function TOCMP2_OC2CON.getON : TBits_1; inline;
  13022. begin
  13023. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13024. end;
  13025. procedure TOCMP2_OC2CON.setOCM0; inline;
  13026. begin
  13027. pTDefRegMap(@Self)^.&set := $00000001;
  13028. end;
  13029. procedure TOCMP2_OC2CON.clearOCM0; inline;
  13030. begin
  13031. pTDefRegMap(@Self)^.clr := $00000001;
  13032. end;
  13033. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  13034. begin
  13035. if thebits = 0 then
  13036. pTDefRegMap(@Self)^.clr := $00000001
  13037. else
  13038. pTDefRegMap(@Self)^.&set := $00000001;
  13039. end;
  13040. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  13041. begin
  13042. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13043. end;
  13044. procedure TOCMP2_OC2CON.setOCM1; inline;
  13045. begin
  13046. pTDefRegMap(@Self)^.&set := $00000002;
  13047. end;
  13048. procedure TOCMP2_OC2CON.clearOCM1; inline;
  13049. begin
  13050. pTDefRegMap(@Self)^.clr := $00000002;
  13051. end;
  13052. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  13053. begin
  13054. if thebits = 0 then
  13055. pTDefRegMap(@Self)^.clr := $00000002
  13056. else
  13057. pTDefRegMap(@Self)^.&set := $00000002;
  13058. end;
  13059. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  13060. begin
  13061. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13062. end;
  13063. procedure TOCMP2_OC2CON.setOCM2; inline;
  13064. begin
  13065. pTDefRegMap(@Self)^.&set := $00000004;
  13066. end;
  13067. procedure TOCMP2_OC2CON.clearOCM2; inline;
  13068. begin
  13069. pTDefRegMap(@Self)^.clr := $00000004;
  13070. end;
  13071. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  13072. begin
  13073. if thebits = 0 then
  13074. pTDefRegMap(@Self)^.clr := $00000004
  13075. else
  13076. pTDefRegMap(@Self)^.&set := $00000004;
  13077. end;
  13078. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  13079. begin
  13080. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13081. end;
  13082. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  13083. begin
  13084. pTDefRegMap(@Self)^.&set := $00002000;
  13085. end;
  13086. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  13087. begin
  13088. pTDefRegMap(@Self)^.clr := $00002000;
  13089. end;
  13090. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  13091. begin
  13092. if thebits = 0 then
  13093. pTDefRegMap(@Self)^.clr := $00002000
  13094. else
  13095. pTDefRegMap(@Self)^.&set := $00002000;
  13096. end;
  13097. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  13098. begin
  13099. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13100. end;
  13101. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  13102. begin
  13103. pTDefRegMap(@Self)^.val := thebits;
  13104. end;
  13105. function TOCMP2_OC2CON.getw : TBits_32; inline;
  13106. begin
  13107. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13108. end;
  13109. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  13110. begin
  13111. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13112. end;
  13113. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  13114. begin
  13115. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13116. end;
  13117. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  13118. begin
  13119. pTDefRegMap(@Self)^.&set := $00000008;
  13120. end;
  13121. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  13122. begin
  13123. pTDefRegMap(@Self)^.clr := $00000008;
  13124. end;
  13125. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  13126. begin
  13127. if thebits = 0 then
  13128. pTDefRegMap(@Self)^.clr := $00000008
  13129. else
  13130. pTDefRegMap(@Self)^.&set := $00000008;
  13131. end;
  13132. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  13133. begin
  13134. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13135. end;
  13136. procedure TOCMP3_OC3CON.setOCFLT; inline;
  13137. begin
  13138. pTDefRegMap(@Self)^.&set := $00000010;
  13139. end;
  13140. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  13141. begin
  13142. pTDefRegMap(@Self)^.clr := $00000010;
  13143. end;
  13144. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  13145. begin
  13146. if thebits = 0 then
  13147. pTDefRegMap(@Self)^.clr := $00000010
  13148. else
  13149. pTDefRegMap(@Self)^.&set := $00000010;
  13150. end;
  13151. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  13152. begin
  13153. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13154. end;
  13155. procedure TOCMP3_OC3CON.setOC32; inline;
  13156. begin
  13157. pTDefRegMap(@Self)^.&set := $00000020;
  13158. end;
  13159. procedure TOCMP3_OC3CON.clearOC32; inline;
  13160. begin
  13161. pTDefRegMap(@Self)^.clr := $00000020;
  13162. end;
  13163. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  13164. begin
  13165. if thebits = 0 then
  13166. pTDefRegMap(@Self)^.clr := $00000020
  13167. else
  13168. pTDefRegMap(@Self)^.&set := $00000020;
  13169. end;
  13170. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  13171. begin
  13172. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13173. end;
  13174. procedure TOCMP3_OC3CON.setSIDL; inline;
  13175. begin
  13176. pTDefRegMap(@Self)^.&set := $00002000;
  13177. end;
  13178. procedure TOCMP3_OC3CON.clearSIDL; inline;
  13179. begin
  13180. pTDefRegMap(@Self)^.clr := $00002000;
  13181. end;
  13182. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  13183. begin
  13184. if thebits = 0 then
  13185. pTDefRegMap(@Self)^.clr := $00002000
  13186. else
  13187. pTDefRegMap(@Self)^.&set := $00002000;
  13188. end;
  13189. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  13190. begin
  13191. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13192. end;
  13193. procedure TOCMP3_OC3CON.setON; inline;
  13194. begin
  13195. pTDefRegMap(@Self)^.&set := $00008000;
  13196. end;
  13197. procedure TOCMP3_OC3CON.clearON; inline;
  13198. begin
  13199. pTDefRegMap(@Self)^.clr := $00008000;
  13200. end;
  13201. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  13202. begin
  13203. if thebits = 0 then
  13204. pTDefRegMap(@Self)^.clr := $00008000
  13205. else
  13206. pTDefRegMap(@Self)^.&set := $00008000;
  13207. end;
  13208. function TOCMP3_OC3CON.getON : TBits_1; inline;
  13209. begin
  13210. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13211. end;
  13212. procedure TOCMP3_OC3CON.setOCM0; inline;
  13213. begin
  13214. pTDefRegMap(@Self)^.&set := $00000001;
  13215. end;
  13216. procedure TOCMP3_OC3CON.clearOCM0; inline;
  13217. begin
  13218. pTDefRegMap(@Self)^.clr := $00000001;
  13219. end;
  13220. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  13221. begin
  13222. if thebits = 0 then
  13223. pTDefRegMap(@Self)^.clr := $00000001
  13224. else
  13225. pTDefRegMap(@Self)^.&set := $00000001;
  13226. end;
  13227. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  13228. begin
  13229. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13230. end;
  13231. procedure TOCMP3_OC3CON.setOCM1; inline;
  13232. begin
  13233. pTDefRegMap(@Self)^.&set := $00000002;
  13234. end;
  13235. procedure TOCMP3_OC3CON.clearOCM1; inline;
  13236. begin
  13237. pTDefRegMap(@Self)^.clr := $00000002;
  13238. end;
  13239. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  13240. begin
  13241. if thebits = 0 then
  13242. pTDefRegMap(@Self)^.clr := $00000002
  13243. else
  13244. pTDefRegMap(@Self)^.&set := $00000002;
  13245. end;
  13246. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  13247. begin
  13248. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13249. end;
  13250. procedure TOCMP3_OC3CON.setOCM2; inline;
  13251. begin
  13252. pTDefRegMap(@Self)^.&set := $00000004;
  13253. end;
  13254. procedure TOCMP3_OC3CON.clearOCM2; inline;
  13255. begin
  13256. pTDefRegMap(@Self)^.clr := $00000004;
  13257. end;
  13258. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  13259. begin
  13260. if thebits = 0 then
  13261. pTDefRegMap(@Self)^.clr := $00000004
  13262. else
  13263. pTDefRegMap(@Self)^.&set := $00000004;
  13264. end;
  13265. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  13266. begin
  13267. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13268. end;
  13269. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  13270. begin
  13271. pTDefRegMap(@Self)^.&set := $00002000;
  13272. end;
  13273. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  13274. begin
  13275. pTDefRegMap(@Self)^.clr := $00002000;
  13276. end;
  13277. procedure TOCMP3_OC3CON.setOCSIDL(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 TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  13285. begin
  13286. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13287. end;
  13288. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  13289. begin
  13290. pTDefRegMap(@Self)^.val := thebits;
  13291. end;
  13292. function TOCMP3_OC3CON.getw : TBits_32; inline;
  13293. begin
  13294. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13295. end;
  13296. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  13297. begin
  13298. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13299. end;
  13300. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  13301. begin
  13302. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13303. end;
  13304. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  13305. begin
  13306. pTDefRegMap(@Self)^.&set := $00000008;
  13307. end;
  13308. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  13309. begin
  13310. pTDefRegMap(@Self)^.clr := $00000008;
  13311. end;
  13312. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  13313. begin
  13314. if thebits = 0 then
  13315. pTDefRegMap(@Self)^.clr := $00000008
  13316. else
  13317. pTDefRegMap(@Self)^.&set := $00000008;
  13318. end;
  13319. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  13320. begin
  13321. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13322. end;
  13323. procedure TOCMP4_OC4CON.setOCFLT; inline;
  13324. begin
  13325. pTDefRegMap(@Self)^.&set := $00000010;
  13326. end;
  13327. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  13328. begin
  13329. pTDefRegMap(@Self)^.clr := $00000010;
  13330. end;
  13331. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  13332. begin
  13333. if thebits = 0 then
  13334. pTDefRegMap(@Self)^.clr := $00000010
  13335. else
  13336. pTDefRegMap(@Self)^.&set := $00000010;
  13337. end;
  13338. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  13339. begin
  13340. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13341. end;
  13342. procedure TOCMP4_OC4CON.setOC32; inline;
  13343. begin
  13344. pTDefRegMap(@Self)^.&set := $00000020;
  13345. end;
  13346. procedure TOCMP4_OC4CON.clearOC32; inline;
  13347. begin
  13348. pTDefRegMap(@Self)^.clr := $00000020;
  13349. end;
  13350. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  13351. begin
  13352. if thebits = 0 then
  13353. pTDefRegMap(@Self)^.clr := $00000020
  13354. else
  13355. pTDefRegMap(@Self)^.&set := $00000020;
  13356. end;
  13357. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  13358. begin
  13359. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13360. end;
  13361. procedure TOCMP4_OC4CON.setSIDL; inline;
  13362. begin
  13363. pTDefRegMap(@Self)^.&set := $00002000;
  13364. end;
  13365. procedure TOCMP4_OC4CON.clearSIDL; inline;
  13366. begin
  13367. pTDefRegMap(@Self)^.clr := $00002000;
  13368. end;
  13369. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  13370. begin
  13371. if thebits = 0 then
  13372. pTDefRegMap(@Self)^.clr := $00002000
  13373. else
  13374. pTDefRegMap(@Self)^.&set := $00002000;
  13375. end;
  13376. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  13377. begin
  13378. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13379. end;
  13380. procedure TOCMP4_OC4CON.setON; inline;
  13381. begin
  13382. pTDefRegMap(@Self)^.&set := $00008000;
  13383. end;
  13384. procedure TOCMP4_OC4CON.clearON; inline;
  13385. begin
  13386. pTDefRegMap(@Self)^.clr := $00008000;
  13387. end;
  13388. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  13389. begin
  13390. if thebits = 0 then
  13391. pTDefRegMap(@Self)^.clr := $00008000
  13392. else
  13393. pTDefRegMap(@Self)^.&set := $00008000;
  13394. end;
  13395. function TOCMP4_OC4CON.getON : TBits_1; inline;
  13396. begin
  13397. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13398. end;
  13399. procedure TOCMP4_OC4CON.setOCM0; inline;
  13400. begin
  13401. pTDefRegMap(@Self)^.&set := $00000001;
  13402. end;
  13403. procedure TOCMP4_OC4CON.clearOCM0; inline;
  13404. begin
  13405. pTDefRegMap(@Self)^.clr := $00000001;
  13406. end;
  13407. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  13408. begin
  13409. if thebits = 0 then
  13410. pTDefRegMap(@Self)^.clr := $00000001
  13411. else
  13412. pTDefRegMap(@Self)^.&set := $00000001;
  13413. end;
  13414. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  13415. begin
  13416. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13417. end;
  13418. procedure TOCMP4_OC4CON.setOCM1; inline;
  13419. begin
  13420. pTDefRegMap(@Self)^.&set := $00000002;
  13421. end;
  13422. procedure TOCMP4_OC4CON.clearOCM1; inline;
  13423. begin
  13424. pTDefRegMap(@Self)^.clr := $00000002;
  13425. end;
  13426. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  13427. begin
  13428. if thebits = 0 then
  13429. pTDefRegMap(@Self)^.clr := $00000002
  13430. else
  13431. pTDefRegMap(@Self)^.&set := $00000002;
  13432. end;
  13433. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  13434. begin
  13435. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13436. end;
  13437. procedure TOCMP4_OC4CON.setOCM2; inline;
  13438. begin
  13439. pTDefRegMap(@Self)^.&set := $00000004;
  13440. end;
  13441. procedure TOCMP4_OC4CON.clearOCM2; inline;
  13442. begin
  13443. pTDefRegMap(@Self)^.clr := $00000004;
  13444. end;
  13445. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  13446. begin
  13447. if thebits = 0 then
  13448. pTDefRegMap(@Self)^.clr := $00000004
  13449. else
  13450. pTDefRegMap(@Self)^.&set := $00000004;
  13451. end;
  13452. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  13453. begin
  13454. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13455. end;
  13456. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  13457. begin
  13458. pTDefRegMap(@Self)^.&set := $00002000;
  13459. end;
  13460. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  13461. begin
  13462. pTDefRegMap(@Self)^.clr := $00002000;
  13463. end;
  13464. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  13465. begin
  13466. if thebits = 0 then
  13467. pTDefRegMap(@Self)^.clr := $00002000
  13468. else
  13469. pTDefRegMap(@Self)^.&set := $00002000;
  13470. end;
  13471. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  13472. begin
  13473. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13474. end;
  13475. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  13476. begin
  13477. pTDefRegMap(@Self)^.val := thebits;
  13478. end;
  13479. function TOCMP4_OC4CON.getw : TBits_32; inline;
  13480. begin
  13481. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13482. end;
  13483. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  13484. begin
  13485. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13486. end;
  13487. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  13488. begin
  13489. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13490. end;
  13491. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  13492. begin
  13493. pTDefRegMap(@Self)^.&set := $00000008;
  13494. end;
  13495. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  13496. begin
  13497. pTDefRegMap(@Self)^.clr := $00000008;
  13498. end;
  13499. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  13500. begin
  13501. if thebits = 0 then
  13502. pTDefRegMap(@Self)^.clr := $00000008
  13503. else
  13504. pTDefRegMap(@Self)^.&set := $00000008;
  13505. end;
  13506. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  13507. begin
  13508. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13509. end;
  13510. procedure TOCMP5_OC5CON.setOCFLT; inline;
  13511. begin
  13512. pTDefRegMap(@Self)^.&set := $00000010;
  13513. end;
  13514. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  13515. begin
  13516. pTDefRegMap(@Self)^.clr := $00000010;
  13517. end;
  13518. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  13519. begin
  13520. if thebits = 0 then
  13521. pTDefRegMap(@Self)^.clr := $00000010
  13522. else
  13523. pTDefRegMap(@Self)^.&set := $00000010;
  13524. end;
  13525. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  13526. begin
  13527. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13528. end;
  13529. procedure TOCMP5_OC5CON.setOC32; inline;
  13530. begin
  13531. pTDefRegMap(@Self)^.&set := $00000020;
  13532. end;
  13533. procedure TOCMP5_OC5CON.clearOC32; inline;
  13534. begin
  13535. pTDefRegMap(@Self)^.clr := $00000020;
  13536. end;
  13537. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  13538. begin
  13539. if thebits = 0 then
  13540. pTDefRegMap(@Self)^.clr := $00000020
  13541. else
  13542. pTDefRegMap(@Self)^.&set := $00000020;
  13543. end;
  13544. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  13545. begin
  13546. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13547. end;
  13548. procedure TOCMP5_OC5CON.setSIDL; inline;
  13549. begin
  13550. pTDefRegMap(@Self)^.&set := $00002000;
  13551. end;
  13552. procedure TOCMP5_OC5CON.clearSIDL; inline;
  13553. begin
  13554. pTDefRegMap(@Self)^.clr := $00002000;
  13555. end;
  13556. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  13557. begin
  13558. if thebits = 0 then
  13559. pTDefRegMap(@Self)^.clr := $00002000
  13560. else
  13561. pTDefRegMap(@Self)^.&set := $00002000;
  13562. end;
  13563. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  13564. begin
  13565. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13566. end;
  13567. procedure TOCMP5_OC5CON.setON; inline;
  13568. begin
  13569. pTDefRegMap(@Self)^.&set := $00008000;
  13570. end;
  13571. procedure TOCMP5_OC5CON.clearON; inline;
  13572. begin
  13573. pTDefRegMap(@Self)^.clr := $00008000;
  13574. end;
  13575. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  13576. begin
  13577. if thebits = 0 then
  13578. pTDefRegMap(@Self)^.clr := $00008000
  13579. else
  13580. pTDefRegMap(@Self)^.&set := $00008000;
  13581. end;
  13582. function TOCMP5_OC5CON.getON : TBits_1; inline;
  13583. begin
  13584. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13585. end;
  13586. procedure TOCMP5_OC5CON.setOCM0; inline;
  13587. begin
  13588. pTDefRegMap(@Self)^.&set := $00000001;
  13589. end;
  13590. procedure TOCMP5_OC5CON.clearOCM0; inline;
  13591. begin
  13592. pTDefRegMap(@Self)^.clr := $00000001;
  13593. end;
  13594. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  13595. begin
  13596. if thebits = 0 then
  13597. pTDefRegMap(@Self)^.clr := $00000001
  13598. else
  13599. pTDefRegMap(@Self)^.&set := $00000001;
  13600. end;
  13601. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  13602. begin
  13603. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13604. end;
  13605. procedure TOCMP5_OC5CON.setOCM1; inline;
  13606. begin
  13607. pTDefRegMap(@Self)^.&set := $00000002;
  13608. end;
  13609. procedure TOCMP5_OC5CON.clearOCM1; inline;
  13610. begin
  13611. pTDefRegMap(@Self)^.clr := $00000002;
  13612. end;
  13613. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  13614. begin
  13615. if thebits = 0 then
  13616. pTDefRegMap(@Self)^.clr := $00000002
  13617. else
  13618. pTDefRegMap(@Self)^.&set := $00000002;
  13619. end;
  13620. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  13621. begin
  13622. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13623. end;
  13624. procedure TOCMP5_OC5CON.setOCM2; inline;
  13625. begin
  13626. pTDefRegMap(@Self)^.&set := $00000004;
  13627. end;
  13628. procedure TOCMP5_OC5CON.clearOCM2; inline;
  13629. begin
  13630. pTDefRegMap(@Self)^.clr := $00000004;
  13631. end;
  13632. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  13633. begin
  13634. if thebits = 0 then
  13635. pTDefRegMap(@Self)^.clr := $00000004
  13636. else
  13637. pTDefRegMap(@Self)^.&set := $00000004;
  13638. end;
  13639. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  13640. begin
  13641. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13642. end;
  13643. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  13644. begin
  13645. pTDefRegMap(@Self)^.&set := $00002000;
  13646. end;
  13647. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  13648. begin
  13649. pTDefRegMap(@Self)^.clr := $00002000;
  13650. end;
  13651. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  13652. begin
  13653. if thebits = 0 then
  13654. pTDefRegMap(@Self)^.clr := $00002000
  13655. else
  13656. pTDefRegMap(@Self)^.&set := $00002000;
  13657. end;
  13658. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  13659. begin
  13660. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13661. end;
  13662. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  13663. begin
  13664. pTDefRegMap(@Self)^.val := thebits;
  13665. end;
  13666. function TOCMP5_OC5CON.getw : TBits_32; inline;
  13667. begin
  13668. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13669. end;
  13670. procedure TI2C1_I2C1ACON.setSEN; inline;
  13671. begin
  13672. pTDefRegMap(@Self)^.&set := $00000001;
  13673. end;
  13674. procedure TI2C1_I2C1ACON.clearSEN; inline;
  13675. begin
  13676. pTDefRegMap(@Self)^.clr := $00000001;
  13677. end;
  13678. procedure TI2C1_I2C1ACON.setSEN(thebits : TBits_1); inline;
  13679. begin
  13680. if thebits = 0 then
  13681. pTDefRegMap(@Self)^.clr := $00000001
  13682. else
  13683. pTDefRegMap(@Self)^.&set := $00000001;
  13684. end;
  13685. function TI2C1_I2C1ACON.getSEN : TBits_1; inline;
  13686. begin
  13687. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13688. end;
  13689. procedure TI2C1_I2C1ACON.setRSEN; inline;
  13690. begin
  13691. pTDefRegMap(@Self)^.&set := $00000002;
  13692. end;
  13693. procedure TI2C1_I2C1ACON.clearRSEN; inline;
  13694. begin
  13695. pTDefRegMap(@Self)^.clr := $00000002;
  13696. end;
  13697. procedure TI2C1_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  13698. begin
  13699. if thebits = 0 then
  13700. pTDefRegMap(@Self)^.clr := $00000002
  13701. else
  13702. pTDefRegMap(@Self)^.&set := $00000002;
  13703. end;
  13704. function TI2C1_I2C1ACON.getRSEN : TBits_1; inline;
  13705. begin
  13706. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13707. end;
  13708. procedure TI2C1_I2C1ACON.setPEN; inline;
  13709. begin
  13710. pTDefRegMap(@Self)^.&set := $00000004;
  13711. end;
  13712. procedure TI2C1_I2C1ACON.clearPEN; inline;
  13713. begin
  13714. pTDefRegMap(@Self)^.clr := $00000004;
  13715. end;
  13716. procedure TI2C1_I2C1ACON.setPEN(thebits : TBits_1); inline;
  13717. begin
  13718. if thebits = 0 then
  13719. pTDefRegMap(@Self)^.clr := $00000004
  13720. else
  13721. pTDefRegMap(@Self)^.&set := $00000004;
  13722. end;
  13723. function TI2C1_I2C1ACON.getPEN : TBits_1; inline;
  13724. begin
  13725. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13726. end;
  13727. procedure TI2C1_I2C1ACON.setRCEN; inline;
  13728. begin
  13729. pTDefRegMap(@Self)^.&set := $00000008;
  13730. end;
  13731. procedure TI2C1_I2C1ACON.clearRCEN; inline;
  13732. begin
  13733. pTDefRegMap(@Self)^.clr := $00000008;
  13734. end;
  13735. procedure TI2C1_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  13736. begin
  13737. if thebits = 0 then
  13738. pTDefRegMap(@Self)^.clr := $00000008
  13739. else
  13740. pTDefRegMap(@Self)^.&set := $00000008;
  13741. end;
  13742. function TI2C1_I2C1ACON.getRCEN : TBits_1; inline;
  13743. begin
  13744. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13745. end;
  13746. procedure TI2C1_I2C1ACON.setACKEN; inline;
  13747. begin
  13748. pTDefRegMap(@Self)^.&set := $00000010;
  13749. end;
  13750. procedure TI2C1_I2C1ACON.clearACKEN; inline;
  13751. begin
  13752. pTDefRegMap(@Self)^.clr := $00000010;
  13753. end;
  13754. procedure TI2C1_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  13755. begin
  13756. if thebits = 0 then
  13757. pTDefRegMap(@Self)^.clr := $00000010
  13758. else
  13759. pTDefRegMap(@Self)^.&set := $00000010;
  13760. end;
  13761. function TI2C1_I2C1ACON.getACKEN : TBits_1; inline;
  13762. begin
  13763. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13764. end;
  13765. procedure TI2C1_I2C1ACON.setACKDT; inline;
  13766. begin
  13767. pTDefRegMap(@Self)^.&set := $00000020;
  13768. end;
  13769. procedure TI2C1_I2C1ACON.clearACKDT; inline;
  13770. begin
  13771. pTDefRegMap(@Self)^.clr := $00000020;
  13772. end;
  13773. procedure TI2C1_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  13774. begin
  13775. if thebits = 0 then
  13776. pTDefRegMap(@Self)^.clr := $00000020
  13777. else
  13778. pTDefRegMap(@Self)^.&set := $00000020;
  13779. end;
  13780. function TI2C1_I2C1ACON.getACKDT : TBits_1; inline;
  13781. begin
  13782. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13783. end;
  13784. procedure TI2C1_I2C1ACON.setSTREN; inline;
  13785. begin
  13786. pTDefRegMap(@Self)^.&set := $00000040;
  13787. end;
  13788. procedure TI2C1_I2C1ACON.clearSTREN; inline;
  13789. begin
  13790. pTDefRegMap(@Self)^.clr := $00000040;
  13791. end;
  13792. procedure TI2C1_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  13793. begin
  13794. if thebits = 0 then
  13795. pTDefRegMap(@Self)^.clr := $00000040
  13796. else
  13797. pTDefRegMap(@Self)^.&set := $00000040;
  13798. end;
  13799. function TI2C1_I2C1ACON.getSTREN : TBits_1; inline;
  13800. begin
  13801. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13802. end;
  13803. procedure TI2C1_I2C1ACON.setGCEN; inline;
  13804. begin
  13805. pTDefRegMap(@Self)^.&set := $00000080;
  13806. end;
  13807. procedure TI2C1_I2C1ACON.clearGCEN; inline;
  13808. begin
  13809. pTDefRegMap(@Self)^.clr := $00000080;
  13810. end;
  13811. procedure TI2C1_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  13812. begin
  13813. if thebits = 0 then
  13814. pTDefRegMap(@Self)^.clr := $00000080
  13815. else
  13816. pTDefRegMap(@Self)^.&set := $00000080;
  13817. end;
  13818. function TI2C1_I2C1ACON.getGCEN : TBits_1; inline;
  13819. begin
  13820. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13821. end;
  13822. procedure TI2C1_I2C1ACON.setSMEN; inline;
  13823. begin
  13824. pTDefRegMap(@Self)^.&set := $00000100;
  13825. end;
  13826. procedure TI2C1_I2C1ACON.clearSMEN; inline;
  13827. begin
  13828. pTDefRegMap(@Self)^.clr := $00000100;
  13829. end;
  13830. procedure TI2C1_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  13831. begin
  13832. if thebits = 0 then
  13833. pTDefRegMap(@Self)^.clr := $00000100
  13834. else
  13835. pTDefRegMap(@Self)^.&set := $00000100;
  13836. end;
  13837. function TI2C1_I2C1ACON.getSMEN : TBits_1; inline;
  13838. begin
  13839. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13840. end;
  13841. procedure TI2C1_I2C1ACON.setDISSLW; inline;
  13842. begin
  13843. pTDefRegMap(@Self)^.&set := $00000200;
  13844. end;
  13845. procedure TI2C1_I2C1ACON.clearDISSLW; inline;
  13846. begin
  13847. pTDefRegMap(@Self)^.clr := $00000200;
  13848. end;
  13849. procedure TI2C1_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  13850. begin
  13851. if thebits = 0 then
  13852. pTDefRegMap(@Self)^.clr := $00000200
  13853. else
  13854. pTDefRegMap(@Self)^.&set := $00000200;
  13855. end;
  13856. function TI2C1_I2C1ACON.getDISSLW : TBits_1; inline;
  13857. begin
  13858. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13859. end;
  13860. procedure TI2C1_I2C1ACON.setA10M; inline;
  13861. begin
  13862. pTDefRegMap(@Self)^.&set := $00000400;
  13863. end;
  13864. procedure TI2C1_I2C1ACON.clearA10M; inline;
  13865. begin
  13866. pTDefRegMap(@Self)^.clr := $00000400;
  13867. end;
  13868. procedure TI2C1_I2C1ACON.setA10M(thebits : TBits_1); inline;
  13869. begin
  13870. if thebits = 0 then
  13871. pTDefRegMap(@Self)^.clr := $00000400
  13872. else
  13873. pTDefRegMap(@Self)^.&set := $00000400;
  13874. end;
  13875. function TI2C1_I2C1ACON.getA10M : TBits_1; inline;
  13876. begin
  13877. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13878. end;
  13879. procedure TI2C1_I2C1ACON.setSTRICT; inline;
  13880. begin
  13881. pTDefRegMap(@Self)^.&set := $00000800;
  13882. end;
  13883. procedure TI2C1_I2C1ACON.clearSTRICT; inline;
  13884. begin
  13885. pTDefRegMap(@Self)^.clr := $00000800;
  13886. end;
  13887. procedure TI2C1_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  13888. begin
  13889. if thebits = 0 then
  13890. pTDefRegMap(@Self)^.clr := $00000800
  13891. else
  13892. pTDefRegMap(@Self)^.&set := $00000800;
  13893. end;
  13894. function TI2C1_I2C1ACON.getSTRICT : TBits_1; inline;
  13895. begin
  13896. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13897. end;
  13898. procedure TI2C1_I2C1ACON.setSCLREL; inline;
  13899. begin
  13900. pTDefRegMap(@Self)^.&set := $00001000;
  13901. end;
  13902. procedure TI2C1_I2C1ACON.clearSCLREL; inline;
  13903. begin
  13904. pTDefRegMap(@Self)^.clr := $00001000;
  13905. end;
  13906. procedure TI2C1_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  13907. begin
  13908. if thebits = 0 then
  13909. pTDefRegMap(@Self)^.clr := $00001000
  13910. else
  13911. pTDefRegMap(@Self)^.&set := $00001000;
  13912. end;
  13913. function TI2C1_I2C1ACON.getSCLREL : TBits_1; inline;
  13914. begin
  13915. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13916. end;
  13917. procedure TI2C1_I2C1ACON.setSIDL; inline;
  13918. begin
  13919. pTDefRegMap(@Self)^.&set := $00002000;
  13920. end;
  13921. procedure TI2C1_I2C1ACON.clearSIDL; inline;
  13922. begin
  13923. pTDefRegMap(@Self)^.clr := $00002000;
  13924. end;
  13925. procedure TI2C1_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  13926. begin
  13927. if thebits = 0 then
  13928. pTDefRegMap(@Self)^.clr := $00002000
  13929. else
  13930. pTDefRegMap(@Self)^.&set := $00002000;
  13931. end;
  13932. function TI2C1_I2C1ACON.getSIDL : TBits_1; inline;
  13933. begin
  13934. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13935. end;
  13936. procedure TI2C1_I2C1ACON.setON; inline;
  13937. begin
  13938. pTDefRegMap(@Self)^.&set := $00008000;
  13939. end;
  13940. procedure TI2C1_I2C1ACON.clearON; inline;
  13941. begin
  13942. pTDefRegMap(@Self)^.clr := $00008000;
  13943. end;
  13944. procedure TI2C1_I2C1ACON.setON(thebits : TBits_1); inline;
  13945. begin
  13946. if thebits = 0 then
  13947. pTDefRegMap(@Self)^.clr := $00008000
  13948. else
  13949. pTDefRegMap(@Self)^.&set := $00008000;
  13950. end;
  13951. function TI2C1_I2C1ACON.getON : TBits_1; inline;
  13952. begin
  13953. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13954. end;
  13955. procedure TI2C1_I2C1ACON.setIPMIEN; inline;
  13956. begin
  13957. pTDefRegMap(@Self)^.&set := $00000800;
  13958. end;
  13959. procedure TI2C1_I2C1ACON.clearIPMIEN; inline;
  13960. begin
  13961. pTDefRegMap(@Self)^.clr := $00000800;
  13962. end;
  13963. procedure TI2C1_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  13964. begin
  13965. if thebits = 0 then
  13966. pTDefRegMap(@Self)^.clr := $00000800
  13967. else
  13968. pTDefRegMap(@Self)^.&set := $00000800;
  13969. end;
  13970. function TI2C1_I2C1ACON.getIPMIEN : TBits_1; inline;
  13971. begin
  13972. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13973. end;
  13974. procedure TI2C1_I2C1ACON.setI2CSIDL; inline;
  13975. begin
  13976. pTDefRegMap(@Self)^.&set := $00002000;
  13977. end;
  13978. procedure TI2C1_I2C1ACON.clearI2CSIDL; inline;
  13979. begin
  13980. pTDefRegMap(@Self)^.clr := $00002000;
  13981. end;
  13982. procedure TI2C1_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  13983. begin
  13984. if thebits = 0 then
  13985. pTDefRegMap(@Self)^.clr := $00002000
  13986. else
  13987. pTDefRegMap(@Self)^.&set := $00002000;
  13988. end;
  13989. function TI2C1_I2C1ACON.getI2CSIDL : TBits_1; inline;
  13990. begin
  13991. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13992. end;
  13993. procedure TI2C1_I2C1ACON.setI2CEN; inline;
  13994. begin
  13995. pTDefRegMap(@Self)^.&set := $00008000;
  13996. end;
  13997. procedure TI2C1_I2C1ACON.clearI2CEN; inline;
  13998. begin
  13999. pTDefRegMap(@Self)^.clr := $00008000;
  14000. end;
  14001. procedure TI2C1_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  14002. begin
  14003. if thebits = 0 then
  14004. pTDefRegMap(@Self)^.clr := $00008000
  14005. else
  14006. pTDefRegMap(@Self)^.&set := $00008000;
  14007. end;
  14008. function TI2C1_I2C1ACON.getI2CEN : TBits_1; inline;
  14009. begin
  14010. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14011. end;
  14012. procedure TI2C1_I2C1ACON.setw(thebits : TBits_32); inline;
  14013. begin
  14014. pTDefRegMap(@Self)^.val := thebits;
  14015. end;
  14016. function TI2C1_I2C1ACON.getw : TBits_32; inline;
  14017. begin
  14018. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14019. end;
  14020. procedure TI2C1_I2C1CON.setSEN; inline;
  14021. begin
  14022. pTDefRegMap(@Self)^.&set := $00000001;
  14023. end;
  14024. procedure TI2C1_I2C1CON.clearSEN; inline;
  14025. begin
  14026. pTDefRegMap(@Self)^.clr := $00000001;
  14027. end;
  14028. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  14029. begin
  14030. if thebits = 0 then
  14031. pTDefRegMap(@Self)^.clr := $00000001
  14032. else
  14033. pTDefRegMap(@Self)^.&set := $00000001;
  14034. end;
  14035. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  14036. begin
  14037. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14038. end;
  14039. procedure TI2C1_I2C1CON.setRSEN; inline;
  14040. begin
  14041. pTDefRegMap(@Self)^.&set := $00000002;
  14042. end;
  14043. procedure TI2C1_I2C1CON.clearRSEN; inline;
  14044. begin
  14045. pTDefRegMap(@Self)^.clr := $00000002;
  14046. end;
  14047. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  14048. begin
  14049. if thebits = 0 then
  14050. pTDefRegMap(@Self)^.clr := $00000002
  14051. else
  14052. pTDefRegMap(@Self)^.&set := $00000002;
  14053. end;
  14054. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  14055. begin
  14056. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14057. end;
  14058. procedure TI2C1_I2C1CON.setPEN; inline;
  14059. begin
  14060. pTDefRegMap(@Self)^.&set := $00000004;
  14061. end;
  14062. procedure TI2C1_I2C1CON.clearPEN; inline;
  14063. begin
  14064. pTDefRegMap(@Self)^.clr := $00000004;
  14065. end;
  14066. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  14067. begin
  14068. if thebits = 0 then
  14069. pTDefRegMap(@Self)^.clr := $00000004
  14070. else
  14071. pTDefRegMap(@Self)^.&set := $00000004;
  14072. end;
  14073. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  14074. begin
  14075. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14076. end;
  14077. procedure TI2C1_I2C1CON.setRCEN; inline;
  14078. begin
  14079. pTDefRegMap(@Self)^.&set := $00000008;
  14080. end;
  14081. procedure TI2C1_I2C1CON.clearRCEN; inline;
  14082. begin
  14083. pTDefRegMap(@Self)^.clr := $00000008;
  14084. end;
  14085. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  14086. begin
  14087. if thebits = 0 then
  14088. pTDefRegMap(@Self)^.clr := $00000008
  14089. else
  14090. pTDefRegMap(@Self)^.&set := $00000008;
  14091. end;
  14092. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  14093. begin
  14094. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14095. end;
  14096. procedure TI2C1_I2C1CON.setACKEN; inline;
  14097. begin
  14098. pTDefRegMap(@Self)^.&set := $00000010;
  14099. end;
  14100. procedure TI2C1_I2C1CON.clearACKEN; inline;
  14101. begin
  14102. pTDefRegMap(@Self)^.clr := $00000010;
  14103. end;
  14104. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  14105. begin
  14106. if thebits = 0 then
  14107. pTDefRegMap(@Self)^.clr := $00000010
  14108. else
  14109. pTDefRegMap(@Self)^.&set := $00000010;
  14110. end;
  14111. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  14112. begin
  14113. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14114. end;
  14115. procedure TI2C1_I2C1CON.setACKDT; inline;
  14116. begin
  14117. pTDefRegMap(@Self)^.&set := $00000020;
  14118. end;
  14119. procedure TI2C1_I2C1CON.clearACKDT; inline;
  14120. begin
  14121. pTDefRegMap(@Self)^.clr := $00000020;
  14122. end;
  14123. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  14124. begin
  14125. if thebits = 0 then
  14126. pTDefRegMap(@Self)^.clr := $00000020
  14127. else
  14128. pTDefRegMap(@Self)^.&set := $00000020;
  14129. end;
  14130. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  14131. begin
  14132. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14133. end;
  14134. procedure TI2C1_I2C1CON.setSTREN; inline;
  14135. begin
  14136. pTDefRegMap(@Self)^.&set := $00000040;
  14137. end;
  14138. procedure TI2C1_I2C1CON.clearSTREN; inline;
  14139. begin
  14140. pTDefRegMap(@Self)^.clr := $00000040;
  14141. end;
  14142. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  14143. begin
  14144. if thebits = 0 then
  14145. pTDefRegMap(@Self)^.clr := $00000040
  14146. else
  14147. pTDefRegMap(@Self)^.&set := $00000040;
  14148. end;
  14149. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  14150. begin
  14151. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14152. end;
  14153. procedure TI2C1_I2C1CON.setGCEN; inline;
  14154. begin
  14155. pTDefRegMap(@Self)^.&set := $00000080;
  14156. end;
  14157. procedure TI2C1_I2C1CON.clearGCEN; inline;
  14158. begin
  14159. pTDefRegMap(@Self)^.clr := $00000080;
  14160. end;
  14161. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  14162. begin
  14163. if thebits = 0 then
  14164. pTDefRegMap(@Self)^.clr := $00000080
  14165. else
  14166. pTDefRegMap(@Self)^.&set := $00000080;
  14167. end;
  14168. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  14169. begin
  14170. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14171. end;
  14172. procedure TI2C1_I2C1CON.setSMEN; inline;
  14173. begin
  14174. pTDefRegMap(@Self)^.&set := $00000100;
  14175. end;
  14176. procedure TI2C1_I2C1CON.clearSMEN; inline;
  14177. begin
  14178. pTDefRegMap(@Self)^.clr := $00000100;
  14179. end;
  14180. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  14181. begin
  14182. if thebits = 0 then
  14183. pTDefRegMap(@Self)^.clr := $00000100
  14184. else
  14185. pTDefRegMap(@Self)^.&set := $00000100;
  14186. end;
  14187. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  14188. begin
  14189. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14190. end;
  14191. procedure TI2C1_I2C1CON.setDISSLW; inline;
  14192. begin
  14193. pTDefRegMap(@Self)^.&set := $00000200;
  14194. end;
  14195. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  14196. begin
  14197. pTDefRegMap(@Self)^.clr := $00000200;
  14198. end;
  14199. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  14200. begin
  14201. if thebits = 0 then
  14202. pTDefRegMap(@Self)^.clr := $00000200
  14203. else
  14204. pTDefRegMap(@Self)^.&set := $00000200;
  14205. end;
  14206. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  14207. begin
  14208. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14209. end;
  14210. procedure TI2C1_I2C1CON.setA10M; inline;
  14211. begin
  14212. pTDefRegMap(@Self)^.&set := $00000400;
  14213. end;
  14214. procedure TI2C1_I2C1CON.clearA10M; inline;
  14215. begin
  14216. pTDefRegMap(@Self)^.clr := $00000400;
  14217. end;
  14218. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  14219. begin
  14220. if thebits = 0 then
  14221. pTDefRegMap(@Self)^.clr := $00000400
  14222. else
  14223. pTDefRegMap(@Self)^.&set := $00000400;
  14224. end;
  14225. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  14226. begin
  14227. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14228. end;
  14229. procedure TI2C1_I2C1CON.setSTRICT; inline;
  14230. begin
  14231. pTDefRegMap(@Self)^.&set := $00000800;
  14232. end;
  14233. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  14234. begin
  14235. pTDefRegMap(@Self)^.clr := $00000800;
  14236. end;
  14237. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  14238. begin
  14239. if thebits = 0 then
  14240. pTDefRegMap(@Self)^.clr := $00000800
  14241. else
  14242. pTDefRegMap(@Self)^.&set := $00000800;
  14243. end;
  14244. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  14245. begin
  14246. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14247. end;
  14248. procedure TI2C1_I2C1CON.setSCLREL; inline;
  14249. begin
  14250. pTDefRegMap(@Self)^.&set := $00001000;
  14251. end;
  14252. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  14253. begin
  14254. pTDefRegMap(@Self)^.clr := $00001000;
  14255. end;
  14256. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  14257. begin
  14258. if thebits = 0 then
  14259. pTDefRegMap(@Self)^.clr := $00001000
  14260. else
  14261. pTDefRegMap(@Self)^.&set := $00001000;
  14262. end;
  14263. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  14264. begin
  14265. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14266. end;
  14267. procedure TI2C1_I2C1CON.setSIDL; inline;
  14268. begin
  14269. pTDefRegMap(@Self)^.&set := $00002000;
  14270. end;
  14271. procedure TI2C1_I2C1CON.clearSIDL; inline;
  14272. begin
  14273. pTDefRegMap(@Self)^.clr := $00002000;
  14274. end;
  14275. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  14276. begin
  14277. if thebits = 0 then
  14278. pTDefRegMap(@Self)^.clr := $00002000
  14279. else
  14280. pTDefRegMap(@Self)^.&set := $00002000;
  14281. end;
  14282. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  14283. begin
  14284. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14285. end;
  14286. procedure TI2C1_I2C1CON.setON; inline;
  14287. begin
  14288. pTDefRegMap(@Self)^.&set := $00008000;
  14289. end;
  14290. procedure TI2C1_I2C1CON.clearON; inline;
  14291. begin
  14292. pTDefRegMap(@Self)^.clr := $00008000;
  14293. end;
  14294. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  14295. begin
  14296. if thebits = 0 then
  14297. pTDefRegMap(@Self)^.clr := $00008000
  14298. else
  14299. pTDefRegMap(@Self)^.&set := $00008000;
  14300. end;
  14301. function TI2C1_I2C1CON.getON : TBits_1; inline;
  14302. begin
  14303. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14304. end;
  14305. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  14306. begin
  14307. pTDefRegMap(@Self)^.&set := $00000800;
  14308. end;
  14309. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  14310. begin
  14311. pTDefRegMap(@Self)^.clr := $00000800;
  14312. end;
  14313. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  14314. begin
  14315. if thebits = 0 then
  14316. pTDefRegMap(@Self)^.clr := $00000800
  14317. else
  14318. pTDefRegMap(@Self)^.&set := $00000800;
  14319. end;
  14320. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  14321. begin
  14322. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14323. end;
  14324. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  14325. begin
  14326. pTDefRegMap(@Self)^.&set := $00002000;
  14327. end;
  14328. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  14329. begin
  14330. pTDefRegMap(@Self)^.clr := $00002000;
  14331. end;
  14332. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  14333. begin
  14334. if thebits = 0 then
  14335. pTDefRegMap(@Self)^.clr := $00002000
  14336. else
  14337. pTDefRegMap(@Self)^.&set := $00002000;
  14338. end;
  14339. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  14340. begin
  14341. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14342. end;
  14343. procedure TI2C1_I2C1CON.setI2CEN; inline;
  14344. begin
  14345. pTDefRegMap(@Self)^.&set := $00008000;
  14346. end;
  14347. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  14348. begin
  14349. pTDefRegMap(@Self)^.clr := $00008000;
  14350. end;
  14351. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  14352. begin
  14353. if thebits = 0 then
  14354. pTDefRegMap(@Self)^.clr := $00008000
  14355. else
  14356. pTDefRegMap(@Self)^.&set := $00008000;
  14357. end;
  14358. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  14359. begin
  14360. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14361. end;
  14362. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  14363. begin
  14364. pTDefRegMap(@Self)^.val := thebits;
  14365. end;
  14366. function TI2C1_I2C1CON.getw : TBits_32; inline;
  14367. begin
  14368. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14369. end;
  14370. procedure TI2C1_I2C1ASTAT.setTBF; inline;
  14371. begin
  14372. pTDefRegMap(@Self)^.&set := $00000001;
  14373. end;
  14374. procedure TI2C1_I2C1ASTAT.clearTBF; inline;
  14375. begin
  14376. pTDefRegMap(@Self)^.clr := $00000001;
  14377. end;
  14378. procedure TI2C1_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  14379. begin
  14380. if thebits = 0 then
  14381. pTDefRegMap(@Self)^.clr := $00000001
  14382. else
  14383. pTDefRegMap(@Self)^.&set := $00000001;
  14384. end;
  14385. function TI2C1_I2C1ASTAT.getTBF : TBits_1; inline;
  14386. begin
  14387. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14388. end;
  14389. procedure TI2C1_I2C1ASTAT.setRBF; inline;
  14390. begin
  14391. pTDefRegMap(@Self)^.&set := $00000002;
  14392. end;
  14393. procedure TI2C1_I2C1ASTAT.clearRBF; inline;
  14394. begin
  14395. pTDefRegMap(@Self)^.clr := $00000002;
  14396. end;
  14397. procedure TI2C1_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  14398. begin
  14399. if thebits = 0 then
  14400. pTDefRegMap(@Self)^.clr := $00000002
  14401. else
  14402. pTDefRegMap(@Self)^.&set := $00000002;
  14403. end;
  14404. function TI2C1_I2C1ASTAT.getRBF : TBits_1; inline;
  14405. begin
  14406. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14407. end;
  14408. procedure TI2C1_I2C1ASTAT.setR_W; inline;
  14409. begin
  14410. pTDefRegMap(@Self)^.&set := $00000004;
  14411. end;
  14412. procedure TI2C1_I2C1ASTAT.clearR_W; inline;
  14413. begin
  14414. pTDefRegMap(@Self)^.clr := $00000004;
  14415. end;
  14416. procedure TI2C1_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  14417. begin
  14418. if thebits = 0 then
  14419. pTDefRegMap(@Self)^.clr := $00000004
  14420. else
  14421. pTDefRegMap(@Self)^.&set := $00000004;
  14422. end;
  14423. function TI2C1_I2C1ASTAT.getR_W : TBits_1; inline;
  14424. begin
  14425. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14426. end;
  14427. procedure TI2C1_I2C1ASTAT.setS; inline;
  14428. begin
  14429. pTDefRegMap(@Self)^.&set := $00000008;
  14430. end;
  14431. procedure TI2C1_I2C1ASTAT.clearS; inline;
  14432. begin
  14433. pTDefRegMap(@Self)^.clr := $00000008;
  14434. end;
  14435. procedure TI2C1_I2C1ASTAT.setS(thebits : TBits_1); inline;
  14436. begin
  14437. if thebits = 0 then
  14438. pTDefRegMap(@Self)^.clr := $00000008
  14439. else
  14440. pTDefRegMap(@Self)^.&set := $00000008;
  14441. end;
  14442. function TI2C1_I2C1ASTAT.getS : TBits_1; inline;
  14443. begin
  14444. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14445. end;
  14446. procedure TI2C1_I2C1ASTAT.setP; inline;
  14447. begin
  14448. pTDefRegMap(@Self)^.&set := $00000010;
  14449. end;
  14450. procedure TI2C1_I2C1ASTAT.clearP; inline;
  14451. begin
  14452. pTDefRegMap(@Self)^.clr := $00000010;
  14453. end;
  14454. procedure TI2C1_I2C1ASTAT.setP(thebits : TBits_1); inline;
  14455. begin
  14456. if thebits = 0 then
  14457. pTDefRegMap(@Self)^.clr := $00000010
  14458. else
  14459. pTDefRegMap(@Self)^.&set := $00000010;
  14460. end;
  14461. function TI2C1_I2C1ASTAT.getP : TBits_1; inline;
  14462. begin
  14463. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14464. end;
  14465. procedure TI2C1_I2C1ASTAT.setD_A; inline;
  14466. begin
  14467. pTDefRegMap(@Self)^.&set := $00000020;
  14468. end;
  14469. procedure TI2C1_I2C1ASTAT.clearD_A; inline;
  14470. begin
  14471. pTDefRegMap(@Self)^.clr := $00000020;
  14472. end;
  14473. procedure TI2C1_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  14474. begin
  14475. if thebits = 0 then
  14476. pTDefRegMap(@Self)^.clr := $00000020
  14477. else
  14478. pTDefRegMap(@Self)^.&set := $00000020;
  14479. end;
  14480. function TI2C1_I2C1ASTAT.getD_A : TBits_1; inline;
  14481. begin
  14482. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14483. end;
  14484. procedure TI2C1_I2C1ASTAT.setI2COV; inline;
  14485. begin
  14486. pTDefRegMap(@Self)^.&set := $00000040;
  14487. end;
  14488. procedure TI2C1_I2C1ASTAT.clearI2COV; inline;
  14489. begin
  14490. pTDefRegMap(@Self)^.clr := $00000040;
  14491. end;
  14492. procedure TI2C1_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  14493. begin
  14494. if thebits = 0 then
  14495. pTDefRegMap(@Self)^.clr := $00000040
  14496. else
  14497. pTDefRegMap(@Self)^.&set := $00000040;
  14498. end;
  14499. function TI2C1_I2C1ASTAT.getI2COV : TBits_1; inline;
  14500. begin
  14501. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14502. end;
  14503. procedure TI2C1_I2C1ASTAT.setIWCOL; inline;
  14504. begin
  14505. pTDefRegMap(@Self)^.&set := $00000080;
  14506. end;
  14507. procedure TI2C1_I2C1ASTAT.clearIWCOL; inline;
  14508. begin
  14509. pTDefRegMap(@Self)^.clr := $00000080;
  14510. end;
  14511. procedure TI2C1_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  14512. begin
  14513. if thebits = 0 then
  14514. pTDefRegMap(@Self)^.clr := $00000080
  14515. else
  14516. pTDefRegMap(@Self)^.&set := $00000080;
  14517. end;
  14518. function TI2C1_I2C1ASTAT.getIWCOL : TBits_1; inline;
  14519. begin
  14520. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14521. end;
  14522. procedure TI2C1_I2C1ASTAT.setADD10; inline;
  14523. begin
  14524. pTDefRegMap(@Self)^.&set := $00000100;
  14525. end;
  14526. procedure TI2C1_I2C1ASTAT.clearADD10; inline;
  14527. begin
  14528. pTDefRegMap(@Self)^.clr := $00000100;
  14529. end;
  14530. procedure TI2C1_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  14531. begin
  14532. if thebits = 0 then
  14533. pTDefRegMap(@Self)^.clr := $00000100
  14534. else
  14535. pTDefRegMap(@Self)^.&set := $00000100;
  14536. end;
  14537. function TI2C1_I2C1ASTAT.getADD10 : TBits_1; inline;
  14538. begin
  14539. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14540. end;
  14541. procedure TI2C1_I2C1ASTAT.setGCSTAT; inline;
  14542. begin
  14543. pTDefRegMap(@Self)^.&set := $00000200;
  14544. end;
  14545. procedure TI2C1_I2C1ASTAT.clearGCSTAT; inline;
  14546. begin
  14547. pTDefRegMap(@Self)^.clr := $00000200;
  14548. end;
  14549. procedure TI2C1_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  14550. begin
  14551. if thebits = 0 then
  14552. pTDefRegMap(@Self)^.clr := $00000200
  14553. else
  14554. pTDefRegMap(@Self)^.&set := $00000200;
  14555. end;
  14556. function TI2C1_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  14557. begin
  14558. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14559. end;
  14560. procedure TI2C1_I2C1ASTAT.setBCL; inline;
  14561. begin
  14562. pTDefRegMap(@Self)^.&set := $00000400;
  14563. end;
  14564. procedure TI2C1_I2C1ASTAT.clearBCL; inline;
  14565. begin
  14566. pTDefRegMap(@Self)^.clr := $00000400;
  14567. end;
  14568. procedure TI2C1_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  14569. begin
  14570. if thebits = 0 then
  14571. pTDefRegMap(@Self)^.clr := $00000400
  14572. else
  14573. pTDefRegMap(@Self)^.&set := $00000400;
  14574. end;
  14575. function TI2C1_I2C1ASTAT.getBCL : TBits_1; inline;
  14576. begin
  14577. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14578. end;
  14579. procedure TI2C1_I2C1ASTAT.setTRSTAT; inline;
  14580. begin
  14581. pTDefRegMap(@Self)^.&set := $00004000;
  14582. end;
  14583. procedure TI2C1_I2C1ASTAT.clearTRSTAT; inline;
  14584. begin
  14585. pTDefRegMap(@Self)^.clr := $00004000;
  14586. end;
  14587. procedure TI2C1_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  14588. begin
  14589. if thebits = 0 then
  14590. pTDefRegMap(@Self)^.clr := $00004000
  14591. else
  14592. pTDefRegMap(@Self)^.&set := $00004000;
  14593. end;
  14594. function TI2C1_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  14595. begin
  14596. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14597. end;
  14598. procedure TI2C1_I2C1ASTAT.setACKSTAT; inline;
  14599. begin
  14600. pTDefRegMap(@Self)^.&set := $00008000;
  14601. end;
  14602. procedure TI2C1_I2C1ASTAT.clearACKSTAT; inline;
  14603. begin
  14604. pTDefRegMap(@Self)^.clr := $00008000;
  14605. end;
  14606. procedure TI2C1_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  14607. begin
  14608. if thebits = 0 then
  14609. pTDefRegMap(@Self)^.clr := $00008000
  14610. else
  14611. pTDefRegMap(@Self)^.&set := $00008000;
  14612. end;
  14613. function TI2C1_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  14614. begin
  14615. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14616. end;
  14617. procedure TI2C1_I2C1ASTAT.setI2CPOV; inline;
  14618. begin
  14619. pTDefRegMap(@Self)^.&set := $00000040;
  14620. end;
  14621. procedure TI2C1_I2C1ASTAT.clearI2CPOV; inline;
  14622. begin
  14623. pTDefRegMap(@Self)^.clr := $00000040;
  14624. end;
  14625. procedure TI2C1_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  14626. begin
  14627. if thebits = 0 then
  14628. pTDefRegMap(@Self)^.clr := $00000040
  14629. else
  14630. pTDefRegMap(@Self)^.&set := $00000040;
  14631. end;
  14632. function TI2C1_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  14633. begin
  14634. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14635. end;
  14636. procedure TI2C1_I2C1ASTAT.setw(thebits : TBits_32); inline;
  14637. begin
  14638. pTDefRegMap(@Self)^.val := thebits;
  14639. end;
  14640. function TI2C1_I2C1ASTAT.getw : TBits_32; inline;
  14641. begin
  14642. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14643. end;
  14644. procedure TI2C1_I2C1STAT.setTBF; inline;
  14645. begin
  14646. pTDefRegMap(@Self)^.&set := $00000001;
  14647. end;
  14648. procedure TI2C1_I2C1STAT.clearTBF; inline;
  14649. begin
  14650. pTDefRegMap(@Self)^.clr := $00000001;
  14651. end;
  14652. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  14653. begin
  14654. if thebits = 0 then
  14655. pTDefRegMap(@Self)^.clr := $00000001
  14656. else
  14657. pTDefRegMap(@Self)^.&set := $00000001;
  14658. end;
  14659. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  14660. begin
  14661. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14662. end;
  14663. procedure TI2C1_I2C1STAT.setRBF; inline;
  14664. begin
  14665. pTDefRegMap(@Self)^.&set := $00000002;
  14666. end;
  14667. procedure TI2C1_I2C1STAT.clearRBF; inline;
  14668. begin
  14669. pTDefRegMap(@Self)^.clr := $00000002;
  14670. end;
  14671. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  14672. begin
  14673. if thebits = 0 then
  14674. pTDefRegMap(@Self)^.clr := $00000002
  14675. else
  14676. pTDefRegMap(@Self)^.&set := $00000002;
  14677. end;
  14678. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  14679. begin
  14680. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14681. end;
  14682. procedure TI2C1_I2C1STAT.setR_W; inline;
  14683. begin
  14684. pTDefRegMap(@Self)^.&set := $00000004;
  14685. end;
  14686. procedure TI2C1_I2C1STAT.clearR_W; inline;
  14687. begin
  14688. pTDefRegMap(@Self)^.clr := $00000004;
  14689. end;
  14690. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  14691. begin
  14692. if thebits = 0 then
  14693. pTDefRegMap(@Self)^.clr := $00000004
  14694. else
  14695. pTDefRegMap(@Self)^.&set := $00000004;
  14696. end;
  14697. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  14698. begin
  14699. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14700. end;
  14701. procedure TI2C1_I2C1STAT.setS; inline;
  14702. begin
  14703. pTDefRegMap(@Self)^.&set := $00000008;
  14704. end;
  14705. procedure TI2C1_I2C1STAT.clearS; inline;
  14706. begin
  14707. pTDefRegMap(@Self)^.clr := $00000008;
  14708. end;
  14709. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  14710. begin
  14711. if thebits = 0 then
  14712. pTDefRegMap(@Self)^.clr := $00000008
  14713. else
  14714. pTDefRegMap(@Self)^.&set := $00000008;
  14715. end;
  14716. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  14717. begin
  14718. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14719. end;
  14720. procedure TI2C1_I2C1STAT.setP; inline;
  14721. begin
  14722. pTDefRegMap(@Self)^.&set := $00000010;
  14723. end;
  14724. procedure TI2C1_I2C1STAT.clearP; inline;
  14725. begin
  14726. pTDefRegMap(@Self)^.clr := $00000010;
  14727. end;
  14728. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  14729. begin
  14730. if thebits = 0 then
  14731. pTDefRegMap(@Self)^.clr := $00000010
  14732. else
  14733. pTDefRegMap(@Self)^.&set := $00000010;
  14734. end;
  14735. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  14736. begin
  14737. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14738. end;
  14739. procedure TI2C1_I2C1STAT.setD_A; inline;
  14740. begin
  14741. pTDefRegMap(@Self)^.&set := $00000020;
  14742. end;
  14743. procedure TI2C1_I2C1STAT.clearD_A; inline;
  14744. begin
  14745. pTDefRegMap(@Self)^.clr := $00000020;
  14746. end;
  14747. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  14748. begin
  14749. if thebits = 0 then
  14750. pTDefRegMap(@Self)^.clr := $00000020
  14751. else
  14752. pTDefRegMap(@Self)^.&set := $00000020;
  14753. end;
  14754. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  14755. begin
  14756. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14757. end;
  14758. procedure TI2C1_I2C1STAT.setI2COV; inline;
  14759. begin
  14760. pTDefRegMap(@Self)^.&set := $00000040;
  14761. end;
  14762. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  14763. begin
  14764. pTDefRegMap(@Self)^.clr := $00000040;
  14765. end;
  14766. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  14767. begin
  14768. if thebits = 0 then
  14769. pTDefRegMap(@Self)^.clr := $00000040
  14770. else
  14771. pTDefRegMap(@Self)^.&set := $00000040;
  14772. end;
  14773. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  14774. begin
  14775. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14776. end;
  14777. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  14778. begin
  14779. pTDefRegMap(@Self)^.&set := $00000080;
  14780. end;
  14781. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  14782. begin
  14783. pTDefRegMap(@Self)^.clr := $00000080;
  14784. end;
  14785. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  14786. begin
  14787. if thebits = 0 then
  14788. pTDefRegMap(@Self)^.clr := $00000080
  14789. else
  14790. pTDefRegMap(@Self)^.&set := $00000080;
  14791. end;
  14792. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  14793. begin
  14794. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14795. end;
  14796. procedure TI2C1_I2C1STAT.setADD10; inline;
  14797. begin
  14798. pTDefRegMap(@Self)^.&set := $00000100;
  14799. end;
  14800. procedure TI2C1_I2C1STAT.clearADD10; inline;
  14801. begin
  14802. pTDefRegMap(@Self)^.clr := $00000100;
  14803. end;
  14804. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  14805. begin
  14806. if thebits = 0 then
  14807. pTDefRegMap(@Self)^.clr := $00000100
  14808. else
  14809. pTDefRegMap(@Self)^.&set := $00000100;
  14810. end;
  14811. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  14812. begin
  14813. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14814. end;
  14815. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  14816. begin
  14817. pTDefRegMap(@Self)^.&set := $00000200;
  14818. end;
  14819. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  14820. begin
  14821. pTDefRegMap(@Self)^.clr := $00000200;
  14822. end;
  14823. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  14824. begin
  14825. if thebits = 0 then
  14826. pTDefRegMap(@Self)^.clr := $00000200
  14827. else
  14828. pTDefRegMap(@Self)^.&set := $00000200;
  14829. end;
  14830. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  14831. begin
  14832. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14833. end;
  14834. procedure TI2C1_I2C1STAT.setBCL; inline;
  14835. begin
  14836. pTDefRegMap(@Self)^.&set := $00000400;
  14837. end;
  14838. procedure TI2C1_I2C1STAT.clearBCL; inline;
  14839. begin
  14840. pTDefRegMap(@Self)^.clr := $00000400;
  14841. end;
  14842. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  14843. begin
  14844. if thebits = 0 then
  14845. pTDefRegMap(@Self)^.clr := $00000400
  14846. else
  14847. pTDefRegMap(@Self)^.&set := $00000400;
  14848. end;
  14849. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  14850. begin
  14851. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14852. end;
  14853. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  14854. begin
  14855. pTDefRegMap(@Self)^.&set := $00004000;
  14856. end;
  14857. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  14858. begin
  14859. pTDefRegMap(@Self)^.clr := $00004000;
  14860. end;
  14861. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  14862. begin
  14863. if thebits = 0 then
  14864. pTDefRegMap(@Self)^.clr := $00004000
  14865. else
  14866. pTDefRegMap(@Self)^.&set := $00004000;
  14867. end;
  14868. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  14869. begin
  14870. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14871. end;
  14872. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  14873. begin
  14874. pTDefRegMap(@Self)^.&set := $00008000;
  14875. end;
  14876. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  14877. begin
  14878. pTDefRegMap(@Self)^.clr := $00008000;
  14879. end;
  14880. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  14881. begin
  14882. if thebits = 0 then
  14883. pTDefRegMap(@Self)^.clr := $00008000
  14884. else
  14885. pTDefRegMap(@Self)^.&set := $00008000;
  14886. end;
  14887. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  14888. begin
  14889. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14890. end;
  14891. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  14892. begin
  14893. pTDefRegMap(@Self)^.&set := $00000040;
  14894. end;
  14895. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  14896. begin
  14897. pTDefRegMap(@Self)^.clr := $00000040;
  14898. end;
  14899. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  14900. begin
  14901. if thebits = 0 then
  14902. pTDefRegMap(@Self)^.clr := $00000040
  14903. else
  14904. pTDefRegMap(@Self)^.&set := $00000040;
  14905. end;
  14906. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  14907. begin
  14908. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14909. end;
  14910. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  14911. begin
  14912. pTDefRegMap(@Self)^.val := thebits;
  14913. end;
  14914. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  14915. begin
  14916. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14917. end;
  14918. procedure TI2C2_I2C2ACON.setSEN; inline;
  14919. begin
  14920. pTDefRegMap(@Self)^.&set := $00000001;
  14921. end;
  14922. procedure TI2C2_I2C2ACON.clearSEN; inline;
  14923. begin
  14924. pTDefRegMap(@Self)^.clr := $00000001;
  14925. end;
  14926. procedure TI2C2_I2C2ACON.setSEN(thebits : TBits_1); inline;
  14927. begin
  14928. if thebits = 0 then
  14929. pTDefRegMap(@Self)^.clr := $00000001
  14930. else
  14931. pTDefRegMap(@Self)^.&set := $00000001;
  14932. end;
  14933. function TI2C2_I2C2ACON.getSEN : TBits_1; inline;
  14934. begin
  14935. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14936. end;
  14937. procedure TI2C2_I2C2ACON.setRSEN; inline;
  14938. begin
  14939. pTDefRegMap(@Self)^.&set := $00000002;
  14940. end;
  14941. procedure TI2C2_I2C2ACON.clearRSEN; inline;
  14942. begin
  14943. pTDefRegMap(@Self)^.clr := $00000002;
  14944. end;
  14945. procedure TI2C2_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  14946. begin
  14947. if thebits = 0 then
  14948. pTDefRegMap(@Self)^.clr := $00000002
  14949. else
  14950. pTDefRegMap(@Self)^.&set := $00000002;
  14951. end;
  14952. function TI2C2_I2C2ACON.getRSEN : TBits_1; inline;
  14953. begin
  14954. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14955. end;
  14956. procedure TI2C2_I2C2ACON.setPEN; inline;
  14957. begin
  14958. pTDefRegMap(@Self)^.&set := $00000004;
  14959. end;
  14960. procedure TI2C2_I2C2ACON.clearPEN; inline;
  14961. begin
  14962. pTDefRegMap(@Self)^.clr := $00000004;
  14963. end;
  14964. procedure TI2C2_I2C2ACON.setPEN(thebits : TBits_1); inline;
  14965. begin
  14966. if thebits = 0 then
  14967. pTDefRegMap(@Self)^.clr := $00000004
  14968. else
  14969. pTDefRegMap(@Self)^.&set := $00000004;
  14970. end;
  14971. function TI2C2_I2C2ACON.getPEN : TBits_1; inline;
  14972. begin
  14973. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14974. end;
  14975. procedure TI2C2_I2C2ACON.setRCEN; inline;
  14976. begin
  14977. pTDefRegMap(@Self)^.&set := $00000008;
  14978. end;
  14979. procedure TI2C2_I2C2ACON.clearRCEN; inline;
  14980. begin
  14981. pTDefRegMap(@Self)^.clr := $00000008;
  14982. end;
  14983. procedure TI2C2_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  14984. begin
  14985. if thebits = 0 then
  14986. pTDefRegMap(@Self)^.clr := $00000008
  14987. else
  14988. pTDefRegMap(@Self)^.&set := $00000008;
  14989. end;
  14990. function TI2C2_I2C2ACON.getRCEN : TBits_1; inline;
  14991. begin
  14992. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14993. end;
  14994. procedure TI2C2_I2C2ACON.setACKEN; inline;
  14995. begin
  14996. pTDefRegMap(@Self)^.&set := $00000010;
  14997. end;
  14998. procedure TI2C2_I2C2ACON.clearACKEN; inline;
  14999. begin
  15000. pTDefRegMap(@Self)^.clr := $00000010;
  15001. end;
  15002. procedure TI2C2_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  15003. begin
  15004. if thebits = 0 then
  15005. pTDefRegMap(@Self)^.clr := $00000010
  15006. else
  15007. pTDefRegMap(@Self)^.&set := $00000010;
  15008. end;
  15009. function TI2C2_I2C2ACON.getACKEN : TBits_1; inline;
  15010. begin
  15011. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15012. end;
  15013. procedure TI2C2_I2C2ACON.setACKDT; inline;
  15014. begin
  15015. pTDefRegMap(@Self)^.&set := $00000020;
  15016. end;
  15017. procedure TI2C2_I2C2ACON.clearACKDT; inline;
  15018. begin
  15019. pTDefRegMap(@Self)^.clr := $00000020;
  15020. end;
  15021. procedure TI2C2_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  15022. begin
  15023. if thebits = 0 then
  15024. pTDefRegMap(@Self)^.clr := $00000020
  15025. else
  15026. pTDefRegMap(@Self)^.&set := $00000020;
  15027. end;
  15028. function TI2C2_I2C2ACON.getACKDT : TBits_1; inline;
  15029. begin
  15030. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15031. end;
  15032. procedure TI2C2_I2C2ACON.setSTREN; inline;
  15033. begin
  15034. pTDefRegMap(@Self)^.&set := $00000040;
  15035. end;
  15036. procedure TI2C2_I2C2ACON.clearSTREN; inline;
  15037. begin
  15038. pTDefRegMap(@Self)^.clr := $00000040;
  15039. end;
  15040. procedure TI2C2_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  15041. begin
  15042. if thebits = 0 then
  15043. pTDefRegMap(@Self)^.clr := $00000040
  15044. else
  15045. pTDefRegMap(@Self)^.&set := $00000040;
  15046. end;
  15047. function TI2C2_I2C2ACON.getSTREN : TBits_1; inline;
  15048. begin
  15049. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15050. end;
  15051. procedure TI2C2_I2C2ACON.setGCEN; inline;
  15052. begin
  15053. pTDefRegMap(@Self)^.&set := $00000080;
  15054. end;
  15055. procedure TI2C2_I2C2ACON.clearGCEN; inline;
  15056. begin
  15057. pTDefRegMap(@Self)^.clr := $00000080;
  15058. end;
  15059. procedure TI2C2_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  15060. begin
  15061. if thebits = 0 then
  15062. pTDefRegMap(@Self)^.clr := $00000080
  15063. else
  15064. pTDefRegMap(@Self)^.&set := $00000080;
  15065. end;
  15066. function TI2C2_I2C2ACON.getGCEN : TBits_1; inline;
  15067. begin
  15068. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15069. end;
  15070. procedure TI2C2_I2C2ACON.setSMEN; inline;
  15071. begin
  15072. pTDefRegMap(@Self)^.&set := $00000100;
  15073. end;
  15074. procedure TI2C2_I2C2ACON.clearSMEN; inline;
  15075. begin
  15076. pTDefRegMap(@Self)^.clr := $00000100;
  15077. end;
  15078. procedure TI2C2_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  15079. begin
  15080. if thebits = 0 then
  15081. pTDefRegMap(@Self)^.clr := $00000100
  15082. else
  15083. pTDefRegMap(@Self)^.&set := $00000100;
  15084. end;
  15085. function TI2C2_I2C2ACON.getSMEN : TBits_1; inline;
  15086. begin
  15087. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15088. end;
  15089. procedure TI2C2_I2C2ACON.setDISSLW; inline;
  15090. begin
  15091. pTDefRegMap(@Self)^.&set := $00000200;
  15092. end;
  15093. procedure TI2C2_I2C2ACON.clearDISSLW; inline;
  15094. begin
  15095. pTDefRegMap(@Self)^.clr := $00000200;
  15096. end;
  15097. procedure TI2C2_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  15098. begin
  15099. if thebits = 0 then
  15100. pTDefRegMap(@Self)^.clr := $00000200
  15101. else
  15102. pTDefRegMap(@Self)^.&set := $00000200;
  15103. end;
  15104. function TI2C2_I2C2ACON.getDISSLW : TBits_1; inline;
  15105. begin
  15106. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15107. end;
  15108. procedure TI2C2_I2C2ACON.setA10M; inline;
  15109. begin
  15110. pTDefRegMap(@Self)^.&set := $00000400;
  15111. end;
  15112. procedure TI2C2_I2C2ACON.clearA10M; inline;
  15113. begin
  15114. pTDefRegMap(@Self)^.clr := $00000400;
  15115. end;
  15116. procedure TI2C2_I2C2ACON.setA10M(thebits : TBits_1); inline;
  15117. begin
  15118. if thebits = 0 then
  15119. pTDefRegMap(@Self)^.clr := $00000400
  15120. else
  15121. pTDefRegMap(@Self)^.&set := $00000400;
  15122. end;
  15123. function TI2C2_I2C2ACON.getA10M : TBits_1; inline;
  15124. begin
  15125. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15126. end;
  15127. procedure TI2C2_I2C2ACON.setSTRICT; inline;
  15128. begin
  15129. pTDefRegMap(@Self)^.&set := $00000800;
  15130. end;
  15131. procedure TI2C2_I2C2ACON.clearSTRICT; inline;
  15132. begin
  15133. pTDefRegMap(@Self)^.clr := $00000800;
  15134. end;
  15135. procedure TI2C2_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  15136. begin
  15137. if thebits = 0 then
  15138. pTDefRegMap(@Self)^.clr := $00000800
  15139. else
  15140. pTDefRegMap(@Self)^.&set := $00000800;
  15141. end;
  15142. function TI2C2_I2C2ACON.getSTRICT : TBits_1; inline;
  15143. begin
  15144. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15145. end;
  15146. procedure TI2C2_I2C2ACON.setSCLREL; inline;
  15147. begin
  15148. pTDefRegMap(@Self)^.&set := $00001000;
  15149. end;
  15150. procedure TI2C2_I2C2ACON.clearSCLREL; inline;
  15151. begin
  15152. pTDefRegMap(@Self)^.clr := $00001000;
  15153. end;
  15154. procedure TI2C2_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  15155. begin
  15156. if thebits = 0 then
  15157. pTDefRegMap(@Self)^.clr := $00001000
  15158. else
  15159. pTDefRegMap(@Self)^.&set := $00001000;
  15160. end;
  15161. function TI2C2_I2C2ACON.getSCLREL : TBits_1; inline;
  15162. begin
  15163. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15164. end;
  15165. procedure TI2C2_I2C2ACON.setSIDL; inline;
  15166. begin
  15167. pTDefRegMap(@Self)^.&set := $00002000;
  15168. end;
  15169. procedure TI2C2_I2C2ACON.clearSIDL; inline;
  15170. begin
  15171. pTDefRegMap(@Self)^.clr := $00002000;
  15172. end;
  15173. procedure TI2C2_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  15174. begin
  15175. if thebits = 0 then
  15176. pTDefRegMap(@Self)^.clr := $00002000
  15177. else
  15178. pTDefRegMap(@Self)^.&set := $00002000;
  15179. end;
  15180. function TI2C2_I2C2ACON.getSIDL : TBits_1; inline;
  15181. begin
  15182. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15183. end;
  15184. procedure TI2C2_I2C2ACON.setON; inline;
  15185. begin
  15186. pTDefRegMap(@Self)^.&set := $00008000;
  15187. end;
  15188. procedure TI2C2_I2C2ACON.clearON; inline;
  15189. begin
  15190. pTDefRegMap(@Self)^.clr := $00008000;
  15191. end;
  15192. procedure TI2C2_I2C2ACON.setON(thebits : TBits_1); inline;
  15193. begin
  15194. if thebits = 0 then
  15195. pTDefRegMap(@Self)^.clr := $00008000
  15196. else
  15197. pTDefRegMap(@Self)^.&set := $00008000;
  15198. end;
  15199. function TI2C2_I2C2ACON.getON : TBits_1; inline;
  15200. begin
  15201. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15202. end;
  15203. procedure TI2C2_I2C2ACON.setIPMIEN; inline;
  15204. begin
  15205. pTDefRegMap(@Self)^.&set := $00000800;
  15206. end;
  15207. procedure TI2C2_I2C2ACON.clearIPMIEN; inline;
  15208. begin
  15209. pTDefRegMap(@Self)^.clr := $00000800;
  15210. end;
  15211. procedure TI2C2_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  15212. begin
  15213. if thebits = 0 then
  15214. pTDefRegMap(@Self)^.clr := $00000800
  15215. else
  15216. pTDefRegMap(@Self)^.&set := $00000800;
  15217. end;
  15218. function TI2C2_I2C2ACON.getIPMIEN : TBits_1; inline;
  15219. begin
  15220. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15221. end;
  15222. procedure TI2C2_I2C2ACON.setI2CSIDL; inline;
  15223. begin
  15224. pTDefRegMap(@Self)^.&set := $00002000;
  15225. end;
  15226. procedure TI2C2_I2C2ACON.clearI2CSIDL; inline;
  15227. begin
  15228. pTDefRegMap(@Self)^.clr := $00002000;
  15229. end;
  15230. procedure TI2C2_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  15231. begin
  15232. if thebits = 0 then
  15233. pTDefRegMap(@Self)^.clr := $00002000
  15234. else
  15235. pTDefRegMap(@Self)^.&set := $00002000;
  15236. end;
  15237. function TI2C2_I2C2ACON.getI2CSIDL : TBits_1; inline;
  15238. begin
  15239. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15240. end;
  15241. procedure TI2C2_I2C2ACON.setI2CEN; inline;
  15242. begin
  15243. pTDefRegMap(@Self)^.&set := $00008000;
  15244. end;
  15245. procedure TI2C2_I2C2ACON.clearI2CEN; inline;
  15246. begin
  15247. pTDefRegMap(@Self)^.clr := $00008000;
  15248. end;
  15249. procedure TI2C2_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  15250. begin
  15251. if thebits = 0 then
  15252. pTDefRegMap(@Self)^.clr := $00008000
  15253. else
  15254. pTDefRegMap(@Self)^.&set := $00008000;
  15255. end;
  15256. function TI2C2_I2C2ACON.getI2CEN : TBits_1; inline;
  15257. begin
  15258. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15259. end;
  15260. procedure TI2C2_I2C2ACON.setw(thebits : TBits_32); inline;
  15261. begin
  15262. pTDefRegMap(@Self)^.val := thebits;
  15263. end;
  15264. function TI2C2_I2C2ACON.getw : TBits_32; inline;
  15265. begin
  15266. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15267. end;
  15268. procedure TI2C2_I2C2CON.setSEN; inline;
  15269. begin
  15270. pTDefRegMap(@Self)^.&set := $00000001;
  15271. end;
  15272. procedure TI2C2_I2C2CON.clearSEN; inline;
  15273. begin
  15274. pTDefRegMap(@Self)^.clr := $00000001;
  15275. end;
  15276. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  15277. begin
  15278. if thebits = 0 then
  15279. pTDefRegMap(@Self)^.clr := $00000001
  15280. else
  15281. pTDefRegMap(@Self)^.&set := $00000001;
  15282. end;
  15283. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  15284. begin
  15285. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15286. end;
  15287. procedure TI2C2_I2C2CON.setRSEN; inline;
  15288. begin
  15289. pTDefRegMap(@Self)^.&set := $00000002;
  15290. end;
  15291. procedure TI2C2_I2C2CON.clearRSEN; inline;
  15292. begin
  15293. pTDefRegMap(@Self)^.clr := $00000002;
  15294. end;
  15295. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  15296. begin
  15297. if thebits = 0 then
  15298. pTDefRegMap(@Self)^.clr := $00000002
  15299. else
  15300. pTDefRegMap(@Self)^.&set := $00000002;
  15301. end;
  15302. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  15303. begin
  15304. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15305. end;
  15306. procedure TI2C2_I2C2CON.setPEN; inline;
  15307. begin
  15308. pTDefRegMap(@Self)^.&set := $00000004;
  15309. end;
  15310. procedure TI2C2_I2C2CON.clearPEN; inline;
  15311. begin
  15312. pTDefRegMap(@Self)^.clr := $00000004;
  15313. end;
  15314. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  15315. begin
  15316. if thebits = 0 then
  15317. pTDefRegMap(@Self)^.clr := $00000004
  15318. else
  15319. pTDefRegMap(@Self)^.&set := $00000004;
  15320. end;
  15321. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  15322. begin
  15323. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15324. end;
  15325. procedure TI2C2_I2C2CON.setRCEN; inline;
  15326. begin
  15327. pTDefRegMap(@Self)^.&set := $00000008;
  15328. end;
  15329. procedure TI2C2_I2C2CON.clearRCEN; inline;
  15330. begin
  15331. pTDefRegMap(@Self)^.clr := $00000008;
  15332. end;
  15333. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  15334. begin
  15335. if thebits = 0 then
  15336. pTDefRegMap(@Self)^.clr := $00000008
  15337. else
  15338. pTDefRegMap(@Self)^.&set := $00000008;
  15339. end;
  15340. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  15341. begin
  15342. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15343. end;
  15344. procedure TI2C2_I2C2CON.setACKEN; inline;
  15345. begin
  15346. pTDefRegMap(@Self)^.&set := $00000010;
  15347. end;
  15348. procedure TI2C2_I2C2CON.clearACKEN; inline;
  15349. begin
  15350. pTDefRegMap(@Self)^.clr := $00000010;
  15351. end;
  15352. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  15353. begin
  15354. if thebits = 0 then
  15355. pTDefRegMap(@Self)^.clr := $00000010
  15356. else
  15357. pTDefRegMap(@Self)^.&set := $00000010;
  15358. end;
  15359. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  15360. begin
  15361. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15362. end;
  15363. procedure TI2C2_I2C2CON.setACKDT; inline;
  15364. begin
  15365. pTDefRegMap(@Self)^.&set := $00000020;
  15366. end;
  15367. procedure TI2C2_I2C2CON.clearACKDT; inline;
  15368. begin
  15369. pTDefRegMap(@Self)^.clr := $00000020;
  15370. end;
  15371. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  15372. begin
  15373. if thebits = 0 then
  15374. pTDefRegMap(@Self)^.clr := $00000020
  15375. else
  15376. pTDefRegMap(@Self)^.&set := $00000020;
  15377. end;
  15378. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  15379. begin
  15380. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15381. end;
  15382. procedure TI2C2_I2C2CON.setSTREN; inline;
  15383. begin
  15384. pTDefRegMap(@Self)^.&set := $00000040;
  15385. end;
  15386. procedure TI2C2_I2C2CON.clearSTREN; inline;
  15387. begin
  15388. pTDefRegMap(@Self)^.clr := $00000040;
  15389. end;
  15390. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  15391. begin
  15392. if thebits = 0 then
  15393. pTDefRegMap(@Self)^.clr := $00000040
  15394. else
  15395. pTDefRegMap(@Self)^.&set := $00000040;
  15396. end;
  15397. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  15398. begin
  15399. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15400. end;
  15401. procedure TI2C2_I2C2CON.setGCEN; inline;
  15402. begin
  15403. pTDefRegMap(@Self)^.&set := $00000080;
  15404. end;
  15405. procedure TI2C2_I2C2CON.clearGCEN; inline;
  15406. begin
  15407. pTDefRegMap(@Self)^.clr := $00000080;
  15408. end;
  15409. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  15410. begin
  15411. if thebits = 0 then
  15412. pTDefRegMap(@Self)^.clr := $00000080
  15413. else
  15414. pTDefRegMap(@Self)^.&set := $00000080;
  15415. end;
  15416. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  15417. begin
  15418. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15419. end;
  15420. procedure TI2C2_I2C2CON.setSMEN; inline;
  15421. begin
  15422. pTDefRegMap(@Self)^.&set := $00000100;
  15423. end;
  15424. procedure TI2C2_I2C2CON.clearSMEN; inline;
  15425. begin
  15426. pTDefRegMap(@Self)^.clr := $00000100;
  15427. end;
  15428. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  15429. begin
  15430. if thebits = 0 then
  15431. pTDefRegMap(@Self)^.clr := $00000100
  15432. else
  15433. pTDefRegMap(@Self)^.&set := $00000100;
  15434. end;
  15435. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  15436. begin
  15437. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15438. end;
  15439. procedure TI2C2_I2C2CON.setDISSLW; inline;
  15440. begin
  15441. pTDefRegMap(@Self)^.&set := $00000200;
  15442. end;
  15443. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  15444. begin
  15445. pTDefRegMap(@Self)^.clr := $00000200;
  15446. end;
  15447. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  15448. begin
  15449. if thebits = 0 then
  15450. pTDefRegMap(@Self)^.clr := $00000200
  15451. else
  15452. pTDefRegMap(@Self)^.&set := $00000200;
  15453. end;
  15454. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  15455. begin
  15456. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15457. end;
  15458. procedure TI2C2_I2C2CON.setA10M; inline;
  15459. begin
  15460. pTDefRegMap(@Self)^.&set := $00000400;
  15461. end;
  15462. procedure TI2C2_I2C2CON.clearA10M; inline;
  15463. begin
  15464. pTDefRegMap(@Self)^.clr := $00000400;
  15465. end;
  15466. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  15467. begin
  15468. if thebits = 0 then
  15469. pTDefRegMap(@Self)^.clr := $00000400
  15470. else
  15471. pTDefRegMap(@Self)^.&set := $00000400;
  15472. end;
  15473. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  15474. begin
  15475. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15476. end;
  15477. procedure TI2C2_I2C2CON.setSTRICT; inline;
  15478. begin
  15479. pTDefRegMap(@Self)^.&set := $00000800;
  15480. end;
  15481. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  15482. begin
  15483. pTDefRegMap(@Self)^.clr := $00000800;
  15484. end;
  15485. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  15486. begin
  15487. if thebits = 0 then
  15488. pTDefRegMap(@Self)^.clr := $00000800
  15489. else
  15490. pTDefRegMap(@Self)^.&set := $00000800;
  15491. end;
  15492. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  15493. begin
  15494. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15495. end;
  15496. procedure TI2C2_I2C2CON.setSCLREL; inline;
  15497. begin
  15498. pTDefRegMap(@Self)^.&set := $00001000;
  15499. end;
  15500. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  15501. begin
  15502. pTDefRegMap(@Self)^.clr := $00001000;
  15503. end;
  15504. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  15505. begin
  15506. if thebits = 0 then
  15507. pTDefRegMap(@Self)^.clr := $00001000
  15508. else
  15509. pTDefRegMap(@Self)^.&set := $00001000;
  15510. end;
  15511. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  15512. begin
  15513. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15514. end;
  15515. procedure TI2C2_I2C2CON.setSIDL; inline;
  15516. begin
  15517. pTDefRegMap(@Self)^.&set := $00002000;
  15518. end;
  15519. procedure TI2C2_I2C2CON.clearSIDL; inline;
  15520. begin
  15521. pTDefRegMap(@Self)^.clr := $00002000;
  15522. end;
  15523. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  15524. begin
  15525. if thebits = 0 then
  15526. pTDefRegMap(@Self)^.clr := $00002000
  15527. else
  15528. pTDefRegMap(@Self)^.&set := $00002000;
  15529. end;
  15530. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  15531. begin
  15532. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15533. end;
  15534. procedure TI2C2_I2C2CON.setON; inline;
  15535. begin
  15536. pTDefRegMap(@Self)^.&set := $00008000;
  15537. end;
  15538. procedure TI2C2_I2C2CON.clearON; inline;
  15539. begin
  15540. pTDefRegMap(@Self)^.clr := $00008000;
  15541. end;
  15542. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  15543. begin
  15544. if thebits = 0 then
  15545. pTDefRegMap(@Self)^.clr := $00008000
  15546. else
  15547. pTDefRegMap(@Self)^.&set := $00008000;
  15548. end;
  15549. function TI2C2_I2C2CON.getON : TBits_1; inline;
  15550. begin
  15551. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15552. end;
  15553. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  15554. begin
  15555. pTDefRegMap(@Self)^.&set := $00000800;
  15556. end;
  15557. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  15558. begin
  15559. pTDefRegMap(@Self)^.clr := $00000800;
  15560. end;
  15561. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  15562. begin
  15563. if thebits = 0 then
  15564. pTDefRegMap(@Self)^.clr := $00000800
  15565. else
  15566. pTDefRegMap(@Self)^.&set := $00000800;
  15567. end;
  15568. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  15569. begin
  15570. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15571. end;
  15572. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  15573. begin
  15574. pTDefRegMap(@Self)^.&set := $00002000;
  15575. end;
  15576. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  15577. begin
  15578. pTDefRegMap(@Self)^.clr := $00002000;
  15579. end;
  15580. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  15581. begin
  15582. if thebits = 0 then
  15583. pTDefRegMap(@Self)^.clr := $00002000
  15584. else
  15585. pTDefRegMap(@Self)^.&set := $00002000;
  15586. end;
  15587. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  15588. begin
  15589. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15590. end;
  15591. procedure TI2C2_I2C2CON.setI2CEN; inline;
  15592. begin
  15593. pTDefRegMap(@Self)^.&set := $00008000;
  15594. end;
  15595. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  15596. begin
  15597. pTDefRegMap(@Self)^.clr := $00008000;
  15598. end;
  15599. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  15600. begin
  15601. if thebits = 0 then
  15602. pTDefRegMap(@Self)^.clr := $00008000
  15603. else
  15604. pTDefRegMap(@Self)^.&set := $00008000;
  15605. end;
  15606. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  15607. begin
  15608. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15609. end;
  15610. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  15611. begin
  15612. pTDefRegMap(@Self)^.val := thebits;
  15613. end;
  15614. function TI2C2_I2C2CON.getw : TBits_32; inline;
  15615. begin
  15616. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15617. end;
  15618. procedure TI2C2_I2C2ASTAT.setTBF; inline;
  15619. begin
  15620. pTDefRegMap(@Self)^.&set := $00000001;
  15621. end;
  15622. procedure TI2C2_I2C2ASTAT.clearTBF; inline;
  15623. begin
  15624. pTDefRegMap(@Self)^.clr := $00000001;
  15625. end;
  15626. procedure TI2C2_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  15627. begin
  15628. if thebits = 0 then
  15629. pTDefRegMap(@Self)^.clr := $00000001
  15630. else
  15631. pTDefRegMap(@Self)^.&set := $00000001;
  15632. end;
  15633. function TI2C2_I2C2ASTAT.getTBF : TBits_1; inline;
  15634. begin
  15635. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15636. end;
  15637. procedure TI2C2_I2C2ASTAT.setRBF; inline;
  15638. begin
  15639. pTDefRegMap(@Self)^.&set := $00000002;
  15640. end;
  15641. procedure TI2C2_I2C2ASTAT.clearRBF; inline;
  15642. begin
  15643. pTDefRegMap(@Self)^.clr := $00000002;
  15644. end;
  15645. procedure TI2C2_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  15646. begin
  15647. if thebits = 0 then
  15648. pTDefRegMap(@Self)^.clr := $00000002
  15649. else
  15650. pTDefRegMap(@Self)^.&set := $00000002;
  15651. end;
  15652. function TI2C2_I2C2ASTAT.getRBF : TBits_1; inline;
  15653. begin
  15654. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15655. end;
  15656. procedure TI2C2_I2C2ASTAT.setR_W; inline;
  15657. begin
  15658. pTDefRegMap(@Self)^.&set := $00000004;
  15659. end;
  15660. procedure TI2C2_I2C2ASTAT.clearR_W; inline;
  15661. begin
  15662. pTDefRegMap(@Self)^.clr := $00000004;
  15663. end;
  15664. procedure TI2C2_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  15665. begin
  15666. if thebits = 0 then
  15667. pTDefRegMap(@Self)^.clr := $00000004
  15668. else
  15669. pTDefRegMap(@Self)^.&set := $00000004;
  15670. end;
  15671. function TI2C2_I2C2ASTAT.getR_W : TBits_1; inline;
  15672. begin
  15673. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15674. end;
  15675. procedure TI2C2_I2C2ASTAT.setS; inline;
  15676. begin
  15677. pTDefRegMap(@Self)^.&set := $00000008;
  15678. end;
  15679. procedure TI2C2_I2C2ASTAT.clearS; inline;
  15680. begin
  15681. pTDefRegMap(@Self)^.clr := $00000008;
  15682. end;
  15683. procedure TI2C2_I2C2ASTAT.setS(thebits : TBits_1); inline;
  15684. begin
  15685. if thebits = 0 then
  15686. pTDefRegMap(@Self)^.clr := $00000008
  15687. else
  15688. pTDefRegMap(@Self)^.&set := $00000008;
  15689. end;
  15690. function TI2C2_I2C2ASTAT.getS : TBits_1; inline;
  15691. begin
  15692. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15693. end;
  15694. procedure TI2C2_I2C2ASTAT.setP; inline;
  15695. begin
  15696. pTDefRegMap(@Self)^.&set := $00000010;
  15697. end;
  15698. procedure TI2C2_I2C2ASTAT.clearP; inline;
  15699. begin
  15700. pTDefRegMap(@Self)^.clr := $00000010;
  15701. end;
  15702. procedure TI2C2_I2C2ASTAT.setP(thebits : TBits_1); inline;
  15703. begin
  15704. if thebits = 0 then
  15705. pTDefRegMap(@Self)^.clr := $00000010
  15706. else
  15707. pTDefRegMap(@Self)^.&set := $00000010;
  15708. end;
  15709. function TI2C2_I2C2ASTAT.getP : TBits_1; inline;
  15710. begin
  15711. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15712. end;
  15713. procedure TI2C2_I2C2ASTAT.setD_A; inline;
  15714. begin
  15715. pTDefRegMap(@Self)^.&set := $00000020;
  15716. end;
  15717. procedure TI2C2_I2C2ASTAT.clearD_A; inline;
  15718. begin
  15719. pTDefRegMap(@Self)^.clr := $00000020;
  15720. end;
  15721. procedure TI2C2_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  15722. begin
  15723. if thebits = 0 then
  15724. pTDefRegMap(@Self)^.clr := $00000020
  15725. else
  15726. pTDefRegMap(@Self)^.&set := $00000020;
  15727. end;
  15728. function TI2C2_I2C2ASTAT.getD_A : TBits_1; inline;
  15729. begin
  15730. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15731. end;
  15732. procedure TI2C2_I2C2ASTAT.setI2COV; inline;
  15733. begin
  15734. pTDefRegMap(@Self)^.&set := $00000040;
  15735. end;
  15736. procedure TI2C2_I2C2ASTAT.clearI2COV; inline;
  15737. begin
  15738. pTDefRegMap(@Self)^.clr := $00000040;
  15739. end;
  15740. procedure TI2C2_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  15741. begin
  15742. if thebits = 0 then
  15743. pTDefRegMap(@Self)^.clr := $00000040
  15744. else
  15745. pTDefRegMap(@Self)^.&set := $00000040;
  15746. end;
  15747. function TI2C2_I2C2ASTAT.getI2COV : TBits_1; inline;
  15748. begin
  15749. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15750. end;
  15751. procedure TI2C2_I2C2ASTAT.setIWCOL; inline;
  15752. begin
  15753. pTDefRegMap(@Self)^.&set := $00000080;
  15754. end;
  15755. procedure TI2C2_I2C2ASTAT.clearIWCOL; inline;
  15756. begin
  15757. pTDefRegMap(@Self)^.clr := $00000080;
  15758. end;
  15759. procedure TI2C2_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  15760. begin
  15761. if thebits = 0 then
  15762. pTDefRegMap(@Self)^.clr := $00000080
  15763. else
  15764. pTDefRegMap(@Self)^.&set := $00000080;
  15765. end;
  15766. function TI2C2_I2C2ASTAT.getIWCOL : TBits_1; inline;
  15767. begin
  15768. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15769. end;
  15770. procedure TI2C2_I2C2ASTAT.setADD10; inline;
  15771. begin
  15772. pTDefRegMap(@Self)^.&set := $00000100;
  15773. end;
  15774. procedure TI2C2_I2C2ASTAT.clearADD10; inline;
  15775. begin
  15776. pTDefRegMap(@Self)^.clr := $00000100;
  15777. end;
  15778. procedure TI2C2_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  15779. begin
  15780. if thebits = 0 then
  15781. pTDefRegMap(@Self)^.clr := $00000100
  15782. else
  15783. pTDefRegMap(@Self)^.&set := $00000100;
  15784. end;
  15785. function TI2C2_I2C2ASTAT.getADD10 : TBits_1; inline;
  15786. begin
  15787. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15788. end;
  15789. procedure TI2C2_I2C2ASTAT.setGCSTAT; inline;
  15790. begin
  15791. pTDefRegMap(@Self)^.&set := $00000200;
  15792. end;
  15793. procedure TI2C2_I2C2ASTAT.clearGCSTAT; inline;
  15794. begin
  15795. pTDefRegMap(@Self)^.clr := $00000200;
  15796. end;
  15797. procedure TI2C2_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  15798. begin
  15799. if thebits = 0 then
  15800. pTDefRegMap(@Self)^.clr := $00000200
  15801. else
  15802. pTDefRegMap(@Self)^.&set := $00000200;
  15803. end;
  15804. function TI2C2_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  15805. begin
  15806. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15807. end;
  15808. procedure TI2C2_I2C2ASTAT.setBCL; inline;
  15809. begin
  15810. pTDefRegMap(@Self)^.&set := $00000400;
  15811. end;
  15812. procedure TI2C2_I2C2ASTAT.clearBCL; inline;
  15813. begin
  15814. pTDefRegMap(@Self)^.clr := $00000400;
  15815. end;
  15816. procedure TI2C2_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  15817. begin
  15818. if thebits = 0 then
  15819. pTDefRegMap(@Self)^.clr := $00000400
  15820. else
  15821. pTDefRegMap(@Self)^.&set := $00000400;
  15822. end;
  15823. function TI2C2_I2C2ASTAT.getBCL : TBits_1; inline;
  15824. begin
  15825. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15826. end;
  15827. procedure TI2C2_I2C2ASTAT.setTRSTAT; inline;
  15828. begin
  15829. pTDefRegMap(@Self)^.&set := $00004000;
  15830. end;
  15831. procedure TI2C2_I2C2ASTAT.clearTRSTAT; inline;
  15832. begin
  15833. pTDefRegMap(@Self)^.clr := $00004000;
  15834. end;
  15835. procedure TI2C2_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  15836. begin
  15837. if thebits = 0 then
  15838. pTDefRegMap(@Self)^.clr := $00004000
  15839. else
  15840. pTDefRegMap(@Self)^.&set := $00004000;
  15841. end;
  15842. function TI2C2_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  15843. begin
  15844. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15845. end;
  15846. procedure TI2C2_I2C2ASTAT.setACKSTAT; inline;
  15847. begin
  15848. pTDefRegMap(@Self)^.&set := $00008000;
  15849. end;
  15850. procedure TI2C2_I2C2ASTAT.clearACKSTAT; inline;
  15851. begin
  15852. pTDefRegMap(@Self)^.clr := $00008000;
  15853. end;
  15854. procedure TI2C2_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  15855. begin
  15856. if thebits = 0 then
  15857. pTDefRegMap(@Self)^.clr := $00008000
  15858. else
  15859. pTDefRegMap(@Self)^.&set := $00008000;
  15860. end;
  15861. function TI2C2_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  15862. begin
  15863. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15864. end;
  15865. procedure TI2C2_I2C2ASTAT.setI2CPOV; inline;
  15866. begin
  15867. pTDefRegMap(@Self)^.&set := $00000040;
  15868. end;
  15869. procedure TI2C2_I2C2ASTAT.clearI2CPOV; inline;
  15870. begin
  15871. pTDefRegMap(@Self)^.clr := $00000040;
  15872. end;
  15873. procedure TI2C2_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  15874. begin
  15875. if thebits = 0 then
  15876. pTDefRegMap(@Self)^.clr := $00000040
  15877. else
  15878. pTDefRegMap(@Self)^.&set := $00000040;
  15879. end;
  15880. function TI2C2_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  15881. begin
  15882. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15883. end;
  15884. procedure TI2C2_I2C2ASTAT.setw(thebits : TBits_32); inline;
  15885. begin
  15886. pTDefRegMap(@Self)^.val := thebits;
  15887. end;
  15888. function TI2C2_I2C2ASTAT.getw : TBits_32; inline;
  15889. begin
  15890. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15891. end;
  15892. procedure TI2C2_I2C2STAT.setTBF; inline;
  15893. begin
  15894. pTDefRegMap(@Self)^.&set := $00000001;
  15895. end;
  15896. procedure TI2C2_I2C2STAT.clearTBF; inline;
  15897. begin
  15898. pTDefRegMap(@Self)^.clr := $00000001;
  15899. end;
  15900. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  15901. begin
  15902. if thebits = 0 then
  15903. pTDefRegMap(@Self)^.clr := $00000001
  15904. else
  15905. pTDefRegMap(@Self)^.&set := $00000001;
  15906. end;
  15907. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  15908. begin
  15909. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15910. end;
  15911. procedure TI2C2_I2C2STAT.setRBF; inline;
  15912. begin
  15913. pTDefRegMap(@Self)^.&set := $00000002;
  15914. end;
  15915. procedure TI2C2_I2C2STAT.clearRBF; inline;
  15916. begin
  15917. pTDefRegMap(@Self)^.clr := $00000002;
  15918. end;
  15919. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  15920. begin
  15921. if thebits = 0 then
  15922. pTDefRegMap(@Self)^.clr := $00000002
  15923. else
  15924. pTDefRegMap(@Self)^.&set := $00000002;
  15925. end;
  15926. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  15927. begin
  15928. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15929. end;
  15930. procedure TI2C2_I2C2STAT.setR_W; inline;
  15931. begin
  15932. pTDefRegMap(@Self)^.&set := $00000004;
  15933. end;
  15934. procedure TI2C2_I2C2STAT.clearR_W; inline;
  15935. begin
  15936. pTDefRegMap(@Self)^.clr := $00000004;
  15937. end;
  15938. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  15939. begin
  15940. if thebits = 0 then
  15941. pTDefRegMap(@Self)^.clr := $00000004
  15942. else
  15943. pTDefRegMap(@Self)^.&set := $00000004;
  15944. end;
  15945. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  15946. begin
  15947. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15948. end;
  15949. procedure TI2C2_I2C2STAT.setS; inline;
  15950. begin
  15951. pTDefRegMap(@Self)^.&set := $00000008;
  15952. end;
  15953. procedure TI2C2_I2C2STAT.clearS; inline;
  15954. begin
  15955. pTDefRegMap(@Self)^.clr := $00000008;
  15956. end;
  15957. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  15958. begin
  15959. if thebits = 0 then
  15960. pTDefRegMap(@Self)^.clr := $00000008
  15961. else
  15962. pTDefRegMap(@Self)^.&set := $00000008;
  15963. end;
  15964. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  15965. begin
  15966. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15967. end;
  15968. procedure TI2C2_I2C2STAT.setP; inline;
  15969. begin
  15970. pTDefRegMap(@Self)^.&set := $00000010;
  15971. end;
  15972. procedure TI2C2_I2C2STAT.clearP; inline;
  15973. begin
  15974. pTDefRegMap(@Self)^.clr := $00000010;
  15975. end;
  15976. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  15977. begin
  15978. if thebits = 0 then
  15979. pTDefRegMap(@Self)^.clr := $00000010
  15980. else
  15981. pTDefRegMap(@Self)^.&set := $00000010;
  15982. end;
  15983. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  15984. begin
  15985. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15986. end;
  15987. procedure TI2C2_I2C2STAT.setD_A; inline;
  15988. begin
  15989. pTDefRegMap(@Self)^.&set := $00000020;
  15990. end;
  15991. procedure TI2C2_I2C2STAT.clearD_A; inline;
  15992. begin
  15993. pTDefRegMap(@Self)^.clr := $00000020;
  15994. end;
  15995. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  15996. begin
  15997. if thebits = 0 then
  15998. pTDefRegMap(@Self)^.clr := $00000020
  15999. else
  16000. pTDefRegMap(@Self)^.&set := $00000020;
  16001. end;
  16002. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  16003. begin
  16004. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16005. end;
  16006. procedure TI2C2_I2C2STAT.setI2COV; inline;
  16007. begin
  16008. pTDefRegMap(@Self)^.&set := $00000040;
  16009. end;
  16010. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  16011. begin
  16012. pTDefRegMap(@Self)^.clr := $00000040;
  16013. end;
  16014. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  16015. begin
  16016. if thebits = 0 then
  16017. pTDefRegMap(@Self)^.clr := $00000040
  16018. else
  16019. pTDefRegMap(@Self)^.&set := $00000040;
  16020. end;
  16021. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  16022. begin
  16023. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16024. end;
  16025. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  16026. begin
  16027. pTDefRegMap(@Self)^.&set := $00000080;
  16028. end;
  16029. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  16030. begin
  16031. pTDefRegMap(@Self)^.clr := $00000080;
  16032. end;
  16033. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  16034. begin
  16035. if thebits = 0 then
  16036. pTDefRegMap(@Self)^.clr := $00000080
  16037. else
  16038. pTDefRegMap(@Self)^.&set := $00000080;
  16039. end;
  16040. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  16041. begin
  16042. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16043. end;
  16044. procedure TI2C2_I2C2STAT.setADD10; inline;
  16045. begin
  16046. pTDefRegMap(@Self)^.&set := $00000100;
  16047. end;
  16048. procedure TI2C2_I2C2STAT.clearADD10; inline;
  16049. begin
  16050. pTDefRegMap(@Self)^.clr := $00000100;
  16051. end;
  16052. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  16053. begin
  16054. if thebits = 0 then
  16055. pTDefRegMap(@Self)^.clr := $00000100
  16056. else
  16057. pTDefRegMap(@Self)^.&set := $00000100;
  16058. end;
  16059. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  16060. begin
  16061. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16062. end;
  16063. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  16064. begin
  16065. pTDefRegMap(@Self)^.&set := $00000200;
  16066. end;
  16067. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  16068. begin
  16069. pTDefRegMap(@Self)^.clr := $00000200;
  16070. end;
  16071. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  16072. begin
  16073. if thebits = 0 then
  16074. pTDefRegMap(@Self)^.clr := $00000200
  16075. else
  16076. pTDefRegMap(@Self)^.&set := $00000200;
  16077. end;
  16078. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  16079. begin
  16080. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16081. end;
  16082. procedure TI2C2_I2C2STAT.setBCL; inline;
  16083. begin
  16084. pTDefRegMap(@Self)^.&set := $00000400;
  16085. end;
  16086. procedure TI2C2_I2C2STAT.clearBCL; inline;
  16087. begin
  16088. pTDefRegMap(@Self)^.clr := $00000400;
  16089. end;
  16090. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  16091. begin
  16092. if thebits = 0 then
  16093. pTDefRegMap(@Self)^.clr := $00000400
  16094. else
  16095. pTDefRegMap(@Self)^.&set := $00000400;
  16096. end;
  16097. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  16098. begin
  16099. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16100. end;
  16101. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  16102. begin
  16103. pTDefRegMap(@Self)^.&set := $00004000;
  16104. end;
  16105. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  16106. begin
  16107. pTDefRegMap(@Self)^.clr := $00004000;
  16108. end;
  16109. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  16110. begin
  16111. if thebits = 0 then
  16112. pTDefRegMap(@Self)^.clr := $00004000
  16113. else
  16114. pTDefRegMap(@Self)^.&set := $00004000;
  16115. end;
  16116. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  16117. begin
  16118. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16119. end;
  16120. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  16121. begin
  16122. pTDefRegMap(@Self)^.&set := $00008000;
  16123. end;
  16124. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  16125. begin
  16126. pTDefRegMap(@Self)^.clr := $00008000;
  16127. end;
  16128. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  16129. begin
  16130. if thebits = 0 then
  16131. pTDefRegMap(@Self)^.clr := $00008000
  16132. else
  16133. pTDefRegMap(@Self)^.&set := $00008000;
  16134. end;
  16135. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  16136. begin
  16137. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16138. end;
  16139. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  16140. begin
  16141. pTDefRegMap(@Self)^.&set := $00000040;
  16142. end;
  16143. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  16144. begin
  16145. pTDefRegMap(@Self)^.clr := $00000040;
  16146. end;
  16147. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  16148. begin
  16149. if thebits = 0 then
  16150. pTDefRegMap(@Self)^.clr := $00000040
  16151. else
  16152. pTDefRegMap(@Self)^.&set := $00000040;
  16153. end;
  16154. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  16155. begin
  16156. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16157. end;
  16158. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  16159. begin
  16160. pTDefRegMap(@Self)^.val := thebits;
  16161. end;
  16162. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  16163. begin
  16164. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16165. end;
  16166. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  16167. begin
  16168. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16169. end;
  16170. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  16171. begin
  16172. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16173. end;
  16174. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  16175. begin
  16176. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16177. end;
  16178. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  16179. begin
  16180. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16181. end;
  16182. procedure TSPI1_SPI1CON.setDISSDI; inline;
  16183. begin
  16184. pTDefRegMap(@Self)^.&set := $00000010;
  16185. end;
  16186. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  16187. begin
  16188. pTDefRegMap(@Self)^.clr := $00000010;
  16189. end;
  16190. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  16191. begin
  16192. if thebits = 0 then
  16193. pTDefRegMap(@Self)^.clr := $00000010
  16194. else
  16195. pTDefRegMap(@Self)^.&set := $00000010;
  16196. end;
  16197. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  16198. begin
  16199. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16200. end;
  16201. procedure TSPI1_SPI1CON.setMSTEN; inline;
  16202. begin
  16203. pTDefRegMap(@Self)^.&set := $00000020;
  16204. end;
  16205. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  16206. begin
  16207. pTDefRegMap(@Self)^.clr := $00000020;
  16208. end;
  16209. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  16210. begin
  16211. if thebits = 0 then
  16212. pTDefRegMap(@Self)^.clr := $00000020
  16213. else
  16214. pTDefRegMap(@Self)^.&set := $00000020;
  16215. end;
  16216. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  16217. begin
  16218. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16219. end;
  16220. procedure TSPI1_SPI1CON.setCKP; inline;
  16221. begin
  16222. pTDefRegMap(@Self)^.&set := $00000040;
  16223. end;
  16224. procedure TSPI1_SPI1CON.clearCKP; inline;
  16225. begin
  16226. pTDefRegMap(@Self)^.clr := $00000040;
  16227. end;
  16228. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  16229. begin
  16230. if thebits = 0 then
  16231. pTDefRegMap(@Self)^.clr := $00000040
  16232. else
  16233. pTDefRegMap(@Self)^.&set := $00000040;
  16234. end;
  16235. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  16236. begin
  16237. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16238. end;
  16239. procedure TSPI1_SPI1CON.setSSEN; inline;
  16240. begin
  16241. pTDefRegMap(@Self)^.&set := $00000080;
  16242. end;
  16243. procedure TSPI1_SPI1CON.clearSSEN; inline;
  16244. begin
  16245. pTDefRegMap(@Self)^.clr := $00000080;
  16246. end;
  16247. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  16248. begin
  16249. if thebits = 0 then
  16250. pTDefRegMap(@Self)^.clr := $00000080
  16251. else
  16252. pTDefRegMap(@Self)^.&set := $00000080;
  16253. end;
  16254. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  16255. begin
  16256. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16257. end;
  16258. procedure TSPI1_SPI1CON.setCKE; inline;
  16259. begin
  16260. pTDefRegMap(@Self)^.&set := $00000100;
  16261. end;
  16262. procedure TSPI1_SPI1CON.clearCKE; inline;
  16263. begin
  16264. pTDefRegMap(@Self)^.clr := $00000100;
  16265. end;
  16266. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  16267. begin
  16268. if thebits = 0 then
  16269. pTDefRegMap(@Self)^.clr := $00000100
  16270. else
  16271. pTDefRegMap(@Self)^.&set := $00000100;
  16272. end;
  16273. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  16274. begin
  16275. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16276. end;
  16277. procedure TSPI1_SPI1CON.setSMP; inline;
  16278. begin
  16279. pTDefRegMap(@Self)^.&set := $00000200;
  16280. end;
  16281. procedure TSPI1_SPI1CON.clearSMP; inline;
  16282. begin
  16283. pTDefRegMap(@Self)^.clr := $00000200;
  16284. end;
  16285. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  16286. begin
  16287. if thebits = 0 then
  16288. pTDefRegMap(@Self)^.clr := $00000200
  16289. else
  16290. pTDefRegMap(@Self)^.&set := $00000200;
  16291. end;
  16292. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  16293. begin
  16294. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16295. end;
  16296. procedure TSPI1_SPI1CON.setMODE16; inline;
  16297. begin
  16298. pTDefRegMap(@Self)^.&set := $00000400;
  16299. end;
  16300. procedure TSPI1_SPI1CON.clearMODE16; inline;
  16301. begin
  16302. pTDefRegMap(@Self)^.clr := $00000400;
  16303. end;
  16304. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  16305. begin
  16306. if thebits = 0 then
  16307. pTDefRegMap(@Self)^.clr := $00000400
  16308. else
  16309. pTDefRegMap(@Self)^.&set := $00000400;
  16310. end;
  16311. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  16312. begin
  16313. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16314. end;
  16315. procedure TSPI1_SPI1CON.setMODE32; inline;
  16316. begin
  16317. pTDefRegMap(@Self)^.&set := $00000800;
  16318. end;
  16319. procedure TSPI1_SPI1CON.clearMODE32; inline;
  16320. begin
  16321. pTDefRegMap(@Self)^.clr := $00000800;
  16322. end;
  16323. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  16324. begin
  16325. if thebits = 0 then
  16326. pTDefRegMap(@Self)^.clr := $00000800
  16327. else
  16328. pTDefRegMap(@Self)^.&set := $00000800;
  16329. end;
  16330. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  16331. begin
  16332. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16333. end;
  16334. procedure TSPI1_SPI1CON.setDISSDO; inline;
  16335. begin
  16336. pTDefRegMap(@Self)^.&set := $00001000;
  16337. end;
  16338. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  16339. begin
  16340. pTDefRegMap(@Self)^.clr := $00001000;
  16341. end;
  16342. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  16343. begin
  16344. if thebits = 0 then
  16345. pTDefRegMap(@Self)^.clr := $00001000
  16346. else
  16347. pTDefRegMap(@Self)^.&set := $00001000;
  16348. end;
  16349. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  16350. begin
  16351. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16352. end;
  16353. procedure TSPI1_SPI1CON.setSIDL; inline;
  16354. begin
  16355. pTDefRegMap(@Self)^.&set := $00002000;
  16356. end;
  16357. procedure TSPI1_SPI1CON.clearSIDL; inline;
  16358. begin
  16359. pTDefRegMap(@Self)^.clr := $00002000;
  16360. end;
  16361. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  16362. begin
  16363. if thebits = 0 then
  16364. pTDefRegMap(@Self)^.clr := $00002000
  16365. else
  16366. pTDefRegMap(@Self)^.&set := $00002000;
  16367. end;
  16368. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  16369. begin
  16370. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16371. end;
  16372. procedure TSPI1_SPI1CON.setON; inline;
  16373. begin
  16374. pTDefRegMap(@Self)^.&set := $00008000;
  16375. end;
  16376. procedure TSPI1_SPI1CON.clearON; inline;
  16377. begin
  16378. pTDefRegMap(@Self)^.clr := $00008000;
  16379. end;
  16380. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  16381. begin
  16382. if thebits = 0 then
  16383. pTDefRegMap(@Self)^.clr := $00008000
  16384. else
  16385. pTDefRegMap(@Self)^.&set := $00008000;
  16386. end;
  16387. function TSPI1_SPI1CON.getON : TBits_1; inline;
  16388. begin
  16389. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16390. end;
  16391. procedure TSPI1_SPI1CON.setENHBUF; inline;
  16392. begin
  16393. pTDefRegMap(@Self)^.&set := $00010000;
  16394. end;
  16395. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  16396. begin
  16397. pTDefRegMap(@Self)^.clr := $00010000;
  16398. end;
  16399. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  16400. begin
  16401. if thebits = 0 then
  16402. pTDefRegMap(@Self)^.clr := $00010000
  16403. else
  16404. pTDefRegMap(@Self)^.&set := $00010000;
  16405. end;
  16406. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  16407. begin
  16408. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  16409. end;
  16410. procedure TSPI1_SPI1CON.setSPIFE; inline;
  16411. begin
  16412. pTDefRegMap(@Self)^.&set := $00020000;
  16413. end;
  16414. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  16415. begin
  16416. pTDefRegMap(@Self)^.clr := $00020000;
  16417. end;
  16418. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  16419. begin
  16420. if thebits = 0 then
  16421. pTDefRegMap(@Self)^.clr := $00020000
  16422. else
  16423. pTDefRegMap(@Self)^.&set := $00020000;
  16424. end;
  16425. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  16426. begin
  16427. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  16428. end;
  16429. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  16430. begin
  16431. pTDefRegMap(@Self)^.&set := $00800000;
  16432. end;
  16433. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  16434. begin
  16435. pTDefRegMap(@Self)^.clr := $00800000;
  16436. end;
  16437. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  16438. begin
  16439. if thebits = 0 then
  16440. pTDefRegMap(@Self)^.clr := $00800000
  16441. else
  16442. pTDefRegMap(@Self)^.&set := $00800000;
  16443. end;
  16444. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  16445. begin
  16446. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  16447. end;
  16448. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  16449. begin
  16450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  16451. end;
  16452. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  16453. begin
  16454. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  16455. end;
  16456. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  16457. begin
  16458. pTDefRegMap(@Self)^.&set := $08000000;
  16459. end;
  16460. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  16461. begin
  16462. pTDefRegMap(@Self)^.clr := $08000000;
  16463. end;
  16464. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  16465. begin
  16466. if thebits = 0 then
  16467. pTDefRegMap(@Self)^.clr := $08000000
  16468. else
  16469. pTDefRegMap(@Self)^.&set := $08000000;
  16470. end;
  16471. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  16472. begin
  16473. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  16474. end;
  16475. procedure TSPI1_SPI1CON.setMSSEN; inline;
  16476. begin
  16477. pTDefRegMap(@Self)^.&set := $10000000;
  16478. end;
  16479. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  16480. begin
  16481. pTDefRegMap(@Self)^.clr := $10000000;
  16482. end;
  16483. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  16484. begin
  16485. if thebits = 0 then
  16486. pTDefRegMap(@Self)^.clr := $10000000
  16487. else
  16488. pTDefRegMap(@Self)^.&set := $10000000;
  16489. end;
  16490. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  16491. begin
  16492. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  16493. end;
  16494. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  16495. begin
  16496. pTDefRegMap(@Self)^.&set := $20000000;
  16497. end;
  16498. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  16499. begin
  16500. pTDefRegMap(@Self)^.clr := $20000000;
  16501. end;
  16502. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  16503. begin
  16504. if thebits = 0 then
  16505. pTDefRegMap(@Self)^.clr := $20000000
  16506. else
  16507. pTDefRegMap(@Self)^.&set := $20000000;
  16508. end;
  16509. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  16510. begin
  16511. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  16512. end;
  16513. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  16514. begin
  16515. pTDefRegMap(@Self)^.&set := $40000000;
  16516. end;
  16517. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  16518. begin
  16519. pTDefRegMap(@Self)^.clr := $40000000;
  16520. end;
  16521. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  16522. begin
  16523. if thebits = 0 then
  16524. pTDefRegMap(@Self)^.clr := $40000000
  16525. else
  16526. pTDefRegMap(@Self)^.&set := $40000000;
  16527. end;
  16528. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  16529. begin
  16530. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  16531. end;
  16532. procedure TSPI1_SPI1CON.setFRMEN; inline;
  16533. begin
  16534. pTDefRegMap(@Self)^.&set := $80000000;
  16535. end;
  16536. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  16537. begin
  16538. pTDefRegMap(@Self)^.clr := $80000000;
  16539. end;
  16540. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  16541. begin
  16542. if thebits = 0 then
  16543. pTDefRegMap(@Self)^.clr := $80000000
  16544. else
  16545. pTDefRegMap(@Self)^.&set := $80000000;
  16546. end;
  16547. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  16548. begin
  16549. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  16550. end;
  16551. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  16552. begin
  16553. pTDefRegMap(@Self)^.val := thebits;
  16554. end;
  16555. function TSPI1_SPI1CON.getw : TBits_32; inline;
  16556. begin
  16557. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16558. end;
  16559. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  16560. begin
  16561. pTDefRegMap(@Self)^.&set := $00000001;
  16562. end;
  16563. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  16564. begin
  16565. pTDefRegMap(@Self)^.clr := $00000001;
  16566. end;
  16567. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  16568. begin
  16569. if thebits = 0 then
  16570. pTDefRegMap(@Self)^.clr := $00000001
  16571. else
  16572. pTDefRegMap(@Self)^.&set := $00000001;
  16573. end;
  16574. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  16575. begin
  16576. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16577. end;
  16578. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  16579. begin
  16580. pTDefRegMap(@Self)^.&set := $00000002;
  16581. end;
  16582. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  16583. begin
  16584. pTDefRegMap(@Self)^.clr := $00000002;
  16585. end;
  16586. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  16587. begin
  16588. if thebits = 0 then
  16589. pTDefRegMap(@Self)^.clr := $00000002
  16590. else
  16591. pTDefRegMap(@Self)^.&set := $00000002;
  16592. end;
  16593. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  16594. begin
  16595. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16596. end;
  16597. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  16598. begin
  16599. pTDefRegMap(@Self)^.&set := $00000008;
  16600. end;
  16601. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  16602. begin
  16603. pTDefRegMap(@Self)^.clr := $00000008;
  16604. end;
  16605. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  16606. begin
  16607. if thebits = 0 then
  16608. pTDefRegMap(@Self)^.clr := $00000008
  16609. else
  16610. pTDefRegMap(@Self)^.&set := $00000008;
  16611. end;
  16612. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  16613. begin
  16614. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16615. end;
  16616. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  16617. begin
  16618. pTDefRegMap(@Self)^.&set := $00000020;
  16619. end;
  16620. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  16621. begin
  16622. pTDefRegMap(@Self)^.clr := $00000020;
  16623. end;
  16624. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  16625. begin
  16626. if thebits = 0 then
  16627. pTDefRegMap(@Self)^.clr := $00000020
  16628. else
  16629. pTDefRegMap(@Self)^.&set := $00000020;
  16630. end;
  16631. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  16632. begin
  16633. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16634. end;
  16635. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  16636. begin
  16637. pTDefRegMap(@Self)^.&set := $00000040;
  16638. end;
  16639. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  16640. begin
  16641. pTDefRegMap(@Self)^.clr := $00000040;
  16642. end;
  16643. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  16644. begin
  16645. if thebits = 0 then
  16646. pTDefRegMap(@Self)^.clr := $00000040
  16647. else
  16648. pTDefRegMap(@Self)^.&set := $00000040;
  16649. end;
  16650. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  16651. begin
  16652. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16653. end;
  16654. procedure TSPI1_SPI1STAT.setSRMT; inline;
  16655. begin
  16656. pTDefRegMap(@Self)^.&set := $00000080;
  16657. end;
  16658. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  16659. begin
  16660. pTDefRegMap(@Self)^.clr := $00000080;
  16661. end;
  16662. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  16663. begin
  16664. if thebits = 0 then
  16665. pTDefRegMap(@Self)^.clr := $00000080
  16666. else
  16667. pTDefRegMap(@Self)^.&set := $00000080;
  16668. end;
  16669. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  16670. begin
  16671. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16672. end;
  16673. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  16674. begin
  16675. pTDefRegMap(@Self)^.&set := $00000100;
  16676. end;
  16677. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  16678. begin
  16679. pTDefRegMap(@Self)^.clr := $00000100;
  16680. end;
  16681. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  16682. begin
  16683. if thebits = 0 then
  16684. pTDefRegMap(@Self)^.clr := $00000100
  16685. else
  16686. pTDefRegMap(@Self)^.&set := $00000100;
  16687. end;
  16688. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  16689. begin
  16690. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16691. end;
  16692. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  16693. begin
  16694. pTDefRegMap(@Self)^.&set := $00000800;
  16695. end;
  16696. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  16697. begin
  16698. pTDefRegMap(@Self)^.clr := $00000800;
  16699. end;
  16700. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  16701. begin
  16702. if thebits = 0 then
  16703. pTDefRegMap(@Self)^.clr := $00000800
  16704. else
  16705. pTDefRegMap(@Self)^.&set := $00000800;
  16706. end;
  16707. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  16708. begin
  16709. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16710. end;
  16711. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  16712. begin
  16713. pTDefRegMap(@Self)^.&set := $00001000;
  16714. end;
  16715. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  16716. begin
  16717. pTDefRegMap(@Self)^.clr := $00001000;
  16718. end;
  16719. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  16720. begin
  16721. if thebits = 0 then
  16722. pTDefRegMap(@Self)^.clr := $00001000
  16723. else
  16724. pTDefRegMap(@Self)^.&set := $00001000;
  16725. end;
  16726. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  16727. begin
  16728. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16729. end;
  16730. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  16731. begin
  16732. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  16733. end;
  16734. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  16735. begin
  16736. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  16737. end;
  16738. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  16739. begin
  16740. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  16741. end;
  16742. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  16743. begin
  16744. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  16745. end;
  16746. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  16747. begin
  16748. pTDefRegMap(@Self)^.val := thebits;
  16749. end;
  16750. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  16751. begin
  16752. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16753. end;
  16754. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  16755. begin
  16756. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16757. end;
  16758. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  16759. begin
  16760. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16761. end;
  16762. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  16763. begin
  16764. pTDefRegMap(@Self)^.&set := $00000008;
  16765. end;
  16766. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  16767. begin
  16768. pTDefRegMap(@Self)^.clr := $00000008;
  16769. end;
  16770. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  16771. begin
  16772. if thebits = 0 then
  16773. pTDefRegMap(@Self)^.clr := $00000008
  16774. else
  16775. pTDefRegMap(@Self)^.&set := $00000008;
  16776. end;
  16777. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  16778. begin
  16779. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16780. end;
  16781. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  16782. begin
  16783. pTDefRegMap(@Self)^.&set := $00000080;
  16784. end;
  16785. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  16786. begin
  16787. pTDefRegMap(@Self)^.clr := $00000080;
  16788. end;
  16789. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  16790. begin
  16791. if thebits = 0 then
  16792. pTDefRegMap(@Self)^.clr := $00000080
  16793. else
  16794. pTDefRegMap(@Self)^.&set := $00000080;
  16795. end;
  16796. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  16797. begin
  16798. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16799. end;
  16800. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  16801. begin
  16802. pTDefRegMap(@Self)^.&set := $00000100;
  16803. end;
  16804. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  16805. begin
  16806. pTDefRegMap(@Self)^.clr := $00000100;
  16807. end;
  16808. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  16809. begin
  16810. if thebits = 0 then
  16811. pTDefRegMap(@Self)^.clr := $00000100
  16812. else
  16813. pTDefRegMap(@Self)^.&set := $00000100;
  16814. end;
  16815. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  16816. begin
  16817. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16818. end;
  16819. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  16820. begin
  16821. pTDefRegMap(@Self)^.&set := $00000200;
  16822. end;
  16823. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  16824. begin
  16825. pTDefRegMap(@Self)^.clr := $00000200;
  16826. end;
  16827. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  16828. begin
  16829. if thebits = 0 then
  16830. pTDefRegMap(@Self)^.clr := $00000200
  16831. else
  16832. pTDefRegMap(@Self)^.&set := $00000200;
  16833. end;
  16834. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  16835. begin
  16836. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16837. end;
  16838. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  16839. begin
  16840. pTDefRegMap(@Self)^.&set := $00000400;
  16841. end;
  16842. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  16843. begin
  16844. pTDefRegMap(@Self)^.clr := $00000400;
  16845. end;
  16846. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  16847. begin
  16848. if thebits = 0 then
  16849. pTDefRegMap(@Self)^.clr := $00000400
  16850. else
  16851. pTDefRegMap(@Self)^.&set := $00000400;
  16852. end;
  16853. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  16854. begin
  16855. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16856. end;
  16857. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  16858. begin
  16859. pTDefRegMap(@Self)^.&set := $00000800;
  16860. end;
  16861. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  16862. begin
  16863. pTDefRegMap(@Self)^.clr := $00000800;
  16864. end;
  16865. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  16866. begin
  16867. if thebits = 0 then
  16868. pTDefRegMap(@Self)^.clr := $00000800
  16869. else
  16870. pTDefRegMap(@Self)^.&set := $00000800;
  16871. end;
  16872. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  16873. begin
  16874. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16875. end;
  16876. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  16877. begin
  16878. pTDefRegMap(@Self)^.&set := $00001000;
  16879. end;
  16880. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  16881. begin
  16882. pTDefRegMap(@Self)^.clr := $00001000;
  16883. end;
  16884. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  16885. begin
  16886. if thebits = 0 then
  16887. pTDefRegMap(@Self)^.clr := $00001000
  16888. else
  16889. pTDefRegMap(@Self)^.&set := $00001000;
  16890. end;
  16891. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  16892. begin
  16893. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16894. end;
  16895. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  16896. begin
  16897. pTDefRegMap(@Self)^.&set := $00008000;
  16898. end;
  16899. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  16900. begin
  16901. pTDefRegMap(@Self)^.clr := $00008000;
  16902. end;
  16903. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  16904. begin
  16905. if thebits = 0 then
  16906. pTDefRegMap(@Self)^.clr := $00008000
  16907. else
  16908. pTDefRegMap(@Self)^.&set := $00008000;
  16909. end;
  16910. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  16911. begin
  16912. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16913. end;
  16914. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  16915. begin
  16916. pTDefRegMap(@Self)^.&set := $00000001;
  16917. end;
  16918. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  16919. begin
  16920. pTDefRegMap(@Self)^.clr := $00000001;
  16921. end;
  16922. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  16923. begin
  16924. if thebits = 0 then
  16925. pTDefRegMap(@Self)^.clr := $00000001
  16926. else
  16927. pTDefRegMap(@Self)^.&set := $00000001;
  16928. end;
  16929. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  16930. begin
  16931. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16932. end;
  16933. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  16934. begin
  16935. pTDefRegMap(@Self)^.&set := $00000002;
  16936. end;
  16937. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  16938. begin
  16939. pTDefRegMap(@Self)^.clr := $00000002;
  16940. end;
  16941. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  16942. begin
  16943. if thebits = 0 then
  16944. pTDefRegMap(@Self)^.clr := $00000002
  16945. else
  16946. pTDefRegMap(@Self)^.&set := $00000002;
  16947. end;
  16948. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  16949. begin
  16950. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16951. end;
  16952. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  16953. begin
  16954. pTDefRegMap(@Self)^.val := thebits;
  16955. end;
  16956. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  16957. begin
  16958. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16959. end;
  16960. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  16961. begin
  16962. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16963. end;
  16964. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  16965. begin
  16966. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16967. end;
  16968. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  16969. begin
  16970. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16971. end;
  16972. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  16973. begin
  16974. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16975. end;
  16976. procedure TSPI2_SPI2CON.setDISSDI; inline;
  16977. begin
  16978. pTDefRegMap(@Self)^.&set := $00000010;
  16979. end;
  16980. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  16981. begin
  16982. pTDefRegMap(@Self)^.clr := $00000010;
  16983. end;
  16984. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  16985. begin
  16986. if thebits = 0 then
  16987. pTDefRegMap(@Self)^.clr := $00000010
  16988. else
  16989. pTDefRegMap(@Self)^.&set := $00000010;
  16990. end;
  16991. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  16992. begin
  16993. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16994. end;
  16995. procedure TSPI2_SPI2CON.setMSTEN; inline;
  16996. begin
  16997. pTDefRegMap(@Self)^.&set := $00000020;
  16998. end;
  16999. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  17000. begin
  17001. pTDefRegMap(@Self)^.clr := $00000020;
  17002. end;
  17003. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  17004. begin
  17005. if thebits = 0 then
  17006. pTDefRegMap(@Self)^.clr := $00000020
  17007. else
  17008. pTDefRegMap(@Self)^.&set := $00000020;
  17009. end;
  17010. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  17011. begin
  17012. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17013. end;
  17014. procedure TSPI2_SPI2CON.setCKP; inline;
  17015. begin
  17016. pTDefRegMap(@Self)^.&set := $00000040;
  17017. end;
  17018. procedure TSPI2_SPI2CON.clearCKP; inline;
  17019. begin
  17020. pTDefRegMap(@Self)^.clr := $00000040;
  17021. end;
  17022. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  17023. begin
  17024. if thebits = 0 then
  17025. pTDefRegMap(@Self)^.clr := $00000040
  17026. else
  17027. pTDefRegMap(@Self)^.&set := $00000040;
  17028. end;
  17029. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  17030. begin
  17031. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17032. end;
  17033. procedure TSPI2_SPI2CON.setSSEN; inline;
  17034. begin
  17035. pTDefRegMap(@Self)^.&set := $00000080;
  17036. end;
  17037. procedure TSPI2_SPI2CON.clearSSEN; inline;
  17038. begin
  17039. pTDefRegMap(@Self)^.clr := $00000080;
  17040. end;
  17041. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  17042. begin
  17043. if thebits = 0 then
  17044. pTDefRegMap(@Self)^.clr := $00000080
  17045. else
  17046. pTDefRegMap(@Self)^.&set := $00000080;
  17047. end;
  17048. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  17049. begin
  17050. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17051. end;
  17052. procedure TSPI2_SPI2CON.setCKE; inline;
  17053. begin
  17054. pTDefRegMap(@Self)^.&set := $00000100;
  17055. end;
  17056. procedure TSPI2_SPI2CON.clearCKE; inline;
  17057. begin
  17058. pTDefRegMap(@Self)^.clr := $00000100;
  17059. end;
  17060. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  17061. begin
  17062. if thebits = 0 then
  17063. pTDefRegMap(@Self)^.clr := $00000100
  17064. else
  17065. pTDefRegMap(@Self)^.&set := $00000100;
  17066. end;
  17067. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  17068. begin
  17069. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17070. end;
  17071. procedure TSPI2_SPI2CON.setSMP; inline;
  17072. begin
  17073. pTDefRegMap(@Self)^.&set := $00000200;
  17074. end;
  17075. procedure TSPI2_SPI2CON.clearSMP; inline;
  17076. begin
  17077. pTDefRegMap(@Self)^.clr := $00000200;
  17078. end;
  17079. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  17080. begin
  17081. if thebits = 0 then
  17082. pTDefRegMap(@Self)^.clr := $00000200
  17083. else
  17084. pTDefRegMap(@Self)^.&set := $00000200;
  17085. end;
  17086. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  17087. begin
  17088. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17089. end;
  17090. procedure TSPI2_SPI2CON.setMODE16; inline;
  17091. begin
  17092. pTDefRegMap(@Self)^.&set := $00000400;
  17093. end;
  17094. procedure TSPI2_SPI2CON.clearMODE16; inline;
  17095. begin
  17096. pTDefRegMap(@Self)^.clr := $00000400;
  17097. end;
  17098. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  17099. begin
  17100. if thebits = 0 then
  17101. pTDefRegMap(@Self)^.clr := $00000400
  17102. else
  17103. pTDefRegMap(@Self)^.&set := $00000400;
  17104. end;
  17105. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  17106. begin
  17107. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17108. end;
  17109. procedure TSPI2_SPI2CON.setMODE32; inline;
  17110. begin
  17111. pTDefRegMap(@Self)^.&set := $00000800;
  17112. end;
  17113. procedure TSPI2_SPI2CON.clearMODE32; inline;
  17114. begin
  17115. pTDefRegMap(@Self)^.clr := $00000800;
  17116. end;
  17117. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  17118. begin
  17119. if thebits = 0 then
  17120. pTDefRegMap(@Self)^.clr := $00000800
  17121. else
  17122. pTDefRegMap(@Self)^.&set := $00000800;
  17123. end;
  17124. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  17125. begin
  17126. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17127. end;
  17128. procedure TSPI2_SPI2CON.setDISSDO; inline;
  17129. begin
  17130. pTDefRegMap(@Self)^.&set := $00001000;
  17131. end;
  17132. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  17133. begin
  17134. pTDefRegMap(@Self)^.clr := $00001000;
  17135. end;
  17136. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  17137. begin
  17138. if thebits = 0 then
  17139. pTDefRegMap(@Self)^.clr := $00001000
  17140. else
  17141. pTDefRegMap(@Self)^.&set := $00001000;
  17142. end;
  17143. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  17144. begin
  17145. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17146. end;
  17147. procedure TSPI2_SPI2CON.setSIDL; inline;
  17148. begin
  17149. pTDefRegMap(@Self)^.&set := $00002000;
  17150. end;
  17151. procedure TSPI2_SPI2CON.clearSIDL; inline;
  17152. begin
  17153. pTDefRegMap(@Self)^.clr := $00002000;
  17154. end;
  17155. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  17156. begin
  17157. if thebits = 0 then
  17158. pTDefRegMap(@Self)^.clr := $00002000
  17159. else
  17160. pTDefRegMap(@Self)^.&set := $00002000;
  17161. end;
  17162. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  17163. begin
  17164. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17165. end;
  17166. procedure TSPI2_SPI2CON.setON; inline;
  17167. begin
  17168. pTDefRegMap(@Self)^.&set := $00008000;
  17169. end;
  17170. procedure TSPI2_SPI2CON.clearON; inline;
  17171. begin
  17172. pTDefRegMap(@Self)^.clr := $00008000;
  17173. end;
  17174. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  17175. begin
  17176. if thebits = 0 then
  17177. pTDefRegMap(@Self)^.clr := $00008000
  17178. else
  17179. pTDefRegMap(@Self)^.&set := $00008000;
  17180. end;
  17181. function TSPI2_SPI2CON.getON : TBits_1; inline;
  17182. begin
  17183. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17184. end;
  17185. procedure TSPI2_SPI2CON.setENHBUF; inline;
  17186. begin
  17187. pTDefRegMap(@Self)^.&set := $00010000;
  17188. end;
  17189. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  17190. begin
  17191. pTDefRegMap(@Self)^.clr := $00010000;
  17192. end;
  17193. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  17194. begin
  17195. if thebits = 0 then
  17196. pTDefRegMap(@Self)^.clr := $00010000
  17197. else
  17198. pTDefRegMap(@Self)^.&set := $00010000;
  17199. end;
  17200. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  17201. begin
  17202. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17203. end;
  17204. procedure TSPI2_SPI2CON.setSPIFE; inline;
  17205. begin
  17206. pTDefRegMap(@Self)^.&set := $00020000;
  17207. end;
  17208. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  17209. begin
  17210. pTDefRegMap(@Self)^.clr := $00020000;
  17211. end;
  17212. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  17213. begin
  17214. if thebits = 0 then
  17215. pTDefRegMap(@Self)^.clr := $00020000
  17216. else
  17217. pTDefRegMap(@Self)^.&set := $00020000;
  17218. end;
  17219. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  17220. begin
  17221. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17222. end;
  17223. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  17224. begin
  17225. pTDefRegMap(@Self)^.&set := $00800000;
  17226. end;
  17227. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  17228. begin
  17229. pTDefRegMap(@Self)^.clr := $00800000;
  17230. end;
  17231. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  17232. begin
  17233. if thebits = 0 then
  17234. pTDefRegMap(@Self)^.clr := $00800000
  17235. else
  17236. pTDefRegMap(@Self)^.&set := $00800000;
  17237. end;
  17238. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  17239. begin
  17240. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17241. end;
  17242. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  17243. begin
  17244. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17245. end;
  17246. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  17247. begin
  17248. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17249. end;
  17250. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  17251. begin
  17252. pTDefRegMap(@Self)^.&set := $08000000;
  17253. end;
  17254. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  17255. begin
  17256. pTDefRegMap(@Self)^.clr := $08000000;
  17257. end;
  17258. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  17259. begin
  17260. if thebits = 0 then
  17261. pTDefRegMap(@Self)^.clr := $08000000
  17262. else
  17263. pTDefRegMap(@Self)^.&set := $08000000;
  17264. end;
  17265. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  17266. begin
  17267. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17268. end;
  17269. procedure TSPI2_SPI2CON.setMSSEN; inline;
  17270. begin
  17271. pTDefRegMap(@Self)^.&set := $10000000;
  17272. end;
  17273. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  17274. begin
  17275. pTDefRegMap(@Self)^.clr := $10000000;
  17276. end;
  17277. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  17278. begin
  17279. if thebits = 0 then
  17280. pTDefRegMap(@Self)^.clr := $10000000
  17281. else
  17282. pTDefRegMap(@Self)^.&set := $10000000;
  17283. end;
  17284. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  17285. begin
  17286. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17287. end;
  17288. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  17289. begin
  17290. pTDefRegMap(@Self)^.&set := $20000000;
  17291. end;
  17292. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  17293. begin
  17294. pTDefRegMap(@Self)^.clr := $20000000;
  17295. end;
  17296. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  17297. begin
  17298. if thebits = 0 then
  17299. pTDefRegMap(@Self)^.clr := $20000000
  17300. else
  17301. pTDefRegMap(@Self)^.&set := $20000000;
  17302. end;
  17303. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  17304. begin
  17305. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17306. end;
  17307. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  17308. begin
  17309. pTDefRegMap(@Self)^.&set := $40000000;
  17310. end;
  17311. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  17312. begin
  17313. pTDefRegMap(@Self)^.clr := $40000000;
  17314. end;
  17315. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  17316. begin
  17317. if thebits = 0 then
  17318. pTDefRegMap(@Self)^.clr := $40000000
  17319. else
  17320. pTDefRegMap(@Self)^.&set := $40000000;
  17321. end;
  17322. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  17323. begin
  17324. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  17325. end;
  17326. procedure TSPI2_SPI2CON.setFRMEN; inline;
  17327. begin
  17328. pTDefRegMap(@Self)^.&set := $80000000;
  17329. end;
  17330. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  17331. begin
  17332. pTDefRegMap(@Self)^.clr := $80000000;
  17333. end;
  17334. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  17335. begin
  17336. if thebits = 0 then
  17337. pTDefRegMap(@Self)^.clr := $80000000
  17338. else
  17339. pTDefRegMap(@Self)^.&set := $80000000;
  17340. end;
  17341. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  17342. begin
  17343. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17344. end;
  17345. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  17346. begin
  17347. pTDefRegMap(@Self)^.val := thebits;
  17348. end;
  17349. function TSPI2_SPI2CON.getw : TBits_32; inline;
  17350. begin
  17351. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17352. end;
  17353. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  17354. begin
  17355. pTDefRegMap(@Self)^.&set := $00000001;
  17356. end;
  17357. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  17358. begin
  17359. pTDefRegMap(@Self)^.clr := $00000001;
  17360. end;
  17361. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  17362. begin
  17363. if thebits = 0 then
  17364. pTDefRegMap(@Self)^.clr := $00000001
  17365. else
  17366. pTDefRegMap(@Self)^.&set := $00000001;
  17367. end;
  17368. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  17369. begin
  17370. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17371. end;
  17372. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  17373. begin
  17374. pTDefRegMap(@Self)^.&set := $00000002;
  17375. end;
  17376. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  17377. begin
  17378. pTDefRegMap(@Self)^.clr := $00000002;
  17379. end;
  17380. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  17381. begin
  17382. if thebits = 0 then
  17383. pTDefRegMap(@Self)^.clr := $00000002
  17384. else
  17385. pTDefRegMap(@Self)^.&set := $00000002;
  17386. end;
  17387. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  17388. begin
  17389. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17390. end;
  17391. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  17392. begin
  17393. pTDefRegMap(@Self)^.&set := $00000008;
  17394. end;
  17395. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  17396. begin
  17397. pTDefRegMap(@Self)^.clr := $00000008;
  17398. end;
  17399. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  17400. begin
  17401. if thebits = 0 then
  17402. pTDefRegMap(@Self)^.clr := $00000008
  17403. else
  17404. pTDefRegMap(@Self)^.&set := $00000008;
  17405. end;
  17406. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  17407. begin
  17408. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17409. end;
  17410. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  17411. begin
  17412. pTDefRegMap(@Self)^.&set := $00000020;
  17413. end;
  17414. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  17415. begin
  17416. pTDefRegMap(@Self)^.clr := $00000020;
  17417. end;
  17418. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  17419. begin
  17420. if thebits = 0 then
  17421. pTDefRegMap(@Self)^.clr := $00000020
  17422. else
  17423. pTDefRegMap(@Self)^.&set := $00000020;
  17424. end;
  17425. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  17426. begin
  17427. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17428. end;
  17429. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  17430. begin
  17431. pTDefRegMap(@Self)^.&set := $00000040;
  17432. end;
  17433. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  17434. begin
  17435. pTDefRegMap(@Self)^.clr := $00000040;
  17436. end;
  17437. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  17438. begin
  17439. if thebits = 0 then
  17440. pTDefRegMap(@Self)^.clr := $00000040
  17441. else
  17442. pTDefRegMap(@Self)^.&set := $00000040;
  17443. end;
  17444. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  17445. begin
  17446. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17447. end;
  17448. procedure TSPI2_SPI2STAT.setSRMT; inline;
  17449. begin
  17450. pTDefRegMap(@Self)^.&set := $00000080;
  17451. end;
  17452. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  17453. begin
  17454. pTDefRegMap(@Self)^.clr := $00000080;
  17455. end;
  17456. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  17457. begin
  17458. if thebits = 0 then
  17459. pTDefRegMap(@Self)^.clr := $00000080
  17460. else
  17461. pTDefRegMap(@Self)^.&set := $00000080;
  17462. end;
  17463. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  17464. begin
  17465. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17466. end;
  17467. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  17468. begin
  17469. pTDefRegMap(@Self)^.&set := $00000100;
  17470. end;
  17471. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  17472. begin
  17473. pTDefRegMap(@Self)^.clr := $00000100;
  17474. end;
  17475. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  17476. begin
  17477. if thebits = 0 then
  17478. pTDefRegMap(@Self)^.clr := $00000100
  17479. else
  17480. pTDefRegMap(@Self)^.&set := $00000100;
  17481. end;
  17482. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  17483. begin
  17484. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17485. end;
  17486. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  17487. begin
  17488. pTDefRegMap(@Self)^.&set := $00000800;
  17489. end;
  17490. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  17491. begin
  17492. pTDefRegMap(@Self)^.clr := $00000800;
  17493. end;
  17494. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  17495. begin
  17496. if thebits = 0 then
  17497. pTDefRegMap(@Self)^.clr := $00000800
  17498. else
  17499. pTDefRegMap(@Self)^.&set := $00000800;
  17500. end;
  17501. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  17502. begin
  17503. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17504. end;
  17505. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  17506. begin
  17507. pTDefRegMap(@Self)^.&set := $00001000;
  17508. end;
  17509. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  17510. begin
  17511. pTDefRegMap(@Self)^.clr := $00001000;
  17512. end;
  17513. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  17514. begin
  17515. if thebits = 0 then
  17516. pTDefRegMap(@Self)^.clr := $00001000
  17517. else
  17518. pTDefRegMap(@Self)^.&set := $00001000;
  17519. end;
  17520. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  17521. begin
  17522. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17523. end;
  17524. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  17525. begin
  17526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17527. end;
  17528. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  17529. begin
  17530. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17531. end;
  17532. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  17533. begin
  17534. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17535. end;
  17536. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  17537. begin
  17538. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17539. end;
  17540. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  17541. begin
  17542. pTDefRegMap(@Self)^.val := thebits;
  17543. end;
  17544. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  17545. begin
  17546. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17547. end;
  17548. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  17549. begin
  17550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17551. end;
  17552. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  17553. begin
  17554. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17555. end;
  17556. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  17557. begin
  17558. pTDefRegMap(@Self)^.&set := $00000008;
  17559. end;
  17560. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  17561. begin
  17562. pTDefRegMap(@Self)^.clr := $00000008;
  17563. end;
  17564. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  17565. begin
  17566. if thebits = 0 then
  17567. pTDefRegMap(@Self)^.clr := $00000008
  17568. else
  17569. pTDefRegMap(@Self)^.&set := $00000008;
  17570. end;
  17571. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  17572. begin
  17573. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17574. end;
  17575. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  17576. begin
  17577. pTDefRegMap(@Self)^.&set := $00000080;
  17578. end;
  17579. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  17580. begin
  17581. pTDefRegMap(@Self)^.clr := $00000080;
  17582. end;
  17583. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  17584. begin
  17585. if thebits = 0 then
  17586. pTDefRegMap(@Self)^.clr := $00000080
  17587. else
  17588. pTDefRegMap(@Self)^.&set := $00000080;
  17589. end;
  17590. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  17591. begin
  17592. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17593. end;
  17594. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  17595. begin
  17596. pTDefRegMap(@Self)^.&set := $00000100;
  17597. end;
  17598. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  17599. begin
  17600. pTDefRegMap(@Self)^.clr := $00000100;
  17601. end;
  17602. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  17603. begin
  17604. if thebits = 0 then
  17605. pTDefRegMap(@Self)^.clr := $00000100
  17606. else
  17607. pTDefRegMap(@Self)^.&set := $00000100;
  17608. end;
  17609. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  17610. begin
  17611. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17612. end;
  17613. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  17614. begin
  17615. pTDefRegMap(@Self)^.&set := $00000200;
  17616. end;
  17617. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  17618. begin
  17619. pTDefRegMap(@Self)^.clr := $00000200;
  17620. end;
  17621. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  17622. begin
  17623. if thebits = 0 then
  17624. pTDefRegMap(@Self)^.clr := $00000200
  17625. else
  17626. pTDefRegMap(@Self)^.&set := $00000200;
  17627. end;
  17628. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  17629. begin
  17630. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17631. end;
  17632. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  17633. begin
  17634. pTDefRegMap(@Self)^.&set := $00000400;
  17635. end;
  17636. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  17637. begin
  17638. pTDefRegMap(@Self)^.clr := $00000400;
  17639. end;
  17640. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  17641. begin
  17642. if thebits = 0 then
  17643. pTDefRegMap(@Self)^.clr := $00000400
  17644. else
  17645. pTDefRegMap(@Self)^.&set := $00000400;
  17646. end;
  17647. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  17648. begin
  17649. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17650. end;
  17651. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  17652. begin
  17653. pTDefRegMap(@Self)^.&set := $00000800;
  17654. end;
  17655. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  17656. begin
  17657. pTDefRegMap(@Self)^.clr := $00000800;
  17658. end;
  17659. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  17660. begin
  17661. if thebits = 0 then
  17662. pTDefRegMap(@Self)^.clr := $00000800
  17663. else
  17664. pTDefRegMap(@Self)^.&set := $00000800;
  17665. end;
  17666. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  17667. begin
  17668. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17669. end;
  17670. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  17671. begin
  17672. pTDefRegMap(@Self)^.&set := $00001000;
  17673. end;
  17674. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  17675. begin
  17676. pTDefRegMap(@Self)^.clr := $00001000;
  17677. end;
  17678. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  17679. begin
  17680. if thebits = 0 then
  17681. pTDefRegMap(@Self)^.clr := $00001000
  17682. else
  17683. pTDefRegMap(@Self)^.&set := $00001000;
  17684. end;
  17685. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  17686. begin
  17687. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17688. end;
  17689. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  17690. begin
  17691. pTDefRegMap(@Self)^.&set := $00008000;
  17692. end;
  17693. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  17694. begin
  17695. pTDefRegMap(@Self)^.clr := $00008000;
  17696. end;
  17697. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17698. begin
  17699. if thebits = 0 then
  17700. pTDefRegMap(@Self)^.clr := $00008000
  17701. else
  17702. pTDefRegMap(@Self)^.&set := $00008000;
  17703. end;
  17704. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  17705. begin
  17706. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17707. end;
  17708. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  17709. begin
  17710. pTDefRegMap(@Self)^.&set := $00000001;
  17711. end;
  17712. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  17713. begin
  17714. pTDefRegMap(@Self)^.clr := $00000001;
  17715. end;
  17716. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  17717. begin
  17718. if thebits = 0 then
  17719. pTDefRegMap(@Self)^.clr := $00000001
  17720. else
  17721. pTDefRegMap(@Self)^.&set := $00000001;
  17722. end;
  17723. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  17724. begin
  17725. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17726. end;
  17727. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  17728. begin
  17729. pTDefRegMap(@Self)^.&set := $00000002;
  17730. end;
  17731. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  17732. begin
  17733. pTDefRegMap(@Self)^.clr := $00000002;
  17734. end;
  17735. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  17736. begin
  17737. if thebits = 0 then
  17738. pTDefRegMap(@Self)^.clr := $00000002
  17739. else
  17740. pTDefRegMap(@Self)^.&set := $00000002;
  17741. end;
  17742. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  17743. begin
  17744. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17745. end;
  17746. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  17747. begin
  17748. pTDefRegMap(@Self)^.val := thebits;
  17749. end;
  17750. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  17751. begin
  17752. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17753. end;
  17754. procedure TUART1_U1AMODE.setSTSEL; inline;
  17755. begin
  17756. pTDefRegMap(@Self)^.&set := $00000001;
  17757. end;
  17758. procedure TUART1_U1AMODE.clearSTSEL; inline;
  17759. begin
  17760. pTDefRegMap(@Self)^.clr := $00000001;
  17761. end;
  17762. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  17763. begin
  17764. if thebits = 0 then
  17765. pTDefRegMap(@Self)^.clr := $00000001
  17766. else
  17767. pTDefRegMap(@Self)^.&set := $00000001;
  17768. end;
  17769. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  17770. begin
  17771. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17772. end;
  17773. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  17774. begin
  17775. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  17776. end;
  17777. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  17778. begin
  17779. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  17780. end;
  17781. procedure TUART1_U1AMODE.setBRGH; inline;
  17782. begin
  17783. pTDefRegMap(@Self)^.&set := $00000008;
  17784. end;
  17785. procedure TUART1_U1AMODE.clearBRGH; inline;
  17786. begin
  17787. pTDefRegMap(@Self)^.clr := $00000008;
  17788. end;
  17789. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  17790. begin
  17791. if thebits = 0 then
  17792. pTDefRegMap(@Self)^.clr := $00000008
  17793. else
  17794. pTDefRegMap(@Self)^.&set := $00000008;
  17795. end;
  17796. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  17797. begin
  17798. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17799. end;
  17800. procedure TUART1_U1AMODE.setRXINV; inline;
  17801. begin
  17802. pTDefRegMap(@Self)^.&set := $00000010;
  17803. end;
  17804. procedure TUART1_U1AMODE.clearRXINV; inline;
  17805. begin
  17806. pTDefRegMap(@Self)^.clr := $00000010;
  17807. end;
  17808. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  17809. begin
  17810. if thebits = 0 then
  17811. pTDefRegMap(@Self)^.clr := $00000010
  17812. else
  17813. pTDefRegMap(@Self)^.&set := $00000010;
  17814. end;
  17815. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  17816. begin
  17817. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17818. end;
  17819. procedure TUART1_U1AMODE.setABAUD; inline;
  17820. begin
  17821. pTDefRegMap(@Self)^.&set := $00000020;
  17822. end;
  17823. procedure TUART1_U1AMODE.clearABAUD; inline;
  17824. begin
  17825. pTDefRegMap(@Self)^.clr := $00000020;
  17826. end;
  17827. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  17828. begin
  17829. if thebits = 0 then
  17830. pTDefRegMap(@Self)^.clr := $00000020
  17831. else
  17832. pTDefRegMap(@Self)^.&set := $00000020;
  17833. end;
  17834. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  17835. begin
  17836. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17837. end;
  17838. procedure TUART1_U1AMODE.setLPBACK; inline;
  17839. begin
  17840. pTDefRegMap(@Self)^.&set := $00000040;
  17841. end;
  17842. procedure TUART1_U1AMODE.clearLPBACK; inline;
  17843. begin
  17844. pTDefRegMap(@Self)^.clr := $00000040;
  17845. end;
  17846. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  17847. begin
  17848. if thebits = 0 then
  17849. pTDefRegMap(@Self)^.clr := $00000040
  17850. else
  17851. pTDefRegMap(@Self)^.&set := $00000040;
  17852. end;
  17853. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  17854. begin
  17855. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17856. end;
  17857. procedure TUART1_U1AMODE.setWAKE; inline;
  17858. begin
  17859. pTDefRegMap(@Self)^.&set := $00000080;
  17860. end;
  17861. procedure TUART1_U1AMODE.clearWAKE; inline;
  17862. begin
  17863. pTDefRegMap(@Self)^.clr := $00000080;
  17864. end;
  17865. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  17866. begin
  17867. if thebits = 0 then
  17868. pTDefRegMap(@Self)^.clr := $00000080
  17869. else
  17870. pTDefRegMap(@Self)^.&set := $00000080;
  17871. end;
  17872. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  17873. begin
  17874. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17875. end;
  17876. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  17877. begin
  17878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  17879. end;
  17880. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  17881. begin
  17882. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  17883. end;
  17884. procedure TUART1_U1AMODE.setRTSMD; inline;
  17885. begin
  17886. pTDefRegMap(@Self)^.&set := $00000800;
  17887. end;
  17888. procedure TUART1_U1AMODE.clearRTSMD; inline;
  17889. begin
  17890. pTDefRegMap(@Self)^.clr := $00000800;
  17891. end;
  17892. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  17893. begin
  17894. if thebits = 0 then
  17895. pTDefRegMap(@Self)^.clr := $00000800
  17896. else
  17897. pTDefRegMap(@Self)^.&set := $00000800;
  17898. end;
  17899. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  17900. begin
  17901. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17902. end;
  17903. procedure TUART1_U1AMODE.setIREN; inline;
  17904. begin
  17905. pTDefRegMap(@Self)^.&set := $00001000;
  17906. end;
  17907. procedure TUART1_U1AMODE.clearIREN; inline;
  17908. begin
  17909. pTDefRegMap(@Self)^.clr := $00001000;
  17910. end;
  17911. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  17912. begin
  17913. if thebits = 0 then
  17914. pTDefRegMap(@Self)^.clr := $00001000
  17915. else
  17916. pTDefRegMap(@Self)^.&set := $00001000;
  17917. end;
  17918. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  17919. begin
  17920. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17921. end;
  17922. procedure TUART1_U1AMODE.setSIDL; inline;
  17923. begin
  17924. pTDefRegMap(@Self)^.&set := $00002000;
  17925. end;
  17926. procedure TUART1_U1AMODE.clearSIDL; inline;
  17927. begin
  17928. pTDefRegMap(@Self)^.clr := $00002000;
  17929. end;
  17930. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  17931. begin
  17932. if thebits = 0 then
  17933. pTDefRegMap(@Self)^.clr := $00002000
  17934. else
  17935. pTDefRegMap(@Self)^.&set := $00002000;
  17936. end;
  17937. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  17938. begin
  17939. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17940. end;
  17941. procedure TUART1_U1AMODE.setON; inline;
  17942. begin
  17943. pTDefRegMap(@Self)^.&set := $00008000;
  17944. end;
  17945. procedure TUART1_U1AMODE.clearON; inline;
  17946. begin
  17947. pTDefRegMap(@Self)^.clr := $00008000;
  17948. end;
  17949. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  17950. begin
  17951. if thebits = 0 then
  17952. pTDefRegMap(@Self)^.clr := $00008000
  17953. else
  17954. pTDefRegMap(@Self)^.&set := $00008000;
  17955. end;
  17956. function TUART1_U1AMODE.getON : TBits_1; inline;
  17957. begin
  17958. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17959. end;
  17960. procedure TUART1_U1AMODE.setPDSEL0; inline;
  17961. begin
  17962. pTDefRegMap(@Self)^.&set := $00000002;
  17963. end;
  17964. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  17965. begin
  17966. pTDefRegMap(@Self)^.clr := $00000002;
  17967. end;
  17968. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  17969. begin
  17970. if thebits = 0 then
  17971. pTDefRegMap(@Self)^.clr := $00000002
  17972. else
  17973. pTDefRegMap(@Self)^.&set := $00000002;
  17974. end;
  17975. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  17976. begin
  17977. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17978. end;
  17979. procedure TUART1_U1AMODE.setPDSEL1; inline;
  17980. begin
  17981. pTDefRegMap(@Self)^.&set := $00000004;
  17982. end;
  17983. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  17984. begin
  17985. pTDefRegMap(@Self)^.clr := $00000004;
  17986. end;
  17987. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  17988. begin
  17989. if thebits = 0 then
  17990. pTDefRegMap(@Self)^.clr := $00000004
  17991. else
  17992. pTDefRegMap(@Self)^.&set := $00000004;
  17993. end;
  17994. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  17995. begin
  17996. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17997. end;
  17998. procedure TUART1_U1AMODE.setUEN0; inline;
  17999. begin
  18000. pTDefRegMap(@Self)^.&set := $00000100;
  18001. end;
  18002. procedure TUART1_U1AMODE.clearUEN0; inline;
  18003. begin
  18004. pTDefRegMap(@Self)^.clr := $00000100;
  18005. end;
  18006. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  18007. begin
  18008. if thebits = 0 then
  18009. pTDefRegMap(@Self)^.clr := $00000100
  18010. else
  18011. pTDefRegMap(@Self)^.&set := $00000100;
  18012. end;
  18013. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  18014. begin
  18015. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18016. end;
  18017. procedure TUART1_U1AMODE.setUEN1; inline;
  18018. begin
  18019. pTDefRegMap(@Self)^.&set := $00000200;
  18020. end;
  18021. procedure TUART1_U1AMODE.clearUEN1; inline;
  18022. begin
  18023. pTDefRegMap(@Self)^.clr := $00000200;
  18024. end;
  18025. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  18026. begin
  18027. if thebits = 0 then
  18028. pTDefRegMap(@Self)^.clr := $00000200
  18029. else
  18030. pTDefRegMap(@Self)^.&set := $00000200;
  18031. end;
  18032. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  18033. begin
  18034. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18035. end;
  18036. procedure TUART1_U1AMODE.setUSIDL; inline;
  18037. begin
  18038. pTDefRegMap(@Self)^.&set := $00002000;
  18039. end;
  18040. procedure TUART1_U1AMODE.clearUSIDL; inline;
  18041. begin
  18042. pTDefRegMap(@Self)^.clr := $00002000;
  18043. end;
  18044. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  18045. begin
  18046. if thebits = 0 then
  18047. pTDefRegMap(@Self)^.clr := $00002000
  18048. else
  18049. pTDefRegMap(@Self)^.&set := $00002000;
  18050. end;
  18051. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  18052. begin
  18053. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18054. end;
  18055. procedure TUART1_U1AMODE.setUARTEN; inline;
  18056. begin
  18057. pTDefRegMap(@Self)^.&set := $00008000;
  18058. end;
  18059. procedure TUART1_U1AMODE.clearUARTEN; inline;
  18060. begin
  18061. pTDefRegMap(@Self)^.clr := $00008000;
  18062. end;
  18063. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  18064. begin
  18065. if thebits = 0 then
  18066. pTDefRegMap(@Self)^.clr := $00008000
  18067. else
  18068. pTDefRegMap(@Self)^.&set := $00008000;
  18069. end;
  18070. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  18071. begin
  18072. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18073. end;
  18074. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  18075. begin
  18076. pTDefRegMap(@Self)^.val := thebits;
  18077. end;
  18078. function TUART1_U1AMODE.getw : TBits_32; inline;
  18079. begin
  18080. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18081. end;
  18082. procedure TUART1_U1MODE.setSTSEL; inline;
  18083. begin
  18084. pTDefRegMap(@Self)^.&set := $00000001;
  18085. end;
  18086. procedure TUART1_U1MODE.clearSTSEL; inline;
  18087. begin
  18088. pTDefRegMap(@Self)^.clr := $00000001;
  18089. end;
  18090. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  18091. begin
  18092. if thebits = 0 then
  18093. pTDefRegMap(@Self)^.clr := $00000001
  18094. else
  18095. pTDefRegMap(@Self)^.&set := $00000001;
  18096. end;
  18097. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  18098. begin
  18099. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18100. end;
  18101. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  18102. begin
  18103. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18104. end;
  18105. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  18106. begin
  18107. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18108. end;
  18109. procedure TUART1_U1MODE.setBRGH; inline;
  18110. begin
  18111. pTDefRegMap(@Self)^.&set := $00000008;
  18112. end;
  18113. procedure TUART1_U1MODE.clearBRGH; inline;
  18114. begin
  18115. pTDefRegMap(@Self)^.clr := $00000008;
  18116. end;
  18117. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  18118. begin
  18119. if thebits = 0 then
  18120. pTDefRegMap(@Self)^.clr := $00000008
  18121. else
  18122. pTDefRegMap(@Self)^.&set := $00000008;
  18123. end;
  18124. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  18125. begin
  18126. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18127. end;
  18128. procedure TUART1_U1MODE.setRXINV; inline;
  18129. begin
  18130. pTDefRegMap(@Self)^.&set := $00000010;
  18131. end;
  18132. procedure TUART1_U1MODE.clearRXINV; inline;
  18133. begin
  18134. pTDefRegMap(@Self)^.clr := $00000010;
  18135. end;
  18136. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  18137. begin
  18138. if thebits = 0 then
  18139. pTDefRegMap(@Self)^.clr := $00000010
  18140. else
  18141. pTDefRegMap(@Self)^.&set := $00000010;
  18142. end;
  18143. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  18144. begin
  18145. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18146. end;
  18147. procedure TUART1_U1MODE.setABAUD; inline;
  18148. begin
  18149. pTDefRegMap(@Self)^.&set := $00000020;
  18150. end;
  18151. procedure TUART1_U1MODE.clearABAUD; inline;
  18152. begin
  18153. pTDefRegMap(@Self)^.clr := $00000020;
  18154. end;
  18155. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  18156. begin
  18157. if thebits = 0 then
  18158. pTDefRegMap(@Self)^.clr := $00000020
  18159. else
  18160. pTDefRegMap(@Self)^.&set := $00000020;
  18161. end;
  18162. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  18163. begin
  18164. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18165. end;
  18166. procedure TUART1_U1MODE.setLPBACK; inline;
  18167. begin
  18168. pTDefRegMap(@Self)^.&set := $00000040;
  18169. end;
  18170. procedure TUART1_U1MODE.clearLPBACK; inline;
  18171. begin
  18172. pTDefRegMap(@Self)^.clr := $00000040;
  18173. end;
  18174. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  18175. begin
  18176. if thebits = 0 then
  18177. pTDefRegMap(@Self)^.clr := $00000040
  18178. else
  18179. pTDefRegMap(@Self)^.&set := $00000040;
  18180. end;
  18181. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  18182. begin
  18183. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18184. end;
  18185. procedure TUART1_U1MODE.setWAKE; inline;
  18186. begin
  18187. pTDefRegMap(@Self)^.&set := $00000080;
  18188. end;
  18189. procedure TUART1_U1MODE.clearWAKE; inline;
  18190. begin
  18191. pTDefRegMap(@Self)^.clr := $00000080;
  18192. end;
  18193. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  18194. begin
  18195. if thebits = 0 then
  18196. pTDefRegMap(@Self)^.clr := $00000080
  18197. else
  18198. pTDefRegMap(@Self)^.&set := $00000080;
  18199. end;
  18200. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  18201. begin
  18202. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18203. end;
  18204. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  18205. begin
  18206. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18207. end;
  18208. function TUART1_U1MODE.getUEN : TBits_2; inline;
  18209. begin
  18210. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18211. end;
  18212. procedure TUART1_U1MODE.setRTSMD; inline;
  18213. begin
  18214. pTDefRegMap(@Self)^.&set := $00000800;
  18215. end;
  18216. procedure TUART1_U1MODE.clearRTSMD; inline;
  18217. begin
  18218. pTDefRegMap(@Self)^.clr := $00000800;
  18219. end;
  18220. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  18221. begin
  18222. if thebits = 0 then
  18223. pTDefRegMap(@Self)^.clr := $00000800
  18224. else
  18225. pTDefRegMap(@Self)^.&set := $00000800;
  18226. end;
  18227. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  18228. begin
  18229. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18230. end;
  18231. procedure TUART1_U1MODE.setIREN; inline;
  18232. begin
  18233. pTDefRegMap(@Self)^.&set := $00001000;
  18234. end;
  18235. procedure TUART1_U1MODE.clearIREN; inline;
  18236. begin
  18237. pTDefRegMap(@Self)^.clr := $00001000;
  18238. end;
  18239. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  18240. begin
  18241. if thebits = 0 then
  18242. pTDefRegMap(@Self)^.clr := $00001000
  18243. else
  18244. pTDefRegMap(@Self)^.&set := $00001000;
  18245. end;
  18246. function TUART1_U1MODE.getIREN : TBits_1; inline;
  18247. begin
  18248. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18249. end;
  18250. procedure TUART1_U1MODE.setSIDL; inline;
  18251. begin
  18252. pTDefRegMap(@Self)^.&set := $00002000;
  18253. end;
  18254. procedure TUART1_U1MODE.clearSIDL; inline;
  18255. begin
  18256. pTDefRegMap(@Self)^.clr := $00002000;
  18257. end;
  18258. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  18259. begin
  18260. if thebits = 0 then
  18261. pTDefRegMap(@Self)^.clr := $00002000
  18262. else
  18263. pTDefRegMap(@Self)^.&set := $00002000;
  18264. end;
  18265. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  18266. begin
  18267. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18268. end;
  18269. procedure TUART1_U1MODE.setON; inline;
  18270. begin
  18271. pTDefRegMap(@Self)^.&set := $00008000;
  18272. end;
  18273. procedure TUART1_U1MODE.clearON; inline;
  18274. begin
  18275. pTDefRegMap(@Self)^.clr := $00008000;
  18276. end;
  18277. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  18278. begin
  18279. if thebits = 0 then
  18280. pTDefRegMap(@Self)^.clr := $00008000
  18281. else
  18282. pTDefRegMap(@Self)^.&set := $00008000;
  18283. end;
  18284. function TUART1_U1MODE.getON : TBits_1; inline;
  18285. begin
  18286. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18287. end;
  18288. procedure TUART1_U1MODE.setPDSEL0; inline;
  18289. begin
  18290. pTDefRegMap(@Self)^.&set := $00000002;
  18291. end;
  18292. procedure TUART1_U1MODE.clearPDSEL0; inline;
  18293. begin
  18294. pTDefRegMap(@Self)^.clr := $00000002;
  18295. end;
  18296. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  18297. begin
  18298. if thebits = 0 then
  18299. pTDefRegMap(@Self)^.clr := $00000002
  18300. else
  18301. pTDefRegMap(@Self)^.&set := $00000002;
  18302. end;
  18303. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  18304. begin
  18305. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18306. end;
  18307. procedure TUART1_U1MODE.setPDSEL1; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.&set := $00000004;
  18310. end;
  18311. procedure TUART1_U1MODE.clearPDSEL1; inline;
  18312. begin
  18313. pTDefRegMap(@Self)^.clr := $00000004;
  18314. end;
  18315. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  18316. begin
  18317. if thebits = 0 then
  18318. pTDefRegMap(@Self)^.clr := $00000004
  18319. else
  18320. pTDefRegMap(@Self)^.&set := $00000004;
  18321. end;
  18322. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  18323. begin
  18324. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18325. end;
  18326. procedure TUART1_U1MODE.setUEN0; inline;
  18327. begin
  18328. pTDefRegMap(@Self)^.&set := $00000100;
  18329. end;
  18330. procedure TUART1_U1MODE.clearUEN0; inline;
  18331. begin
  18332. pTDefRegMap(@Self)^.clr := $00000100;
  18333. end;
  18334. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  18335. begin
  18336. if thebits = 0 then
  18337. pTDefRegMap(@Self)^.clr := $00000100
  18338. else
  18339. pTDefRegMap(@Self)^.&set := $00000100;
  18340. end;
  18341. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  18342. begin
  18343. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18344. end;
  18345. procedure TUART1_U1MODE.setUEN1; inline;
  18346. begin
  18347. pTDefRegMap(@Self)^.&set := $00000200;
  18348. end;
  18349. procedure TUART1_U1MODE.clearUEN1; inline;
  18350. begin
  18351. pTDefRegMap(@Self)^.clr := $00000200;
  18352. end;
  18353. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  18354. begin
  18355. if thebits = 0 then
  18356. pTDefRegMap(@Self)^.clr := $00000200
  18357. else
  18358. pTDefRegMap(@Self)^.&set := $00000200;
  18359. end;
  18360. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  18361. begin
  18362. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18363. end;
  18364. procedure TUART1_U1MODE.setUSIDL; inline;
  18365. begin
  18366. pTDefRegMap(@Self)^.&set := $00002000;
  18367. end;
  18368. procedure TUART1_U1MODE.clearUSIDL; inline;
  18369. begin
  18370. pTDefRegMap(@Self)^.clr := $00002000;
  18371. end;
  18372. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  18373. begin
  18374. if thebits = 0 then
  18375. pTDefRegMap(@Self)^.clr := $00002000
  18376. else
  18377. pTDefRegMap(@Self)^.&set := $00002000;
  18378. end;
  18379. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  18380. begin
  18381. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18382. end;
  18383. procedure TUART1_U1MODE.setUARTEN; inline;
  18384. begin
  18385. pTDefRegMap(@Self)^.&set := $00008000;
  18386. end;
  18387. procedure TUART1_U1MODE.clearUARTEN; inline;
  18388. begin
  18389. pTDefRegMap(@Self)^.clr := $00008000;
  18390. end;
  18391. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  18392. begin
  18393. if thebits = 0 then
  18394. pTDefRegMap(@Self)^.clr := $00008000
  18395. else
  18396. pTDefRegMap(@Self)^.&set := $00008000;
  18397. end;
  18398. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  18399. begin
  18400. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18401. end;
  18402. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  18403. begin
  18404. pTDefRegMap(@Self)^.val := thebits;
  18405. end;
  18406. function TUART1_U1MODE.getw : TBits_32; inline;
  18407. begin
  18408. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18409. end;
  18410. procedure TUART1_U1ASTA.setURXDA; inline;
  18411. begin
  18412. pTDefRegMap(@Self)^.&set := $00000001;
  18413. end;
  18414. procedure TUART1_U1ASTA.clearURXDA; inline;
  18415. begin
  18416. pTDefRegMap(@Self)^.clr := $00000001;
  18417. end;
  18418. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  18419. begin
  18420. if thebits = 0 then
  18421. pTDefRegMap(@Self)^.clr := $00000001
  18422. else
  18423. pTDefRegMap(@Self)^.&set := $00000001;
  18424. end;
  18425. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  18426. begin
  18427. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18428. end;
  18429. procedure TUART1_U1ASTA.setOERR; inline;
  18430. begin
  18431. pTDefRegMap(@Self)^.&set := $00000002;
  18432. end;
  18433. procedure TUART1_U1ASTA.clearOERR; inline;
  18434. begin
  18435. pTDefRegMap(@Self)^.clr := $00000002;
  18436. end;
  18437. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  18438. begin
  18439. if thebits = 0 then
  18440. pTDefRegMap(@Self)^.clr := $00000002
  18441. else
  18442. pTDefRegMap(@Self)^.&set := $00000002;
  18443. end;
  18444. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  18445. begin
  18446. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18447. end;
  18448. procedure TUART1_U1ASTA.setFERR; inline;
  18449. begin
  18450. pTDefRegMap(@Self)^.&set := $00000004;
  18451. end;
  18452. procedure TUART1_U1ASTA.clearFERR; inline;
  18453. begin
  18454. pTDefRegMap(@Self)^.clr := $00000004;
  18455. end;
  18456. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  18457. begin
  18458. if thebits = 0 then
  18459. pTDefRegMap(@Self)^.clr := $00000004
  18460. else
  18461. pTDefRegMap(@Self)^.&set := $00000004;
  18462. end;
  18463. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  18464. begin
  18465. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18466. end;
  18467. procedure TUART1_U1ASTA.setPERR; inline;
  18468. begin
  18469. pTDefRegMap(@Self)^.&set := $00000008;
  18470. end;
  18471. procedure TUART1_U1ASTA.clearPERR; inline;
  18472. begin
  18473. pTDefRegMap(@Self)^.clr := $00000008;
  18474. end;
  18475. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  18476. begin
  18477. if thebits = 0 then
  18478. pTDefRegMap(@Self)^.clr := $00000008
  18479. else
  18480. pTDefRegMap(@Self)^.&set := $00000008;
  18481. end;
  18482. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  18483. begin
  18484. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18485. end;
  18486. procedure TUART1_U1ASTA.setRIDLE; inline;
  18487. begin
  18488. pTDefRegMap(@Self)^.&set := $00000010;
  18489. end;
  18490. procedure TUART1_U1ASTA.clearRIDLE; inline;
  18491. begin
  18492. pTDefRegMap(@Self)^.clr := $00000010;
  18493. end;
  18494. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  18495. begin
  18496. if thebits = 0 then
  18497. pTDefRegMap(@Self)^.clr := $00000010
  18498. else
  18499. pTDefRegMap(@Self)^.&set := $00000010;
  18500. end;
  18501. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  18502. begin
  18503. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18504. end;
  18505. procedure TUART1_U1ASTA.setADDEN; inline;
  18506. begin
  18507. pTDefRegMap(@Self)^.&set := $00000020;
  18508. end;
  18509. procedure TUART1_U1ASTA.clearADDEN; inline;
  18510. begin
  18511. pTDefRegMap(@Self)^.clr := $00000020;
  18512. end;
  18513. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  18514. begin
  18515. if thebits = 0 then
  18516. pTDefRegMap(@Self)^.clr := $00000020
  18517. else
  18518. pTDefRegMap(@Self)^.&set := $00000020;
  18519. end;
  18520. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  18521. begin
  18522. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18523. end;
  18524. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  18525. begin
  18526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18527. end;
  18528. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  18529. begin
  18530. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18531. end;
  18532. procedure TUART1_U1ASTA.setTRMT; inline;
  18533. begin
  18534. pTDefRegMap(@Self)^.&set := $00000100;
  18535. end;
  18536. procedure TUART1_U1ASTA.clearTRMT; inline;
  18537. begin
  18538. pTDefRegMap(@Self)^.clr := $00000100;
  18539. end;
  18540. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  18541. begin
  18542. if thebits = 0 then
  18543. pTDefRegMap(@Self)^.clr := $00000100
  18544. else
  18545. pTDefRegMap(@Self)^.&set := $00000100;
  18546. end;
  18547. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  18548. begin
  18549. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18550. end;
  18551. procedure TUART1_U1ASTA.setUTXBF; inline;
  18552. begin
  18553. pTDefRegMap(@Self)^.&set := $00000200;
  18554. end;
  18555. procedure TUART1_U1ASTA.clearUTXBF; inline;
  18556. begin
  18557. pTDefRegMap(@Self)^.clr := $00000200;
  18558. end;
  18559. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  18560. begin
  18561. if thebits = 0 then
  18562. pTDefRegMap(@Self)^.clr := $00000200
  18563. else
  18564. pTDefRegMap(@Self)^.&set := $00000200;
  18565. end;
  18566. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  18567. begin
  18568. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18569. end;
  18570. procedure TUART1_U1ASTA.setUTXEN; inline;
  18571. begin
  18572. pTDefRegMap(@Self)^.&set := $00000400;
  18573. end;
  18574. procedure TUART1_U1ASTA.clearUTXEN; inline;
  18575. begin
  18576. pTDefRegMap(@Self)^.clr := $00000400;
  18577. end;
  18578. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  18579. begin
  18580. if thebits = 0 then
  18581. pTDefRegMap(@Self)^.clr := $00000400
  18582. else
  18583. pTDefRegMap(@Self)^.&set := $00000400;
  18584. end;
  18585. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  18586. begin
  18587. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18588. end;
  18589. procedure TUART1_U1ASTA.setUTXBRK; inline;
  18590. begin
  18591. pTDefRegMap(@Self)^.&set := $00000800;
  18592. end;
  18593. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  18594. begin
  18595. pTDefRegMap(@Self)^.clr := $00000800;
  18596. end;
  18597. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  18598. begin
  18599. if thebits = 0 then
  18600. pTDefRegMap(@Self)^.clr := $00000800
  18601. else
  18602. pTDefRegMap(@Self)^.&set := $00000800;
  18603. end;
  18604. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  18605. begin
  18606. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18607. end;
  18608. procedure TUART1_U1ASTA.setURXEN; inline;
  18609. begin
  18610. pTDefRegMap(@Self)^.&set := $00001000;
  18611. end;
  18612. procedure TUART1_U1ASTA.clearURXEN; inline;
  18613. begin
  18614. pTDefRegMap(@Self)^.clr := $00001000;
  18615. end;
  18616. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  18617. begin
  18618. if thebits = 0 then
  18619. pTDefRegMap(@Self)^.clr := $00001000
  18620. else
  18621. pTDefRegMap(@Self)^.&set := $00001000;
  18622. end;
  18623. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  18624. begin
  18625. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18626. end;
  18627. procedure TUART1_U1ASTA.setUTXINV; inline;
  18628. begin
  18629. pTDefRegMap(@Self)^.&set := $00002000;
  18630. end;
  18631. procedure TUART1_U1ASTA.clearUTXINV; inline;
  18632. begin
  18633. pTDefRegMap(@Self)^.clr := $00002000;
  18634. end;
  18635. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  18636. begin
  18637. if thebits = 0 then
  18638. pTDefRegMap(@Self)^.clr := $00002000
  18639. else
  18640. pTDefRegMap(@Self)^.&set := $00002000;
  18641. end;
  18642. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  18643. begin
  18644. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18645. end;
  18646. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  18647. begin
  18648. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  18649. end;
  18650. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  18651. begin
  18652. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  18653. end;
  18654. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  18655. begin
  18656. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  18657. end;
  18658. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  18659. begin
  18660. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  18661. end;
  18662. procedure TUART1_U1ASTA.setADM_EN; inline;
  18663. begin
  18664. pTDefRegMap(@Self)^.&set := $01000000;
  18665. end;
  18666. procedure TUART1_U1ASTA.clearADM_EN; inline;
  18667. begin
  18668. pTDefRegMap(@Self)^.clr := $01000000;
  18669. end;
  18670. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  18671. begin
  18672. if thebits = 0 then
  18673. pTDefRegMap(@Self)^.clr := $01000000
  18674. else
  18675. pTDefRegMap(@Self)^.&set := $01000000;
  18676. end;
  18677. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  18678. begin
  18679. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  18680. end;
  18681. procedure TUART1_U1ASTA.setURXISEL0; inline;
  18682. begin
  18683. pTDefRegMap(@Self)^.&set := $00000040;
  18684. end;
  18685. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  18686. begin
  18687. pTDefRegMap(@Self)^.clr := $00000040;
  18688. end;
  18689. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  18690. begin
  18691. if thebits = 0 then
  18692. pTDefRegMap(@Self)^.clr := $00000040
  18693. else
  18694. pTDefRegMap(@Self)^.&set := $00000040;
  18695. end;
  18696. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  18697. begin
  18698. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18699. end;
  18700. procedure TUART1_U1ASTA.setURXISEL1; inline;
  18701. begin
  18702. pTDefRegMap(@Self)^.&set := $00000080;
  18703. end;
  18704. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  18705. begin
  18706. pTDefRegMap(@Self)^.clr := $00000080;
  18707. end;
  18708. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  18709. begin
  18710. if thebits = 0 then
  18711. pTDefRegMap(@Self)^.clr := $00000080
  18712. else
  18713. pTDefRegMap(@Self)^.&set := $00000080;
  18714. end;
  18715. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  18716. begin
  18717. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18718. end;
  18719. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  18720. begin
  18721. pTDefRegMap(@Self)^.&set := $00004000;
  18722. end;
  18723. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  18724. begin
  18725. pTDefRegMap(@Self)^.clr := $00004000;
  18726. end;
  18727. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  18728. begin
  18729. if thebits = 0 then
  18730. pTDefRegMap(@Self)^.clr := $00004000
  18731. else
  18732. pTDefRegMap(@Self)^.&set := $00004000;
  18733. end;
  18734. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  18735. begin
  18736. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18737. end;
  18738. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  18739. begin
  18740. pTDefRegMap(@Self)^.&set := $00008000;
  18741. end;
  18742. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  18743. begin
  18744. pTDefRegMap(@Self)^.clr := $00008000;
  18745. end;
  18746. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  18747. begin
  18748. if thebits = 0 then
  18749. pTDefRegMap(@Self)^.clr := $00008000
  18750. else
  18751. pTDefRegMap(@Self)^.&set := $00008000;
  18752. end;
  18753. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  18754. begin
  18755. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18756. end;
  18757. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  18758. begin
  18759. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  18760. end;
  18761. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  18762. begin
  18763. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  18764. end;
  18765. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  18766. begin
  18767. pTDefRegMap(@Self)^.val := thebits;
  18768. end;
  18769. function TUART1_U1ASTA.getw : TBits_32; inline;
  18770. begin
  18771. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18772. end;
  18773. procedure TUART1_U1STA.setURXDA; inline;
  18774. begin
  18775. pTDefRegMap(@Self)^.&set := $00000001;
  18776. end;
  18777. procedure TUART1_U1STA.clearURXDA; inline;
  18778. begin
  18779. pTDefRegMap(@Self)^.clr := $00000001;
  18780. end;
  18781. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  18782. begin
  18783. if thebits = 0 then
  18784. pTDefRegMap(@Self)^.clr := $00000001
  18785. else
  18786. pTDefRegMap(@Self)^.&set := $00000001;
  18787. end;
  18788. function TUART1_U1STA.getURXDA : TBits_1; inline;
  18789. begin
  18790. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18791. end;
  18792. procedure TUART1_U1STA.setOERR; inline;
  18793. begin
  18794. pTDefRegMap(@Self)^.&set := $00000002;
  18795. end;
  18796. procedure TUART1_U1STA.clearOERR; inline;
  18797. begin
  18798. pTDefRegMap(@Self)^.clr := $00000002;
  18799. end;
  18800. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  18801. begin
  18802. if thebits = 0 then
  18803. pTDefRegMap(@Self)^.clr := $00000002
  18804. else
  18805. pTDefRegMap(@Self)^.&set := $00000002;
  18806. end;
  18807. function TUART1_U1STA.getOERR : TBits_1; inline;
  18808. begin
  18809. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18810. end;
  18811. procedure TUART1_U1STA.setFERR; inline;
  18812. begin
  18813. pTDefRegMap(@Self)^.&set := $00000004;
  18814. end;
  18815. procedure TUART1_U1STA.clearFERR; inline;
  18816. begin
  18817. pTDefRegMap(@Self)^.clr := $00000004;
  18818. end;
  18819. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  18820. begin
  18821. if thebits = 0 then
  18822. pTDefRegMap(@Self)^.clr := $00000004
  18823. else
  18824. pTDefRegMap(@Self)^.&set := $00000004;
  18825. end;
  18826. function TUART1_U1STA.getFERR : TBits_1; inline;
  18827. begin
  18828. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18829. end;
  18830. procedure TUART1_U1STA.setPERR; inline;
  18831. begin
  18832. pTDefRegMap(@Self)^.&set := $00000008;
  18833. end;
  18834. procedure TUART1_U1STA.clearPERR; inline;
  18835. begin
  18836. pTDefRegMap(@Self)^.clr := $00000008;
  18837. end;
  18838. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  18839. begin
  18840. if thebits = 0 then
  18841. pTDefRegMap(@Self)^.clr := $00000008
  18842. else
  18843. pTDefRegMap(@Self)^.&set := $00000008;
  18844. end;
  18845. function TUART1_U1STA.getPERR : TBits_1; inline;
  18846. begin
  18847. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18848. end;
  18849. procedure TUART1_U1STA.setRIDLE; inline;
  18850. begin
  18851. pTDefRegMap(@Self)^.&set := $00000010;
  18852. end;
  18853. procedure TUART1_U1STA.clearRIDLE; inline;
  18854. begin
  18855. pTDefRegMap(@Self)^.clr := $00000010;
  18856. end;
  18857. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  18858. begin
  18859. if thebits = 0 then
  18860. pTDefRegMap(@Self)^.clr := $00000010
  18861. else
  18862. pTDefRegMap(@Self)^.&set := $00000010;
  18863. end;
  18864. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  18865. begin
  18866. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18867. end;
  18868. procedure TUART1_U1STA.setADDEN; inline;
  18869. begin
  18870. pTDefRegMap(@Self)^.&set := $00000020;
  18871. end;
  18872. procedure TUART1_U1STA.clearADDEN; inline;
  18873. begin
  18874. pTDefRegMap(@Self)^.clr := $00000020;
  18875. end;
  18876. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  18877. begin
  18878. if thebits = 0 then
  18879. pTDefRegMap(@Self)^.clr := $00000020
  18880. else
  18881. pTDefRegMap(@Self)^.&set := $00000020;
  18882. end;
  18883. function TUART1_U1STA.getADDEN : TBits_1; inline;
  18884. begin
  18885. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18886. end;
  18887. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  18888. begin
  18889. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18890. end;
  18891. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  18892. begin
  18893. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18894. end;
  18895. procedure TUART1_U1STA.setTRMT; inline;
  18896. begin
  18897. pTDefRegMap(@Self)^.&set := $00000100;
  18898. end;
  18899. procedure TUART1_U1STA.clearTRMT; inline;
  18900. begin
  18901. pTDefRegMap(@Self)^.clr := $00000100;
  18902. end;
  18903. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  18904. begin
  18905. if thebits = 0 then
  18906. pTDefRegMap(@Self)^.clr := $00000100
  18907. else
  18908. pTDefRegMap(@Self)^.&set := $00000100;
  18909. end;
  18910. function TUART1_U1STA.getTRMT : TBits_1; inline;
  18911. begin
  18912. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18913. end;
  18914. procedure TUART1_U1STA.setUTXBF; inline;
  18915. begin
  18916. pTDefRegMap(@Self)^.&set := $00000200;
  18917. end;
  18918. procedure TUART1_U1STA.clearUTXBF; inline;
  18919. begin
  18920. pTDefRegMap(@Self)^.clr := $00000200;
  18921. end;
  18922. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  18923. begin
  18924. if thebits = 0 then
  18925. pTDefRegMap(@Self)^.clr := $00000200
  18926. else
  18927. pTDefRegMap(@Self)^.&set := $00000200;
  18928. end;
  18929. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  18930. begin
  18931. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18932. end;
  18933. procedure TUART1_U1STA.setUTXEN; inline;
  18934. begin
  18935. pTDefRegMap(@Self)^.&set := $00000400;
  18936. end;
  18937. procedure TUART1_U1STA.clearUTXEN; inline;
  18938. begin
  18939. pTDefRegMap(@Self)^.clr := $00000400;
  18940. end;
  18941. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  18942. begin
  18943. if thebits = 0 then
  18944. pTDefRegMap(@Self)^.clr := $00000400
  18945. else
  18946. pTDefRegMap(@Self)^.&set := $00000400;
  18947. end;
  18948. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  18949. begin
  18950. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18951. end;
  18952. procedure TUART1_U1STA.setUTXBRK; inline;
  18953. begin
  18954. pTDefRegMap(@Self)^.&set := $00000800;
  18955. end;
  18956. procedure TUART1_U1STA.clearUTXBRK; inline;
  18957. begin
  18958. pTDefRegMap(@Self)^.clr := $00000800;
  18959. end;
  18960. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  18961. begin
  18962. if thebits = 0 then
  18963. pTDefRegMap(@Self)^.clr := $00000800
  18964. else
  18965. pTDefRegMap(@Self)^.&set := $00000800;
  18966. end;
  18967. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  18968. begin
  18969. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18970. end;
  18971. procedure TUART1_U1STA.setURXEN; inline;
  18972. begin
  18973. pTDefRegMap(@Self)^.&set := $00001000;
  18974. end;
  18975. procedure TUART1_U1STA.clearURXEN; inline;
  18976. begin
  18977. pTDefRegMap(@Self)^.clr := $00001000;
  18978. end;
  18979. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  18980. begin
  18981. if thebits = 0 then
  18982. pTDefRegMap(@Self)^.clr := $00001000
  18983. else
  18984. pTDefRegMap(@Self)^.&set := $00001000;
  18985. end;
  18986. function TUART1_U1STA.getURXEN : TBits_1; inline;
  18987. begin
  18988. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18989. end;
  18990. procedure TUART1_U1STA.setUTXINV; inline;
  18991. begin
  18992. pTDefRegMap(@Self)^.&set := $00002000;
  18993. end;
  18994. procedure TUART1_U1STA.clearUTXINV; inline;
  18995. begin
  18996. pTDefRegMap(@Self)^.clr := $00002000;
  18997. end;
  18998. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  18999. begin
  19000. if thebits = 0 then
  19001. pTDefRegMap(@Self)^.clr := $00002000
  19002. else
  19003. pTDefRegMap(@Self)^.&set := $00002000;
  19004. end;
  19005. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  19006. begin
  19007. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19008. end;
  19009. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  19010. begin
  19011. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19012. end;
  19013. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  19014. begin
  19015. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19016. end;
  19017. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  19018. begin
  19019. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19020. end;
  19021. function TUART1_U1STA.getADDR : TBits_8; inline;
  19022. begin
  19023. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19024. end;
  19025. procedure TUART1_U1STA.setADM_EN; inline;
  19026. begin
  19027. pTDefRegMap(@Self)^.&set := $01000000;
  19028. end;
  19029. procedure TUART1_U1STA.clearADM_EN; inline;
  19030. begin
  19031. pTDefRegMap(@Self)^.clr := $01000000;
  19032. end;
  19033. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  19034. begin
  19035. if thebits = 0 then
  19036. pTDefRegMap(@Self)^.clr := $01000000
  19037. else
  19038. pTDefRegMap(@Self)^.&set := $01000000;
  19039. end;
  19040. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  19041. begin
  19042. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19043. end;
  19044. procedure TUART1_U1STA.setURXISEL0; inline;
  19045. begin
  19046. pTDefRegMap(@Self)^.&set := $00000040;
  19047. end;
  19048. procedure TUART1_U1STA.clearURXISEL0; inline;
  19049. begin
  19050. pTDefRegMap(@Self)^.clr := $00000040;
  19051. end;
  19052. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  19053. begin
  19054. if thebits = 0 then
  19055. pTDefRegMap(@Self)^.clr := $00000040
  19056. else
  19057. pTDefRegMap(@Self)^.&set := $00000040;
  19058. end;
  19059. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  19060. begin
  19061. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19062. end;
  19063. procedure TUART1_U1STA.setURXISEL1; inline;
  19064. begin
  19065. pTDefRegMap(@Self)^.&set := $00000080;
  19066. end;
  19067. procedure TUART1_U1STA.clearURXISEL1; inline;
  19068. begin
  19069. pTDefRegMap(@Self)^.clr := $00000080;
  19070. end;
  19071. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  19072. begin
  19073. if thebits = 0 then
  19074. pTDefRegMap(@Self)^.clr := $00000080
  19075. else
  19076. pTDefRegMap(@Self)^.&set := $00000080;
  19077. end;
  19078. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  19079. begin
  19080. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19081. end;
  19082. procedure TUART1_U1STA.setUTXISEL0; inline;
  19083. begin
  19084. pTDefRegMap(@Self)^.&set := $00004000;
  19085. end;
  19086. procedure TUART1_U1STA.clearUTXISEL0; inline;
  19087. begin
  19088. pTDefRegMap(@Self)^.clr := $00004000;
  19089. end;
  19090. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  19091. begin
  19092. if thebits = 0 then
  19093. pTDefRegMap(@Self)^.clr := $00004000
  19094. else
  19095. pTDefRegMap(@Self)^.&set := $00004000;
  19096. end;
  19097. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  19098. begin
  19099. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19100. end;
  19101. procedure TUART1_U1STA.setUTXISEL1; inline;
  19102. begin
  19103. pTDefRegMap(@Self)^.&set := $00008000;
  19104. end;
  19105. procedure TUART1_U1STA.clearUTXISEL1; inline;
  19106. begin
  19107. pTDefRegMap(@Self)^.clr := $00008000;
  19108. end;
  19109. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  19110. begin
  19111. if thebits = 0 then
  19112. pTDefRegMap(@Self)^.clr := $00008000
  19113. else
  19114. pTDefRegMap(@Self)^.&set := $00008000;
  19115. end;
  19116. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  19117. begin
  19118. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19119. end;
  19120. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  19121. begin
  19122. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19123. end;
  19124. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  19125. begin
  19126. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19127. end;
  19128. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  19129. begin
  19130. pTDefRegMap(@Self)^.val := thebits;
  19131. end;
  19132. function TUART1_U1STA.getw : TBits_32; inline;
  19133. begin
  19134. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19135. end;
  19136. procedure TUART2_U2MODE.setSTSEL; inline;
  19137. begin
  19138. pTDefRegMap(@Self)^.&set := $00000001;
  19139. end;
  19140. procedure TUART2_U2MODE.clearSTSEL; inline;
  19141. begin
  19142. pTDefRegMap(@Self)^.clr := $00000001;
  19143. end;
  19144. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  19145. begin
  19146. if thebits = 0 then
  19147. pTDefRegMap(@Self)^.clr := $00000001
  19148. else
  19149. pTDefRegMap(@Self)^.&set := $00000001;
  19150. end;
  19151. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  19152. begin
  19153. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19154. end;
  19155. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  19156. begin
  19157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19158. end;
  19159. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  19160. begin
  19161. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19162. end;
  19163. procedure TUART2_U2MODE.setBRGH; inline;
  19164. begin
  19165. pTDefRegMap(@Self)^.&set := $00000008;
  19166. end;
  19167. procedure TUART2_U2MODE.clearBRGH; inline;
  19168. begin
  19169. pTDefRegMap(@Self)^.clr := $00000008;
  19170. end;
  19171. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  19172. begin
  19173. if thebits = 0 then
  19174. pTDefRegMap(@Self)^.clr := $00000008
  19175. else
  19176. pTDefRegMap(@Self)^.&set := $00000008;
  19177. end;
  19178. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  19179. begin
  19180. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19181. end;
  19182. procedure TUART2_U2MODE.setRXINV; inline;
  19183. begin
  19184. pTDefRegMap(@Self)^.&set := $00000010;
  19185. end;
  19186. procedure TUART2_U2MODE.clearRXINV; inline;
  19187. begin
  19188. pTDefRegMap(@Self)^.clr := $00000010;
  19189. end;
  19190. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  19191. begin
  19192. if thebits = 0 then
  19193. pTDefRegMap(@Self)^.clr := $00000010
  19194. else
  19195. pTDefRegMap(@Self)^.&set := $00000010;
  19196. end;
  19197. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  19198. begin
  19199. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19200. end;
  19201. procedure TUART2_U2MODE.setABAUD; inline;
  19202. begin
  19203. pTDefRegMap(@Self)^.&set := $00000020;
  19204. end;
  19205. procedure TUART2_U2MODE.clearABAUD; inline;
  19206. begin
  19207. pTDefRegMap(@Self)^.clr := $00000020;
  19208. end;
  19209. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  19210. begin
  19211. if thebits = 0 then
  19212. pTDefRegMap(@Self)^.clr := $00000020
  19213. else
  19214. pTDefRegMap(@Self)^.&set := $00000020;
  19215. end;
  19216. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  19217. begin
  19218. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19219. end;
  19220. procedure TUART2_U2MODE.setLPBACK; inline;
  19221. begin
  19222. pTDefRegMap(@Self)^.&set := $00000040;
  19223. end;
  19224. procedure TUART2_U2MODE.clearLPBACK; inline;
  19225. begin
  19226. pTDefRegMap(@Self)^.clr := $00000040;
  19227. end;
  19228. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  19229. begin
  19230. if thebits = 0 then
  19231. pTDefRegMap(@Self)^.clr := $00000040
  19232. else
  19233. pTDefRegMap(@Self)^.&set := $00000040;
  19234. end;
  19235. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  19236. begin
  19237. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19238. end;
  19239. procedure TUART2_U2MODE.setWAKE; inline;
  19240. begin
  19241. pTDefRegMap(@Self)^.&set := $00000080;
  19242. end;
  19243. procedure TUART2_U2MODE.clearWAKE; inline;
  19244. begin
  19245. pTDefRegMap(@Self)^.clr := $00000080;
  19246. end;
  19247. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  19248. begin
  19249. if thebits = 0 then
  19250. pTDefRegMap(@Self)^.clr := $00000080
  19251. else
  19252. pTDefRegMap(@Self)^.&set := $00000080;
  19253. end;
  19254. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  19255. begin
  19256. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19257. end;
  19258. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  19259. begin
  19260. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19261. end;
  19262. function TUART2_U2MODE.getUEN : TBits_2; inline;
  19263. begin
  19264. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19265. end;
  19266. procedure TUART2_U2MODE.setRTSMD; inline;
  19267. begin
  19268. pTDefRegMap(@Self)^.&set := $00000800;
  19269. end;
  19270. procedure TUART2_U2MODE.clearRTSMD; inline;
  19271. begin
  19272. pTDefRegMap(@Self)^.clr := $00000800;
  19273. end;
  19274. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  19275. begin
  19276. if thebits = 0 then
  19277. pTDefRegMap(@Self)^.clr := $00000800
  19278. else
  19279. pTDefRegMap(@Self)^.&set := $00000800;
  19280. end;
  19281. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  19282. begin
  19283. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19284. end;
  19285. procedure TUART2_U2MODE.setIREN; inline;
  19286. begin
  19287. pTDefRegMap(@Self)^.&set := $00001000;
  19288. end;
  19289. procedure TUART2_U2MODE.clearIREN; inline;
  19290. begin
  19291. pTDefRegMap(@Self)^.clr := $00001000;
  19292. end;
  19293. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  19294. begin
  19295. if thebits = 0 then
  19296. pTDefRegMap(@Self)^.clr := $00001000
  19297. else
  19298. pTDefRegMap(@Self)^.&set := $00001000;
  19299. end;
  19300. function TUART2_U2MODE.getIREN : TBits_1; inline;
  19301. begin
  19302. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19303. end;
  19304. procedure TUART2_U2MODE.setSIDL; inline;
  19305. begin
  19306. pTDefRegMap(@Self)^.&set := $00002000;
  19307. end;
  19308. procedure TUART2_U2MODE.clearSIDL; inline;
  19309. begin
  19310. pTDefRegMap(@Self)^.clr := $00002000;
  19311. end;
  19312. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  19313. begin
  19314. if thebits = 0 then
  19315. pTDefRegMap(@Self)^.clr := $00002000
  19316. else
  19317. pTDefRegMap(@Self)^.&set := $00002000;
  19318. end;
  19319. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  19320. begin
  19321. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19322. end;
  19323. procedure TUART2_U2MODE.setON; inline;
  19324. begin
  19325. pTDefRegMap(@Self)^.&set := $00008000;
  19326. end;
  19327. procedure TUART2_U2MODE.clearON; inline;
  19328. begin
  19329. pTDefRegMap(@Self)^.clr := $00008000;
  19330. end;
  19331. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  19332. begin
  19333. if thebits = 0 then
  19334. pTDefRegMap(@Self)^.clr := $00008000
  19335. else
  19336. pTDefRegMap(@Self)^.&set := $00008000;
  19337. end;
  19338. function TUART2_U2MODE.getON : TBits_1; inline;
  19339. begin
  19340. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19341. end;
  19342. procedure TUART2_U2MODE.setPDSEL0; inline;
  19343. begin
  19344. pTDefRegMap(@Self)^.&set := $00000002;
  19345. end;
  19346. procedure TUART2_U2MODE.clearPDSEL0; inline;
  19347. begin
  19348. pTDefRegMap(@Self)^.clr := $00000002;
  19349. end;
  19350. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  19351. begin
  19352. if thebits = 0 then
  19353. pTDefRegMap(@Self)^.clr := $00000002
  19354. else
  19355. pTDefRegMap(@Self)^.&set := $00000002;
  19356. end;
  19357. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  19358. begin
  19359. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19360. end;
  19361. procedure TUART2_U2MODE.setPDSEL1; inline;
  19362. begin
  19363. pTDefRegMap(@Self)^.&set := $00000004;
  19364. end;
  19365. procedure TUART2_U2MODE.clearPDSEL1; inline;
  19366. begin
  19367. pTDefRegMap(@Self)^.clr := $00000004;
  19368. end;
  19369. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  19370. begin
  19371. if thebits = 0 then
  19372. pTDefRegMap(@Self)^.clr := $00000004
  19373. else
  19374. pTDefRegMap(@Self)^.&set := $00000004;
  19375. end;
  19376. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  19377. begin
  19378. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19379. end;
  19380. procedure TUART2_U2MODE.setUEN0; inline;
  19381. begin
  19382. pTDefRegMap(@Self)^.&set := $00000100;
  19383. end;
  19384. procedure TUART2_U2MODE.clearUEN0; inline;
  19385. begin
  19386. pTDefRegMap(@Self)^.clr := $00000100;
  19387. end;
  19388. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  19389. begin
  19390. if thebits = 0 then
  19391. pTDefRegMap(@Self)^.clr := $00000100
  19392. else
  19393. pTDefRegMap(@Self)^.&set := $00000100;
  19394. end;
  19395. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  19396. begin
  19397. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19398. end;
  19399. procedure TUART2_U2MODE.setUEN1; inline;
  19400. begin
  19401. pTDefRegMap(@Self)^.&set := $00000200;
  19402. end;
  19403. procedure TUART2_U2MODE.clearUEN1; inline;
  19404. begin
  19405. pTDefRegMap(@Self)^.clr := $00000200;
  19406. end;
  19407. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  19408. begin
  19409. if thebits = 0 then
  19410. pTDefRegMap(@Self)^.clr := $00000200
  19411. else
  19412. pTDefRegMap(@Self)^.&set := $00000200;
  19413. end;
  19414. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  19415. begin
  19416. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19417. end;
  19418. procedure TUART2_U2MODE.setUSIDL; inline;
  19419. begin
  19420. pTDefRegMap(@Self)^.&set := $00002000;
  19421. end;
  19422. procedure TUART2_U2MODE.clearUSIDL; inline;
  19423. begin
  19424. pTDefRegMap(@Self)^.clr := $00002000;
  19425. end;
  19426. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  19427. begin
  19428. if thebits = 0 then
  19429. pTDefRegMap(@Self)^.clr := $00002000
  19430. else
  19431. pTDefRegMap(@Self)^.&set := $00002000;
  19432. end;
  19433. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  19434. begin
  19435. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19436. end;
  19437. procedure TUART2_U2MODE.setUARTEN; inline;
  19438. begin
  19439. pTDefRegMap(@Self)^.&set := $00008000;
  19440. end;
  19441. procedure TUART2_U2MODE.clearUARTEN; inline;
  19442. begin
  19443. pTDefRegMap(@Self)^.clr := $00008000;
  19444. end;
  19445. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  19446. begin
  19447. if thebits = 0 then
  19448. pTDefRegMap(@Self)^.clr := $00008000
  19449. else
  19450. pTDefRegMap(@Self)^.&set := $00008000;
  19451. end;
  19452. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  19453. begin
  19454. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19455. end;
  19456. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  19457. begin
  19458. pTDefRegMap(@Self)^.val := thebits;
  19459. end;
  19460. function TUART2_U2MODE.getw : TBits_32; inline;
  19461. begin
  19462. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19463. end;
  19464. procedure TUART2_U3AMODE.setSTSEL; inline;
  19465. begin
  19466. pTDefRegMap(@Self)^.&set := $00000001;
  19467. end;
  19468. procedure TUART2_U3AMODE.clearSTSEL; inline;
  19469. begin
  19470. pTDefRegMap(@Self)^.clr := $00000001;
  19471. end;
  19472. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  19473. begin
  19474. if thebits = 0 then
  19475. pTDefRegMap(@Self)^.clr := $00000001
  19476. else
  19477. pTDefRegMap(@Self)^.&set := $00000001;
  19478. end;
  19479. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  19480. begin
  19481. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19482. end;
  19483. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  19484. begin
  19485. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19486. end;
  19487. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  19488. begin
  19489. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19490. end;
  19491. procedure TUART2_U3AMODE.setBRGH; inline;
  19492. begin
  19493. pTDefRegMap(@Self)^.&set := $00000008;
  19494. end;
  19495. procedure TUART2_U3AMODE.clearBRGH; inline;
  19496. begin
  19497. pTDefRegMap(@Self)^.clr := $00000008;
  19498. end;
  19499. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  19500. begin
  19501. if thebits = 0 then
  19502. pTDefRegMap(@Self)^.clr := $00000008
  19503. else
  19504. pTDefRegMap(@Self)^.&set := $00000008;
  19505. end;
  19506. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  19507. begin
  19508. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19509. end;
  19510. procedure TUART2_U3AMODE.setRXINV; inline;
  19511. begin
  19512. pTDefRegMap(@Self)^.&set := $00000010;
  19513. end;
  19514. procedure TUART2_U3AMODE.clearRXINV; inline;
  19515. begin
  19516. pTDefRegMap(@Self)^.clr := $00000010;
  19517. end;
  19518. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  19519. begin
  19520. if thebits = 0 then
  19521. pTDefRegMap(@Self)^.clr := $00000010
  19522. else
  19523. pTDefRegMap(@Self)^.&set := $00000010;
  19524. end;
  19525. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  19526. begin
  19527. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19528. end;
  19529. procedure TUART2_U3AMODE.setABAUD; inline;
  19530. begin
  19531. pTDefRegMap(@Self)^.&set := $00000020;
  19532. end;
  19533. procedure TUART2_U3AMODE.clearABAUD; inline;
  19534. begin
  19535. pTDefRegMap(@Self)^.clr := $00000020;
  19536. end;
  19537. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  19538. begin
  19539. if thebits = 0 then
  19540. pTDefRegMap(@Self)^.clr := $00000020
  19541. else
  19542. pTDefRegMap(@Self)^.&set := $00000020;
  19543. end;
  19544. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  19545. begin
  19546. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19547. end;
  19548. procedure TUART2_U3AMODE.setLPBACK; inline;
  19549. begin
  19550. pTDefRegMap(@Self)^.&set := $00000040;
  19551. end;
  19552. procedure TUART2_U3AMODE.clearLPBACK; inline;
  19553. begin
  19554. pTDefRegMap(@Self)^.clr := $00000040;
  19555. end;
  19556. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  19557. begin
  19558. if thebits = 0 then
  19559. pTDefRegMap(@Self)^.clr := $00000040
  19560. else
  19561. pTDefRegMap(@Self)^.&set := $00000040;
  19562. end;
  19563. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  19564. begin
  19565. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19566. end;
  19567. procedure TUART2_U3AMODE.setWAKE; inline;
  19568. begin
  19569. pTDefRegMap(@Self)^.&set := $00000080;
  19570. end;
  19571. procedure TUART2_U3AMODE.clearWAKE; inline;
  19572. begin
  19573. pTDefRegMap(@Self)^.clr := $00000080;
  19574. end;
  19575. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  19576. begin
  19577. if thebits = 0 then
  19578. pTDefRegMap(@Self)^.clr := $00000080
  19579. else
  19580. pTDefRegMap(@Self)^.&set := $00000080;
  19581. end;
  19582. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  19583. begin
  19584. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19585. end;
  19586. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  19587. begin
  19588. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19589. end;
  19590. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  19591. begin
  19592. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19593. end;
  19594. procedure TUART2_U3AMODE.setRTSMD; inline;
  19595. begin
  19596. pTDefRegMap(@Self)^.&set := $00000800;
  19597. end;
  19598. procedure TUART2_U3AMODE.clearRTSMD; inline;
  19599. begin
  19600. pTDefRegMap(@Self)^.clr := $00000800;
  19601. end;
  19602. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  19603. begin
  19604. if thebits = 0 then
  19605. pTDefRegMap(@Self)^.clr := $00000800
  19606. else
  19607. pTDefRegMap(@Self)^.&set := $00000800;
  19608. end;
  19609. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  19610. begin
  19611. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19612. end;
  19613. procedure TUART2_U3AMODE.setIREN; inline;
  19614. begin
  19615. pTDefRegMap(@Self)^.&set := $00001000;
  19616. end;
  19617. procedure TUART2_U3AMODE.clearIREN; inline;
  19618. begin
  19619. pTDefRegMap(@Self)^.clr := $00001000;
  19620. end;
  19621. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  19622. begin
  19623. if thebits = 0 then
  19624. pTDefRegMap(@Self)^.clr := $00001000
  19625. else
  19626. pTDefRegMap(@Self)^.&set := $00001000;
  19627. end;
  19628. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  19629. begin
  19630. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19631. end;
  19632. procedure TUART2_U3AMODE.setSIDL; inline;
  19633. begin
  19634. pTDefRegMap(@Self)^.&set := $00002000;
  19635. end;
  19636. procedure TUART2_U3AMODE.clearSIDL; inline;
  19637. begin
  19638. pTDefRegMap(@Self)^.clr := $00002000;
  19639. end;
  19640. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  19641. begin
  19642. if thebits = 0 then
  19643. pTDefRegMap(@Self)^.clr := $00002000
  19644. else
  19645. pTDefRegMap(@Self)^.&set := $00002000;
  19646. end;
  19647. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  19648. begin
  19649. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19650. end;
  19651. procedure TUART2_U3AMODE.setON; inline;
  19652. begin
  19653. pTDefRegMap(@Self)^.&set := $00008000;
  19654. end;
  19655. procedure TUART2_U3AMODE.clearON; inline;
  19656. begin
  19657. pTDefRegMap(@Self)^.clr := $00008000;
  19658. end;
  19659. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  19660. begin
  19661. if thebits = 0 then
  19662. pTDefRegMap(@Self)^.clr := $00008000
  19663. else
  19664. pTDefRegMap(@Self)^.&set := $00008000;
  19665. end;
  19666. function TUART2_U3AMODE.getON : TBits_1; inline;
  19667. begin
  19668. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19669. end;
  19670. procedure TUART2_U3AMODE.setPDSEL0; inline;
  19671. begin
  19672. pTDefRegMap(@Self)^.&set := $00000002;
  19673. end;
  19674. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  19675. begin
  19676. pTDefRegMap(@Self)^.clr := $00000002;
  19677. end;
  19678. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  19679. begin
  19680. if thebits = 0 then
  19681. pTDefRegMap(@Self)^.clr := $00000002
  19682. else
  19683. pTDefRegMap(@Self)^.&set := $00000002;
  19684. end;
  19685. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  19686. begin
  19687. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19688. end;
  19689. procedure TUART2_U3AMODE.setPDSEL1; inline;
  19690. begin
  19691. pTDefRegMap(@Self)^.&set := $00000004;
  19692. end;
  19693. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  19694. begin
  19695. pTDefRegMap(@Self)^.clr := $00000004;
  19696. end;
  19697. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  19698. begin
  19699. if thebits = 0 then
  19700. pTDefRegMap(@Self)^.clr := $00000004
  19701. else
  19702. pTDefRegMap(@Self)^.&set := $00000004;
  19703. end;
  19704. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  19705. begin
  19706. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19707. end;
  19708. procedure TUART2_U3AMODE.setUEN0; inline;
  19709. begin
  19710. pTDefRegMap(@Self)^.&set := $00000100;
  19711. end;
  19712. procedure TUART2_U3AMODE.clearUEN0; inline;
  19713. begin
  19714. pTDefRegMap(@Self)^.clr := $00000100;
  19715. end;
  19716. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  19717. begin
  19718. if thebits = 0 then
  19719. pTDefRegMap(@Self)^.clr := $00000100
  19720. else
  19721. pTDefRegMap(@Self)^.&set := $00000100;
  19722. end;
  19723. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  19724. begin
  19725. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19726. end;
  19727. procedure TUART2_U3AMODE.setUEN1; inline;
  19728. begin
  19729. pTDefRegMap(@Self)^.&set := $00000200;
  19730. end;
  19731. procedure TUART2_U3AMODE.clearUEN1; inline;
  19732. begin
  19733. pTDefRegMap(@Self)^.clr := $00000200;
  19734. end;
  19735. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  19736. begin
  19737. if thebits = 0 then
  19738. pTDefRegMap(@Self)^.clr := $00000200
  19739. else
  19740. pTDefRegMap(@Self)^.&set := $00000200;
  19741. end;
  19742. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  19743. begin
  19744. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19745. end;
  19746. procedure TUART2_U3AMODE.setUSIDL; inline;
  19747. begin
  19748. pTDefRegMap(@Self)^.&set := $00002000;
  19749. end;
  19750. procedure TUART2_U3AMODE.clearUSIDL; inline;
  19751. begin
  19752. pTDefRegMap(@Self)^.clr := $00002000;
  19753. end;
  19754. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  19755. begin
  19756. if thebits = 0 then
  19757. pTDefRegMap(@Self)^.clr := $00002000
  19758. else
  19759. pTDefRegMap(@Self)^.&set := $00002000;
  19760. end;
  19761. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  19762. begin
  19763. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19764. end;
  19765. procedure TUART2_U3AMODE.setUARTEN; inline;
  19766. begin
  19767. pTDefRegMap(@Self)^.&set := $00008000;
  19768. end;
  19769. procedure TUART2_U3AMODE.clearUARTEN; inline;
  19770. begin
  19771. pTDefRegMap(@Self)^.clr := $00008000;
  19772. end;
  19773. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  19774. begin
  19775. if thebits = 0 then
  19776. pTDefRegMap(@Self)^.clr := $00008000
  19777. else
  19778. pTDefRegMap(@Self)^.&set := $00008000;
  19779. end;
  19780. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  19781. begin
  19782. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19783. end;
  19784. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  19785. begin
  19786. pTDefRegMap(@Self)^.val := thebits;
  19787. end;
  19788. function TUART2_U3AMODE.getw : TBits_32; inline;
  19789. begin
  19790. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19791. end;
  19792. procedure TUART2_U2STA.setURXDA; inline;
  19793. begin
  19794. pTDefRegMap(@Self)^.&set := $00000001;
  19795. end;
  19796. procedure TUART2_U2STA.clearURXDA; inline;
  19797. begin
  19798. pTDefRegMap(@Self)^.clr := $00000001;
  19799. end;
  19800. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  19801. begin
  19802. if thebits = 0 then
  19803. pTDefRegMap(@Self)^.clr := $00000001
  19804. else
  19805. pTDefRegMap(@Self)^.&set := $00000001;
  19806. end;
  19807. function TUART2_U2STA.getURXDA : TBits_1; inline;
  19808. begin
  19809. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19810. end;
  19811. procedure TUART2_U2STA.setOERR; inline;
  19812. begin
  19813. pTDefRegMap(@Self)^.&set := $00000002;
  19814. end;
  19815. procedure TUART2_U2STA.clearOERR; inline;
  19816. begin
  19817. pTDefRegMap(@Self)^.clr := $00000002;
  19818. end;
  19819. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  19820. begin
  19821. if thebits = 0 then
  19822. pTDefRegMap(@Self)^.clr := $00000002
  19823. else
  19824. pTDefRegMap(@Self)^.&set := $00000002;
  19825. end;
  19826. function TUART2_U2STA.getOERR : TBits_1; inline;
  19827. begin
  19828. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19829. end;
  19830. procedure TUART2_U2STA.setFERR; inline;
  19831. begin
  19832. pTDefRegMap(@Self)^.&set := $00000004;
  19833. end;
  19834. procedure TUART2_U2STA.clearFERR; inline;
  19835. begin
  19836. pTDefRegMap(@Self)^.clr := $00000004;
  19837. end;
  19838. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  19839. begin
  19840. if thebits = 0 then
  19841. pTDefRegMap(@Self)^.clr := $00000004
  19842. else
  19843. pTDefRegMap(@Self)^.&set := $00000004;
  19844. end;
  19845. function TUART2_U2STA.getFERR : TBits_1; inline;
  19846. begin
  19847. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19848. end;
  19849. procedure TUART2_U2STA.setPERR; inline;
  19850. begin
  19851. pTDefRegMap(@Self)^.&set := $00000008;
  19852. end;
  19853. procedure TUART2_U2STA.clearPERR; inline;
  19854. begin
  19855. pTDefRegMap(@Self)^.clr := $00000008;
  19856. end;
  19857. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  19858. begin
  19859. if thebits = 0 then
  19860. pTDefRegMap(@Self)^.clr := $00000008
  19861. else
  19862. pTDefRegMap(@Self)^.&set := $00000008;
  19863. end;
  19864. function TUART2_U2STA.getPERR : TBits_1; inline;
  19865. begin
  19866. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19867. end;
  19868. procedure TUART2_U2STA.setRIDLE; inline;
  19869. begin
  19870. pTDefRegMap(@Self)^.&set := $00000010;
  19871. end;
  19872. procedure TUART2_U2STA.clearRIDLE; inline;
  19873. begin
  19874. pTDefRegMap(@Self)^.clr := $00000010;
  19875. end;
  19876. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  19877. begin
  19878. if thebits = 0 then
  19879. pTDefRegMap(@Self)^.clr := $00000010
  19880. else
  19881. pTDefRegMap(@Self)^.&set := $00000010;
  19882. end;
  19883. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  19884. begin
  19885. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19886. end;
  19887. procedure TUART2_U2STA.setADDEN; inline;
  19888. begin
  19889. pTDefRegMap(@Self)^.&set := $00000020;
  19890. end;
  19891. procedure TUART2_U2STA.clearADDEN; inline;
  19892. begin
  19893. pTDefRegMap(@Self)^.clr := $00000020;
  19894. end;
  19895. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  19896. begin
  19897. if thebits = 0 then
  19898. pTDefRegMap(@Self)^.clr := $00000020
  19899. else
  19900. pTDefRegMap(@Self)^.&set := $00000020;
  19901. end;
  19902. function TUART2_U2STA.getADDEN : TBits_1; inline;
  19903. begin
  19904. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19905. end;
  19906. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  19907. begin
  19908. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19909. end;
  19910. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  19911. begin
  19912. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19913. end;
  19914. procedure TUART2_U2STA.setTRMT; inline;
  19915. begin
  19916. pTDefRegMap(@Self)^.&set := $00000100;
  19917. end;
  19918. procedure TUART2_U2STA.clearTRMT; inline;
  19919. begin
  19920. pTDefRegMap(@Self)^.clr := $00000100;
  19921. end;
  19922. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  19923. begin
  19924. if thebits = 0 then
  19925. pTDefRegMap(@Self)^.clr := $00000100
  19926. else
  19927. pTDefRegMap(@Self)^.&set := $00000100;
  19928. end;
  19929. function TUART2_U2STA.getTRMT : TBits_1; inline;
  19930. begin
  19931. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19932. end;
  19933. procedure TUART2_U2STA.setUTXBF; inline;
  19934. begin
  19935. pTDefRegMap(@Self)^.&set := $00000200;
  19936. end;
  19937. procedure TUART2_U2STA.clearUTXBF; inline;
  19938. begin
  19939. pTDefRegMap(@Self)^.clr := $00000200;
  19940. end;
  19941. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  19942. begin
  19943. if thebits = 0 then
  19944. pTDefRegMap(@Self)^.clr := $00000200
  19945. else
  19946. pTDefRegMap(@Self)^.&set := $00000200;
  19947. end;
  19948. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  19949. begin
  19950. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19951. end;
  19952. procedure TUART2_U2STA.setUTXEN; inline;
  19953. begin
  19954. pTDefRegMap(@Self)^.&set := $00000400;
  19955. end;
  19956. procedure TUART2_U2STA.clearUTXEN; inline;
  19957. begin
  19958. pTDefRegMap(@Self)^.clr := $00000400;
  19959. end;
  19960. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  19961. begin
  19962. if thebits = 0 then
  19963. pTDefRegMap(@Self)^.clr := $00000400
  19964. else
  19965. pTDefRegMap(@Self)^.&set := $00000400;
  19966. end;
  19967. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  19968. begin
  19969. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19970. end;
  19971. procedure TUART2_U2STA.setUTXBRK; inline;
  19972. begin
  19973. pTDefRegMap(@Self)^.&set := $00000800;
  19974. end;
  19975. procedure TUART2_U2STA.clearUTXBRK; inline;
  19976. begin
  19977. pTDefRegMap(@Self)^.clr := $00000800;
  19978. end;
  19979. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  19980. begin
  19981. if thebits = 0 then
  19982. pTDefRegMap(@Self)^.clr := $00000800
  19983. else
  19984. pTDefRegMap(@Self)^.&set := $00000800;
  19985. end;
  19986. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  19987. begin
  19988. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19989. end;
  19990. procedure TUART2_U2STA.setURXEN; inline;
  19991. begin
  19992. pTDefRegMap(@Self)^.&set := $00001000;
  19993. end;
  19994. procedure TUART2_U2STA.clearURXEN; inline;
  19995. begin
  19996. pTDefRegMap(@Self)^.clr := $00001000;
  19997. end;
  19998. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  19999. begin
  20000. if thebits = 0 then
  20001. pTDefRegMap(@Self)^.clr := $00001000
  20002. else
  20003. pTDefRegMap(@Self)^.&set := $00001000;
  20004. end;
  20005. function TUART2_U2STA.getURXEN : TBits_1; inline;
  20006. begin
  20007. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20008. end;
  20009. procedure TUART2_U2STA.setUTXINV; inline;
  20010. begin
  20011. pTDefRegMap(@Self)^.&set := $00002000;
  20012. end;
  20013. procedure TUART2_U2STA.clearUTXINV; inline;
  20014. begin
  20015. pTDefRegMap(@Self)^.clr := $00002000;
  20016. end;
  20017. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  20018. begin
  20019. if thebits = 0 then
  20020. pTDefRegMap(@Self)^.clr := $00002000
  20021. else
  20022. pTDefRegMap(@Self)^.&set := $00002000;
  20023. end;
  20024. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  20025. begin
  20026. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20027. end;
  20028. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  20029. begin
  20030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20031. end;
  20032. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  20033. begin
  20034. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20035. end;
  20036. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  20037. begin
  20038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20039. end;
  20040. function TUART2_U2STA.getADDR : TBits_8; inline;
  20041. begin
  20042. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20043. end;
  20044. procedure TUART2_U2STA.setADM_EN; inline;
  20045. begin
  20046. pTDefRegMap(@Self)^.&set := $01000000;
  20047. end;
  20048. procedure TUART2_U2STA.clearADM_EN; inline;
  20049. begin
  20050. pTDefRegMap(@Self)^.clr := $01000000;
  20051. end;
  20052. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  20053. begin
  20054. if thebits = 0 then
  20055. pTDefRegMap(@Self)^.clr := $01000000
  20056. else
  20057. pTDefRegMap(@Self)^.&set := $01000000;
  20058. end;
  20059. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  20060. begin
  20061. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20062. end;
  20063. procedure TUART2_U2STA.setURXISEL0; inline;
  20064. begin
  20065. pTDefRegMap(@Self)^.&set := $00000040;
  20066. end;
  20067. procedure TUART2_U2STA.clearURXISEL0; inline;
  20068. begin
  20069. pTDefRegMap(@Self)^.clr := $00000040;
  20070. end;
  20071. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  20072. begin
  20073. if thebits = 0 then
  20074. pTDefRegMap(@Self)^.clr := $00000040
  20075. else
  20076. pTDefRegMap(@Self)^.&set := $00000040;
  20077. end;
  20078. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  20079. begin
  20080. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20081. end;
  20082. procedure TUART2_U2STA.setURXISEL1; inline;
  20083. begin
  20084. pTDefRegMap(@Self)^.&set := $00000080;
  20085. end;
  20086. procedure TUART2_U2STA.clearURXISEL1; inline;
  20087. begin
  20088. pTDefRegMap(@Self)^.clr := $00000080;
  20089. end;
  20090. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  20091. begin
  20092. if thebits = 0 then
  20093. pTDefRegMap(@Self)^.clr := $00000080
  20094. else
  20095. pTDefRegMap(@Self)^.&set := $00000080;
  20096. end;
  20097. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  20098. begin
  20099. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20100. end;
  20101. procedure TUART2_U2STA.setUTXISEL0; inline;
  20102. begin
  20103. pTDefRegMap(@Self)^.&set := $00004000;
  20104. end;
  20105. procedure TUART2_U2STA.clearUTXISEL0; inline;
  20106. begin
  20107. pTDefRegMap(@Self)^.clr := $00004000;
  20108. end;
  20109. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  20110. begin
  20111. if thebits = 0 then
  20112. pTDefRegMap(@Self)^.clr := $00004000
  20113. else
  20114. pTDefRegMap(@Self)^.&set := $00004000;
  20115. end;
  20116. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  20117. begin
  20118. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20119. end;
  20120. procedure TUART2_U2STA.setUTXISEL1; inline;
  20121. begin
  20122. pTDefRegMap(@Self)^.&set := $00008000;
  20123. end;
  20124. procedure TUART2_U2STA.clearUTXISEL1; inline;
  20125. begin
  20126. pTDefRegMap(@Self)^.clr := $00008000;
  20127. end;
  20128. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  20129. begin
  20130. if thebits = 0 then
  20131. pTDefRegMap(@Self)^.clr := $00008000
  20132. else
  20133. pTDefRegMap(@Self)^.&set := $00008000;
  20134. end;
  20135. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  20136. begin
  20137. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20138. end;
  20139. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  20140. begin
  20141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20142. end;
  20143. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  20144. begin
  20145. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20146. end;
  20147. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  20148. begin
  20149. pTDefRegMap(@Self)^.val := thebits;
  20150. end;
  20151. function TUART2_U2STA.getw : TBits_32; inline;
  20152. begin
  20153. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20154. end;
  20155. procedure TUART2_U3ASTA.setURXDA; inline;
  20156. begin
  20157. pTDefRegMap(@Self)^.&set := $00000001;
  20158. end;
  20159. procedure TUART2_U3ASTA.clearURXDA; inline;
  20160. begin
  20161. pTDefRegMap(@Self)^.clr := $00000001;
  20162. end;
  20163. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  20164. begin
  20165. if thebits = 0 then
  20166. pTDefRegMap(@Self)^.clr := $00000001
  20167. else
  20168. pTDefRegMap(@Self)^.&set := $00000001;
  20169. end;
  20170. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  20171. begin
  20172. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20173. end;
  20174. procedure TUART2_U3ASTA.setOERR; inline;
  20175. begin
  20176. pTDefRegMap(@Self)^.&set := $00000002;
  20177. end;
  20178. procedure TUART2_U3ASTA.clearOERR; inline;
  20179. begin
  20180. pTDefRegMap(@Self)^.clr := $00000002;
  20181. end;
  20182. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  20183. begin
  20184. if thebits = 0 then
  20185. pTDefRegMap(@Self)^.clr := $00000002
  20186. else
  20187. pTDefRegMap(@Self)^.&set := $00000002;
  20188. end;
  20189. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  20190. begin
  20191. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20192. end;
  20193. procedure TUART2_U3ASTA.setFERR; inline;
  20194. begin
  20195. pTDefRegMap(@Self)^.&set := $00000004;
  20196. end;
  20197. procedure TUART2_U3ASTA.clearFERR; inline;
  20198. begin
  20199. pTDefRegMap(@Self)^.clr := $00000004;
  20200. end;
  20201. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  20202. begin
  20203. if thebits = 0 then
  20204. pTDefRegMap(@Self)^.clr := $00000004
  20205. else
  20206. pTDefRegMap(@Self)^.&set := $00000004;
  20207. end;
  20208. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  20209. begin
  20210. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20211. end;
  20212. procedure TUART2_U3ASTA.setPERR; inline;
  20213. begin
  20214. pTDefRegMap(@Self)^.&set := $00000008;
  20215. end;
  20216. procedure TUART2_U3ASTA.clearPERR; inline;
  20217. begin
  20218. pTDefRegMap(@Self)^.clr := $00000008;
  20219. end;
  20220. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  20221. begin
  20222. if thebits = 0 then
  20223. pTDefRegMap(@Self)^.clr := $00000008
  20224. else
  20225. pTDefRegMap(@Self)^.&set := $00000008;
  20226. end;
  20227. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  20228. begin
  20229. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20230. end;
  20231. procedure TUART2_U3ASTA.setRIDLE; inline;
  20232. begin
  20233. pTDefRegMap(@Self)^.&set := $00000010;
  20234. end;
  20235. procedure TUART2_U3ASTA.clearRIDLE; inline;
  20236. begin
  20237. pTDefRegMap(@Self)^.clr := $00000010;
  20238. end;
  20239. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  20240. begin
  20241. if thebits = 0 then
  20242. pTDefRegMap(@Self)^.clr := $00000010
  20243. else
  20244. pTDefRegMap(@Self)^.&set := $00000010;
  20245. end;
  20246. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  20247. begin
  20248. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20249. end;
  20250. procedure TUART2_U3ASTA.setADDEN; inline;
  20251. begin
  20252. pTDefRegMap(@Self)^.&set := $00000020;
  20253. end;
  20254. procedure TUART2_U3ASTA.clearADDEN; inline;
  20255. begin
  20256. pTDefRegMap(@Self)^.clr := $00000020;
  20257. end;
  20258. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  20259. begin
  20260. if thebits = 0 then
  20261. pTDefRegMap(@Self)^.clr := $00000020
  20262. else
  20263. pTDefRegMap(@Self)^.&set := $00000020;
  20264. end;
  20265. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  20266. begin
  20267. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20268. end;
  20269. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  20270. begin
  20271. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20272. end;
  20273. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  20274. begin
  20275. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20276. end;
  20277. procedure TUART2_U3ASTA.setTRMT; inline;
  20278. begin
  20279. pTDefRegMap(@Self)^.&set := $00000100;
  20280. end;
  20281. procedure TUART2_U3ASTA.clearTRMT; inline;
  20282. begin
  20283. pTDefRegMap(@Self)^.clr := $00000100;
  20284. end;
  20285. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  20286. begin
  20287. if thebits = 0 then
  20288. pTDefRegMap(@Self)^.clr := $00000100
  20289. else
  20290. pTDefRegMap(@Self)^.&set := $00000100;
  20291. end;
  20292. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  20293. begin
  20294. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20295. end;
  20296. procedure TUART2_U3ASTA.setUTXBF; inline;
  20297. begin
  20298. pTDefRegMap(@Self)^.&set := $00000200;
  20299. end;
  20300. procedure TUART2_U3ASTA.clearUTXBF; inline;
  20301. begin
  20302. pTDefRegMap(@Self)^.clr := $00000200;
  20303. end;
  20304. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  20305. begin
  20306. if thebits = 0 then
  20307. pTDefRegMap(@Self)^.clr := $00000200
  20308. else
  20309. pTDefRegMap(@Self)^.&set := $00000200;
  20310. end;
  20311. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  20312. begin
  20313. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20314. end;
  20315. procedure TUART2_U3ASTA.setUTXEN; inline;
  20316. begin
  20317. pTDefRegMap(@Self)^.&set := $00000400;
  20318. end;
  20319. procedure TUART2_U3ASTA.clearUTXEN; inline;
  20320. begin
  20321. pTDefRegMap(@Self)^.clr := $00000400;
  20322. end;
  20323. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  20324. begin
  20325. if thebits = 0 then
  20326. pTDefRegMap(@Self)^.clr := $00000400
  20327. else
  20328. pTDefRegMap(@Self)^.&set := $00000400;
  20329. end;
  20330. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  20331. begin
  20332. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20333. end;
  20334. procedure TUART2_U3ASTA.setUTXBRK; inline;
  20335. begin
  20336. pTDefRegMap(@Self)^.&set := $00000800;
  20337. end;
  20338. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  20339. begin
  20340. pTDefRegMap(@Self)^.clr := $00000800;
  20341. end;
  20342. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  20343. begin
  20344. if thebits = 0 then
  20345. pTDefRegMap(@Self)^.clr := $00000800
  20346. else
  20347. pTDefRegMap(@Self)^.&set := $00000800;
  20348. end;
  20349. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  20350. begin
  20351. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20352. end;
  20353. procedure TUART2_U3ASTA.setURXEN; inline;
  20354. begin
  20355. pTDefRegMap(@Self)^.&set := $00001000;
  20356. end;
  20357. procedure TUART2_U3ASTA.clearURXEN; inline;
  20358. begin
  20359. pTDefRegMap(@Self)^.clr := $00001000;
  20360. end;
  20361. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  20362. begin
  20363. if thebits = 0 then
  20364. pTDefRegMap(@Self)^.clr := $00001000
  20365. else
  20366. pTDefRegMap(@Self)^.&set := $00001000;
  20367. end;
  20368. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  20369. begin
  20370. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20371. end;
  20372. procedure TUART2_U3ASTA.setUTXINV; inline;
  20373. begin
  20374. pTDefRegMap(@Self)^.&set := $00002000;
  20375. end;
  20376. procedure TUART2_U3ASTA.clearUTXINV; inline;
  20377. begin
  20378. pTDefRegMap(@Self)^.clr := $00002000;
  20379. end;
  20380. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  20381. begin
  20382. if thebits = 0 then
  20383. pTDefRegMap(@Self)^.clr := $00002000
  20384. else
  20385. pTDefRegMap(@Self)^.&set := $00002000;
  20386. end;
  20387. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  20388. begin
  20389. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20390. end;
  20391. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  20392. begin
  20393. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20394. end;
  20395. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  20396. begin
  20397. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20398. end;
  20399. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  20400. begin
  20401. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20402. end;
  20403. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  20404. begin
  20405. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20406. end;
  20407. procedure TUART2_U3ASTA.setADM_EN; inline;
  20408. begin
  20409. pTDefRegMap(@Self)^.&set := $01000000;
  20410. end;
  20411. procedure TUART2_U3ASTA.clearADM_EN; inline;
  20412. begin
  20413. pTDefRegMap(@Self)^.clr := $01000000;
  20414. end;
  20415. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  20416. begin
  20417. if thebits = 0 then
  20418. pTDefRegMap(@Self)^.clr := $01000000
  20419. else
  20420. pTDefRegMap(@Self)^.&set := $01000000;
  20421. end;
  20422. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  20423. begin
  20424. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20425. end;
  20426. procedure TUART2_U3ASTA.setURXISEL0; inline;
  20427. begin
  20428. pTDefRegMap(@Self)^.&set := $00000040;
  20429. end;
  20430. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  20431. begin
  20432. pTDefRegMap(@Self)^.clr := $00000040;
  20433. end;
  20434. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  20435. begin
  20436. if thebits = 0 then
  20437. pTDefRegMap(@Self)^.clr := $00000040
  20438. else
  20439. pTDefRegMap(@Self)^.&set := $00000040;
  20440. end;
  20441. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  20442. begin
  20443. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20444. end;
  20445. procedure TUART2_U3ASTA.setURXISEL1; inline;
  20446. begin
  20447. pTDefRegMap(@Self)^.&set := $00000080;
  20448. end;
  20449. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  20450. begin
  20451. pTDefRegMap(@Self)^.clr := $00000080;
  20452. end;
  20453. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  20454. begin
  20455. if thebits = 0 then
  20456. pTDefRegMap(@Self)^.clr := $00000080
  20457. else
  20458. pTDefRegMap(@Self)^.&set := $00000080;
  20459. end;
  20460. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  20461. begin
  20462. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20463. end;
  20464. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  20465. begin
  20466. pTDefRegMap(@Self)^.&set := $00004000;
  20467. end;
  20468. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  20469. begin
  20470. pTDefRegMap(@Self)^.clr := $00004000;
  20471. end;
  20472. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  20473. begin
  20474. if thebits = 0 then
  20475. pTDefRegMap(@Self)^.clr := $00004000
  20476. else
  20477. pTDefRegMap(@Self)^.&set := $00004000;
  20478. end;
  20479. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  20480. begin
  20481. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20482. end;
  20483. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  20484. begin
  20485. pTDefRegMap(@Self)^.&set := $00008000;
  20486. end;
  20487. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  20488. begin
  20489. pTDefRegMap(@Self)^.clr := $00008000;
  20490. end;
  20491. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  20492. begin
  20493. if thebits = 0 then
  20494. pTDefRegMap(@Self)^.clr := $00008000
  20495. else
  20496. pTDefRegMap(@Self)^.&set := $00008000;
  20497. end;
  20498. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  20499. begin
  20500. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20501. end;
  20502. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  20503. begin
  20504. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20505. end;
  20506. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  20507. begin
  20508. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20509. end;
  20510. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  20511. begin
  20512. pTDefRegMap(@Self)^.val := thebits;
  20513. end;
  20514. function TUART2_U3ASTA.getw : TBits_32; inline;
  20515. begin
  20516. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20517. end;
  20518. procedure TPMP_PMCON.setRDSP; inline;
  20519. begin
  20520. pTDefRegMap(@Self)^.&set := $00000001;
  20521. end;
  20522. procedure TPMP_PMCON.clearRDSP; inline;
  20523. begin
  20524. pTDefRegMap(@Self)^.clr := $00000001;
  20525. end;
  20526. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  20527. begin
  20528. if thebits = 0 then
  20529. pTDefRegMap(@Self)^.clr := $00000001
  20530. else
  20531. pTDefRegMap(@Self)^.&set := $00000001;
  20532. end;
  20533. function TPMP_PMCON.getRDSP : TBits_1; inline;
  20534. begin
  20535. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20536. end;
  20537. procedure TPMP_PMCON.setWRSP; inline;
  20538. begin
  20539. pTDefRegMap(@Self)^.&set := $00000002;
  20540. end;
  20541. procedure TPMP_PMCON.clearWRSP; inline;
  20542. begin
  20543. pTDefRegMap(@Self)^.clr := $00000002;
  20544. end;
  20545. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  20546. begin
  20547. if thebits = 0 then
  20548. pTDefRegMap(@Self)^.clr := $00000002
  20549. else
  20550. pTDefRegMap(@Self)^.&set := $00000002;
  20551. end;
  20552. function TPMP_PMCON.getWRSP : TBits_1; inline;
  20553. begin
  20554. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20555. end;
  20556. procedure TPMP_PMCON.setCS1P; inline;
  20557. begin
  20558. pTDefRegMap(@Self)^.&set := $00000008;
  20559. end;
  20560. procedure TPMP_PMCON.clearCS1P; inline;
  20561. begin
  20562. pTDefRegMap(@Self)^.clr := $00000008;
  20563. end;
  20564. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  20565. begin
  20566. if thebits = 0 then
  20567. pTDefRegMap(@Self)^.clr := $00000008
  20568. else
  20569. pTDefRegMap(@Self)^.&set := $00000008;
  20570. end;
  20571. function TPMP_PMCON.getCS1P : TBits_1; inline;
  20572. begin
  20573. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20574. end;
  20575. procedure TPMP_PMCON.setALP; inline;
  20576. begin
  20577. pTDefRegMap(@Self)^.&set := $00000020;
  20578. end;
  20579. procedure TPMP_PMCON.clearALP; inline;
  20580. begin
  20581. pTDefRegMap(@Self)^.clr := $00000020;
  20582. end;
  20583. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  20584. begin
  20585. if thebits = 0 then
  20586. pTDefRegMap(@Self)^.clr := $00000020
  20587. else
  20588. pTDefRegMap(@Self)^.&set := $00000020;
  20589. end;
  20590. function TPMP_PMCON.getALP : TBits_1; inline;
  20591. begin
  20592. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20593. end;
  20594. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  20595. begin
  20596. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20597. end;
  20598. function TPMP_PMCON.getCSF : TBits_2; inline;
  20599. begin
  20600. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20601. end;
  20602. procedure TPMP_PMCON.setPTRDEN; inline;
  20603. begin
  20604. pTDefRegMap(@Self)^.&set := $00000100;
  20605. end;
  20606. procedure TPMP_PMCON.clearPTRDEN; inline;
  20607. begin
  20608. pTDefRegMap(@Self)^.clr := $00000100;
  20609. end;
  20610. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  20611. begin
  20612. if thebits = 0 then
  20613. pTDefRegMap(@Self)^.clr := $00000100
  20614. else
  20615. pTDefRegMap(@Self)^.&set := $00000100;
  20616. end;
  20617. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  20618. begin
  20619. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20620. end;
  20621. procedure TPMP_PMCON.setPTWREN; inline;
  20622. begin
  20623. pTDefRegMap(@Self)^.&set := $00000200;
  20624. end;
  20625. procedure TPMP_PMCON.clearPTWREN; inline;
  20626. begin
  20627. pTDefRegMap(@Self)^.clr := $00000200;
  20628. end;
  20629. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  20630. begin
  20631. if thebits = 0 then
  20632. pTDefRegMap(@Self)^.clr := $00000200
  20633. else
  20634. pTDefRegMap(@Self)^.&set := $00000200;
  20635. end;
  20636. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  20637. begin
  20638. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20639. end;
  20640. procedure TPMP_PMCON.setPMPTTL; inline;
  20641. begin
  20642. pTDefRegMap(@Self)^.&set := $00000400;
  20643. end;
  20644. procedure TPMP_PMCON.clearPMPTTL; inline;
  20645. begin
  20646. pTDefRegMap(@Self)^.clr := $00000400;
  20647. end;
  20648. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  20649. begin
  20650. if thebits = 0 then
  20651. pTDefRegMap(@Self)^.clr := $00000400
  20652. else
  20653. pTDefRegMap(@Self)^.&set := $00000400;
  20654. end;
  20655. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  20656. begin
  20657. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20658. end;
  20659. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  20660. begin
  20661. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  20662. end;
  20663. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  20664. begin
  20665. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  20666. end;
  20667. procedure TPMP_PMCON.setSIDL; inline;
  20668. begin
  20669. pTDefRegMap(@Self)^.&set := $00002000;
  20670. end;
  20671. procedure TPMP_PMCON.clearSIDL; inline;
  20672. begin
  20673. pTDefRegMap(@Self)^.clr := $00002000;
  20674. end;
  20675. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  20676. begin
  20677. if thebits = 0 then
  20678. pTDefRegMap(@Self)^.clr := $00002000
  20679. else
  20680. pTDefRegMap(@Self)^.&set := $00002000;
  20681. end;
  20682. function TPMP_PMCON.getSIDL : TBits_1; inline;
  20683. begin
  20684. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20685. end;
  20686. procedure TPMP_PMCON.setON; inline;
  20687. begin
  20688. pTDefRegMap(@Self)^.&set := $00008000;
  20689. end;
  20690. procedure TPMP_PMCON.clearON; inline;
  20691. begin
  20692. pTDefRegMap(@Self)^.clr := $00008000;
  20693. end;
  20694. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  20695. begin
  20696. if thebits = 0 then
  20697. pTDefRegMap(@Self)^.clr := $00008000
  20698. else
  20699. pTDefRegMap(@Self)^.&set := $00008000;
  20700. end;
  20701. function TPMP_PMCON.getON : TBits_1; inline;
  20702. begin
  20703. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20704. end;
  20705. procedure TPMP_PMCON.setCSF0; inline;
  20706. begin
  20707. pTDefRegMap(@Self)^.&set := $00000040;
  20708. end;
  20709. procedure TPMP_PMCON.clearCSF0; inline;
  20710. begin
  20711. pTDefRegMap(@Self)^.clr := $00000040;
  20712. end;
  20713. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  20714. begin
  20715. if thebits = 0 then
  20716. pTDefRegMap(@Self)^.clr := $00000040
  20717. else
  20718. pTDefRegMap(@Self)^.&set := $00000040;
  20719. end;
  20720. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  20721. begin
  20722. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20723. end;
  20724. procedure TPMP_PMCON.setCSF1; inline;
  20725. begin
  20726. pTDefRegMap(@Self)^.&set := $00000080;
  20727. end;
  20728. procedure TPMP_PMCON.clearCSF1; inline;
  20729. begin
  20730. pTDefRegMap(@Self)^.clr := $00000080;
  20731. end;
  20732. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  20733. begin
  20734. if thebits = 0 then
  20735. pTDefRegMap(@Self)^.clr := $00000080
  20736. else
  20737. pTDefRegMap(@Self)^.&set := $00000080;
  20738. end;
  20739. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  20740. begin
  20741. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20742. end;
  20743. procedure TPMP_PMCON.setADRMUX0; inline;
  20744. begin
  20745. pTDefRegMap(@Self)^.&set := $00000800;
  20746. end;
  20747. procedure TPMP_PMCON.clearADRMUX0; inline;
  20748. begin
  20749. pTDefRegMap(@Self)^.clr := $00000800;
  20750. end;
  20751. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  20752. begin
  20753. if thebits = 0 then
  20754. pTDefRegMap(@Self)^.clr := $00000800
  20755. else
  20756. pTDefRegMap(@Self)^.&set := $00000800;
  20757. end;
  20758. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  20759. begin
  20760. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20761. end;
  20762. procedure TPMP_PMCON.setADRMUX1; inline;
  20763. begin
  20764. pTDefRegMap(@Self)^.&set := $00001000;
  20765. end;
  20766. procedure TPMP_PMCON.clearADRMUX1; inline;
  20767. begin
  20768. pTDefRegMap(@Self)^.clr := $00001000;
  20769. end;
  20770. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  20771. begin
  20772. if thebits = 0 then
  20773. pTDefRegMap(@Self)^.clr := $00001000
  20774. else
  20775. pTDefRegMap(@Self)^.&set := $00001000;
  20776. end;
  20777. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  20778. begin
  20779. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20780. end;
  20781. procedure TPMP_PMCON.setPSIDL; inline;
  20782. begin
  20783. pTDefRegMap(@Self)^.&set := $00002000;
  20784. end;
  20785. procedure TPMP_PMCON.clearPSIDL; inline;
  20786. begin
  20787. pTDefRegMap(@Self)^.clr := $00002000;
  20788. end;
  20789. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  20790. begin
  20791. if thebits = 0 then
  20792. pTDefRegMap(@Self)^.clr := $00002000
  20793. else
  20794. pTDefRegMap(@Self)^.&set := $00002000;
  20795. end;
  20796. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  20797. begin
  20798. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20799. end;
  20800. procedure TPMP_PMCON.setPMPEN; inline;
  20801. begin
  20802. pTDefRegMap(@Self)^.&set := $00008000;
  20803. end;
  20804. procedure TPMP_PMCON.clearPMPEN; inline;
  20805. begin
  20806. pTDefRegMap(@Self)^.clr := $00008000;
  20807. end;
  20808. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  20809. begin
  20810. if thebits = 0 then
  20811. pTDefRegMap(@Self)^.clr := $00008000
  20812. else
  20813. pTDefRegMap(@Self)^.&set := $00008000;
  20814. end;
  20815. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  20816. begin
  20817. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20818. end;
  20819. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  20820. begin
  20821. pTDefRegMap(@Self)^.val := thebits;
  20822. end;
  20823. function TPMP_PMCON.getw : TBits_32; inline;
  20824. begin
  20825. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20826. end;
  20827. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  20828. begin
  20829. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20830. end;
  20831. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  20832. begin
  20833. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20834. end;
  20835. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  20836. begin
  20837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  20838. end;
  20839. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  20840. begin
  20841. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  20842. end;
  20843. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  20844. begin
  20845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20846. end;
  20847. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  20848. begin
  20849. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20850. end;
  20851. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  20852. begin
  20853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20854. end;
  20855. function TPMP_PMMODE.getMODE : TBits_2; inline;
  20856. begin
  20857. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20858. end;
  20859. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  20860. begin
  20861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  20862. end;
  20863. function TPMP_PMMODE.getINCM : TBits_2; inline;
  20864. begin
  20865. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  20866. end;
  20867. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  20868. begin
  20869. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  20870. end;
  20871. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  20872. begin
  20873. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  20874. end;
  20875. procedure TPMP_PMMODE.setBUSY; inline;
  20876. begin
  20877. pTDefRegMap(@Self)^.&set := $00008000;
  20878. end;
  20879. procedure TPMP_PMMODE.clearBUSY; inline;
  20880. begin
  20881. pTDefRegMap(@Self)^.clr := $00008000;
  20882. end;
  20883. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  20884. begin
  20885. if thebits = 0 then
  20886. pTDefRegMap(@Self)^.clr := $00008000
  20887. else
  20888. pTDefRegMap(@Self)^.&set := $00008000;
  20889. end;
  20890. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  20891. begin
  20892. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20893. end;
  20894. procedure TPMP_PMMODE.setWAITE0; inline;
  20895. begin
  20896. pTDefRegMap(@Self)^.&set := $00000001;
  20897. end;
  20898. procedure TPMP_PMMODE.clearWAITE0; inline;
  20899. begin
  20900. pTDefRegMap(@Self)^.clr := $00000001;
  20901. end;
  20902. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  20903. begin
  20904. if thebits = 0 then
  20905. pTDefRegMap(@Self)^.clr := $00000001
  20906. else
  20907. pTDefRegMap(@Self)^.&set := $00000001;
  20908. end;
  20909. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  20910. begin
  20911. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20912. end;
  20913. procedure TPMP_PMMODE.setWAITE1; inline;
  20914. begin
  20915. pTDefRegMap(@Self)^.&set := $00000002;
  20916. end;
  20917. procedure TPMP_PMMODE.clearWAITE1; inline;
  20918. begin
  20919. pTDefRegMap(@Self)^.clr := $00000002;
  20920. end;
  20921. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  20922. begin
  20923. if thebits = 0 then
  20924. pTDefRegMap(@Self)^.clr := $00000002
  20925. else
  20926. pTDefRegMap(@Self)^.&set := $00000002;
  20927. end;
  20928. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  20929. begin
  20930. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20931. end;
  20932. procedure TPMP_PMMODE.setWAITM0; inline;
  20933. begin
  20934. pTDefRegMap(@Self)^.&set := $00000004;
  20935. end;
  20936. procedure TPMP_PMMODE.clearWAITM0; inline;
  20937. begin
  20938. pTDefRegMap(@Self)^.clr := $00000004;
  20939. end;
  20940. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  20941. begin
  20942. if thebits = 0 then
  20943. pTDefRegMap(@Self)^.clr := $00000004
  20944. else
  20945. pTDefRegMap(@Self)^.&set := $00000004;
  20946. end;
  20947. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  20948. begin
  20949. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20950. end;
  20951. procedure TPMP_PMMODE.setWAITM1; inline;
  20952. begin
  20953. pTDefRegMap(@Self)^.&set := $00000008;
  20954. end;
  20955. procedure TPMP_PMMODE.clearWAITM1; inline;
  20956. begin
  20957. pTDefRegMap(@Self)^.clr := $00000008;
  20958. end;
  20959. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  20960. begin
  20961. if thebits = 0 then
  20962. pTDefRegMap(@Self)^.clr := $00000008
  20963. else
  20964. pTDefRegMap(@Self)^.&set := $00000008;
  20965. end;
  20966. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  20967. begin
  20968. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20969. end;
  20970. procedure TPMP_PMMODE.setWAITM2; inline;
  20971. begin
  20972. pTDefRegMap(@Self)^.&set := $00000010;
  20973. end;
  20974. procedure TPMP_PMMODE.clearWAITM2; inline;
  20975. begin
  20976. pTDefRegMap(@Self)^.clr := $00000010;
  20977. end;
  20978. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  20979. begin
  20980. if thebits = 0 then
  20981. pTDefRegMap(@Self)^.clr := $00000010
  20982. else
  20983. pTDefRegMap(@Self)^.&set := $00000010;
  20984. end;
  20985. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  20986. begin
  20987. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20988. end;
  20989. procedure TPMP_PMMODE.setWAITM3; inline;
  20990. begin
  20991. pTDefRegMap(@Self)^.&set := $00000020;
  20992. end;
  20993. procedure TPMP_PMMODE.clearWAITM3; inline;
  20994. begin
  20995. pTDefRegMap(@Self)^.clr := $00000020;
  20996. end;
  20997. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  20998. begin
  20999. if thebits = 0 then
  21000. pTDefRegMap(@Self)^.clr := $00000020
  21001. else
  21002. pTDefRegMap(@Self)^.&set := $00000020;
  21003. end;
  21004. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  21005. begin
  21006. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21007. end;
  21008. procedure TPMP_PMMODE.setWAITB0; inline;
  21009. begin
  21010. pTDefRegMap(@Self)^.&set := $00000040;
  21011. end;
  21012. procedure TPMP_PMMODE.clearWAITB0; inline;
  21013. begin
  21014. pTDefRegMap(@Self)^.clr := $00000040;
  21015. end;
  21016. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  21017. begin
  21018. if thebits = 0 then
  21019. pTDefRegMap(@Self)^.clr := $00000040
  21020. else
  21021. pTDefRegMap(@Self)^.&set := $00000040;
  21022. end;
  21023. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  21024. begin
  21025. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21026. end;
  21027. procedure TPMP_PMMODE.setWAITB1; inline;
  21028. begin
  21029. pTDefRegMap(@Self)^.&set := $00000080;
  21030. end;
  21031. procedure TPMP_PMMODE.clearWAITB1; inline;
  21032. begin
  21033. pTDefRegMap(@Self)^.clr := $00000080;
  21034. end;
  21035. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  21036. begin
  21037. if thebits = 0 then
  21038. pTDefRegMap(@Self)^.clr := $00000080
  21039. else
  21040. pTDefRegMap(@Self)^.&set := $00000080;
  21041. end;
  21042. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  21043. begin
  21044. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21045. end;
  21046. procedure TPMP_PMMODE.setMODE0; inline;
  21047. begin
  21048. pTDefRegMap(@Self)^.&set := $00000100;
  21049. end;
  21050. procedure TPMP_PMMODE.clearMODE0; inline;
  21051. begin
  21052. pTDefRegMap(@Self)^.clr := $00000100;
  21053. end;
  21054. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  21055. begin
  21056. if thebits = 0 then
  21057. pTDefRegMap(@Self)^.clr := $00000100
  21058. else
  21059. pTDefRegMap(@Self)^.&set := $00000100;
  21060. end;
  21061. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  21062. begin
  21063. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21064. end;
  21065. procedure TPMP_PMMODE.setMODE1; inline;
  21066. begin
  21067. pTDefRegMap(@Self)^.&set := $00000200;
  21068. end;
  21069. procedure TPMP_PMMODE.clearMODE1; inline;
  21070. begin
  21071. pTDefRegMap(@Self)^.clr := $00000200;
  21072. end;
  21073. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  21074. begin
  21075. if thebits = 0 then
  21076. pTDefRegMap(@Self)^.clr := $00000200
  21077. else
  21078. pTDefRegMap(@Self)^.&set := $00000200;
  21079. end;
  21080. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  21081. begin
  21082. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21083. end;
  21084. procedure TPMP_PMMODE.setINCM0; inline;
  21085. begin
  21086. pTDefRegMap(@Self)^.&set := $00000800;
  21087. end;
  21088. procedure TPMP_PMMODE.clearINCM0; inline;
  21089. begin
  21090. pTDefRegMap(@Self)^.clr := $00000800;
  21091. end;
  21092. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  21093. begin
  21094. if thebits = 0 then
  21095. pTDefRegMap(@Self)^.clr := $00000800
  21096. else
  21097. pTDefRegMap(@Self)^.&set := $00000800;
  21098. end;
  21099. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  21100. begin
  21101. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21102. end;
  21103. procedure TPMP_PMMODE.setINCM1; inline;
  21104. begin
  21105. pTDefRegMap(@Self)^.&set := $00001000;
  21106. end;
  21107. procedure TPMP_PMMODE.clearINCM1; inline;
  21108. begin
  21109. pTDefRegMap(@Self)^.clr := $00001000;
  21110. end;
  21111. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  21112. begin
  21113. if thebits = 0 then
  21114. pTDefRegMap(@Self)^.clr := $00001000
  21115. else
  21116. pTDefRegMap(@Self)^.&set := $00001000;
  21117. end;
  21118. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  21119. begin
  21120. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21121. end;
  21122. procedure TPMP_PMMODE.setIRQM0; inline;
  21123. begin
  21124. pTDefRegMap(@Self)^.&set := $00002000;
  21125. end;
  21126. procedure TPMP_PMMODE.clearIRQM0; inline;
  21127. begin
  21128. pTDefRegMap(@Self)^.clr := $00002000;
  21129. end;
  21130. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  21131. begin
  21132. if thebits = 0 then
  21133. pTDefRegMap(@Self)^.clr := $00002000
  21134. else
  21135. pTDefRegMap(@Self)^.&set := $00002000;
  21136. end;
  21137. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  21138. begin
  21139. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21140. end;
  21141. procedure TPMP_PMMODE.setIRQM1; inline;
  21142. begin
  21143. pTDefRegMap(@Self)^.&set := $00004000;
  21144. end;
  21145. procedure TPMP_PMMODE.clearIRQM1; inline;
  21146. begin
  21147. pTDefRegMap(@Self)^.clr := $00004000;
  21148. end;
  21149. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  21150. begin
  21151. if thebits = 0 then
  21152. pTDefRegMap(@Self)^.clr := $00004000
  21153. else
  21154. pTDefRegMap(@Self)^.&set := $00004000;
  21155. end;
  21156. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  21157. begin
  21158. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21159. end;
  21160. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  21161. begin
  21162. pTDefRegMap(@Self)^.val := thebits;
  21163. end;
  21164. function TPMP_PMMODE.getw : TBits_32; inline;
  21165. begin
  21166. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21167. end;
  21168. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  21169. begin
  21170. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21171. end;
  21172. function TPMP_PMADDR.getADDR : TBits_14; inline;
  21173. begin
  21174. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21175. end;
  21176. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  21177. begin
  21178. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21179. end;
  21180. function TPMP_PMADDR.getCS : TBits_2; inline;
  21181. begin
  21182. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21183. end;
  21184. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  21185. begin
  21186. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21187. end;
  21188. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  21189. begin
  21190. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21191. end;
  21192. procedure TPMP_PMADDR.setCS1; inline;
  21193. begin
  21194. pTDefRegMap(@Self)^.&set := $00004000;
  21195. end;
  21196. procedure TPMP_PMADDR.clearCS1; inline;
  21197. begin
  21198. pTDefRegMap(@Self)^.clr := $00004000;
  21199. end;
  21200. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  21201. begin
  21202. if thebits = 0 then
  21203. pTDefRegMap(@Self)^.clr := $00004000
  21204. else
  21205. pTDefRegMap(@Self)^.&set := $00004000;
  21206. end;
  21207. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  21208. begin
  21209. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21210. end;
  21211. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  21212. begin
  21213. pTDefRegMap(@Self)^.val := thebits;
  21214. end;
  21215. function TPMP_PMADDR.getw : TBits_32; inline;
  21216. begin
  21217. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21218. end;
  21219. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  21220. begin
  21221. pTDefRegMap(@Self)^.val := thebits;
  21222. end;
  21223. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  21224. begin
  21225. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21226. end;
  21227. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  21228. begin
  21229. pTDefRegMap(@Self)^.val := thebits;
  21230. end;
  21231. function TPMP_PMDOUT.getw : TBits_32; inline;
  21232. begin
  21233. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21234. end;
  21235. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  21236. begin
  21237. pTDefRegMap(@Self)^.val := thebits;
  21238. end;
  21239. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  21240. begin
  21241. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21242. end;
  21243. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  21244. begin
  21245. pTDefRegMap(@Self)^.val := thebits;
  21246. end;
  21247. function TPMP_PMDIN.getw : TBits_32; inline;
  21248. begin
  21249. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21250. end;
  21251. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  21252. begin
  21253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  21254. end;
  21255. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  21256. begin
  21257. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  21258. end;
  21259. procedure TPMP_PMAEN.setPTEN0; inline;
  21260. begin
  21261. pTDefRegMap(@Self)^.&set := $00000001;
  21262. end;
  21263. procedure TPMP_PMAEN.clearPTEN0; inline;
  21264. begin
  21265. pTDefRegMap(@Self)^.clr := $00000001;
  21266. end;
  21267. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  21268. begin
  21269. if thebits = 0 then
  21270. pTDefRegMap(@Self)^.clr := $00000001
  21271. else
  21272. pTDefRegMap(@Self)^.&set := $00000001;
  21273. end;
  21274. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  21275. begin
  21276. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21277. end;
  21278. procedure TPMP_PMAEN.setPTEN1; inline;
  21279. begin
  21280. pTDefRegMap(@Self)^.&set := $00000002;
  21281. end;
  21282. procedure TPMP_PMAEN.clearPTEN1; inline;
  21283. begin
  21284. pTDefRegMap(@Self)^.clr := $00000002;
  21285. end;
  21286. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  21287. begin
  21288. if thebits = 0 then
  21289. pTDefRegMap(@Self)^.clr := $00000002
  21290. else
  21291. pTDefRegMap(@Self)^.&set := $00000002;
  21292. end;
  21293. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  21294. begin
  21295. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21296. end;
  21297. procedure TPMP_PMAEN.setPTEN2; inline;
  21298. begin
  21299. pTDefRegMap(@Self)^.&set := $00000004;
  21300. end;
  21301. procedure TPMP_PMAEN.clearPTEN2; inline;
  21302. begin
  21303. pTDefRegMap(@Self)^.clr := $00000004;
  21304. end;
  21305. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  21306. begin
  21307. if thebits = 0 then
  21308. pTDefRegMap(@Self)^.clr := $00000004
  21309. else
  21310. pTDefRegMap(@Self)^.&set := $00000004;
  21311. end;
  21312. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  21313. begin
  21314. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21315. end;
  21316. procedure TPMP_PMAEN.setPTEN3; inline;
  21317. begin
  21318. pTDefRegMap(@Self)^.&set := $00000008;
  21319. end;
  21320. procedure TPMP_PMAEN.clearPTEN3; inline;
  21321. begin
  21322. pTDefRegMap(@Self)^.clr := $00000008;
  21323. end;
  21324. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  21325. begin
  21326. if thebits = 0 then
  21327. pTDefRegMap(@Self)^.clr := $00000008
  21328. else
  21329. pTDefRegMap(@Self)^.&set := $00000008;
  21330. end;
  21331. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  21332. begin
  21333. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21334. end;
  21335. procedure TPMP_PMAEN.setPTEN4; inline;
  21336. begin
  21337. pTDefRegMap(@Self)^.&set := $00000010;
  21338. end;
  21339. procedure TPMP_PMAEN.clearPTEN4; inline;
  21340. begin
  21341. pTDefRegMap(@Self)^.clr := $00000010;
  21342. end;
  21343. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  21344. begin
  21345. if thebits = 0 then
  21346. pTDefRegMap(@Self)^.clr := $00000010
  21347. else
  21348. pTDefRegMap(@Self)^.&set := $00000010;
  21349. end;
  21350. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  21351. begin
  21352. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21353. end;
  21354. procedure TPMP_PMAEN.setPTEN5; inline;
  21355. begin
  21356. pTDefRegMap(@Self)^.&set := $00000020;
  21357. end;
  21358. procedure TPMP_PMAEN.clearPTEN5; inline;
  21359. begin
  21360. pTDefRegMap(@Self)^.clr := $00000020;
  21361. end;
  21362. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  21363. begin
  21364. if thebits = 0 then
  21365. pTDefRegMap(@Self)^.clr := $00000020
  21366. else
  21367. pTDefRegMap(@Self)^.&set := $00000020;
  21368. end;
  21369. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  21370. begin
  21371. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21372. end;
  21373. procedure TPMP_PMAEN.setPTEN6; inline;
  21374. begin
  21375. pTDefRegMap(@Self)^.&set := $00000040;
  21376. end;
  21377. procedure TPMP_PMAEN.clearPTEN6; inline;
  21378. begin
  21379. pTDefRegMap(@Self)^.clr := $00000040;
  21380. end;
  21381. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  21382. begin
  21383. if thebits = 0 then
  21384. pTDefRegMap(@Self)^.clr := $00000040
  21385. else
  21386. pTDefRegMap(@Self)^.&set := $00000040;
  21387. end;
  21388. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  21389. begin
  21390. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21391. end;
  21392. procedure TPMP_PMAEN.setPTEN7; inline;
  21393. begin
  21394. pTDefRegMap(@Self)^.&set := $00000080;
  21395. end;
  21396. procedure TPMP_PMAEN.clearPTEN7; inline;
  21397. begin
  21398. pTDefRegMap(@Self)^.clr := $00000080;
  21399. end;
  21400. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  21401. begin
  21402. if thebits = 0 then
  21403. pTDefRegMap(@Self)^.clr := $00000080
  21404. else
  21405. pTDefRegMap(@Self)^.&set := $00000080;
  21406. end;
  21407. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  21408. begin
  21409. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21410. end;
  21411. procedure TPMP_PMAEN.setPTEN8; inline;
  21412. begin
  21413. pTDefRegMap(@Self)^.&set := $00000100;
  21414. end;
  21415. procedure TPMP_PMAEN.clearPTEN8; inline;
  21416. begin
  21417. pTDefRegMap(@Self)^.clr := $00000100;
  21418. end;
  21419. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  21420. begin
  21421. if thebits = 0 then
  21422. pTDefRegMap(@Self)^.clr := $00000100
  21423. else
  21424. pTDefRegMap(@Self)^.&set := $00000100;
  21425. end;
  21426. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  21427. begin
  21428. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21429. end;
  21430. procedure TPMP_PMAEN.setPTEN9; inline;
  21431. begin
  21432. pTDefRegMap(@Self)^.&set := $00000200;
  21433. end;
  21434. procedure TPMP_PMAEN.clearPTEN9; inline;
  21435. begin
  21436. pTDefRegMap(@Self)^.clr := $00000200;
  21437. end;
  21438. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  21439. begin
  21440. if thebits = 0 then
  21441. pTDefRegMap(@Self)^.clr := $00000200
  21442. else
  21443. pTDefRegMap(@Self)^.&set := $00000200;
  21444. end;
  21445. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  21446. begin
  21447. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21448. end;
  21449. procedure TPMP_PMAEN.setPTEN10; inline;
  21450. begin
  21451. pTDefRegMap(@Self)^.&set := $00000400;
  21452. end;
  21453. procedure TPMP_PMAEN.clearPTEN10; inline;
  21454. begin
  21455. pTDefRegMap(@Self)^.clr := $00000400;
  21456. end;
  21457. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  21458. begin
  21459. if thebits = 0 then
  21460. pTDefRegMap(@Self)^.clr := $00000400
  21461. else
  21462. pTDefRegMap(@Self)^.&set := $00000400;
  21463. end;
  21464. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  21465. begin
  21466. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21467. end;
  21468. procedure TPMP_PMAEN.setPTEN11; inline;
  21469. begin
  21470. pTDefRegMap(@Self)^.&set := $00000800;
  21471. end;
  21472. procedure TPMP_PMAEN.clearPTEN11; inline;
  21473. begin
  21474. pTDefRegMap(@Self)^.clr := $00000800;
  21475. end;
  21476. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  21477. begin
  21478. if thebits = 0 then
  21479. pTDefRegMap(@Self)^.clr := $00000800
  21480. else
  21481. pTDefRegMap(@Self)^.&set := $00000800;
  21482. end;
  21483. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  21484. begin
  21485. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21486. end;
  21487. procedure TPMP_PMAEN.setPTEN12; inline;
  21488. begin
  21489. pTDefRegMap(@Self)^.&set := $00001000;
  21490. end;
  21491. procedure TPMP_PMAEN.clearPTEN12; inline;
  21492. begin
  21493. pTDefRegMap(@Self)^.clr := $00001000;
  21494. end;
  21495. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  21496. begin
  21497. if thebits = 0 then
  21498. pTDefRegMap(@Self)^.clr := $00001000
  21499. else
  21500. pTDefRegMap(@Self)^.&set := $00001000;
  21501. end;
  21502. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  21503. begin
  21504. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21505. end;
  21506. procedure TPMP_PMAEN.setPTEN13; inline;
  21507. begin
  21508. pTDefRegMap(@Self)^.&set := $00002000;
  21509. end;
  21510. procedure TPMP_PMAEN.clearPTEN13; inline;
  21511. begin
  21512. pTDefRegMap(@Self)^.clr := $00002000;
  21513. end;
  21514. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  21515. begin
  21516. if thebits = 0 then
  21517. pTDefRegMap(@Self)^.clr := $00002000
  21518. else
  21519. pTDefRegMap(@Self)^.&set := $00002000;
  21520. end;
  21521. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  21522. begin
  21523. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21524. end;
  21525. procedure TPMP_PMAEN.setPTEN14; inline;
  21526. begin
  21527. pTDefRegMap(@Self)^.&set := $00004000;
  21528. end;
  21529. procedure TPMP_PMAEN.clearPTEN14; inline;
  21530. begin
  21531. pTDefRegMap(@Self)^.clr := $00004000;
  21532. end;
  21533. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  21534. begin
  21535. if thebits = 0 then
  21536. pTDefRegMap(@Self)^.clr := $00004000
  21537. else
  21538. pTDefRegMap(@Self)^.&set := $00004000;
  21539. end;
  21540. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  21541. begin
  21542. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21543. end;
  21544. procedure TPMP_PMAEN.setPTEN15; inline;
  21545. begin
  21546. pTDefRegMap(@Self)^.&set := $00008000;
  21547. end;
  21548. procedure TPMP_PMAEN.clearPTEN15; inline;
  21549. begin
  21550. pTDefRegMap(@Self)^.clr := $00008000;
  21551. end;
  21552. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  21553. begin
  21554. if thebits = 0 then
  21555. pTDefRegMap(@Self)^.clr := $00008000
  21556. else
  21557. pTDefRegMap(@Self)^.&set := $00008000;
  21558. end;
  21559. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  21560. begin
  21561. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21562. end;
  21563. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  21564. begin
  21565. pTDefRegMap(@Self)^.val := thebits;
  21566. end;
  21567. function TPMP_PMAEN.getw : TBits_32; inline;
  21568. begin
  21569. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21570. end;
  21571. procedure TPMP_PMSTAT.setOB0E; inline;
  21572. begin
  21573. pTDefRegMap(@Self)^.&set := $00000001;
  21574. end;
  21575. procedure TPMP_PMSTAT.clearOB0E; inline;
  21576. begin
  21577. pTDefRegMap(@Self)^.clr := $00000001;
  21578. end;
  21579. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  21580. begin
  21581. if thebits = 0 then
  21582. pTDefRegMap(@Self)^.clr := $00000001
  21583. else
  21584. pTDefRegMap(@Self)^.&set := $00000001;
  21585. end;
  21586. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  21587. begin
  21588. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21589. end;
  21590. procedure TPMP_PMSTAT.setOB1E; inline;
  21591. begin
  21592. pTDefRegMap(@Self)^.&set := $00000002;
  21593. end;
  21594. procedure TPMP_PMSTAT.clearOB1E; inline;
  21595. begin
  21596. pTDefRegMap(@Self)^.clr := $00000002;
  21597. end;
  21598. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  21599. begin
  21600. if thebits = 0 then
  21601. pTDefRegMap(@Self)^.clr := $00000002
  21602. else
  21603. pTDefRegMap(@Self)^.&set := $00000002;
  21604. end;
  21605. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  21606. begin
  21607. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21608. end;
  21609. procedure TPMP_PMSTAT.setOB2E; inline;
  21610. begin
  21611. pTDefRegMap(@Self)^.&set := $00000004;
  21612. end;
  21613. procedure TPMP_PMSTAT.clearOB2E; inline;
  21614. begin
  21615. pTDefRegMap(@Self)^.clr := $00000004;
  21616. end;
  21617. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  21618. begin
  21619. if thebits = 0 then
  21620. pTDefRegMap(@Self)^.clr := $00000004
  21621. else
  21622. pTDefRegMap(@Self)^.&set := $00000004;
  21623. end;
  21624. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  21625. begin
  21626. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21627. end;
  21628. procedure TPMP_PMSTAT.setOB3E; inline;
  21629. begin
  21630. pTDefRegMap(@Self)^.&set := $00000008;
  21631. end;
  21632. procedure TPMP_PMSTAT.clearOB3E; inline;
  21633. begin
  21634. pTDefRegMap(@Self)^.clr := $00000008;
  21635. end;
  21636. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  21637. begin
  21638. if thebits = 0 then
  21639. pTDefRegMap(@Self)^.clr := $00000008
  21640. else
  21641. pTDefRegMap(@Self)^.&set := $00000008;
  21642. end;
  21643. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  21644. begin
  21645. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21646. end;
  21647. procedure TPMP_PMSTAT.setOBUF; inline;
  21648. begin
  21649. pTDefRegMap(@Self)^.&set := $00000040;
  21650. end;
  21651. procedure TPMP_PMSTAT.clearOBUF; inline;
  21652. begin
  21653. pTDefRegMap(@Self)^.clr := $00000040;
  21654. end;
  21655. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  21656. begin
  21657. if thebits = 0 then
  21658. pTDefRegMap(@Self)^.clr := $00000040
  21659. else
  21660. pTDefRegMap(@Self)^.&set := $00000040;
  21661. end;
  21662. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  21663. begin
  21664. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21665. end;
  21666. procedure TPMP_PMSTAT.setOBE; inline;
  21667. begin
  21668. pTDefRegMap(@Self)^.&set := $00000080;
  21669. end;
  21670. procedure TPMP_PMSTAT.clearOBE; inline;
  21671. begin
  21672. pTDefRegMap(@Self)^.clr := $00000080;
  21673. end;
  21674. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  21675. begin
  21676. if thebits = 0 then
  21677. pTDefRegMap(@Self)^.clr := $00000080
  21678. else
  21679. pTDefRegMap(@Self)^.&set := $00000080;
  21680. end;
  21681. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  21682. begin
  21683. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21684. end;
  21685. procedure TPMP_PMSTAT.setIB0F; inline;
  21686. begin
  21687. pTDefRegMap(@Self)^.&set := $00000100;
  21688. end;
  21689. procedure TPMP_PMSTAT.clearIB0F; inline;
  21690. begin
  21691. pTDefRegMap(@Self)^.clr := $00000100;
  21692. end;
  21693. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  21694. begin
  21695. if thebits = 0 then
  21696. pTDefRegMap(@Self)^.clr := $00000100
  21697. else
  21698. pTDefRegMap(@Self)^.&set := $00000100;
  21699. end;
  21700. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  21701. begin
  21702. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21703. end;
  21704. procedure TPMP_PMSTAT.setIB1F; inline;
  21705. begin
  21706. pTDefRegMap(@Self)^.&set := $00000200;
  21707. end;
  21708. procedure TPMP_PMSTAT.clearIB1F; inline;
  21709. begin
  21710. pTDefRegMap(@Self)^.clr := $00000200;
  21711. end;
  21712. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  21713. begin
  21714. if thebits = 0 then
  21715. pTDefRegMap(@Self)^.clr := $00000200
  21716. else
  21717. pTDefRegMap(@Self)^.&set := $00000200;
  21718. end;
  21719. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  21720. begin
  21721. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21722. end;
  21723. procedure TPMP_PMSTAT.setIB2F; inline;
  21724. begin
  21725. pTDefRegMap(@Self)^.&set := $00000400;
  21726. end;
  21727. procedure TPMP_PMSTAT.clearIB2F; inline;
  21728. begin
  21729. pTDefRegMap(@Self)^.clr := $00000400;
  21730. end;
  21731. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  21732. begin
  21733. if thebits = 0 then
  21734. pTDefRegMap(@Self)^.clr := $00000400
  21735. else
  21736. pTDefRegMap(@Self)^.&set := $00000400;
  21737. end;
  21738. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  21739. begin
  21740. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21741. end;
  21742. procedure TPMP_PMSTAT.setIB3F; inline;
  21743. begin
  21744. pTDefRegMap(@Self)^.&set := $00000800;
  21745. end;
  21746. procedure TPMP_PMSTAT.clearIB3F; inline;
  21747. begin
  21748. pTDefRegMap(@Self)^.clr := $00000800;
  21749. end;
  21750. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  21751. begin
  21752. if thebits = 0 then
  21753. pTDefRegMap(@Self)^.clr := $00000800
  21754. else
  21755. pTDefRegMap(@Self)^.&set := $00000800;
  21756. end;
  21757. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  21758. begin
  21759. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21760. end;
  21761. procedure TPMP_PMSTAT.setIBOV; inline;
  21762. begin
  21763. pTDefRegMap(@Self)^.&set := $00004000;
  21764. end;
  21765. procedure TPMP_PMSTAT.clearIBOV; inline;
  21766. begin
  21767. pTDefRegMap(@Self)^.clr := $00004000;
  21768. end;
  21769. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  21770. begin
  21771. if thebits = 0 then
  21772. pTDefRegMap(@Self)^.clr := $00004000
  21773. else
  21774. pTDefRegMap(@Self)^.&set := $00004000;
  21775. end;
  21776. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  21777. begin
  21778. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21779. end;
  21780. procedure TPMP_PMSTAT.setIBF; inline;
  21781. begin
  21782. pTDefRegMap(@Self)^.&set := $00008000;
  21783. end;
  21784. procedure TPMP_PMSTAT.clearIBF; inline;
  21785. begin
  21786. pTDefRegMap(@Self)^.clr := $00008000;
  21787. end;
  21788. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  21789. begin
  21790. if thebits = 0 then
  21791. pTDefRegMap(@Self)^.clr := $00008000
  21792. else
  21793. pTDefRegMap(@Self)^.&set := $00008000;
  21794. end;
  21795. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  21796. begin
  21797. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21798. end;
  21799. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  21800. begin
  21801. pTDefRegMap(@Self)^.val := thebits;
  21802. end;
  21803. function TPMP_PMSTAT.getw : TBits_32; inline;
  21804. begin
  21805. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21806. end;
  21807. procedure TADC10_AD1CON1.setDONE; inline;
  21808. begin
  21809. pTDefRegMap(@Self)^.&set := $00000001;
  21810. end;
  21811. procedure TADC10_AD1CON1.clearDONE; inline;
  21812. begin
  21813. pTDefRegMap(@Self)^.clr := $00000001;
  21814. end;
  21815. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  21816. begin
  21817. if thebits = 0 then
  21818. pTDefRegMap(@Self)^.clr := $00000001
  21819. else
  21820. pTDefRegMap(@Self)^.&set := $00000001;
  21821. end;
  21822. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  21823. begin
  21824. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21825. end;
  21826. procedure TADC10_AD1CON1.setSAMP; inline;
  21827. begin
  21828. pTDefRegMap(@Self)^.&set := $00000002;
  21829. end;
  21830. procedure TADC10_AD1CON1.clearSAMP; inline;
  21831. begin
  21832. pTDefRegMap(@Self)^.clr := $00000002;
  21833. end;
  21834. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  21835. begin
  21836. if thebits = 0 then
  21837. pTDefRegMap(@Self)^.clr := $00000002
  21838. else
  21839. pTDefRegMap(@Self)^.&set := $00000002;
  21840. end;
  21841. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  21842. begin
  21843. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21844. end;
  21845. procedure TADC10_AD1CON1.setASAM; inline;
  21846. begin
  21847. pTDefRegMap(@Self)^.&set := $00000004;
  21848. end;
  21849. procedure TADC10_AD1CON1.clearASAM; inline;
  21850. begin
  21851. pTDefRegMap(@Self)^.clr := $00000004;
  21852. end;
  21853. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  21854. begin
  21855. if thebits = 0 then
  21856. pTDefRegMap(@Self)^.clr := $00000004
  21857. else
  21858. pTDefRegMap(@Self)^.&set := $00000004;
  21859. end;
  21860. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  21861. begin
  21862. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21863. end;
  21864. procedure TADC10_AD1CON1.setCLRASAM; inline;
  21865. begin
  21866. pTDefRegMap(@Self)^.&set := $00000010;
  21867. end;
  21868. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  21869. begin
  21870. pTDefRegMap(@Self)^.clr := $00000010;
  21871. end;
  21872. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  21873. begin
  21874. if thebits = 0 then
  21875. pTDefRegMap(@Self)^.clr := $00000010
  21876. else
  21877. pTDefRegMap(@Self)^.&set := $00000010;
  21878. end;
  21879. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  21880. begin
  21881. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21882. end;
  21883. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  21884. begin
  21885. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  21886. end;
  21887. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  21888. begin
  21889. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  21890. end;
  21891. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  21892. begin
  21893. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  21894. end;
  21895. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  21896. begin
  21897. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  21898. end;
  21899. procedure TADC10_AD1CON1.setSIDL; inline;
  21900. begin
  21901. pTDefRegMap(@Self)^.&set := $00002000;
  21902. end;
  21903. procedure TADC10_AD1CON1.clearSIDL; inline;
  21904. begin
  21905. pTDefRegMap(@Self)^.clr := $00002000;
  21906. end;
  21907. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  21908. begin
  21909. if thebits = 0 then
  21910. pTDefRegMap(@Self)^.clr := $00002000
  21911. else
  21912. pTDefRegMap(@Self)^.&set := $00002000;
  21913. end;
  21914. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  21915. begin
  21916. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21917. end;
  21918. procedure TADC10_AD1CON1.setON; inline;
  21919. begin
  21920. pTDefRegMap(@Self)^.&set := $00008000;
  21921. end;
  21922. procedure TADC10_AD1CON1.clearON; inline;
  21923. begin
  21924. pTDefRegMap(@Self)^.clr := $00008000;
  21925. end;
  21926. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  21927. begin
  21928. if thebits = 0 then
  21929. pTDefRegMap(@Self)^.clr := $00008000
  21930. else
  21931. pTDefRegMap(@Self)^.&set := $00008000;
  21932. end;
  21933. function TADC10_AD1CON1.getON : TBits_1; inline;
  21934. begin
  21935. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21936. end;
  21937. procedure TADC10_AD1CON1.setSSRC0; inline;
  21938. begin
  21939. pTDefRegMap(@Self)^.&set := $00000020;
  21940. end;
  21941. procedure TADC10_AD1CON1.clearSSRC0; inline;
  21942. begin
  21943. pTDefRegMap(@Self)^.clr := $00000020;
  21944. end;
  21945. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  21946. begin
  21947. if thebits = 0 then
  21948. pTDefRegMap(@Self)^.clr := $00000020
  21949. else
  21950. pTDefRegMap(@Self)^.&set := $00000020;
  21951. end;
  21952. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  21953. begin
  21954. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21955. end;
  21956. procedure TADC10_AD1CON1.setSSRC1; inline;
  21957. begin
  21958. pTDefRegMap(@Self)^.&set := $00000040;
  21959. end;
  21960. procedure TADC10_AD1CON1.clearSSRC1; inline;
  21961. begin
  21962. pTDefRegMap(@Self)^.clr := $00000040;
  21963. end;
  21964. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  21965. begin
  21966. if thebits = 0 then
  21967. pTDefRegMap(@Self)^.clr := $00000040
  21968. else
  21969. pTDefRegMap(@Self)^.&set := $00000040;
  21970. end;
  21971. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  21972. begin
  21973. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21974. end;
  21975. procedure TADC10_AD1CON1.setSSRC2; inline;
  21976. begin
  21977. pTDefRegMap(@Self)^.&set := $00000080;
  21978. end;
  21979. procedure TADC10_AD1CON1.clearSSRC2; inline;
  21980. begin
  21981. pTDefRegMap(@Self)^.clr := $00000080;
  21982. end;
  21983. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  21984. begin
  21985. if thebits = 0 then
  21986. pTDefRegMap(@Self)^.clr := $00000080
  21987. else
  21988. pTDefRegMap(@Self)^.&set := $00000080;
  21989. end;
  21990. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  21991. begin
  21992. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21993. end;
  21994. procedure TADC10_AD1CON1.setFORM0; inline;
  21995. begin
  21996. pTDefRegMap(@Self)^.&set := $00000100;
  21997. end;
  21998. procedure TADC10_AD1CON1.clearFORM0; inline;
  21999. begin
  22000. pTDefRegMap(@Self)^.clr := $00000100;
  22001. end;
  22002. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  22003. begin
  22004. if thebits = 0 then
  22005. pTDefRegMap(@Self)^.clr := $00000100
  22006. else
  22007. pTDefRegMap(@Self)^.&set := $00000100;
  22008. end;
  22009. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  22010. begin
  22011. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22012. end;
  22013. procedure TADC10_AD1CON1.setFORM1; inline;
  22014. begin
  22015. pTDefRegMap(@Self)^.&set := $00000200;
  22016. end;
  22017. procedure TADC10_AD1CON1.clearFORM1; inline;
  22018. begin
  22019. pTDefRegMap(@Self)^.clr := $00000200;
  22020. end;
  22021. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  22022. begin
  22023. if thebits = 0 then
  22024. pTDefRegMap(@Self)^.clr := $00000200
  22025. else
  22026. pTDefRegMap(@Self)^.&set := $00000200;
  22027. end;
  22028. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  22029. begin
  22030. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22031. end;
  22032. procedure TADC10_AD1CON1.setFORM2; inline;
  22033. begin
  22034. pTDefRegMap(@Self)^.&set := $00000400;
  22035. end;
  22036. procedure TADC10_AD1CON1.clearFORM2; inline;
  22037. begin
  22038. pTDefRegMap(@Self)^.clr := $00000400;
  22039. end;
  22040. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  22041. begin
  22042. if thebits = 0 then
  22043. pTDefRegMap(@Self)^.clr := $00000400
  22044. else
  22045. pTDefRegMap(@Self)^.&set := $00000400;
  22046. end;
  22047. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  22048. begin
  22049. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22050. end;
  22051. procedure TADC10_AD1CON1.setADSIDL; inline;
  22052. begin
  22053. pTDefRegMap(@Self)^.&set := $00002000;
  22054. end;
  22055. procedure TADC10_AD1CON1.clearADSIDL; inline;
  22056. begin
  22057. pTDefRegMap(@Self)^.clr := $00002000;
  22058. end;
  22059. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  22060. begin
  22061. if thebits = 0 then
  22062. pTDefRegMap(@Self)^.clr := $00002000
  22063. else
  22064. pTDefRegMap(@Self)^.&set := $00002000;
  22065. end;
  22066. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  22067. begin
  22068. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22069. end;
  22070. procedure TADC10_AD1CON1.setADON; inline;
  22071. begin
  22072. pTDefRegMap(@Self)^.&set := $00008000;
  22073. end;
  22074. procedure TADC10_AD1CON1.clearADON; inline;
  22075. begin
  22076. pTDefRegMap(@Self)^.clr := $00008000;
  22077. end;
  22078. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  22079. begin
  22080. if thebits = 0 then
  22081. pTDefRegMap(@Self)^.clr := $00008000
  22082. else
  22083. pTDefRegMap(@Self)^.&set := $00008000;
  22084. end;
  22085. function TADC10_AD1CON1.getADON : TBits_1; inline;
  22086. begin
  22087. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22088. end;
  22089. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  22090. begin
  22091. pTDefRegMap(@Self)^.val := thebits;
  22092. end;
  22093. function TADC10_AD1CON1.getw : TBits_32; inline;
  22094. begin
  22095. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22096. end;
  22097. procedure TADC10_AD1CON2.setALTS; inline;
  22098. begin
  22099. pTDefRegMap(@Self)^.&set := $00000001;
  22100. end;
  22101. procedure TADC10_AD1CON2.clearALTS; inline;
  22102. begin
  22103. pTDefRegMap(@Self)^.clr := $00000001;
  22104. end;
  22105. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  22106. begin
  22107. if thebits = 0 then
  22108. pTDefRegMap(@Self)^.clr := $00000001
  22109. else
  22110. pTDefRegMap(@Self)^.&set := $00000001;
  22111. end;
  22112. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  22113. begin
  22114. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22115. end;
  22116. procedure TADC10_AD1CON2.setBUFM; inline;
  22117. begin
  22118. pTDefRegMap(@Self)^.&set := $00000002;
  22119. end;
  22120. procedure TADC10_AD1CON2.clearBUFM; inline;
  22121. begin
  22122. pTDefRegMap(@Self)^.clr := $00000002;
  22123. end;
  22124. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  22125. begin
  22126. if thebits = 0 then
  22127. pTDefRegMap(@Self)^.clr := $00000002
  22128. else
  22129. pTDefRegMap(@Self)^.&set := $00000002;
  22130. end;
  22131. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  22132. begin
  22133. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22134. end;
  22135. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  22136. begin
  22137. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  22138. end;
  22139. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  22140. begin
  22141. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  22142. end;
  22143. procedure TADC10_AD1CON2.setBUFS; inline;
  22144. begin
  22145. pTDefRegMap(@Self)^.&set := $00000080;
  22146. end;
  22147. procedure TADC10_AD1CON2.clearBUFS; inline;
  22148. begin
  22149. pTDefRegMap(@Self)^.clr := $00000080;
  22150. end;
  22151. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  22152. begin
  22153. if thebits = 0 then
  22154. pTDefRegMap(@Self)^.clr := $00000080
  22155. else
  22156. pTDefRegMap(@Self)^.&set := $00000080;
  22157. end;
  22158. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  22159. begin
  22160. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22161. end;
  22162. procedure TADC10_AD1CON2.setCSCNA; inline;
  22163. begin
  22164. pTDefRegMap(@Self)^.&set := $00000400;
  22165. end;
  22166. procedure TADC10_AD1CON2.clearCSCNA; inline;
  22167. begin
  22168. pTDefRegMap(@Self)^.clr := $00000400;
  22169. end;
  22170. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  22171. begin
  22172. if thebits = 0 then
  22173. pTDefRegMap(@Self)^.clr := $00000400
  22174. else
  22175. pTDefRegMap(@Self)^.&set := $00000400;
  22176. end;
  22177. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  22178. begin
  22179. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22180. end;
  22181. procedure TADC10_AD1CON2.setOFFCAL; inline;
  22182. begin
  22183. pTDefRegMap(@Self)^.&set := $00001000;
  22184. end;
  22185. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  22186. begin
  22187. pTDefRegMap(@Self)^.clr := $00001000;
  22188. end;
  22189. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  22190. begin
  22191. if thebits = 0 then
  22192. pTDefRegMap(@Self)^.clr := $00001000
  22193. else
  22194. pTDefRegMap(@Self)^.&set := $00001000;
  22195. end;
  22196. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  22197. begin
  22198. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22199. end;
  22200. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  22201. begin
  22202. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  22203. end;
  22204. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  22205. begin
  22206. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  22207. end;
  22208. procedure TADC10_AD1CON2.setSMPI0; inline;
  22209. begin
  22210. pTDefRegMap(@Self)^.&set := $00000004;
  22211. end;
  22212. procedure TADC10_AD1CON2.clearSMPI0; inline;
  22213. begin
  22214. pTDefRegMap(@Self)^.clr := $00000004;
  22215. end;
  22216. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  22217. begin
  22218. if thebits = 0 then
  22219. pTDefRegMap(@Self)^.clr := $00000004
  22220. else
  22221. pTDefRegMap(@Self)^.&set := $00000004;
  22222. end;
  22223. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  22224. begin
  22225. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22226. end;
  22227. procedure TADC10_AD1CON2.setSMPI1; inline;
  22228. begin
  22229. pTDefRegMap(@Self)^.&set := $00000008;
  22230. end;
  22231. procedure TADC10_AD1CON2.clearSMPI1; inline;
  22232. begin
  22233. pTDefRegMap(@Self)^.clr := $00000008;
  22234. end;
  22235. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  22236. begin
  22237. if thebits = 0 then
  22238. pTDefRegMap(@Self)^.clr := $00000008
  22239. else
  22240. pTDefRegMap(@Self)^.&set := $00000008;
  22241. end;
  22242. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  22243. begin
  22244. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22245. end;
  22246. procedure TADC10_AD1CON2.setSMPI2; inline;
  22247. begin
  22248. pTDefRegMap(@Self)^.&set := $00000010;
  22249. end;
  22250. procedure TADC10_AD1CON2.clearSMPI2; inline;
  22251. begin
  22252. pTDefRegMap(@Self)^.clr := $00000010;
  22253. end;
  22254. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  22255. begin
  22256. if thebits = 0 then
  22257. pTDefRegMap(@Self)^.clr := $00000010
  22258. else
  22259. pTDefRegMap(@Self)^.&set := $00000010;
  22260. end;
  22261. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  22262. begin
  22263. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22264. end;
  22265. procedure TADC10_AD1CON2.setSMPI3; inline;
  22266. begin
  22267. pTDefRegMap(@Self)^.&set := $00000020;
  22268. end;
  22269. procedure TADC10_AD1CON2.clearSMPI3; inline;
  22270. begin
  22271. pTDefRegMap(@Self)^.clr := $00000020;
  22272. end;
  22273. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  22274. begin
  22275. if thebits = 0 then
  22276. pTDefRegMap(@Self)^.clr := $00000020
  22277. else
  22278. pTDefRegMap(@Self)^.&set := $00000020;
  22279. end;
  22280. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  22281. begin
  22282. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22283. end;
  22284. procedure TADC10_AD1CON2.setVCFG0; inline;
  22285. begin
  22286. pTDefRegMap(@Self)^.&set := $00002000;
  22287. end;
  22288. procedure TADC10_AD1CON2.clearVCFG0; inline;
  22289. begin
  22290. pTDefRegMap(@Self)^.clr := $00002000;
  22291. end;
  22292. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  22293. begin
  22294. if thebits = 0 then
  22295. pTDefRegMap(@Self)^.clr := $00002000
  22296. else
  22297. pTDefRegMap(@Self)^.&set := $00002000;
  22298. end;
  22299. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  22300. begin
  22301. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22302. end;
  22303. procedure TADC10_AD1CON2.setVCFG1; inline;
  22304. begin
  22305. pTDefRegMap(@Self)^.&set := $00004000;
  22306. end;
  22307. procedure TADC10_AD1CON2.clearVCFG1; inline;
  22308. begin
  22309. pTDefRegMap(@Self)^.clr := $00004000;
  22310. end;
  22311. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  22312. begin
  22313. if thebits = 0 then
  22314. pTDefRegMap(@Self)^.clr := $00004000
  22315. else
  22316. pTDefRegMap(@Self)^.&set := $00004000;
  22317. end;
  22318. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  22319. begin
  22320. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22321. end;
  22322. procedure TADC10_AD1CON2.setVCFG2; inline;
  22323. begin
  22324. pTDefRegMap(@Self)^.&set := $00008000;
  22325. end;
  22326. procedure TADC10_AD1CON2.clearVCFG2; inline;
  22327. begin
  22328. pTDefRegMap(@Self)^.clr := $00008000;
  22329. end;
  22330. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  22331. begin
  22332. if thebits = 0 then
  22333. pTDefRegMap(@Self)^.clr := $00008000
  22334. else
  22335. pTDefRegMap(@Self)^.&set := $00008000;
  22336. end;
  22337. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  22338. begin
  22339. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22340. end;
  22341. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  22342. begin
  22343. pTDefRegMap(@Self)^.val := thebits;
  22344. end;
  22345. function TADC10_AD1CON2.getw : TBits_32; inline;
  22346. begin
  22347. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22348. end;
  22349. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  22350. begin
  22351. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  22352. end;
  22353. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  22354. begin
  22355. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  22356. end;
  22357. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  22358. begin
  22359. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  22360. end;
  22361. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  22362. begin
  22363. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  22364. end;
  22365. procedure TADC10_AD1CON3.setADRC; inline;
  22366. begin
  22367. pTDefRegMap(@Self)^.&set := $00008000;
  22368. end;
  22369. procedure TADC10_AD1CON3.clearADRC; inline;
  22370. begin
  22371. pTDefRegMap(@Self)^.clr := $00008000;
  22372. end;
  22373. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  22374. begin
  22375. if thebits = 0 then
  22376. pTDefRegMap(@Self)^.clr := $00008000
  22377. else
  22378. pTDefRegMap(@Self)^.&set := $00008000;
  22379. end;
  22380. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  22381. begin
  22382. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22383. end;
  22384. procedure TADC10_AD1CON3.setADCS0; inline;
  22385. begin
  22386. pTDefRegMap(@Self)^.&set := $00000001;
  22387. end;
  22388. procedure TADC10_AD1CON3.clearADCS0; inline;
  22389. begin
  22390. pTDefRegMap(@Self)^.clr := $00000001;
  22391. end;
  22392. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  22393. begin
  22394. if thebits = 0 then
  22395. pTDefRegMap(@Self)^.clr := $00000001
  22396. else
  22397. pTDefRegMap(@Self)^.&set := $00000001;
  22398. end;
  22399. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  22400. begin
  22401. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22402. end;
  22403. procedure TADC10_AD1CON3.setADCS1; inline;
  22404. begin
  22405. pTDefRegMap(@Self)^.&set := $00000002;
  22406. end;
  22407. procedure TADC10_AD1CON3.clearADCS1; inline;
  22408. begin
  22409. pTDefRegMap(@Self)^.clr := $00000002;
  22410. end;
  22411. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  22412. begin
  22413. if thebits = 0 then
  22414. pTDefRegMap(@Self)^.clr := $00000002
  22415. else
  22416. pTDefRegMap(@Self)^.&set := $00000002;
  22417. end;
  22418. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  22419. begin
  22420. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22421. end;
  22422. procedure TADC10_AD1CON3.setADCS2; inline;
  22423. begin
  22424. pTDefRegMap(@Self)^.&set := $00000004;
  22425. end;
  22426. procedure TADC10_AD1CON3.clearADCS2; inline;
  22427. begin
  22428. pTDefRegMap(@Self)^.clr := $00000004;
  22429. end;
  22430. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  22431. begin
  22432. if thebits = 0 then
  22433. pTDefRegMap(@Self)^.clr := $00000004
  22434. else
  22435. pTDefRegMap(@Self)^.&set := $00000004;
  22436. end;
  22437. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  22438. begin
  22439. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22440. end;
  22441. procedure TADC10_AD1CON3.setADCS3; inline;
  22442. begin
  22443. pTDefRegMap(@Self)^.&set := $00000008;
  22444. end;
  22445. procedure TADC10_AD1CON3.clearADCS3; inline;
  22446. begin
  22447. pTDefRegMap(@Self)^.clr := $00000008;
  22448. end;
  22449. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  22450. begin
  22451. if thebits = 0 then
  22452. pTDefRegMap(@Self)^.clr := $00000008
  22453. else
  22454. pTDefRegMap(@Self)^.&set := $00000008;
  22455. end;
  22456. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  22457. begin
  22458. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22459. end;
  22460. procedure TADC10_AD1CON3.setADCS4; inline;
  22461. begin
  22462. pTDefRegMap(@Self)^.&set := $00000010;
  22463. end;
  22464. procedure TADC10_AD1CON3.clearADCS4; inline;
  22465. begin
  22466. pTDefRegMap(@Self)^.clr := $00000010;
  22467. end;
  22468. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  22469. begin
  22470. if thebits = 0 then
  22471. pTDefRegMap(@Self)^.clr := $00000010
  22472. else
  22473. pTDefRegMap(@Self)^.&set := $00000010;
  22474. end;
  22475. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  22476. begin
  22477. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22478. end;
  22479. procedure TADC10_AD1CON3.setADCS5; inline;
  22480. begin
  22481. pTDefRegMap(@Self)^.&set := $00000020;
  22482. end;
  22483. procedure TADC10_AD1CON3.clearADCS5; inline;
  22484. begin
  22485. pTDefRegMap(@Self)^.clr := $00000020;
  22486. end;
  22487. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  22488. begin
  22489. if thebits = 0 then
  22490. pTDefRegMap(@Self)^.clr := $00000020
  22491. else
  22492. pTDefRegMap(@Self)^.&set := $00000020;
  22493. end;
  22494. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  22495. begin
  22496. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22497. end;
  22498. procedure TADC10_AD1CON3.setADCS6; inline;
  22499. begin
  22500. pTDefRegMap(@Self)^.&set := $00000040;
  22501. end;
  22502. procedure TADC10_AD1CON3.clearADCS6; inline;
  22503. begin
  22504. pTDefRegMap(@Self)^.clr := $00000040;
  22505. end;
  22506. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  22507. begin
  22508. if thebits = 0 then
  22509. pTDefRegMap(@Self)^.clr := $00000040
  22510. else
  22511. pTDefRegMap(@Self)^.&set := $00000040;
  22512. end;
  22513. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  22514. begin
  22515. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22516. end;
  22517. procedure TADC10_AD1CON3.setADCS7; inline;
  22518. begin
  22519. pTDefRegMap(@Self)^.&set := $00000080;
  22520. end;
  22521. procedure TADC10_AD1CON3.clearADCS7; inline;
  22522. begin
  22523. pTDefRegMap(@Self)^.clr := $00000080;
  22524. end;
  22525. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  22526. begin
  22527. if thebits = 0 then
  22528. pTDefRegMap(@Self)^.clr := $00000080
  22529. else
  22530. pTDefRegMap(@Self)^.&set := $00000080;
  22531. end;
  22532. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  22533. begin
  22534. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22535. end;
  22536. procedure TADC10_AD1CON3.setSAMC0; inline;
  22537. begin
  22538. pTDefRegMap(@Self)^.&set := $00000100;
  22539. end;
  22540. procedure TADC10_AD1CON3.clearSAMC0; inline;
  22541. begin
  22542. pTDefRegMap(@Self)^.clr := $00000100;
  22543. end;
  22544. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  22545. begin
  22546. if thebits = 0 then
  22547. pTDefRegMap(@Self)^.clr := $00000100
  22548. else
  22549. pTDefRegMap(@Self)^.&set := $00000100;
  22550. end;
  22551. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  22552. begin
  22553. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22554. end;
  22555. procedure TADC10_AD1CON3.setSAMC1; inline;
  22556. begin
  22557. pTDefRegMap(@Self)^.&set := $00000200;
  22558. end;
  22559. procedure TADC10_AD1CON3.clearSAMC1; inline;
  22560. begin
  22561. pTDefRegMap(@Self)^.clr := $00000200;
  22562. end;
  22563. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  22564. begin
  22565. if thebits = 0 then
  22566. pTDefRegMap(@Self)^.clr := $00000200
  22567. else
  22568. pTDefRegMap(@Self)^.&set := $00000200;
  22569. end;
  22570. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  22571. begin
  22572. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22573. end;
  22574. procedure TADC10_AD1CON3.setSAMC2; inline;
  22575. begin
  22576. pTDefRegMap(@Self)^.&set := $00000400;
  22577. end;
  22578. procedure TADC10_AD1CON3.clearSAMC2; inline;
  22579. begin
  22580. pTDefRegMap(@Self)^.clr := $00000400;
  22581. end;
  22582. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  22583. begin
  22584. if thebits = 0 then
  22585. pTDefRegMap(@Self)^.clr := $00000400
  22586. else
  22587. pTDefRegMap(@Self)^.&set := $00000400;
  22588. end;
  22589. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  22590. begin
  22591. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22592. end;
  22593. procedure TADC10_AD1CON3.setSAMC3; inline;
  22594. begin
  22595. pTDefRegMap(@Self)^.&set := $00000800;
  22596. end;
  22597. procedure TADC10_AD1CON3.clearSAMC3; inline;
  22598. begin
  22599. pTDefRegMap(@Self)^.clr := $00000800;
  22600. end;
  22601. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  22602. begin
  22603. if thebits = 0 then
  22604. pTDefRegMap(@Self)^.clr := $00000800
  22605. else
  22606. pTDefRegMap(@Self)^.&set := $00000800;
  22607. end;
  22608. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  22609. begin
  22610. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22611. end;
  22612. procedure TADC10_AD1CON3.setSAMC4; inline;
  22613. begin
  22614. pTDefRegMap(@Self)^.&set := $00001000;
  22615. end;
  22616. procedure TADC10_AD1CON3.clearSAMC4; inline;
  22617. begin
  22618. pTDefRegMap(@Self)^.clr := $00001000;
  22619. end;
  22620. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  22621. begin
  22622. if thebits = 0 then
  22623. pTDefRegMap(@Self)^.clr := $00001000
  22624. else
  22625. pTDefRegMap(@Self)^.&set := $00001000;
  22626. end;
  22627. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  22628. begin
  22629. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22630. end;
  22631. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  22632. begin
  22633. pTDefRegMap(@Self)^.val := thebits;
  22634. end;
  22635. function TADC10_AD1CON3.getw : TBits_32; inline;
  22636. begin
  22637. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22638. end;
  22639. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  22640. begin
  22641. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  22642. end;
  22643. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  22644. begin
  22645. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  22646. end;
  22647. procedure TADC10_AD1CHS.setCH0NA; inline;
  22648. begin
  22649. pTDefRegMap(@Self)^.&set := $00800000;
  22650. end;
  22651. procedure TADC10_AD1CHS.clearCH0NA; inline;
  22652. begin
  22653. pTDefRegMap(@Self)^.clr := $00800000;
  22654. end;
  22655. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  22656. begin
  22657. if thebits = 0 then
  22658. pTDefRegMap(@Self)^.clr := $00800000
  22659. else
  22660. pTDefRegMap(@Self)^.&set := $00800000;
  22661. end;
  22662. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  22663. begin
  22664. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22665. end;
  22666. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  22667. begin
  22668. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  22669. end;
  22670. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  22671. begin
  22672. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  22673. end;
  22674. procedure TADC10_AD1CHS.setCH0NB; inline;
  22675. begin
  22676. pTDefRegMap(@Self)^.&set := $80000000;
  22677. end;
  22678. procedure TADC10_AD1CHS.clearCH0NB; inline;
  22679. begin
  22680. pTDefRegMap(@Self)^.clr := $80000000;
  22681. end;
  22682. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  22683. begin
  22684. if thebits = 0 then
  22685. pTDefRegMap(@Self)^.clr := $80000000
  22686. else
  22687. pTDefRegMap(@Self)^.&set := $80000000;
  22688. end;
  22689. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  22690. begin
  22691. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  22692. end;
  22693. procedure TADC10_AD1CHS.setCH0SA0; inline;
  22694. begin
  22695. pTDefRegMap(@Self)^.&set := $00010000;
  22696. end;
  22697. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  22698. begin
  22699. pTDefRegMap(@Self)^.clr := $00010000;
  22700. end;
  22701. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  22702. begin
  22703. if thebits = 0 then
  22704. pTDefRegMap(@Self)^.clr := $00010000
  22705. else
  22706. pTDefRegMap(@Self)^.&set := $00010000;
  22707. end;
  22708. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  22709. begin
  22710. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22711. end;
  22712. procedure TADC10_AD1CHS.setCH0SA1; inline;
  22713. begin
  22714. pTDefRegMap(@Self)^.&set := $00020000;
  22715. end;
  22716. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  22717. begin
  22718. pTDefRegMap(@Self)^.clr := $00020000;
  22719. end;
  22720. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  22721. begin
  22722. if thebits = 0 then
  22723. pTDefRegMap(@Self)^.clr := $00020000
  22724. else
  22725. pTDefRegMap(@Self)^.&set := $00020000;
  22726. end;
  22727. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  22728. begin
  22729. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  22730. end;
  22731. procedure TADC10_AD1CHS.setCH0SA2; inline;
  22732. begin
  22733. pTDefRegMap(@Self)^.&set := $00040000;
  22734. end;
  22735. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  22736. begin
  22737. pTDefRegMap(@Self)^.clr := $00040000;
  22738. end;
  22739. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  22740. begin
  22741. if thebits = 0 then
  22742. pTDefRegMap(@Self)^.clr := $00040000
  22743. else
  22744. pTDefRegMap(@Self)^.&set := $00040000;
  22745. end;
  22746. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  22747. begin
  22748. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  22749. end;
  22750. procedure TADC10_AD1CHS.setCH0SA3; inline;
  22751. begin
  22752. pTDefRegMap(@Self)^.&set := $00080000;
  22753. end;
  22754. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  22755. begin
  22756. pTDefRegMap(@Self)^.clr := $00080000;
  22757. end;
  22758. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  22759. begin
  22760. if thebits = 0 then
  22761. pTDefRegMap(@Self)^.clr := $00080000
  22762. else
  22763. pTDefRegMap(@Self)^.&set := $00080000;
  22764. end;
  22765. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  22766. begin
  22767. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  22768. end;
  22769. procedure TADC10_AD1CHS.setCH0SB0; inline;
  22770. begin
  22771. pTDefRegMap(@Self)^.&set := $01000000;
  22772. end;
  22773. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  22774. begin
  22775. pTDefRegMap(@Self)^.clr := $01000000;
  22776. end;
  22777. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  22778. begin
  22779. if thebits = 0 then
  22780. pTDefRegMap(@Self)^.clr := $01000000
  22781. else
  22782. pTDefRegMap(@Self)^.&set := $01000000;
  22783. end;
  22784. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  22785. begin
  22786. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  22787. end;
  22788. procedure TADC10_AD1CHS.setCH0SB1; inline;
  22789. begin
  22790. pTDefRegMap(@Self)^.&set := $02000000;
  22791. end;
  22792. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  22793. begin
  22794. pTDefRegMap(@Self)^.clr := $02000000;
  22795. end;
  22796. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  22797. begin
  22798. if thebits = 0 then
  22799. pTDefRegMap(@Self)^.clr := $02000000
  22800. else
  22801. pTDefRegMap(@Self)^.&set := $02000000;
  22802. end;
  22803. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  22804. begin
  22805. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  22806. end;
  22807. procedure TADC10_AD1CHS.setCH0SB2; inline;
  22808. begin
  22809. pTDefRegMap(@Self)^.&set := $04000000;
  22810. end;
  22811. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  22812. begin
  22813. pTDefRegMap(@Self)^.clr := $04000000;
  22814. end;
  22815. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  22816. begin
  22817. if thebits = 0 then
  22818. pTDefRegMap(@Self)^.clr := $04000000
  22819. else
  22820. pTDefRegMap(@Self)^.&set := $04000000;
  22821. end;
  22822. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  22823. begin
  22824. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  22825. end;
  22826. procedure TADC10_AD1CHS.setCH0SB3; inline;
  22827. begin
  22828. pTDefRegMap(@Self)^.&set := $08000000;
  22829. end;
  22830. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  22831. begin
  22832. pTDefRegMap(@Self)^.clr := $08000000;
  22833. end;
  22834. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  22835. begin
  22836. if thebits = 0 then
  22837. pTDefRegMap(@Self)^.clr := $08000000
  22838. else
  22839. pTDefRegMap(@Self)^.&set := $08000000;
  22840. end;
  22841. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  22842. begin
  22843. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  22844. end;
  22845. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  22846. begin
  22847. pTDefRegMap(@Self)^.val := thebits;
  22848. end;
  22849. function TADC10_AD1CHS.getw : TBits_32; inline;
  22850. begin
  22851. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22852. end;
  22853. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  22854. begin
  22855. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  22856. end;
  22857. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  22858. begin
  22859. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  22860. end;
  22861. procedure TADC10_AD1CSSL.setCSSL0; inline;
  22862. begin
  22863. pTDefRegMap(@Self)^.&set := $00000001;
  22864. end;
  22865. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  22866. begin
  22867. pTDefRegMap(@Self)^.clr := $00000001;
  22868. end;
  22869. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  22870. begin
  22871. if thebits = 0 then
  22872. pTDefRegMap(@Self)^.clr := $00000001
  22873. else
  22874. pTDefRegMap(@Self)^.&set := $00000001;
  22875. end;
  22876. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  22877. begin
  22878. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22879. end;
  22880. procedure TADC10_AD1CSSL.setCSSL1; inline;
  22881. begin
  22882. pTDefRegMap(@Self)^.&set := $00000002;
  22883. end;
  22884. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  22885. begin
  22886. pTDefRegMap(@Self)^.clr := $00000002;
  22887. end;
  22888. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  22889. begin
  22890. if thebits = 0 then
  22891. pTDefRegMap(@Self)^.clr := $00000002
  22892. else
  22893. pTDefRegMap(@Self)^.&set := $00000002;
  22894. end;
  22895. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  22896. begin
  22897. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22898. end;
  22899. procedure TADC10_AD1CSSL.setCSSL2; inline;
  22900. begin
  22901. pTDefRegMap(@Self)^.&set := $00000004;
  22902. end;
  22903. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  22904. begin
  22905. pTDefRegMap(@Self)^.clr := $00000004;
  22906. end;
  22907. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  22908. begin
  22909. if thebits = 0 then
  22910. pTDefRegMap(@Self)^.clr := $00000004
  22911. else
  22912. pTDefRegMap(@Self)^.&set := $00000004;
  22913. end;
  22914. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  22915. begin
  22916. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22917. end;
  22918. procedure TADC10_AD1CSSL.setCSSL3; inline;
  22919. begin
  22920. pTDefRegMap(@Self)^.&set := $00000008;
  22921. end;
  22922. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  22923. begin
  22924. pTDefRegMap(@Self)^.clr := $00000008;
  22925. end;
  22926. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  22927. begin
  22928. if thebits = 0 then
  22929. pTDefRegMap(@Self)^.clr := $00000008
  22930. else
  22931. pTDefRegMap(@Self)^.&set := $00000008;
  22932. end;
  22933. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  22934. begin
  22935. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22936. end;
  22937. procedure TADC10_AD1CSSL.setCSSL4; inline;
  22938. begin
  22939. pTDefRegMap(@Self)^.&set := $00000010;
  22940. end;
  22941. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  22942. begin
  22943. pTDefRegMap(@Self)^.clr := $00000010;
  22944. end;
  22945. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  22946. begin
  22947. if thebits = 0 then
  22948. pTDefRegMap(@Self)^.clr := $00000010
  22949. else
  22950. pTDefRegMap(@Self)^.&set := $00000010;
  22951. end;
  22952. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  22953. begin
  22954. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22955. end;
  22956. procedure TADC10_AD1CSSL.setCSSL5; inline;
  22957. begin
  22958. pTDefRegMap(@Self)^.&set := $00000020;
  22959. end;
  22960. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  22961. begin
  22962. pTDefRegMap(@Self)^.clr := $00000020;
  22963. end;
  22964. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  22965. begin
  22966. if thebits = 0 then
  22967. pTDefRegMap(@Self)^.clr := $00000020
  22968. else
  22969. pTDefRegMap(@Self)^.&set := $00000020;
  22970. end;
  22971. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  22972. begin
  22973. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22974. end;
  22975. procedure TADC10_AD1CSSL.setCSSL6; inline;
  22976. begin
  22977. pTDefRegMap(@Self)^.&set := $00000040;
  22978. end;
  22979. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  22980. begin
  22981. pTDefRegMap(@Self)^.clr := $00000040;
  22982. end;
  22983. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  22984. begin
  22985. if thebits = 0 then
  22986. pTDefRegMap(@Self)^.clr := $00000040
  22987. else
  22988. pTDefRegMap(@Self)^.&set := $00000040;
  22989. end;
  22990. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  22991. begin
  22992. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22993. end;
  22994. procedure TADC10_AD1CSSL.setCSSL7; inline;
  22995. begin
  22996. pTDefRegMap(@Self)^.&set := $00000080;
  22997. end;
  22998. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  22999. begin
  23000. pTDefRegMap(@Self)^.clr := $00000080;
  23001. end;
  23002. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  23003. begin
  23004. if thebits = 0 then
  23005. pTDefRegMap(@Self)^.clr := $00000080
  23006. else
  23007. pTDefRegMap(@Self)^.&set := $00000080;
  23008. end;
  23009. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  23010. begin
  23011. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23012. end;
  23013. procedure TADC10_AD1CSSL.setCSSL8; inline;
  23014. begin
  23015. pTDefRegMap(@Self)^.&set := $00000100;
  23016. end;
  23017. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  23018. begin
  23019. pTDefRegMap(@Self)^.clr := $00000100;
  23020. end;
  23021. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  23022. begin
  23023. if thebits = 0 then
  23024. pTDefRegMap(@Self)^.clr := $00000100
  23025. else
  23026. pTDefRegMap(@Self)^.&set := $00000100;
  23027. end;
  23028. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  23029. begin
  23030. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23031. end;
  23032. procedure TADC10_AD1CSSL.setCSSL9; inline;
  23033. begin
  23034. pTDefRegMap(@Self)^.&set := $00000200;
  23035. end;
  23036. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  23037. begin
  23038. pTDefRegMap(@Self)^.clr := $00000200;
  23039. end;
  23040. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  23041. begin
  23042. if thebits = 0 then
  23043. pTDefRegMap(@Self)^.clr := $00000200
  23044. else
  23045. pTDefRegMap(@Self)^.&set := $00000200;
  23046. end;
  23047. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  23048. begin
  23049. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23050. end;
  23051. procedure TADC10_AD1CSSL.setCSSL10; inline;
  23052. begin
  23053. pTDefRegMap(@Self)^.&set := $00000400;
  23054. end;
  23055. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  23056. begin
  23057. pTDefRegMap(@Self)^.clr := $00000400;
  23058. end;
  23059. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  23060. begin
  23061. if thebits = 0 then
  23062. pTDefRegMap(@Self)^.clr := $00000400
  23063. else
  23064. pTDefRegMap(@Self)^.&set := $00000400;
  23065. end;
  23066. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  23067. begin
  23068. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23069. end;
  23070. procedure TADC10_AD1CSSL.setCSSL11; inline;
  23071. begin
  23072. pTDefRegMap(@Self)^.&set := $00000800;
  23073. end;
  23074. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  23075. begin
  23076. pTDefRegMap(@Self)^.clr := $00000800;
  23077. end;
  23078. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  23079. begin
  23080. if thebits = 0 then
  23081. pTDefRegMap(@Self)^.clr := $00000800
  23082. else
  23083. pTDefRegMap(@Self)^.&set := $00000800;
  23084. end;
  23085. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  23086. begin
  23087. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23088. end;
  23089. procedure TADC10_AD1CSSL.setCSSL12; inline;
  23090. begin
  23091. pTDefRegMap(@Self)^.&set := $00001000;
  23092. end;
  23093. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  23094. begin
  23095. pTDefRegMap(@Self)^.clr := $00001000;
  23096. end;
  23097. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  23098. begin
  23099. if thebits = 0 then
  23100. pTDefRegMap(@Self)^.clr := $00001000
  23101. else
  23102. pTDefRegMap(@Self)^.&set := $00001000;
  23103. end;
  23104. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  23105. begin
  23106. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23107. end;
  23108. procedure TADC10_AD1CSSL.setCSSL13; inline;
  23109. begin
  23110. pTDefRegMap(@Self)^.&set := $00002000;
  23111. end;
  23112. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  23113. begin
  23114. pTDefRegMap(@Self)^.clr := $00002000;
  23115. end;
  23116. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  23117. begin
  23118. if thebits = 0 then
  23119. pTDefRegMap(@Self)^.clr := $00002000
  23120. else
  23121. pTDefRegMap(@Self)^.&set := $00002000;
  23122. end;
  23123. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  23124. begin
  23125. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23126. end;
  23127. procedure TADC10_AD1CSSL.setCSSL14; inline;
  23128. begin
  23129. pTDefRegMap(@Self)^.&set := $00004000;
  23130. end;
  23131. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  23132. begin
  23133. pTDefRegMap(@Self)^.clr := $00004000;
  23134. end;
  23135. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  23136. begin
  23137. if thebits = 0 then
  23138. pTDefRegMap(@Self)^.clr := $00004000
  23139. else
  23140. pTDefRegMap(@Self)^.&set := $00004000;
  23141. end;
  23142. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  23143. begin
  23144. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23145. end;
  23146. procedure TADC10_AD1CSSL.setCSSL15; inline;
  23147. begin
  23148. pTDefRegMap(@Self)^.&set := $00008000;
  23149. end;
  23150. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  23151. begin
  23152. pTDefRegMap(@Self)^.clr := $00008000;
  23153. end;
  23154. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  23155. begin
  23156. if thebits = 0 then
  23157. pTDefRegMap(@Self)^.clr := $00008000
  23158. else
  23159. pTDefRegMap(@Self)^.&set := $00008000;
  23160. end;
  23161. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  23162. begin
  23163. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23164. end;
  23165. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  23166. begin
  23167. pTDefRegMap(@Self)^.val := thebits;
  23168. end;
  23169. function TADC10_AD1CSSL.getw : TBits_32; inline;
  23170. begin
  23171. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23172. end;
  23173. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  23174. begin
  23175. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23176. end;
  23177. function TCVR_CVRCON.getCVR : TBits_4; inline;
  23178. begin
  23179. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23180. end;
  23181. procedure TCVR_CVRCON.setCVRSS; inline;
  23182. begin
  23183. pTDefRegMap(@Self)^.&set := $00000010;
  23184. end;
  23185. procedure TCVR_CVRCON.clearCVRSS; inline;
  23186. begin
  23187. pTDefRegMap(@Self)^.clr := $00000010;
  23188. end;
  23189. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  23190. begin
  23191. if thebits = 0 then
  23192. pTDefRegMap(@Self)^.clr := $00000010
  23193. else
  23194. pTDefRegMap(@Self)^.&set := $00000010;
  23195. end;
  23196. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  23197. begin
  23198. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23199. end;
  23200. procedure TCVR_CVRCON.setCVRR; inline;
  23201. begin
  23202. pTDefRegMap(@Self)^.&set := $00000020;
  23203. end;
  23204. procedure TCVR_CVRCON.clearCVRR; inline;
  23205. begin
  23206. pTDefRegMap(@Self)^.clr := $00000020;
  23207. end;
  23208. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  23209. begin
  23210. if thebits = 0 then
  23211. pTDefRegMap(@Self)^.clr := $00000020
  23212. else
  23213. pTDefRegMap(@Self)^.&set := $00000020;
  23214. end;
  23215. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  23216. begin
  23217. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23218. end;
  23219. procedure TCVR_CVRCON.setCVROE; inline;
  23220. begin
  23221. pTDefRegMap(@Self)^.&set := $00000040;
  23222. end;
  23223. procedure TCVR_CVRCON.clearCVROE; inline;
  23224. begin
  23225. pTDefRegMap(@Self)^.clr := $00000040;
  23226. end;
  23227. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  23228. begin
  23229. if thebits = 0 then
  23230. pTDefRegMap(@Self)^.clr := $00000040
  23231. else
  23232. pTDefRegMap(@Self)^.&set := $00000040;
  23233. end;
  23234. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  23235. begin
  23236. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23237. end;
  23238. procedure TCVR_CVRCON.setON; inline;
  23239. begin
  23240. pTDefRegMap(@Self)^.&set := $00008000;
  23241. end;
  23242. procedure TCVR_CVRCON.clearON; inline;
  23243. begin
  23244. pTDefRegMap(@Self)^.clr := $00008000;
  23245. end;
  23246. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  23247. begin
  23248. if thebits = 0 then
  23249. pTDefRegMap(@Self)^.clr := $00008000
  23250. else
  23251. pTDefRegMap(@Self)^.&set := $00008000;
  23252. end;
  23253. function TCVR_CVRCON.getON : TBits_1; inline;
  23254. begin
  23255. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23256. end;
  23257. procedure TCVR_CVRCON.setCVR0; inline;
  23258. begin
  23259. pTDefRegMap(@Self)^.&set := $00000001;
  23260. end;
  23261. procedure TCVR_CVRCON.clearCVR0; inline;
  23262. begin
  23263. pTDefRegMap(@Self)^.clr := $00000001;
  23264. end;
  23265. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  23266. begin
  23267. if thebits = 0 then
  23268. pTDefRegMap(@Self)^.clr := $00000001
  23269. else
  23270. pTDefRegMap(@Self)^.&set := $00000001;
  23271. end;
  23272. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  23273. begin
  23274. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23275. end;
  23276. procedure TCVR_CVRCON.setCVR1; inline;
  23277. begin
  23278. pTDefRegMap(@Self)^.&set := $00000002;
  23279. end;
  23280. procedure TCVR_CVRCON.clearCVR1; inline;
  23281. begin
  23282. pTDefRegMap(@Self)^.clr := $00000002;
  23283. end;
  23284. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  23285. begin
  23286. if thebits = 0 then
  23287. pTDefRegMap(@Self)^.clr := $00000002
  23288. else
  23289. pTDefRegMap(@Self)^.&set := $00000002;
  23290. end;
  23291. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  23292. begin
  23293. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23294. end;
  23295. procedure TCVR_CVRCON.setCVR2; inline;
  23296. begin
  23297. pTDefRegMap(@Self)^.&set := $00000004;
  23298. end;
  23299. procedure TCVR_CVRCON.clearCVR2; inline;
  23300. begin
  23301. pTDefRegMap(@Self)^.clr := $00000004;
  23302. end;
  23303. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  23304. begin
  23305. if thebits = 0 then
  23306. pTDefRegMap(@Self)^.clr := $00000004
  23307. else
  23308. pTDefRegMap(@Self)^.&set := $00000004;
  23309. end;
  23310. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  23311. begin
  23312. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23313. end;
  23314. procedure TCVR_CVRCON.setCVR3; inline;
  23315. begin
  23316. pTDefRegMap(@Self)^.&set := $00000008;
  23317. end;
  23318. procedure TCVR_CVRCON.clearCVR3; inline;
  23319. begin
  23320. pTDefRegMap(@Self)^.clr := $00000008;
  23321. end;
  23322. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  23323. begin
  23324. if thebits = 0 then
  23325. pTDefRegMap(@Self)^.clr := $00000008
  23326. else
  23327. pTDefRegMap(@Self)^.&set := $00000008;
  23328. end;
  23329. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  23330. begin
  23331. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23332. end;
  23333. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  23334. begin
  23335. pTDefRegMap(@Self)^.val := thebits;
  23336. end;
  23337. function TCVR_CVRCON.getw : TBits_32; inline;
  23338. begin
  23339. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23340. end;
  23341. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  23342. begin
  23343. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23344. end;
  23345. function TCMP_CM1CON.getCCH : TBits_2; inline;
  23346. begin
  23347. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23348. end;
  23349. procedure TCMP_CM1CON.setCREF; inline;
  23350. begin
  23351. pTDefRegMap(@Self)^.&set := $00000010;
  23352. end;
  23353. procedure TCMP_CM1CON.clearCREF; inline;
  23354. begin
  23355. pTDefRegMap(@Self)^.clr := $00000010;
  23356. end;
  23357. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  23358. begin
  23359. if thebits = 0 then
  23360. pTDefRegMap(@Self)^.clr := $00000010
  23361. else
  23362. pTDefRegMap(@Self)^.&set := $00000010;
  23363. end;
  23364. function TCMP_CM1CON.getCREF : TBits_1; inline;
  23365. begin
  23366. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23367. end;
  23368. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  23369. begin
  23370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23371. end;
  23372. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  23373. begin
  23374. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23375. end;
  23376. procedure TCMP_CM1CON.setCOUT; inline;
  23377. begin
  23378. pTDefRegMap(@Self)^.&set := $00000100;
  23379. end;
  23380. procedure TCMP_CM1CON.clearCOUT; inline;
  23381. begin
  23382. pTDefRegMap(@Self)^.clr := $00000100;
  23383. end;
  23384. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  23385. begin
  23386. if thebits = 0 then
  23387. pTDefRegMap(@Self)^.clr := $00000100
  23388. else
  23389. pTDefRegMap(@Self)^.&set := $00000100;
  23390. end;
  23391. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  23392. begin
  23393. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23394. end;
  23395. procedure TCMP_CM1CON.setCPOL; inline;
  23396. begin
  23397. pTDefRegMap(@Self)^.&set := $00002000;
  23398. end;
  23399. procedure TCMP_CM1CON.clearCPOL; inline;
  23400. begin
  23401. pTDefRegMap(@Self)^.clr := $00002000;
  23402. end;
  23403. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  23404. begin
  23405. if thebits = 0 then
  23406. pTDefRegMap(@Self)^.clr := $00002000
  23407. else
  23408. pTDefRegMap(@Self)^.&set := $00002000;
  23409. end;
  23410. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  23411. begin
  23412. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23413. end;
  23414. procedure TCMP_CM1CON.setCOE; inline;
  23415. begin
  23416. pTDefRegMap(@Self)^.&set := $00004000;
  23417. end;
  23418. procedure TCMP_CM1CON.clearCOE; inline;
  23419. begin
  23420. pTDefRegMap(@Self)^.clr := $00004000;
  23421. end;
  23422. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  23423. begin
  23424. if thebits = 0 then
  23425. pTDefRegMap(@Self)^.clr := $00004000
  23426. else
  23427. pTDefRegMap(@Self)^.&set := $00004000;
  23428. end;
  23429. function TCMP_CM1CON.getCOE : TBits_1; inline;
  23430. begin
  23431. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23432. end;
  23433. procedure TCMP_CM1CON.setON; inline;
  23434. begin
  23435. pTDefRegMap(@Self)^.&set := $00008000;
  23436. end;
  23437. procedure TCMP_CM1CON.clearON; inline;
  23438. begin
  23439. pTDefRegMap(@Self)^.clr := $00008000;
  23440. end;
  23441. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  23442. begin
  23443. if thebits = 0 then
  23444. pTDefRegMap(@Self)^.clr := $00008000
  23445. else
  23446. pTDefRegMap(@Self)^.&set := $00008000;
  23447. end;
  23448. function TCMP_CM1CON.getON : TBits_1; inline;
  23449. begin
  23450. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23451. end;
  23452. procedure TCMP_CM1CON.setCCH0; inline;
  23453. begin
  23454. pTDefRegMap(@Self)^.&set := $00000001;
  23455. end;
  23456. procedure TCMP_CM1CON.clearCCH0; inline;
  23457. begin
  23458. pTDefRegMap(@Self)^.clr := $00000001;
  23459. end;
  23460. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  23461. begin
  23462. if thebits = 0 then
  23463. pTDefRegMap(@Self)^.clr := $00000001
  23464. else
  23465. pTDefRegMap(@Self)^.&set := $00000001;
  23466. end;
  23467. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  23468. begin
  23469. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23470. end;
  23471. procedure TCMP_CM1CON.setCCH1; inline;
  23472. begin
  23473. pTDefRegMap(@Self)^.&set := $00000002;
  23474. end;
  23475. procedure TCMP_CM1CON.clearCCH1; inline;
  23476. begin
  23477. pTDefRegMap(@Self)^.clr := $00000002;
  23478. end;
  23479. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  23480. begin
  23481. if thebits = 0 then
  23482. pTDefRegMap(@Self)^.clr := $00000002
  23483. else
  23484. pTDefRegMap(@Self)^.&set := $00000002;
  23485. end;
  23486. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  23487. begin
  23488. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23489. end;
  23490. procedure TCMP_CM1CON.setEVPOL0; inline;
  23491. begin
  23492. pTDefRegMap(@Self)^.&set := $00000040;
  23493. end;
  23494. procedure TCMP_CM1CON.clearEVPOL0; inline;
  23495. begin
  23496. pTDefRegMap(@Self)^.clr := $00000040;
  23497. end;
  23498. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  23499. begin
  23500. if thebits = 0 then
  23501. pTDefRegMap(@Self)^.clr := $00000040
  23502. else
  23503. pTDefRegMap(@Self)^.&set := $00000040;
  23504. end;
  23505. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  23506. begin
  23507. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23508. end;
  23509. procedure TCMP_CM1CON.setEVPOL1; inline;
  23510. begin
  23511. pTDefRegMap(@Self)^.&set := $00000080;
  23512. end;
  23513. procedure TCMP_CM1CON.clearEVPOL1; inline;
  23514. begin
  23515. pTDefRegMap(@Self)^.clr := $00000080;
  23516. end;
  23517. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  23518. begin
  23519. if thebits = 0 then
  23520. pTDefRegMap(@Self)^.clr := $00000080
  23521. else
  23522. pTDefRegMap(@Self)^.&set := $00000080;
  23523. end;
  23524. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  23525. begin
  23526. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23527. end;
  23528. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  23529. begin
  23530. pTDefRegMap(@Self)^.val := thebits;
  23531. end;
  23532. function TCMP_CM1CON.getw : TBits_32; inline;
  23533. begin
  23534. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23535. end;
  23536. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  23537. begin
  23538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23539. end;
  23540. function TCMP_CM2CON.getCCH : TBits_2; inline;
  23541. begin
  23542. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23543. end;
  23544. procedure TCMP_CM2CON.setCREF; inline;
  23545. begin
  23546. pTDefRegMap(@Self)^.&set := $00000010;
  23547. end;
  23548. procedure TCMP_CM2CON.clearCREF; inline;
  23549. begin
  23550. pTDefRegMap(@Self)^.clr := $00000010;
  23551. end;
  23552. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  23553. begin
  23554. if thebits = 0 then
  23555. pTDefRegMap(@Self)^.clr := $00000010
  23556. else
  23557. pTDefRegMap(@Self)^.&set := $00000010;
  23558. end;
  23559. function TCMP_CM2CON.getCREF : TBits_1; inline;
  23560. begin
  23561. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23562. end;
  23563. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  23564. begin
  23565. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23566. end;
  23567. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  23568. begin
  23569. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23570. end;
  23571. procedure TCMP_CM2CON.setCOUT; inline;
  23572. begin
  23573. pTDefRegMap(@Self)^.&set := $00000100;
  23574. end;
  23575. procedure TCMP_CM2CON.clearCOUT; inline;
  23576. begin
  23577. pTDefRegMap(@Self)^.clr := $00000100;
  23578. end;
  23579. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  23580. begin
  23581. if thebits = 0 then
  23582. pTDefRegMap(@Self)^.clr := $00000100
  23583. else
  23584. pTDefRegMap(@Self)^.&set := $00000100;
  23585. end;
  23586. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  23587. begin
  23588. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23589. end;
  23590. procedure TCMP_CM2CON.setCPOL; inline;
  23591. begin
  23592. pTDefRegMap(@Self)^.&set := $00002000;
  23593. end;
  23594. procedure TCMP_CM2CON.clearCPOL; inline;
  23595. begin
  23596. pTDefRegMap(@Self)^.clr := $00002000;
  23597. end;
  23598. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  23599. begin
  23600. if thebits = 0 then
  23601. pTDefRegMap(@Self)^.clr := $00002000
  23602. else
  23603. pTDefRegMap(@Self)^.&set := $00002000;
  23604. end;
  23605. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  23606. begin
  23607. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23608. end;
  23609. procedure TCMP_CM2CON.setCOE; inline;
  23610. begin
  23611. pTDefRegMap(@Self)^.&set := $00004000;
  23612. end;
  23613. procedure TCMP_CM2CON.clearCOE; inline;
  23614. begin
  23615. pTDefRegMap(@Self)^.clr := $00004000;
  23616. end;
  23617. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  23618. begin
  23619. if thebits = 0 then
  23620. pTDefRegMap(@Self)^.clr := $00004000
  23621. else
  23622. pTDefRegMap(@Self)^.&set := $00004000;
  23623. end;
  23624. function TCMP_CM2CON.getCOE : TBits_1; inline;
  23625. begin
  23626. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23627. end;
  23628. procedure TCMP_CM2CON.setON; inline;
  23629. begin
  23630. pTDefRegMap(@Self)^.&set := $00008000;
  23631. end;
  23632. procedure TCMP_CM2CON.clearON; inline;
  23633. begin
  23634. pTDefRegMap(@Self)^.clr := $00008000;
  23635. end;
  23636. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  23637. begin
  23638. if thebits = 0 then
  23639. pTDefRegMap(@Self)^.clr := $00008000
  23640. else
  23641. pTDefRegMap(@Self)^.&set := $00008000;
  23642. end;
  23643. function TCMP_CM2CON.getON : TBits_1; inline;
  23644. begin
  23645. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23646. end;
  23647. procedure TCMP_CM2CON.setCCH0; inline;
  23648. begin
  23649. pTDefRegMap(@Self)^.&set := $00000001;
  23650. end;
  23651. procedure TCMP_CM2CON.clearCCH0; inline;
  23652. begin
  23653. pTDefRegMap(@Self)^.clr := $00000001;
  23654. end;
  23655. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  23656. begin
  23657. if thebits = 0 then
  23658. pTDefRegMap(@Self)^.clr := $00000001
  23659. else
  23660. pTDefRegMap(@Self)^.&set := $00000001;
  23661. end;
  23662. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  23663. begin
  23664. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23665. end;
  23666. procedure TCMP_CM2CON.setCCH1; inline;
  23667. begin
  23668. pTDefRegMap(@Self)^.&set := $00000002;
  23669. end;
  23670. procedure TCMP_CM2CON.clearCCH1; inline;
  23671. begin
  23672. pTDefRegMap(@Self)^.clr := $00000002;
  23673. end;
  23674. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  23675. begin
  23676. if thebits = 0 then
  23677. pTDefRegMap(@Self)^.clr := $00000002
  23678. else
  23679. pTDefRegMap(@Self)^.&set := $00000002;
  23680. end;
  23681. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  23682. begin
  23683. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23684. end;
  23685. procedure TCMP_CM2CON.setEVPOL0; inline;
  23686. begin
  23687. pTDefRegMap(@Self)^.&set := $00000040;
  23688. end;
  23689. procedure TCMP_CM2CON.clearEVPOL0; inline;
  23690. begin
  23691. pTDefRegMap(@Self)^.clr := $00000040;
  23692. end;
  23693. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  23694. begin
  23695. if thebits = 0 then
  23696. pTDefRegMap(@Self)^.clr := $00000040
  23697. else
  23698. pTDefRegMap(@Self)^.&set := $00000040;
  23699. end;
  23700. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  23701. begin
  23702. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23703. end;
  23704. procedure TCMP_CM2CON.setEVPOL1; inline;
  23705. begin
  23706. pTDefRegMap(@Self)^.&set := $00000080;
  23707. end;
  23708. procedure TCMP_CM2CON.clearEVPOL1; inline;
  23709. begin
  23710. pTDefRegMap(@Self)^.clr := $00000080;
  23711. end;
  23712. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  23713. begin
  23714. if thebits = 0 then
  23715. pTDefRegMap(@Self)^.clr := $00000080
  23716. else
  23717. pTDefRegMap(@Self)^.&set := $00000080;
  23718. end;
  23719. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  23720. begin
  23721. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23722. end;
  23723. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  23724. begin
  23725. pTDefRegMap(@Self)^.val := thebits;
  23726. end;
  23727. function TCMP_CM2CON.getw : TBits_32; inline;
  23728. begin
  23729. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23730. end;
  23731. procedure TCMP_CM3CON.setCCH(thebits : TBits_2); inline;
  23732. begin
  23733. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23734. end;
  23735. function TCMP_CM3CON.getCCH : TBits_2; inline;
  23736. begin
  23737. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23738. end;
  23739. procedure TCMP_CM3CON.setCREF; inline;
  23740. begin
  23741. pTDefRegMap(@Self)^.&set := $00000010;
  23742. end;
  23743. procedure TCMP_CM3CON.clearCREF; inline;
  23744. begin
  23745. pTDefRegMap(@Self)^.clr := $00000010;
  23746. end;
  23747. procedure TCMP_CM3CON.setCREF(thebits : TBits_1); inline;
  23748. begin
  23749. if thebits = 0 then
  23750. pTDefRegMap(@Self)^.clr := $00000010
  23751. else
  23752. pTDefRegMap(@Self)^.&set := $00000010;
  23753. end;
  23754. function TCMP_CM3CON.getCREF : TBits_1; inline;
  23755. begin
  23756. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23757. end;
  23758. procedure TCMP_CM3CON.setEVPOL(thebits : TBits_2); inline;
  23759. begin
  23760. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23761. end;
  23762. function TCMP_CM3CON.getEVPOL : TBits_2; inline;
  23763. begin
  23764. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23765. end;
  23766. procedure TCMP_CM3CON.setCOUT; inline;
  23767. begin
  23768. pTDefRegMap(@Self)^.&set := $00000100;
  23769. end;
  23770. procedure TCMP_CM3CON.clearCOUT; inline;
  23771. begin
  23772. pTDefRegMap(@Self)^.clr := $00000100;
  23773. end;
  23774. procedure TCMP_CM3CON.setCOUT(thebits : TBits_1); inline;
  23775. begin
  23776. if thebits = 0 then
  23777. pTDefRegMap(@Self)^.clr := $00000100
  23778. else
  23779. pTDefRegMap(@Self)^.&set := $00000100;
  23780. end;
  23781. function TCMP_CM3CON.getCOUT : TBits_1; inline;
  23782. begin
  23783. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23784. end;
  23785. procedure TCMP_CM3CON.setCPOL; inline;
  23786. begin
  23787. pTDefRegMap(@Self)^.&set := $00002000;
  23788. end;
  23789. procedure TCMP_CM3CON.clearCPOL; inline;
  23790. begin
  23791. pTDefRegMap(@Self)^.clr := $00002000;
  23792. end;
  23793. procedure TCMP_CM3CON.setCPOL(thebits : TBits_1); inline;
  23794. begin
  23795. if thebits = 0 then
  23796. pTDefRegMap(@Self)^.clr := $00002000
  23797. else
  23798. pTDefRegMap(@Self)^.&set := $00002000;
  23799. end;
  23800. function TCMP_CM3CON.getCPOL : TBits_1; inline;
  23801. begin
  23802. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23803. end;
  23804. procedure TCMP_CM3CON.setCOE; inline;
  23805. begin
  23806. pTDefRegMap(@Self)^.&set := $00004000;
  23807. end;
  23808. procedure TCMP_CM3CON.clearCOE; inline;
  23809. begin
  23810. pTDefRegMap(@Self)^.clr := $00004000;
  23811. end;
  23812. procedure TCMP_CM3CON.setCOE(thebits : TBits_1); inline;
  23813. begin
  23814. if thebits = 0 then
  23815. pTDefRegMap(@Self)^.clr := $00004000
  23816. else
  23817. pTDefRegMap(@Self)^.&set := $00004000;
  23818. end;
  23819. function TCMP_CM3CON.getCOE : TBits_1; inline;
  23820. begin
  23821. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23822. end;
  23823. procedure TCMP_CM3CON.setON; inline;
  23824. begin
  23825. pTDefRegMap(@Self)^.&set := $00008000;
  23826. end;
  23827. procedure TCMP_CM3CON.clearON; inline;
  23828. begin
  23829. pTDefRegMap(@Self)^.clr := $00008000;
  23830. end;
  23831. procedure TCMP_CM3CON.setON(thebits : TBits_1); inline;
  23832. begin
  23833. if thebits = 0 then
  23834. pTDefRegMap(@Self)^.clr := $00008000
  23835. else
  23836. pTDefRegMap(@Self)^.&set := $00008000;
  23837. end;
  23838. function TCMP_CM3CON.getON : TBits_1; inline;
  23839. begin
  23840. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23841. end;
  23842. procedure TCMP_CM3CON.setCCH0; inline;
  23843. begin
  23844. pTDefRegMap(@Self)^.&set := $00000001;
  23845. end;
  23846. procedure TCMP_CM3CON.clearCCH0; inline;
  23847. begin
  23848. pTDefRegMap(@Self)^.clr := $00000001;
  23849. end;
  23850. procedure TCMP_CM3CON.setCCH0(thebits : TBits_1); inline;
  23851. begin
  23852. if thebits = 0 then
  23853. pTDefRegMap(@Self)^.clr := $00000001
  23854. else
  23855. pTDefRegMap(@Self)^.&set := $00000001;
  23856. end;
  23857. function TCMP_CM3CON.getCCH0 : TBits_1; inline;
  23858. begin
  23859. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23860. end;
  23861. procedure TCMP_CM3CON.setCCH1; inline;
  23862. begin
  23863. pTDefRegMap(@Self)^.&set := $00000002;
  23864. end;
  23865. procedure TCMP_CM3CON.clearCCH1; inline;
  23866. begin
  23867. pTDefRegMap(@Self)^.clr := $00000002;
  23868. end;
  23869. procedure TCMP_CM3CON.setCCH1(thebits : TBits_1); inline;
  23870. begin
  23871. if thebits = 0 then
  23872. pTDefRegMap(@Self)^.clr := $00000002
  23873. else
  23874. pTDefRegMap(@Self)^.&set := $00000002;
  23875. end;
  23876. function TCMP_CM3CON.getCCH1 : TBits_1; inline;
  23877. begin
  23878. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23879. end;
  23880. procedure TCMP_CM3CON.setEVPOL0; inline;
  23881. begin
  23882. pTDefRegMap(@Self)^.&set := $00000040;
  23883. end;
  23884. procedure TCMP_CM3CON.clearEVPOL0; inline;
  23885. begin
  23886. pTDefRegMap(@Self)^.clr := $00000040;
  23887. end;
  23888. procedure TCMP_CM3CON.setEVPOL0(thebits : TBits_1); inline;
  23889. begin
  23890. if thebits = 0 then
  23891. pTDefRegMap(@Self)^.clr := $00000040
  23892. else
  23893. pTDefRegMap(@Self)^.&set := $00000040;
  23894. end;
  23895. function TCMP_CM3CON.getEVPOL0 : TBits_1; inline;
  23896. begin
  23897. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23898. end;
  23899. procedure TCMP_CM3CON.setEVPOL1; inline;
  23900. begin
  23901. pTDefRegMap(@Self)^.&set := $00000080;
  23902. end;
  23903. procedure TCMP_CM3CON.clearEVPOL1; inline;
  23904. begin
  23905. pTDefRegMap(@Self)^.clr := $00000080;
  23906. end;
  23907. procedure TCMP_CM3CON.setEVPOL1(thebits : TBits_1); inline;
  23908. begin
  23909. if thebits = 0 then
  23910. pTDefRegMap(@Self)^.clr := $00000080
  23911. else
  23912. pTDefRegMap(@Self)^.&set := $00000080;
  23913. end;
  23914. function TCMP_CM3CON.getEVPOL1 : TBits_1; inline;
  23915. begin
  23916. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23917. end;
  23918. procedure TCMP_CM3CON.setw(thebits : TBits_32); inline;
  23919. begin
  23920. pTDefRegMap(@Self)^.val := thebits;
  23921. end;
  23922. function TCMP_CM3CON.getw : TBits_32; inline;
  23923. begin
  23924. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23925. end;
  23926. procedure TCMP_CMSTAT.setC1OUT; inline;
  23927. begin
  23928. pTDefRegMap(@Self)^.&set := $00000001;
  23929. end;
  23930. procedure TCMP_CMSTAT.clearC1OUT; inline;
  23931. begin
  23932. pTDefRegMap(@Self)^.clr := $00000001;
  23933. end;
  23934. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  23935. begin
  23936. if thebits = 0 then
  23937. pTDefRegMap(@Self)^.clr := $00000001
  23938. else
  23939. pTDefRegMap(@Self)^.&set := $00000001;
  23940. end;
  23941. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  23942. begin
  23943. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23944. end;
  23945. procedure TCMP_CMSTAT.setC2OUT; inline;
  23946. begin
  23947. pTDefRegMap(@Self)^.&set := $00000002;
  23948. end;
  23949. procedure TCMP_CMSTAT.clearC2OUT; inline;
  23950. begin
  23951. pTDefRegMap(@Self)^.clr := $00000002;
  23952. end;
  23953. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  23954. begin
  23955. if thebits = 0 then
  23956. pTDefRegMap(@Self)^.clr := $00000002
  23957. else
  23958. pTDefRegMap(@Self)^.&set := $00000002;
  23959. end;
  23960. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  23961. begin
  23962. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23963. end;
  23964. procedure TCMP_CMSTAT.setC3OUT; inline;
  23965. begin
  23966. pTDefRegMap(@Self)^.&set := $00000004;
  23967. end;
  23968. procedure TCMP_CMSTAT.clearC3OUT; inline;
  23969. begin
  23970. pTDefRegMap(@Self)^.clr := $00000004;
  23971. end;
  23972. procedure TCMP_CMSTAT.setC3OUT(thebits : TBits_1); inline;
  23973. begin
  23974. if thebits = 0 then
  23975. pTDefRegMap(@Self)^.clr := $00000004
  23976. else
  23977. pTDefRegMap(@Self)^.&set := $00000004;
  23978. end;
  23979. function TCMP_CMSTAT.getC3OUT : TBits_1; inline;
  23980. begin
  23981. getC3OUT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23982. end;
  23983. procedure TCMP_CMSTAT.setSIDL; inline;
  23984. begin
  23985. pTDefRegMap(@Self)^.&set := $00002000;
  23986. end;
  23987. procedure TCMP_CMSTAT.clearSIDL; inline;
  23988. begin
  23989. pTDefRegMap(@Self)^.clr := $00002000;
  23990. end;
  23991. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  23992. begin
  23993. if thebits = 0 then
  23994. pTDefRegMap(@Self)^.clr := $00002000
  23995. else
  23996. pTDefRegMap(@Self)^.&set := $00002000;
  23997. end;
  23998. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  23999. begin
  24000. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24001. end;
  24002. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  24003. begin
  24004. pTDefRegMap(@Self)^.val := thebits;
  24005. end;
  24006. function TCMP_CMSTAT.getw : TBits_32; inline;
  24007. begin
  24008. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24009. end;
  24010. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  24011. begin
  24012. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24013. end;
  24014. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  24015. begin
  24016. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24017. end;
  24018. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  24019. begin
  24020. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  24021. end;
  24022. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  24023. begin
  24024. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  24025. end;
  24026. procedure TCMP_CTMUCON.setCTTRIG; inline;
  24027. begin
  24028. pTDefRegMap(@Self)^.&set := $00000100;
  24029. end;
  24030. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  24031. begin
  24032. pTDefRegMap(@Self)^.clr := $00000100;
  24033. end;
  24034. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  24035. begin
  24036. if thebits = 0 then
  24037. pTDefRegMap(@Self)^.clr := $00000100
  24038. else
  24039. pTDefRegMap(@Self)^.&set := $00000100;
  24040. end;
  24041. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  24042. begin
  24043. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24044. end;
  24045. procedure TCMP_CTMUCON.setIDISSEN; inline;
  24046. begin
  24047. pTDefRegMap(@Self)^.&set := $00000200;
  24048. end;
  24049. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  24050. begin
  24051. pTDefRegMap(@Self)^.clr := $00000200;
  24052. end;
  24053. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  24054. begin
  24055. if thebits = 0 then
  24056. pTDefRegMap(@Self)^.clr := $00000200
  24057. else
  24058. pTDefRegMap(@Self)^.&set := $00000200;
  24059. end;
  24060. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  24061. begin
  24062. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24063. end;
  24064. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  24065. begin
  24066. pTDefRegMap(@Self)^.&set := $00000400;
  24067. end;
  24068. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  24069. begin
  24070. pTDefRegMap(@Self)^.clr := $00000400;
  24071. end;
  24072. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  24073. begin
  24074. if thebits = 0 then
  24075. pTDefRegMap(@Self)^.clr := $00000400
  24076. else
  24077. pTDefRegMap(@Self)^.&set := $00000400;
  24078. end;
  24079. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  24080. begin
  24081. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24082. end;
  24083. procedure TCMP_CTMUCON.setEDGEN; inline;
  24084. begin
  24085. pTDefRegMap(@Self)^.&set := $00000800;
  24086. end;
  24087. procedure TCMP_CTMUCON.clearEDGEN; inline;
  24088. begin
  24089. pTDefRegMap(@Self)^.clr := $00000800;
  24090. end;
  24091. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  24092. begin
  24093. if thebits = 0 then
  24094. pTDefRegMap(@Self)^.clr := $00000800
  24095. else
  24096. pTDefRegMap(@Self)^.&set := $00000800;
  24097. end;
  24098. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  24099. begin
  24100. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24101. end;
  24102. procedure TCMP_CTMUCON.setTGEN; inline;
  24103. begin
  24104. pTDefRegMap(@Self)^.&set := $00001000;
  24105. end;
  24106. procedure TCMP_CTMUCON.clearTGEN; inline;
  24107. begin
  24108. pTDefRegMap(@Self)^.clr := $00001000;
  24109. end;
  24110. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  24111. begin
  24112. if thebits = 0 then
  24113. pTDefRegMap(@Self)^.clr := $00001000
  24114. else
  24115. pTDefRegMap(@Self)^.&set := $00001000;
  24116. end;
  24117. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  24118. begin
  24119. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24120. end;
  24121. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  24122. begin
  24123. pTDefRegMap(@Self)^.&set := $00002000;
  24124. end;
  24125. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  24126. begin
  24127. pTDefRegMap(@Self)^.clr := $00002000;
  24128. end;
  24129. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  24130. begin
  24131. if thebits = 0 then
  24132. pTDefRegMap(@Self)^.clr := $00002000
  24133. else
  24134. pTDefRegMap(@Self)^.&set := $00002000;
  24135. end;
  24136. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  24137. begin
  24138. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24139. end;
  24140. procedure TCMP_CTMUCON.setON; inline;
  24141. begin
  24142. pTDefRegMap(@Self)^.&set := $00008000;
  24143. end;
  24144. procedure TCMP_CTMUCON.clearON; inline;
  24145. begin
  24146. pTDefRegMap(@Self)^.clr := $00008000;
  24147. end;
  24148. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  24149. begin
  24150. if thebits = 0 then
  24151. pTDefRegMap(@Self)^.clr := $00008000
  24152. else
  24153. pTDefRegMap(@Self)^.&set := $00008000;
  24154. end;
  24155. function TCMP_CTMUCON.getON : TBits_1; inline;
  24156. begin
  24157. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24158. end;
  24159. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  24160. begin
  24161. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  24162. end;
  24163. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  24164. begin
  24165. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  24166. end;
  24167. procedure TCMP_CTMUCON.setEDG2POL; inline;
  24168. begin
  24169. pTDefRegMap(@Self)^.&set := $00400000;
  24170. end;
  24171. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  24172. begin
  24173. pTDefRegMap(@Self)^.clr := $00400000;
  24174. end;
  24175. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  24176. begin
  24177. if thebits = 0 then
  24178. pTDefRegMap(@Self)^.clr := $00400000
  24179. else
  24180. pTDefRegMap(@Self)^.&set := $00400000;
  24181. end;
  24182. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  24183. begin
  24184. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24185. end;
  24186. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  24187. begin
  24188. pTDefRegMap(@Self)^.&set := $00800000;
  24189. end;
  24190. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  24191. begin
  24192. pTDefRegMap(@Self)^.clr := $00800000;
  24193. end;
  24194. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  24195. begin
  24196. if thebits = 0 then
  24197. pTDefRegMap(@Self)^.clr := $00800000
  24198. else
  24199. pTDefRegMap(@Self)^.&set := $00800000;
  24200. end;
  24201. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  24202. begin
  24203. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  24204. end;
  24205. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  24206. begin
  24207. pTDefRegMap(@Self)^.&set := $01000000;
  24208. end;
  24209. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  24210. begin
  24211. pTDefRegMap(@Self)^.clr := $01000000;
  24212. end;
  24213. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  24214. begin
  24215. if thebits = 0 then
  24216. pTDefRegMap(@Self)^.clr := $01000000
  24217. else
  24218. pTDefRegMap(@Self)^.&set := $01000000;
  24219. end;
  24220. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  24221. begin
  24222. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24223. end;
  24224. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  24225. begin
  24226. pTDefRegMap(@Self)^.&set := $02000000;
  24227. end;
  24228. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  24229. begin
  24230. pTDefRegMap(@Self)^.clr := $02000000;
  24231. end;
  24232. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  24233. begin
  24234. if thebits = 0 then
  24235. pTDefRegMap(@Self)^.clr := $02000000
  24236. else
  24237. pTDefRegMap(@Self)^.&set := $02000000;
  24238. end;
  24239. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  24240. begin
  24241. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24242. end;
  24243. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  24244. begin
  24245. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  24246. end;
  24247. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  24248. begin
  24249. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  24250. end;
  24251. procedure TCMP_CTMUCON.setEDG1POL; inline;
  24252. begin
  24253. pTDefRegMap(@Self)^.&set := $40000000;
  24254. end;
  24255. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  24256. begin
  24257. pTDefRegMap(@Self)^.clr := $40000000;
  24258. end;
  24259. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  24260. begin
  24261. if thebits = 0 then
  24262. pTDefRegMap(@Self)^.clr := $40000000
  24263. else
  24264. pTDefRegMap(@Self)^.&set := $40000000;
  24265. end;
  24266. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  24267. begin
  24268. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24269. end;
  24270. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  24271. begin
  24272. pTDefRegMap(@Self)^.&set := $80000000;
  24273. end;
  24274. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  24275. begin
  24276. pTDefRegMap(@Self)^.clr := $80000000;
  24277. end;
  24278. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  24279. begin
  24280. if thebits = 0 then
  24281. pTDefRegMap(@Self)^.clr := $80000000
  24282. else
  24283. pTDefRegMap(@Self)^.&set := $80000000;
  24284. end;
  24285. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  24286. begin
  24287. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  24288. end;
  24289. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  24290. begin
  24291. pTDefRegMap(@Self)^.val := thebits;
  24292. end;
  24293. function TCMP_CTMUCON.getw : TBits_32; inline;
  24294. begin
  24295. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24296. end;
  24297. procedure TOSC_OSCCON.setOSWEN; inline;
  24298. begin
  24299. pTDefRegMap(@Self)^.&set := $00000001;
  24300. end;
  24301. procedure TOSC_OSCCON.clearOSWEN; inline;
  24302. begin
  24303. pTDefRegMap(@Self)^.clr := $00000001;
  24304. end;
  24305. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  24306. begin
  24307. if thebits = 0 then
  24308. pTDefRegMap(@Self)^.clr := $00000001
  24309. else
  24310. pTDefRegMap(@Self)^.&set := $00000001;
  24311. end;
  24312. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  24313. begin
  24314. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24315. end;
  24316. procedure TOSC_OSCCON.setSOSCEN; inline;
  24317. begin
  24318. pTDefRegMap(@Self)^.&set := $00000002;
  24319. end;
  24320. procedure TOSC_OSCCON.clearSOSCEN; inline;
  24321. begin
  24322. pTDefRegMap(@Self)^.clr := $00000002;
  24323. end;
  24324. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  24325. begin
  24326. if thebits = 0 then
  24327. pTDefRegMap(@Self)^.clr := $00000002
  24328. else
  24329. pTDefRegMap(@Self)^.&set := $00000002;
  24330. end;
  24331. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  24332. begin
  24333. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24334. end;
  24335. procedure TOSC_OSCCON.setUFRCEN; inline;
  24336. begin
  24337. pTDefRegMap(@Self)^.&set := $00000004;
  24338. end;
  24339. procedure TOSC_OSCCON.clearUFRCEN; inline;
  24340. begin
  24341. pTDefRegMap(@Self)^.clr := $00000004;
  24342. end;
  24343. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  24344. begin
  24345. if thebits = 0 then
  24346. pTDefRegMap(@Self)^.clr := $00000004
  24347. else
  24348. pTDefRegMap(@Self)^.&set := $00000004;
  24349. end;
  24350. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  24351. begin
  24352. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24353. end;
  24354. procedure TOSC_OSCCON.setCF; inline;
  24355. begin
  24356. pTDefRegMap(@Self)^.&set := $00000008;
  24357. end;
  24358. procedure TOSC_OSCCON.clearCF; inline;
  24359. begin
  24360. pTDefRegMap(@Self)^.clr := $00000008;
  24361. end;
  24362. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  24363. begin
  24364. if thebits = 0 then
  24365. pTDefRegMap(@Self)^.clr := $00000008
  24366. else
  24367. pTDefRegMap(@Self)^.&set := $00000008;
  24368. end;
  24369. function TOSC_OSCCON.getCF : TBits_1; inline;
  24370. begin
  24371. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24372. end;
  24373. procedure TOSC_OSCCON.setSLPEN; inline;
  24374. begin
  24375. pTDefRegMap(@Self)^.&set := $00000010;
  24376. end;
  24377. procedure TOSC_OSCCON.clearSLPEN; inline;
  24378. begin
  24379. pTDefRegMap(@Self)^.clr := $00000010;
  24380. end;
  24381. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  24382. begin
  24383. if thebits = 0 then
  24384. pTDefRegMap(@Self)^.clr := $00000010
  24385. else
  24386. pTDefRegMap(@Self)^.&set := $00000010;
  24387. end;
  24388. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  24389. begin
  24390. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24391. end;
  24392. procedure TOSC_OSCCON.setSLOCK; inline;
  24393. begin
  24394. pTDefRegMap(@Self)^.&set := $00000020;
  24395. end;
  24396. procedure TOSC_OSCCON.clearSLOCK; inline;
  24397. begin
  24398. pTDefRegMap(@Self)^.clr := $00000020;
  24399. end;
  24400. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  24401. begin
  24402. if thebits = 0 then
  24403. pTDefRegMap(@Self)^.clr := $00000020
  24404. else
  24405. pTDefRegMap(@Self)^.&set := $00000020;
  24406. end;
  24407. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  24408. begin
  24409. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24410. end;
  24411. procedure TOSC_OSCCON.setULOCK; inline;
  24412. begin
  24413. pTDefRegMap(@Self)^.&set := $00000040;
  24414. end;
  24415. procedure TOSC_OSCCON.clearULOCK; inline;
  24416. begin
  24417. pTDefRegMap(@Self)^.clr := $00000040;
  24418. end;
  24419. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  24420. begin
  24421. if thebits = 0 then
  24422. pTDefRegMap(@Self)^.clr := $00000040
  24423. else
  24424. pTDefRegMap(@Self)^.&set := $00000040;
  24425. end;
  24426. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  24427. begin
  24428. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24429. end;
  24430. procedure TOSC_OSCCON.setCLKLOCK; inline;
  24431. begin
  24432. pTDefRegMap(@Self)^.&set := $00000080;
  24433. end;
  24434. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  24435. begin
  24436. pTDefRegMap(@Self)^.clr := $00000080;
  24437. end;
  24438. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  24439. begin
  24440. if thebits = 0 then
  24441. pTDefRegMap(@Self)^.clr := $00000080
  24442. else
  24443. pTDefRegMap(@Self)^.&set := $00000080;
  24444. end;
  24445. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  24446. begin
  24447. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24448. end;
  24449. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  24450. begin
  24451. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  24452. end;
  24453. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  24454. begin
  24455. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  24456. end;
  24457. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  24458. begin
  24459. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  24460. end;
  24461. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  24462. begin
  24463. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  24464. end;
  24465. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  24466. begin
  24467. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  24468. end;
  24469. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  24470. begin
  24471. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  24472. end;
  24473. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  24474. begin
  24475. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  24476. end;
  24477. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  24478. begin
  24479. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  24480. end;
  24481. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  24482. begin
  24483. pTDefRegMap(@Self)^.&set := $00200000;
  24484. end;
  24485. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  24486. begin
  24487. pTDefRegMap(@Self)^.clr := $00200000;
  24488. end;
  24489. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  24490. begin
  24491. if thebits = 0 then
  24492. pTDefRegMap(@Self)^.clr := $00200000
  24493. else
  24494. pTDefRegMap(@Self)^.&set := $00200000;
  24495. end;
  24496. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  24497. begin
  24498. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  24499. end;
  24500. procedure TOSC_OSCCON.setSOSCRDY; inline;
  24501. begin
  24502. pTDefRegMap(@Self)^.&set := $00400000;
  24503. end;
  24504. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  24505. begin
  24506. pTDefRegMap(@Self)^.clr := $00400000;
  24507. end;
  24508. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  24509. begin
  24510. if thebits = 0 then
  24511. pTDefRegMap(@Self)^.clr := $00400000
  24512. else
  24513. pTDefRegMap(@Self)^.&set := $00400000;
  24514. end;
  24515. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  24516. begin
  24517. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24518. end;
  24519. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  24520. begin
  24521. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  24522. end;
  24523. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  24524. begin
  24525. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  24526. end;
  24527. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  24528. begin
  24529. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  24530. end;
  24531. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  24532. begin
  24533. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  24534. end;
  24535. procedure TOSC_OSCCON.setNOSC0; inline;
  24536. begin
  24537. pTDefRegMap(@Self)^.&set := $00000100;
  24538. end;
  24539. procedure TOSC_OSCCON.clearNOSC0; inline;
  24540. begin
  24541. pTDefRegMap(@Self)^.clr := $00000100;
  24542. end;
  24543. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  24544. begin
  24545. if thebits = 0 then
  24546. pTDefRegMap(@Self)^.clr := $00000100
  24547. else
  24548. pTDefRegMap(@Self)^.&set := $00000100;
  24549. end;
  24550. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  24551. begin
  24552. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24553. end;
  24554. procedure TOSC_OSCCON.setNOSC1; inline;
  24555. begin
  24556. pTDefRegMap(@Self)^.&set := $00000200;
  24557. end;
  24558. procedure TOSC_OSCCON.clearNOSC1; inline;
  24559. begin
  24560. pTDefRegMap(@Self)^.clr := $00000200;
  24561. end;
  24562. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  24563. begin
  24564. if thebits = 0 then
  24565. pTDefRegMap(@Self)^.clr := $00000200
  24566. else
  24567. pTDefRegMap(@Self)^.&set := $00000200;
  24568. end;
  24569. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  24570. begin
  24571. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24572. end;
  24573. procedure TOSC_OSCCON.setNOSC2; inline;
  24574. begin
  24575. pTDefRegMap(@Self)^.&set := $00000400;
  24576. end;
  24577. procedure TOSC_OSCCON.clearNOSC2; inline;
  24578. begin
  24579. pTDefRegMap(@Self)^.clr := $00000400;
  24580. end;
  24581. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  24582. begin
  24583. if thebits = 0 then
  24584. pTDefRegMap(@Self)^.clr := $00000400
  24585. else
  24586. pTDefRegMap(@Self)^.&set := $00000400;
  24587. end;
  24588. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  24589. begin
  24590. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24591. end;
  24592. procedure TOSC_OSCCON.setCOSC0; inline;
  24593. begin
  24594. pTDefRegMap(@Self)^.&set := $00001000;
  24595. end;
  24596. procedure TOSC_OSCCON.clearCOSC0; inline;
  24597. begin
  24598. pTDefRegMap(@Self)^.clr := $00001000;
  24599. end;
  24600. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  24601. begin
  24602. if thebits = 0 then
  24603. pTDefRegMap(@Self)^.clr := $00001000
  24604. else
  24605. pTDefRegMap(@Self)^.&set := $00001000;
  24606. end;
  24607. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  24608. begin
  24609. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24610. end;
  24611. procedure TOSC_OSCCON.setCOSC1; inline;
  24612. begin
  24613. pTDefRegMap(@Self)^.&set := $00002000;
  24614. end;
  24615. procedure TOSC_OSCCON.clearCOSC1; inline;
  24616. begin
  24617. pTDefRegMap(@Self)^.clr := $00002000;
  24618. end;
  24619. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  24620. begin
  24621. if thebits = 0 then
  24622. pTDefRegMap(@Self)^.clr := $00002000
  24623. else
  24624. pTDefRegMap(@Self)^.&set := $00002000;
  24625. end;
  24626. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  24627. begin
  24628. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24629. end;
  24630. procedure TOSC_OSCCON.setCOSC2; inline;
  24631. begin
  24632. pTDefRegMap(@Self)^.&set := $00004000;
  24633. end;
  24634. procedure TOSC_OSCCON.clearCOSC2; inline;
  24635. begin
  24636. pTDefRegMap(@Self)^.clr := $00004000;
  24637. end;
  24638. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  24639. begin
  24640. if thebits = 0 then
  24641. pTDefRegMap(@Self)^.clr := $00004000
  24642. else
  24643. pTDefRegMap(@Self)^.&set := $00004000;
  24644. end;
  24645. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  24646. begin
  24647. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24648. end;
  24649. procedure TOSC_OSCCON.setPLLMULT0; inline;
  24650. begin
  24651. pTDefRegMap(@Self)^.&set := $00010000;
  24652. end;
  24653. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  24654. begin
  24655. pTDefRegMap(@Self)^.clr := $00010000;
  24656. end;
  24657. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  24658. begin
  24659. if thebits = 0 then
  24660. pTDefRegMap(@Self)^.clr := $00010000
  24661. else
  24662. pTDefRegMap(@Self)^.&set := $00010000;
  24663. end;
  24664. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  24665. begin
  24666. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  24667. end;
  24668. procedure TOSC_OSCCON.setPLLMULT1; inline;
  24669. begin
  24670. pTDefRegMap(@Self)^.&set := $00020000;
  24671. end;
  24672. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  24673. begin
  24674. pTDefRegMap(@Self)^.clr := $00020000;
  24675. end;
  24676. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  24677. begin
  24678. if thebits = 0 then
  24679. pTDefRegMap(@Self)^.clr := $00020000
  24680. else
  24681. pTDefRegMap(@Self)^.&set := $00020000;
  24682. end;
  24683. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  24684. begin
  24685. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  24686. end;
  24687. procedure TOSC_OSCCON.setPLLMULT2; inline;
  24688. begin
  24689. pTDefRegMap(@Self)^.&set := $00040000;
  24690. end;
  24691. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  24692. begin
  24693. pTDefRegMap(@Self)^.clr := $00040000;
  24694. end;
  24695. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  24696. begin
  24697. if thebits = 0 then
  24698. pTDefRegMap(@Self)^.clr := $00040000
  24699. else
  24700. pTDefRegMap(@Self)^.&set := $00040000;
  24701. end;
  24702. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  24703. begin
  24704. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  24705. end;
  24706. procedure TOSC_OSCCON.setPBDIV0; inline;
  24707. begin
  24708. pTDefRegMap(@Self)^.&set := $00080000;
  24709. end;
  24710. procedure TOSC_OSCCON.clearPBDIV0; inline;
  24711. begin
  24712. pTDefRegMap(@Self)^.clr := $00080000;
  24713. end;
  24714. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  24715. begin
  24716. if thebits = 0 then
  24717. pTDefRegMap(@Self)^.clr := $00080000
  24718. else
  24719. pTDefRegMap(@Self)^.&set := $00080000;
  24720. end;
  24721. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  24722. begin
  24723. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  24724. end;
  24725. procedure TOSC_OSCCON.setPBDIV1; inline;
  24726. begin
  24727. pTDefRegMap(@Self)^.&set := $00100000;
  24728. end;
  24729. procedure TOSC_OSCCON.clearPBDIV1; inline;
  24730. begin
  24731. pTDefRegMap(@Self)^.clr := $00100000;
  24732. end;
  24733. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  24734. begin
  24735. if thebits = 0 then
  24736. pTDefRegMap(@Self)^.clr := $00100000
  24737. else
  24738. pTDefRegMap(@Self)^.&set := $00100000;
  24739. end;
  24740. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  24741. begin
  24742. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  24743. end;
  24744. procedure TOSC_OSCCON.setFRCDIV0; inline;
  24745. begin
  24746. pTDefRegMap(@Self)^.&set := $01000000;
  24747. end;
  24748. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  24749. begin
  24750. pTDefRegMap(@Self)^.clr := $01000000;
  24751. end;
  24752. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  24753. begin
  24754. if thebits = 0 then
  24755. pTDefRegMap(@Self)^.clr := $01000000
  24756. else
  24757. pTDefRegMap(@Self)^.&set := $01000000;
  24758. end;
  24759. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  24760. begin
  24761. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24762. end;
  24763. procedure TOSC_OSCCON.setFRCDIV1; inline;
  24764. begin
  24765. pTDefRegMap(@Self)^.&set := $02000000;
  24766. end;
  24767. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  24768. begin
  24769. pTDefRegMap(@Self)^.clr := $02000000;
  24770. end;
  24771. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  24772. begin
  24773. if thebits = 0 then
  24774. pTDefRegMap(@Self)^.clr := $02000000
  24775. else
  24776. pTDefRegMap(@Self)^.&set := $02000000;
  24777. end;
  24778. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  24779. begin
  24780. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24781. end;
  24782. procedure TOSC_OSCCON.setFRCDIV2; inline;
  24783. begin
  24784. pTDefRegMap(@Self)^.&set := $04000000;
  24785. end;
  24786. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  24787. begin
  24788. pTDefRegMap(@Self)^.clr := $04000000;
  24789. end;
  24790. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  24791. begin
  24792. if thebits = 0 then
  24793. pTDefRegMap(@Self)^.clr := $04000000
  24794. else
  24795. pTDefRegMap(@Self)^.&set := $04000000;
  24796. end;
  24797. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  24798. begin
  24799. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  24800. end;
  24801. procedure TOSC_OSCCON.setPLLODIV0; inline;
  24802. begin
  24803. pTDefRegMap(@Self)^.&set := $08000000;
  24804. end;
  24805. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  24806. begin
  24807. pTDefRegMap(@Self)^.clr := $08000000;
  24808. end;
  24809. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  24810. begin
  24811. if thebits = 0 then
  24812. pTDefRegMap(@Self)^.clr := $08000000
  24813. else
  24814. pTDefRegMap(@Self)^.&set := $08000000;
  24815. end;
  24816. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  24817. begin
  24818. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  24819. end;
  24820. procedure TOSC_OSCCON.setPLLODIV1; inline;
  24821. begin
  24822. pTDefRegMap(@Self)^.&set := $10000000;
  24823. end;
  24824. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  24825. begin
  24826. pTDefRegMap(@Self)^.clr := $10000000;
  24827. end;
  24828. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  24829. begin
  24830. if thebits = 0 then
  24831. pTDefRegMap(@Self)^.clr := $10000000
  24832. else
  24833. pTDefRegMap(@Self)^.&set := $10000000;
  24834. end;
  24835. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  24836. begin
  24837. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  24838. end;
  24839. procedure TOSC_OSCCON.setPLLODIV2; inline;
  24840. begin
  24841. pTDefRegMap(@Self)^.&set := $20000000;
  24842. end;
  24843. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  24844. begin
  24845. pTDefRegMap(@Self)^.clr := $20000000;
  24846. end;
  24847. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  24848. begin
  24849. if thebits = 0 then
  24850. pTDefRegMap(@Self)^.clr := $20000000
  24851. else
  24852. pTDefRegMap(@Self)^.&set := $20000000;
  24853. end;
  24854. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  24855. begin
  24856. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  24857. end;
  24858. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  24859. begin
  24860. pTDefRegMap(@Self)^.val := thebits;
  24861. end;
  24862. function TOSC_OSCCON.getw : TBits_32; inline;
  24863. begin
  24864. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24865. end;
  24866. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  24867. begin
  24868. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  24869. end;
  24870. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  24871. begin
  24872. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  24873. end;
  24874. procedure TOSC_OSCTUN.setTUN0; inline;
  24875. begin
  24876. pTDefRegMap(@Self)^.&set := $00000001;
  24877. end;
  24878. procedure TOSC_OSCTUN.clearTUN0; inline;
  24879. begin
  24880. pTDefRegMap(@Self)^.clr := $00000001;
  24881. end;
  24882. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  24883. begin
  24884. if thebits = 0 then
  24885. pTDefRegMap(@Self)^.clr := $00000001
  24886. else
  24887. pTDefRegMap(@Self)^.&set := $00000001;
  24888. end;
  24889. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  24890. begin
  24891. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24892. end;
  24893. procedure TOSC_OSCTUN.setTUN1; inline;
  24894. begin
  24895. pTDefRegMap(@Self)^.&set := $00000002;
  24896. end;
  24897. procedure TOSC_OSCTUN.clearTUN1; inline;
  24898. begin
  24899. pTDefRegMap(@Self)^.clr := $00000002;
  24900. end;
  24901. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  24902. begin
  24903. if thebits = 0 then
  24904. pTDefRegMap(@Self)^.clr := $00000002
  24905. else
  24906. pTDefRegMap(@Self)^.&set := $00000002;
  24907. end;
  24908. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  24909. begin
  24910. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24911. end;
  24912. procedure TOSC_OSCTUN.setTUN2; inline;
  24913. begin
  24914. pTDefRegMap(@Self)^.&set := $00000004;
  24915. end;
  24916. procedure TOSC_OSCTUN.clearTUN2; inline;
  24917. begin
  24918. pTDefRegMap(@Self)^.clr := $00000004;
  24919. end;
  24920. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  24921. begin
  24922. if thebits = 0 then
  24923. pTDefRegMap(@Self)^.clr := $00000004
  24924. else
  24925. pTDefRegMap(@Self)^.&set := $00000004;
  24926. end;
  24927. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  24928. begin
  24929. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24930. end;
  24931. procedure TOSC_OSCTUN.setTUN3; inline;
  24932. begin
  24933. pTDefRegMap(@Self)^.&set := $00000008;
  24934. end;
  24935. procedure TOSC_OSCTUN.clearTUN3; inline;
  24936. begin
  24937. pTDefRegMap(@Self)^.clr := $00000008;
  24938. end;
  24939. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  24940. begin
  24941. if thebits = 0 then
  24942. pTDefRegMap(@Self)^.clr := $00000008
  24943. else
  24944. pTDefRegMap(@Self)^.&set := $00000008;
  24945. end;
  24946. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  24947. begin
  24948. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24949. end;
  24950. procedure TOSC_OSCTUN.setTUN4; inline;
  24951. begin
  24952. pTDefRegMap(@Self)^.&set := $00000010;
  24953. end;
  24954. procedure TOSC_OSCTUN.clearTUN4; inline;
  24955. begin
  24956. pTDefRegMap(@Self)^.clr := $00000010;
  24957. end;
  24958. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  24959. begin
  24960. if thebits = 0 then
  24961. pTDefRegMap(@Self)^.clr := $00000010
  24962. else
  24963. pTDefRegMap(@Self)^.&set := $00000010;
  24964. end;
  24965. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  24966. begin
  24967. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24968. end;
  24969. procedure TOSC_OSCTUN.setTUN5; inline;
  24970. begin
  24971. pTDefRegMap(@Self)^.&set := $00000020;
  24972. end;
  24973. procedure TOSC_OSCTUN.clearTUN5; inline;
  24974. begin
  24975. pTDefRegMap(@Self)^.clr := $00000020;
  24976. end;
  24977. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  24978. begin
  24979. if thebits = 0 then
  24980. pTDefRegMap(@Self)^.clr := $00000020
  24981. else
  24982. pTDefRegMap(@Self)^.&set := $00000020;
  24983. end;
  24984. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  24985. begin
  24986. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24987. end;
  24988. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  24989. begin
  24990. pTDefRegMap(@Self)^.val := thebits;
  24991. end;
  24992. function TOSC_OSCTUN.getw : TBits_32; inline;
  24993. begin
  24994. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24995. end;
  24996. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  24997. begin
  24998. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  24999. end;
  25000. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  25001. begin
  25002. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25003. end;
  25004. procedure TOSC_REFOCON.setACTIVE; inline;
  25005. begin
  25006. pTDefRegMap(@Self)^.&set := $00000100;
  25007. end;
  25008. procedure TOSC_REFOCON.clearACTIVE; inline;
  25009. begin
  25010. pTDefRegMap(@Self)^.clr := $00000100;
  25011. end;
  25012. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  25013. begin
  25014. if thebits = 0 then
  25015. pTDefRegMap(@Self)^.clr := $00000100
  25016. else
  25017. pTDefRegMap(@Self)^.&set := $00000100;
  25018. end;
  25019. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  25020. begin
  25021. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25022. end;
  25023. procedure TOSC_REFOCON.setDIVSWEN; inline;
  25024. begin
  25025. pTDefRegMap(@Self)^.&set := $00000200;
  25026. end;
  25027. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  25028. begin
  25029. pTDefRegMap(@Self)^.clr := $00000200;
  25030. end;
  25031. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  25032. begin
  25033. if thebits = 0 then
  25034. pTDefRegMap(@Self)^.clr := $00000200
  25035. else
  25036. pTDefRegMap(@Self)^.&set := $00000200;
  25037. end;
  25038. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  25039. begin
  25040. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25041. end;
  25042. procedure TOSC_REFOCON.setRSLP; inline;
  25043. begin
  25044. pTDefRegMap(@Self)^.&set := $00000800;
  25045. end;
  25046. procedure TOSC_REFOCON.clearRSLP; inline;
  25047. begin
  25048. pTDefRegMap(@Self)^.clr := $00000800;
  25049. end;
  25050. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  25051. begin
  25052. if thebits = 0 then
  25053. pTDefRegMap(@Self)^.clr := $00000800
  25054. else
  25055. pTDefRegMap(@Self)^.&set := $00000800;
  25056. end;
  25057. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  25058. begin
  25059. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25060. end;
  25061. procedure TOSC_REFOCON.setOE; inline;
  25062. begin
  25063. pTDefRegMap(@Self)^.&set := $00001000;
  25064. end;
  25065. procedure TOSC_REFOCON.clearOE; inline;
  25066. begin
  25067. pTDefRegMap(@Self)^.clr := $00001000;
  25068. end;
  25069. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  25070. begin
  25071. if thebits = 0 then
  25072. pTDefRegMap(@Self)^.clr := $00001000
  25073. else
  25074. pTDefRegMap(@Self)^.&set := $00001000;
  25075. end;
  25076. function TOSC_REFOCON.getOE : TBits_1; inline;
  25077. begin
  25078. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25079. end;
  25080. procedure TOSC_REFOCON.setSIDL; inline;
  25081. begin
  25082. pTDefRegMap(@Self)^.&set := $00002000;
  25083. end;
  25084. procedure TOSC_REFOCON.clearSIDL; inline;
  25085. begin
  25086. pTDefRegMap(@Self)^.clr := $00002000;
  25087. end;
  25088. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  25089. begin
  25090. if thebits = 0 then
  25091. pTDefRegMap(@Self)^.clr := $00002000
  25092. else
  25093. pTDefRegMap(@Self)^.&set := $00002000;
  25094. end;
  25095. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  25096. begin
  25097. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25098. end;
  25099. procedure TOSC_REFOCON.setON; inline;
  25100. begin
  25101. pTDefRegMap(@Self)^.&set := $00008000;
  25102. end;
  25103. procedure TOSC_REFOCON.clearON; inline;
  25104. begin
  25105. pTDefRegMap(@Self)^.clr := $00008000;
  25106. end;
  25107. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  25108. begin
  25109. if thebits = 0 then
  25110. pTDefRegMap(@Self)^.clr := $00008000
  25111. else
  25112. pTDefRegMap(@Self)^.&set := $00008000;
  25113. end;
  25114. function TOSC_REFOCON.getON : TBits_1; inline;
  25115. begin
  25116. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25117. end;
  25118. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  25119. begin
  25120. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  25121. end;
  25122. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  25123. begin
  25124. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  25125. end;
  25126. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  25127. begin
  25128. pTDefRegMap(@Self)^.val := thebits;
  25129. end;
  25130. function TOSC_REFOCON.getw : TBits_32; inline;
  25131. begin
  25132. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25133. end;
  25134. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  25135. begin
  25136. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  25137. end;
  25138. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  25139. begin
  25140. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  25141. end;
  25142. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  25143. begin
  25144. pTDefRegMap(@Self)^.val := thebits;
  25145. end;
  25146. function TOSC_REFOTRIM.getw : TBits_32; inline;
  25147. begin
  25148. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25149. end;
  25150. procedure TCFG_PMD5.setU1MD; inline;
  25151. begin
  25152. pTDefRegMap(@Self)^.&set := $00000001;
  25153. end;
  25154. procedure TCFG_PMD5.clearU1MD; inline;
  25155. begin
  25156. pTDefRegMap(@Self)^.clr := $00000001;
  25157. end;
  25158. procedure TCFG_PMD5.setU1MD(thebits : TBits_1); inline;
  25159. begin
  25160. if thebits = 0 then
  25161. pTDefRegMap(@Self)^.clr := $00000001
  25162. else
  25163. pTDefRegMap(@Self)^.&set := $00000001;
  25164. end;
  25165. function TCFG_PMD5.getU1MD : TBits_1; inline;
  25166. begin
  25167. getU1MD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25168. end;
  25169. procedure TCFG_PMD5.setU2MD; inline;
  25170. begin
  25171. pTDefRegMap(@Self)^.&set := $00000002;
  25172. end;
  25173. procedure TCFG_PMD5.clearU2MD; inline;
  25174. begin
  25175. pTDefRegMap(@Self)^.clr := $00000002;
  25176. end;
  25177. procedure TCFG_PMD5.setU2MD(thebits : TBits_1); inline;
  25178. begin
  25179. if thebits = 0 then
  25180. pTDefRegMap(@Self)^.clr := $00000002
  25181. else
  25182. pTDefRegMap(@Self)^.&set := $00000002;
  25183. end;
  25184. function TCFG_PMD5.getU2MD : TBits_1; inline;
  25185. begin
  25186. getU2MD := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25187. end;
  25188. procedure TCFG_PMD5.setSPI1MD; inline;
  25189. begin
  25190. pTDefRegMap(@Self)^.&set := $00000100;
  25191. end;
  25192. procedure TCFG_PMD5.clearSPI1MD; inline;
  25193. begin
  25194. pTDefRegMap(@Self)^.clr := $00000100;
  25195. end;
  25196. procedure TCFG_PMD5.setSPI1MD(thebits : TBits_1); inline;
  25197. begin
  25198. if thebits = 0 then
  25199. pTDefRegMap(@Self)^.clr := $00000100
  25200. else
  25201. pTDefRegMap(@Self)^.&set := $00000100;
  25202. end;
  25203. function TCFG_PMD5.getSPI1MD : TBits_1; inline;
  25204. begin
  25205. getSPI1MD := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25206. end;
  25207. procedure TCFG_PMD5.setSPI2MD; inline;
  25208. begin
  25209. pTDefRegMap(@Self)^.&set := $00000200;
  25210. end;
  25211. procedure TCFG_PMD5.clearSPI2MD; inline;
  25212. begin
  25213. pTDefRegMap(@Self)^.clr := $00000200;
  25214. end;
  25215. procedure TCFG_PMD5.setSPI2MD(thebits : TBits_1); inline;
  25216. begin
  25217. if thebits = 0 then
  25218. pTDefRegMap(@Self)^.clr := $00000200
  25219. else
  25220. pTDefRegMap(@Self)^.&set := $00000200;
  25221. end;
  25222. function TCFG_PMD5.getSPI2MD : TBits_1; inline;
  25223. begin
  25224. getSPI2MD := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25225. end;
  25226. procedure TCFG_PMD5.setI2C1MD; inline;
  25227. begin
  25228. pTDefRegMap(@Self)^.&set := $00010000;
  25229. end;
  25230. procedure TCFG_PMD5.clearI2C1MD; inline;
  25231. begin
  25232. pTDefRegMap(@Self)^.clr := $00010000;
  25233. end;
  25234. procedure TCFG_PMD5.setI2C1MD(thebits : TBits_1); inline;
  25235. begin
  25236. if thebits = 0 then
  25237. pTDefRegMap(@Self)^.clr := $00010000
  25238. else
  25239. pTDefRegMap(@Self)^.&set := $00010000;
  25240. end;
  25241. function TCFG_PMD5.getI2C1MD : TBits_1; inline;
  25242. begin
  25243. getI2C1MD := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25244. end;
  25245. procedure TCFG_PMD5.setI2C2MD; inline;
  25246. begin
  25247. pTDefRegMap(@Self)^.&set := $00020000;
  25248. end;
  25249. procedure TCFG_PMD5.clearI2C2MD; inline;
  25250. begin
  25251. pTDefRegMap(@Self)^.clr := $00020000;
  25252. end;
  25253. procedure TCFG_PMD5.setI2C2MD(thebits : TBits_1); inline;
  25254. begin
  25255. if thebits = 0 then
  25256. pTDefRegMap(@Self)^.clr := $00020000
  25257. else
  25258. pTDefRegMap(@Self)^.&set := $00020000;
  25259. end;
  25260. function TCFG_PMD5.getI2C2MD : TBits_1; inline;
  25261. begin
  25262. getI2C2MD := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25263. end;
  25264. procedure TCFG_PMD5.setUSB1MD; inline;
  25265. begin
  25266. pTDefRegMap(@Self)^.&set := $01000000;
  25267. end;
  25268. procedure TCFG_PMD5.clearUSB1MD; inline;
  25269. begin
  25270. pTDefRegMap(@Self)^.clr := $01000000;
  25271. end;
  25272. procedure TCFG_PMD5.setUSB1MD(thebits : TBits_1); inline;
  25273. begin
  25274. if thebits = 0 then
  25275. pTDefRegMap(@Self)^.clr := $01000000
  25276. else
  25277. pTDefRegMap(@Self)^.&set := $01000000;
  25278. end;
  25279. function TCFG_PMD5.getUSB1MD : TBits_1; inline;
  25280. begin
  25281. getUSB1MD := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25282. end;
  25283. procedure TCFG_PMD5.setUSBMD; inline;
  25284. begin
  25285. pTDefRegMap(@Self)^.&set := $01000000;
  25286. end;
  25287. procedure TCFG_PMD5.clearUSBMD; inline;
  25288. begin
  25289. pTDefRegMap(@Self)^.clr := $01000000;
  25290. end;
  25291. procedure TCFG_PMD5.setUSBMD(thebits : TBits_1); inline;
  25292. begin
  25293. if thebits = 0 then
  25294. pTDefRegMap(@Self)^.clr := $01000000
  25295. else
  25296. pTDefRegMap(@Self)^.&set := $01000000;
  25297. end;
  25298. function TCFG_PMD5.getUSBMD : TBits_1; inline;
  25299. begin
  25300. getUSBMD := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25301. end;
  25302. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  25303. begin
  25304. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25305. end;
  25306. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  25307. begin
  25308. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25309. end;
  25310. procedure TNVM_NVMCON.setLVDSTAT; inline;
  25311. begin
  25312. pTDefRegMap(@Self)^.&set := $00000800;
  25313. end;
  25314. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  25315. begin
  25316. pTDefRegMap(@Self)^.clr := $00000800;
  25317. end;
  25318. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  25319. begin
  25320. if thebits = 0 then
  25321. pTDefRegMap(@Self)^.clr := $00000800
  25322. else
  25323. pTDefRegMap(@Self)^.&set := $00000800;
  25324. end;
  25325. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  25326. begin
  25327. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25328. end;
  25329. procedure TNVM_NVMCON.setLVDERR; inline;
  25330. begin
  25331. pTDefRegMap(@Self)^.&set := $00001000;
  25332. end;
  25333. procedure TNVM_NVMCON.clearLVDERR; inline;
  25334. begin
  25335. pTDefRegMap(@Self)^.clr := $00001000;
  25336. end;
  25337. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  25338. begin
  25339. if thebits = 0 then
  25340. pTDefRegMap(@Self)^.clr := $00001000
  25341. else
  25342. pTDefRegMap(@Self)^.&set := $00001000;
  25343. end;
  25344. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  25345. begin
  25346. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25347. end;
  25348. procedure TNVM_NVMCON.setWRERR; inline;
  25349. begin
  25350. pTDefRegMap(@Self)^.&set := $00002000;
  25351. end;
  25352. procedure TNVM_NVMCON.clearWRERR; inline;
  25353. begin
  25354. pTDefRegMap(@Self)^.clr := $00002000;
  25355. end;
  25356. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  25357. begin
  25358. if thebits = 0 then
  25359. pTDefRegMap(@Self)^.clr := $00002000
  25360. else
  25361. pTDefRegMap(@Self)^.&set := $00002000;
  25362. end;
  25363. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  25364. begin
  25365. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25366. end;
  25367. procedure TNVM_NVMCON.setWREN; inline;
  25368. begin
  25369. pTDefRegMap(@Self)^.&set := $00004000;
  25370. end;
  25371. procedure TNVM_NVMCON.clearWREN; inline;
  25372. begin
  25373. pTDefRegMap(@Self)^.clr := $00004000;
  25374. end;
  25375. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  25376. begin
  25377. if thebits = 0 then
  25378. pTDefRegMap(@Self)^.clr := $00004000
  25379. else
  25380. pTDefRegMap(@Self)^.&set := $00004000;
  25381. end;
  25382. function TNVM_NVMCON.getWREN : TBits_1; inline;
  25383. begin
  25384. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25385. end;
  25386. procedure TNVM_NVMCON.setWR; inline;
  25387. begin
  25388. pTDefRegMap(@Self)^.&set := $00008000;
  25389. end;
  25390. procedure TNVM_NVMCON.clearWR; inline;
  25391. begin
  25392. pTDefRegMap(@Self)^.clr := $00008000;
  25393. end;
  25394. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  25395. begin
  25396. if thebits = 0 then
  25397. pTDefRegMap(@Self)^.clr := $00008000
  25398. else
  25399. pTDefRegMap(@Self)^.&set := $00008000;
  25400. end;
  25401. function TNVM_NVMCON.getWR : TBits_1; inline;
  25402. begin
  25403. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25404. end;
  25405. procedure TNVM_NVMCON.setNVMOP0; inline;
  25406. begin
  25407. pTDefRegMap(@Self)^.&set := $00000001;
  25408. end;
  25409. procedure TNVM_NVMCON.clearNVMOP0; inline;
  25410. begin
  25411. pTDefRegMap(@Self)^.clr := $00000001;
  25412. end;
  25413. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  25414. begin
  25415. if thebits = 0 then
  25416. pTDefRegMap(@Self)^.clr := $00000001
  25417. else
  25418. pTDefRegMap(@Self)^.&set := $00000001;
  25419. end;
  25420. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  25421. begin
  25422. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25423. end;
  25424. procedure TNVM_NVMCON.setNVMOP1; inline;
  25425. begin
  25426. pTDefRegMap(@Self)^.&set := $00000002;
  25427. end;
  25428. procedure TNVM_NVMCON.clearNVMOP1; inline;
  25429. begin
  25430. pTDefRegMap(@Self)^.clr := $00000002;
  25431. end;
  25432. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  25433. begin
  25434. if thebits = 0 then
  25435. pTDefRegMap(@Self)^.clr := $00000002
  25436. else
  25437. pTDefRegMap(@Self)^.&set := $00000002;
  25438. end;
  25439. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  25440. begin
  25441. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25442. end;
  25443. procedure TNVM_NVMCON.setNVMOP2; inline;
  25444. begin
  25445. pTDefRegMap(@Self)^.&set := $00000004;
  25446. end;
  25447. procedure TNVM_NVMCON.clearNVMOP2; inline;
  25448. begin
  25449. pTDefRegMap(@Self)^.clr := $00000004;
  25450. end;
  25451. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  25452. begin
  25453. if thebits = 0 then
  25454. pTDefRegMap(@Self)^.clr := $00000004
  25455. else
  25456. pTDefRegMap(@Self)^.&set := $00000004;
  25457. end;
  25458. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  25459. begin
  25460. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25461. end;
  25462. procedure TNVM_NVMCON.setNVMOP3; inline;
  25463. begin
  25464. pTDefRegMap(@Self)^.&set := $00000008;
  25465. end;
  25466. procedure TNVM_NVMCON.clearNVMOP3; inline;
  25467. begin
  25468. pTDefRegMap(@Self)^.clr := $00000008;
  25469. end;
  25470. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  25471. begin
  25472. if thebits = 0 then
  25473. pTDefRegMap(@Self)^.clr := $00000008
  25474. else
  25475. pTDefRegMap(@Self)^.&set := $00000008;
  25476. end;
  25477. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  25478. begin
  25479. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25480. end;
  25481. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  25482. begin
  25483. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25484. end;
  25485. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  25486. begin
  25487. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25488. end;
  25489. procedure TNVM_NVMCON.setPROGOP0; inline;
  25490. begin
  25491. pTDefRegMap(@Self)^.&set := $00000001;
  25492. end;
  25493. procedure TNVM_NVMCON.clearPROGOP0; inline;
  25494. begin
  25495. pTDefRegMap(@Self)^.clr := $00000001;
  25496. end;
  25497. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  25498. begin
  25499. if thebits = 0 then
  25500. pTDefRegMap(@Self)^.clr := $00000001
  25501. else
  25502. pTDefRegMap(@Self)^.&set := $00000001;
  25503. end;
  25504. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  25505. begin
  25506. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25507. end;
  25508. procedure TNVM_NVMCON.setPROGOP1; inline;
  25509. begin
  25510. pTDefRegMap(@Self)^.&set := $00000002;
  25511. end;
  25512. procedure TNVM_NVMCON.clearPROGOP1; inline;
  25513. begin
  25514. pTDefRegMap(@Self)^.clr := $00000002;
  25515. end;
  25516. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  25517. begin
  25518. if thebits = 0 then
  25519. pTDefRegMap(@Self)^.clr := $00000002
  25520. else
  25521. pTDefRegMap(@Self)^.&set := $00000002;
  25522. end;
  25523. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  25524. begin
  25525. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25526. end;
  25527. procedure TNVM_NVMCON.setPROGOP2; inline;
  25528. begin
  25529. pTDefRegMap(@Self)^.&set := $00000004;
  25530. end;
  25531. procedure TNVM_NVMCON.clearPROGOP2; inline;
  25532. begin
  25533. pTDefRegMap(@Self)^.clr := $00000004;
  25534. end;
  25535. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  25536. begin
  25537. if thebits = 0 then
  25538. pTDefRegMap(@Self)^.clr := $00000004
  25539. else
  25540. pTDefRegMap(@Self)^.&set := $00000004;
  25541. end;
  25542. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  25543. begin
  25544. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25545. end;
  25546. procedure TNVM_NVMCON.setPROGOP3; inline;
  25547. begin
  25548. pTDefRegMap(@Self)^.&set := $00000008;
  25549. end;
  25550. procedure TNVM_NVMCON.clearPROGOP3; inline;
  25551. begin
  25552. pTDefRegMap(@Self)^.clr := $00000008;
  25553. end;
  25554. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  25555. begin
  25556. if thebits = 0 then
  25557. pTDefRegMap(@Self)^.clr := $00000008
  25558. else
  25559. pTDefRegMap(@Self)^.&set := $00000008;
  25560. end;
  25561. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  25562. begin
  25563. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25564. end;
  25565. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  25566. begin
  25567. pTDefRegMap(@Self)^.val := thebits;
  25568. end;
  25569. function TNVM_NVMCON.getw : TBits_32; inline;
  25570. begin
  25571. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25572. end;
  25573. procedure TRCON_RCON.setPOR; inline;
  25574. begin
  25575. pTDefRegMap(@Self)^.&set := $00000001;
  25576. end;
  25577. procedure TRCON_RCON.clearPOR; inline;
  25578. begin
  25579. pTDefRegMap(@Self)^.clr := $00000001;
  25580. end;
  25581. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  25582. begin
  25583. if thebits = 0 then
  25584. pTDefRegMap(@Self)^.clr := $00000001
  25585. else
  25586. pTDefRegMap(@Self)^.&set := $00000001;
  25587. end;
  25588. function TRCON_RCON.getPOR : TBits_1; inline;
  25589. begin
  25590. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25591. end;
  25592. procedure TRCON_RCON.setBOR; inline;
  25593. begin
  25594. pTDefRegMap(@Self)^.&set := $00000002;
  25595. end;
  25596. procedure TRCON_RCON.clearBOR; inline;
  25597. begin
  25598. pTDefRegMap(@Self)^.clr := $00000002;
  25599. end;
  25600. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  25601. begin
  25602. if thebits = 0 then
  25603. pTDefRegMap(@Self)^.clr := $00000002
  25604. else
  25605. pTDefRegMap(@Self)^.&set := $00000002;
  25606. end;
  25607. function TRCON_RCON.getBOR : TBits_1; inline;
  25608. begin
  25609. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25610. end;
  25611. procedure TRCON_RCON.setIDLE; inline;
  25612. begin
  25613. pTDefRegMap(@Self)^.&set := $00000004;
  25614. end;
  25615. procedure TRCON_RCON.clearIDLE; inline;
  25616. begin
  25617. pTDefRegMap(@Self)^.clr := $00000004;
  25618. end;
  25619. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  25620. begin
  25621. if thebits = 0 then
  25622. pTDefRegMap(@Self)^.clr := $00000004
  25623. else
  25624. pTDefRegMap(@Self)^.&set := $00000004;
  25625. end;
  25626. function TRCON_RCON.getIDLE : TBits_1; inline;
  25627. begin
  25628. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25629. end;
  25630. procedure TRCON_RCON.setSLEEP; inline;
  25631. begin
  25632. pTDefRegMap(@Self)^.&set := $00000008;
  25633. end;
  25634. procedure TRCON_RCON.clearSLEEP; inline;
  25635. begin
  25636. pTDefRegMap(@Self)^.clr := $00000008;
  25637. end;
  25638. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  25639. begin
  25640. if thebits = 0 then
  25641. pTDefRegMap(@Self)^.clr := $00000008
  25642. else
  25643. pTDefRegMap(@Self)^.&set := $00000008;
  25644. end;
  25645. function TRCON_RCON.getSLEEP : TBits_1; inline;
  25646. begin
  25647. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25648. end;
  25649. procedure TRCON_RCON.setWDTO; inline;
  25650. begin
  25651. pTDefRegMap(@Self)^.&set := $00000010;
  25652. end;
  25653. procedure TRCON_RCON.clearWDTO; inline;
  25654. begin
  25655. pTDefRegMap(@Self)^.clr := $00000010;
  25656. end;
  25657. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  25658. begin
  25659. if thebits = 0 then
  25660. pTDefRegMap(@Self)^.clr := $00000010
  25661. else
  25662. pTDefRegMap(@Self)^.&set := $00000010;
  25663. end;
  25664. function TRCON_RCON.getWDTO : TBits_1; inline;
  25665. begin
  25666. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25667. end;
  25668. procedure TRCON_RCON.setSWR; inline;
  25669. begin
  25670. pTDefRegMap(@Self)^.&set := $00000040;
  25671. end;
  25672. procedure TRCON_RCON.clearSWR; inline;
  25673. begin
  25674. pTDefRegMap(@Self)^.clr := $00000040;
  25675. end;
  25676. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  25677. begin
  25678. if thebits = 0 then
  25679. pTDefRegMap(@Self)^.clr := $00000040
  25680. else
  25681. pTDefRegMap(@Self)^.&set := $00000040;
  25682. end;
  25683. function TRCON_RCON.getSWR : TBits_1; inline;
  25684. begin
  25685. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25686. end;
  25687. procedure TRCON_RCON.setEXTR; inline;
  25688. begin
  25689. pTDefRegMap(@Self)^.&set := $00000080;
  25690. end;
  25691. procedure TRCON_RCON.clearEXTR; inline;
  25692. begin
  25693. pTDefRegMap(@Self)^.clr := $00000080;
  25694. end;
  25695. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  25696. begin
  25697. if thebits = 0 then
  25698. pTDefRegMap(@Self)^.clr := $00000080
  25699. else
  25700. pTDefRegMap(@Self)^.&set := $00000080;
  25701. end;
  25702. function TRCON_RCON.getEXTR : TBits_1; inline;
  25703. begin
  25704. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25705. end;
  25706. procedure TRCON_RCON.setVREGS; inline;
  25707. begin
  25708. pTDefRegMap(@Self)^.&set := $00000100;
  25709. end;
  25710. procedure TRCON_RCON.clearVREGS; inline;
  25711. begin
  25712. pTDefRegMap(@Self)^.clr := $00000100;
  25713. end;
  25714. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  25715. begin
  25716. if thebits = 0 then
  25717. pTDefRegMap(@Self)^.clr := $00000100
  25718. else
  25719. pTDefRegMap(@Self)^.&set := $00000100;
  25720. end;
  25721. function TRCON_RCON.getVREGS : TBits_1; inline;
  25722. begin
  25723. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25724. end;
  25725. procedure TRCON_RCON.setCMR; inline;
  25726. begin
  25727. pTDefRegMap(@Self)^.&set := $00000200;
  25728. end;
  25729. procedure TRCON_RCON.clearCMR; inline;
  25730. begin
  25731. pTDefRegMap(@Self)^.clr := $00000200;
  25732. end;
  25733. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  25734. begin
  25735. if thebits = 0 then
  25736. pTDefRegMap(@Self)^.clr := $00000200
  25737. else
  25738. pTDefRegMap(@Self)^.&set := $00000200;
  25739. end;
  25740. function TRCON_RCON.getCMR : TBits_1; inline;
  25741. begin
  25742. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25743. end;
  25744. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  25745. begin
  25746. pTDefRegMap(@Self)^.val := thebits;
  25747. end;
  25748. function TRCON_RCON.getw : TBits_32; inline;
  25749. begin
  25750. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25751. end;
  25752. procedure TRCON_RSWRST.setSWRST; inline;
  25753. begin
  25754. pTDefRegMap(@Self)^.&set := $00000001;
  25755. end;
  25756. procedure TRCON_RSWRST.clearSWRST; inline;
  25757. begin
  25758. pTDefRegMap(@Self)^.clr := $00000001;
  25759. end;
  25760. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  25761. begin
  25762. if thebits = 0 then
  25763. pTDefRegMap(@Self)^.clr := $00000001
  25764. else
  25765. pTDefRegMap(@Self)^.&set := $00000001;
  25766. end;
  25767. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  25768. begin
  25769. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25770. end;
  25771. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  25772. begin
  25773. pTDefRegMap(@Self)^.val := thebits;
  25774. end;
  25775. function TRCON_RSWRST.getw : TBits_32; inline;
  25776. begin
  25777. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25778. end;
  25779. procedure TINT_INTCON.setINT0EP; inline;
  25780. begin
  25781. pTDefRegMap(@Self)^.&set := $00000001;
  25782. end;
  25783. procedure TINT_INTCON.clearINT0EP; inline;
  25784. begin
  25785. pTDefRegMap(@Self)^.clr := $00000001;
  25786. end;
  25787. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  25788. begin
  25789. if thebits = 0 then
  25790. pTDefRegMap(@Self)^.clr := $00000001
  25791. else
  25792. pTDefRegMap(@Self)^.&set := $00000001;
  25793. end;
  25794. function TINT_INTCON.getINT0EP : TBits_1; inline;
  25795. begin
  25796. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25797. end;
  25798. procedure TINT_INTCON.setINT1EP; inline;
  25799. begin
  25800. pTDefRegMap(@Self)^.&set := $00000002;
  25801. end;
  25802. procedure TINT_INTCON.clearINT1EP; inline;
  25803. begin
  25804. pTDefRegMap(@Self)^.clr := $00000002;
  25805. end;
  25806. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  25807. begin
  25808. if thebits = 0 then
  25809. pTDefRegMap(@Self)^.clr := $00000002
  25810. else
  25811. pTDefRegMap(@Self)^.&set := $00000002;
  25812. end;
  25813. function TINT_INTCON.getINT1EP : TBits_1; inline;
  25814. begin
  25815. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25816. end;
  25817. procedure TINT_INTCON.setINT2EP; inline;
  25818. begin
  25819. pTDefRegMap(@Self)^.&set := $00000004;
  25820. end;
  25821. procedure TINT_INTCON.clearINT2EP; inline;
  25822. begin
  25823. pTDefRegMap(@Self)^.clr := $00000004;
  25824. end;
  25825. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  25826. begin
  25827. if thebits = 0 then
  25828. pTDefRegMap(@Self)^.clr := $00000004
  25829. else
  25830. pTDefRegMap(@Self)^.&set := $00000004;
  25831. end;
  25832. function TINT_INTCON.getINT2EP : TBits_1; inline;
  25833. begin
  25834. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25835. end;
  25836. procedure TINT_INTCON.setINT3EP; inline;
  25837. begin
  25838. pTDefRegMap(@Self)^.&set := $00000008;
  25839. end;
  25840. procedure TINT_INTCON.clearINT3EP; inline;
  25841. begin
  25842. pTDefRegMap(@Self)^.clr := $00000008;
  25843. end;
  25844. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  25845. begin
  25846. if thebits = 0 then
  25847. pTDefRegMap(@Self)^.clr := $00000008
  25848. else
  25849. pTDefRegMap(@Self)^.&set := $00000008;
  25850. end;
  25851. function TINT_INTCON.getINT3EP : TBits_1; inline;
  25852. begin
  25853. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25854. end;
  25855. procedure TINT_INTCON.setINT4EP; inline;
  25856. begin
  25857. pTDefRegMap(@Self)^.&set := $00000010;
  25858. end;
  25859. procedure TINT_INTCON.clearINT4EP; inline;
  25860. begin
  25861. pTDefRegMap(@Self)^.clr := $00000010;
  25862. end;
  25863. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  25864. begin
  25865. if thebits = 0 then
  25866. pTDefRegMap(@Self)^.clr := $00000010
  25867. else
  25868. pTDefRegMap(@Self)^.&set := $00000010;
  25869. end;
  25870. function TINT_INTCON.getINT4EP : TBits_1; inline;
  25871. begin
  25872. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25873. end;
  25874. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  25875. begin
  25876. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  25877. end;
  25878. function TINT_INTCON.getTPC : TBits_3; inline;
  25879. begin
  25880. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  25881. end;
  25882. procedure TINT_INTCON.setMVEC; inline;
  25883. begin
  25884. pTDefRegMap(@Self)^.&set := $00001000;
  25885. end;
  25886. procedure TINT_INTCON.clearMVEC; inline;
  25887. begin
  25888. pTDefRegMap(@Self)^.clr := $00001000;
  25889. end;
  25890. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  25891. begin
  25892. if thebits = 0 then
  25893. pTDefRegMap(@Self)^.clr := $00001000
  25894. else
  25895. pTDefRegMap(@Self)^.&set := $00001000;
  25896. end;
  25897. function TINT_INTCON.getMVEC : TBits_1; inline;
  25898. begin
  25899. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25900. end;
  25901. procedure TINT_INTCON.setSS0; inline;
  25902. begin
  25903. pTDefRegMap(@Self)^.&set := $00010000;
  25904. end;
  25905. procedure TINT_INTCON.clearSS0; inline;
  25906. begin
  25907. pTDefRegMap(@Self)^.clr := $00010000;
  25908. end;
  25909. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  25910. begin
  25911. if thebits = 0 then
  25912. pTDefRegMap(@Self)^.clr := $00010000
  25913. else
  25914. pTDefRegMap(@Self)^.&set := $00010000;
  25915. end;
  25916. function TINT_INTCON.getSS0 : TBits_1; inline;
  25917. begin
  25918. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25919. end;
  25920. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  25921. begin
  25922. pTDefRegMap(@Self)^.val := thebits;
  25923. end;
  25924. function TINT_INTCON.getw : TBits_32; inline;
  25925. begin
  25926. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25927. end;
  25928. procedure TINT_IFS0.setCTIF; inline;
  25929. begin
  25930. pTDefRegMap(@Self)^.&set := $00000001;
  25931. end;
  25932. procedure TINT_IFS0.clearCTIF; inline;
  25933. begin
  25934. pTDefRegMap(@Self)^.clr := $00000001;
  25935. end;
  25936. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  25937. begin
  25938. if thebits = 0 then
  25939. pTDefRegMap(@Self)^.clr := $00000001
  25940. else
  25941. pTDefRegMap(@Self)^.&set := $00000001;
  25942. end;
  25943. function TINT_IFS0.getCTIF : TBits_1; inline;
  25944. begin
  25945. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25946. end;
  25947. procedure TINT_IFS0.setCS0IF; inline;
  25948. begin
  25949. pTDefRegMap(@Self)^.&set := $00000002;
  25950. end;
  25951. procedure TINT_IFS0.clearCS0IF; inline;
  25952. begin
  25953. pTDefRegMap(@Self)^.clr := $00000002;
  25954. end;
  25955. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  25956. begin
  25957. if thebits = 0 then
  25958. pTDefRegMap(@Self)^.clr := $00000002
  25959. else
  25960. pTDefRegMap(@Self)^.&set := $00000002;
  25961. end;
  25962. function TINT_IFS0.getCS0IF : TBits_1; inline;
  25963. begin
  25964. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25965. end;
  25966. procedure TINT_IFS0.setCS1IF; inline;
  25967. begin
  25968. pTDefRegMap(@Self)^.&set := $00000004;
  25969. end;
  25970. procedure TINT_IFS0.clearCS1IF; inline;
  25971. begin
  25972. pTDefRegMap(@Self)^.clr := $00000004;
  25973. end;
  25974. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  25975. begin
  25976. if thebits = 0 then
  25977. pTDefRegMap(@Self)^.clr := $00000004
  25978. else
  25979. pTDefRegMap(@Self)^.&set := $00000004;
  25980. end;
  25981. function TINT_IFS0.getCS1IF : TBits_1; inline;
  25982. begin
  25983. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25984. end;
  25985. procedure TINT_IFS0.setINT0IF; inline;
  25986. begin
  25987. pTDefRegMap(@Self)^.&set := $00000008;
  25988. end;
  25989. procedure TINT_IFS0.clearINT0IF; inline;
  25990. begin
  25991. pTDefRegMap(@Self)^.clr := $00000008;
  25992. end;
  25993. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  25994. begin
  25995. if thebits = 0 then
  25996. pTDefRegMap(@Self)^.clr := $00000008
  25997. else
  25998. pTDefRegMap(@Self)^.&set := $00000008;
  25999. end;
  26000. function TINT_IFS0.getINT0IF : TBits_1; inline;
  26001. begin
  26002. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26003. end;
  26004. procedure TINT_IFS0.setT1IF; inline;
  26005. begin
  26006. pTDefRegMap(@Self)^.&set := $00000010;
  26007. end;
  26008. procedure TINT_IFS0.clearT1IF; inline;
  26009. begin
  26010. pTDefRegMap(@Self)^.clr := $00000010;
  26011. end;
  26012. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  26013. begin
  26014. if thebits = 0 then
  26015. pTDefRegMap(@Self)^.clr := $00000010
  26016. else
  26017. pTDefRegMap(@Self)^.&set := $00000010;
  26018. end;
  26019. function TINT_IFS0.getT1IF : TBits_1; inline;
  26020. begin
  26021. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26022. end;
  26023. procedure TINT_IFS0.setIC1EIF; inline;
  26024. begin
  26025. pTDefRegMap(@Self)^.&set := $00000020;
  26026. end;
  26027. procedure TINT_IFS0.clearIC1EIF; inline;
  26028. begin
  26029. pTDefRegMap(@Self)^.clr := $00000020;
  26030. end;
  26031. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  26032. begin
  26033. if thebits = 0 then
  26034. pTDefRegMap(@Self)^.clr := $00000020
  26035. else
  26036. pTDefRegMap(@Self)^.&set := $00000020;
  26037. end;
  26038. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  26039. begin
  26040. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26041. end;
  26042. procedure TINT_IFS0.setIC1IF; inline;
  26043. begin
  26044. pTDefRegMap(@Self)^.&set := $00000040;
  26045. end;
  26046. procedure TINT_IFS0.clearIC1IF; inline;
  26047. begin
  26048. pTDefRegMap(@Self)^.clr := $00000040;
  26049. end;
  26050. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  26051. begin
  26052. if thebits = 0 then
  26053. pTDefRegMap(@Self)^.clr := $00000040
  26054. else
  26055. pTDefRegMap(@Self)^.&set := $00000040;
  26056. end;
  26057. function TINT_IFS0.getIC1IF : TBits_1; inline;
  26058. begin
  26059. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26060. end;
  26061. procedure TINT_IFS0.setOC1IF; inline;
  26062. begin
  26063. pTDefRegMap(@Self)^.&set := $00000080;
  26064. end;
  26065. procedure TINT_IFS0.clearOC1IF; inline;
  26066. begin
  26067. pTDefRegMap(@Self)^.clr := $00000080;
  26068. end;
  26069. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  26070. begin
  26071. if thebits = 0 then
  26072. pTDefRegMap(@Self)^.clr := $00000080
  26073. else
  26074. pTDefRegMap(@Self)^.&set := $00000080;
  26075. end;
  26076. function TINT_IFS0.getOC1IF : TBits_1; inline;
  26077. begin
  26078. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26079. end;
  26080. procedure TINT_IFS0.setINT1IF; inline;
  26081. begin
  26082. pTDefRegMap(@Self)^.&set := $00000100;
  26083. end;
  26084. procedure TINT_IFS0.clearINT1IF; inline;
  26085. begin
  26086. pTDefRegMap(@Self)^.clr := $00000100;
  26087. end;
  26088. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  26089. begin
  26090. if thebits = 0 then
  26091. pTDefRegMap(@Self)^.clr := $00000100
  26092. else
  26093. pTDefRegMap(@Self)^.&set := $00000100;
  26094. end;
  26095. function TINT_IFS0.getINT1IF : TBits_1; inline;
  26096. begin
  26097. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26098. end;
  26099. procedure TINT_IFS0.setT2IF; inline;
  26100. begin
  26101. pTDefRegMap(@Self)^.&set := $00000200;
  26102. end;
  26103. procedure TINT_IFS0.clearT2IF; inline;
  26104. begin
  26105. pTDefRegMap(@Self)^.clr := $00000200;
  26106. end;
  26107. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  26108. begin
  26109. if thebits = 0 then
  26110. pTDefRegMap(@Self)^.clr := $00000200
  26111. else
  26112. pTDefRegMap(@Self)^.&set := $00000200;
  26113. end;
  26114. function TINT_IFS0.getT2IF : TBits_1; inline;
  26115. begin
  26116. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26117. end;
  26118. procedure TINT_IFS0.setIC2EIF; inline;
  26119. begin
  26120. pTDefRegMap(@Self)^.&set := $00000400;
  26121. end;
  26122. procedure TINT_IFS0.clearIC2EIF; inline;
  26123. begin
  26124. pTDefRegMap(@Self)^.clr := $00000400;
  26125. end;
  26126. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  26127. begin
  26128. if thebits = 0 then
  26129. pTDefRegMap(@Self)^.clr := $00000400
  26130. else
  26131. pTDefRegMap(@Self)^.&set := $00000400;
  26132. end;
  26133. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  26134. begin
  26135. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26136. end;
  26137. procedure TINT_IFS0.setIC2IF; inline;
  26138. begin
  26139. pTDefRegMap(@Self)^.&set := $00000800;
  26140. end;
  26141. procedure TINT_IFS0.clearIC2IF; inline;
  26142. begin
  26143. pTDefRegMap(@Self)^.clr := $00000800;
  26144. end;
  26145. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  26146. begin
  26147. if thebits = 0 then
  26148. pTDefRegMap(@Self)^.clr := $00000800
  26149. else
  26150. pTDefRegMap(@Self)^.&set := $00000800;
  26151. end;
  26152. function TINT_IFS0.getIC2IF : TBits_1; inline;
  26153. begin
  26154. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26155. end;
  26156. procedure TINT_IFS0.setOC2IF; inline;
  26157. begin
  26158. pTDefRegMap(@Self)^.&set := $00001000;
  26159. end;
  26160. procedure TINT_IFS0.clearOC2IF; inline;
  26161. begin
  26162. pTDefRegMap(@Self)^.clr := $00001000;
  26163. end;
  26164. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  26165. begin
  26166. if thebits = 0 then
  26167. pTDefRegMap(@Self)^.clr := $00001000
  26168. else
  26169. pTDefRegMap(@Self)^.&set := $00001000;
  26170. end;
  26171. function TINT_IFS0.getOC2IF : TBits_1; inline;
  26172. begin
  26173. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26174. end;
  26175. procedure TINT_IFS0.setINT2IF; inline;
  26176. begin
  26177. pTDefRegMap(@Self)^.&set := $00002000;
  26178. end;
  26179. procedure TINT_IFS0.clearINT2IF; inline;
  26180. begin
  26181. pTDefRegMap(@Self)^.clr := $00002000;
  26182. end;
  26183. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  26184. begin
  26185. if thebits = 0 then
  26186. pTDefRegMap(@Self)^.clr := $00002000
  26187. else
  26188. pTDefRegMap(@Self)^.&set := $00002000;
  26189. end;
  26190. function TINT_IFS0.getINT2IF : TBits_1; inline;
  26191. begin
  26192. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26193. end;
  26194. procedure TINT_IFS0.setT3IF; inline;
  26195. begin
  26196. pTDefRegMap(@Self)^.&set := $00004000;
  26197. end;
  26198. procedure TINT_IFS0.clearT3IF; inline;
  26199. begin
  26200. pTDefRegMap(@Self)^.clr := $00004000;
  26201. end;
  26202. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  26203. begin
  26204. if thebits = 0 then
  26205. pTDefRegMap(@Self)^.clr := $00004000
  26206. else
  26207. pTDefRegMap(@Self)^.&set := $00004000;
  26208. end;
  26209. function TINT_IFS0.getT3IF : TBits_1; inline;
  26210. begin
  26211. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26212. end;
  26213. procedure TINT_IFS0.setIC3EIF; inline;
  26214. begin
  26215. pTDefRegMap(@Self)^.&set := $00008000;
  26216. end;
  26217. procedure TINT_IFS0.clearIC3EIF; inline;
  26218. begin
  26219. pTDefRegMap(@Self)^.clr := $00008000;
  26220. end;
  26221. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  26222. begin
  26223. if thebits = 0 then
  26224. pTDefRegMap(@Self)^.clr := $00008000
  26225. else
  26226. pTDefRegMap(@Self)^.&set := $00008000;
  26227. end;
  26228. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  26229. begin
  26230. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26231. end;
  26232. procedure TINT_IFS0.setIC3IF; inline;
  26233. begin
  26234. pTDefRegMap(@Self)^.&set := $00010000;
  26235. end;
  26236. procedure TINT_IFS0.clearIC3IF; inline;
  26237. begin
  26238. pTDefRegMap(@Self)^.clr := $00010000;
  26239. end;
  26240. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  26241. begin
  26242. if thebits = 0 then
  26243. pTDefRegMap(@Self)^.clr := $00010000
  26244. else
  26245. pTDefRegMap(@Self)^.&set := $00010000;
  26246. end;
  26247. function TINT_IFS0.getIC3IF : TBits_1; inline;
  26248. begin
  26249. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26250. end;
  26251. procedure TINT_IFS0.setOC3IF; inline;
  26252. begin
  26253. pTDefRegMap(@Self)^.&set := $00020000;
  26254. end;
  26255. procedure TINT_IFS0.clearOC3IF; inline;
  26256. begin
  26257. pTDefRegMap(@Self)^.clr := $00020000;
  26258. end;
  26259. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  26260. begin
  26261. if thebits = 0 then
  26262. pTDefRegMap(@Self)^.clr := $00020000
  26263. else
  26264. pTDefRegMap(@Self)^.&set := $00020000;
  26265. end;
  26266. function TINT_IFS0.getOC3IF : TBits_1; inline;
  26267. begin
  26268. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26269. end;
  26270. procedure TINT_IFS0.setINT3IF; inline;
  26271. begin
  26272. pTDefRegMap(@Self)^.&set := $00040000;
  26273. end;
  26274. procedure TINT_IFS0.clearINT3IF; inline;
  26275. begin
  26276. pTDefRegMap(@Self)^.clr := $00040000;
  26277. end;
  26278. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  26279. begin
  26280. if thebits = 0 then
  26281. pTDefRegMap(@Self)^.clr := $00040000
  26282. else
  26283. pTDefRegMap(@Self)^.&set := $00040000;
  26284. end;
  26285. function TINT_IFS0.getINT3IF : TBits_1; inline;
  26286. begin
  26287. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26288. end;
  26289. procedure TINT_IFS0.setT4IF; inline;
  26290. begin
  26291. pTDefRegMap(@Self)^.&set := $00080000;
  26292. end;
  26293. procedure TINT_IFS0.clearT4IF; inline;
  26294. begin
  26295. pTDefRegMap(@Self)^.clr := $00080000;
  26296. end;
  26297. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  26298. begin
  26299. if thebits = 0 then
  26300. pTDefRegMap(@Self)^.clr := $00080000
  26301. else
  26302. pTDefRegMap(@Self)^.&set := $00080000;
  26303. end;
  26304. function TINT_IFS0.getT4IF : TBits_1; inline;
  26305. begin
  26306. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26307. end;
  26308. procedure TINT_IFS0.setIC4EIF; inline;
  26309. begin
  26310. pTDefRegMap(@Self)^.&set := $00100000;
  26311. end;
  26312. procedure TINT_IFS0.clearIC4EIF; inline;
  26313. begin
  26314. pTDefRegMap(@Self)^.clr := $00100000;
  26315. end;
  26316. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  26317. begin
  26318. if thebits = 0 then
  26319. pTDefRegMap(@Self)^.clr := $00100000
  26320. else
  26321. pTDefRegMap(@Self)^.&set := $00100000;
  26322. end;
  26323. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  26324. begin
  26325. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26326. end;
  26327. procedure TINT_IFS0.setIC4IF; inline;
  26328. begin
  26329. pTDefRegMap(@Self)^.&set := $00200000;
  26330. end;
  26331. procedure TINT_IFS0.clearIC4IF; inline;
  26332. begin
  26333. pTDefRegMap(@Self)^.clr := $00200000;
  26334. end;
  26335. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  26336. begin
  26337. if thebits = 0 then
  26338. pTDefRegMap(@Self)^.clr := $00200000
  26339. else
  26340. pTDefRegMap(@Self)^.&set := $00200000;
  26341. end;
  26342. function TINT_IFS0.getIC4IF : TBits_1; inline;
  26343. begin
  26344. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26345. end;
  26346. procedure TINT_IFS0.setOC4IF; inline;
  26347. begin
  26348. pTDefRegMap(@Self)^.&set := $00400000;
  26349. end;
  26350. procedure TINT_IFS0.clearOC4IF; inline;
  26351. begin
  26352. pTDefRegMap(@Self)^.clr := $00400000;
  26353. end;
  26354. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  26355. begin
  26356. if thebits = 0 then
  26357. pTDefRegMap(@Self)^.clr := $00400000
  26358. else
  26359. pTDefRegMap(@Self)^.&set := $00400000;
  26360. end;
  26361. function TINT_IFS0.getOC4IF : TBits_1; inline;
  26362. begin
  26363. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  26364. end;
  26365. procedure TINT_IFS0.setINT4IF; inline;
  26366. begin
  26367. pTDefRegMap(@Self)^.&set := $00800000;
  26368. end;
  26369. procedure TINT_IFS0.clearINT4IF; inline;
  26370. begin
  26371. pTDefRegMap(@Self)^.clr := $00800000;
  26372. end;
  26373. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  26374. begin
  26375. if thebits = 0 then
  26376. pTDefRegMap(@Self)^.clr := $00800000
  26377. else
  26378. pTDefRegMap(@Self)^.&set := $00800000;
  26379. end;
  26380. function TINT_IFS0.getINT4IF : TBits_1; inline;
  26381. begin
  26382. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  26383. end;
  26384. procedure TINT_IFS0.setT5IF; inline;
  26385. begin
  26386. pTDefRegMap(@Self)^.&set := $01000000;
  26387. end;
  26388. procedure TINT_IFS0.clearT5IF; inline;
  26389. begin
  26390. pTDefRegMap(@Self)^.clr := $01000000;
  26391. end;
  26392. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  26393. begin
  26394. if thebits = 0 then
  26395. pTDefRegMap(@Self)^.clr := $01000000
  26396. else
  26397. pTDefRegMap(@Self)^.&set := $01000000;
  26398. end;
  26399. function TINT_IFS0.getT5IF : TBits_1; inline;
  26400. begin
  26401. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26402. end;
  26403. procedure TINT_IFS0.setIC5EIF; inline;
  26404. begin
  26405. pTDefRegMap(@Self)^.&set := $02000000;
  26406. end;
  26407. procedure TINT_IFS0.clearIC5EIF; inline;
  26408. begin
  26409. pTDefRegMap(@Self)^.clr := $02000000;
  26410. end;
  26411. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  26412. begin
  26413. if thebits = 0 then
  26414. pTDefRegMap(@Self)^.clr := $02000000
  26415. else
  26416. pTDefRegMap(@Self)^.&set := $02000000;
  26417. end;
  26418. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  26419. begin
  26420. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  26421. end;
  26422. procedure TINT_IFS0.setIC5IF; inline;
  26423. begin
  26424. pTDefRegMap(@Self)^.&set := $04000000;
  26425. end;
  26426. procedure TINT_IFS0.clearIC5IF; inline;
  26427. begin
  26428. pTDefRegMap(@Self)^.clr := $04000000;
  26429. end;
  26430. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  26431. begin
  26432. if thebits = 0 then
  26433. pTDefRegMap(@Self)^.clr := $04000000
  26434. else
  26435. pTDefRegMap(@Self)^.&set := $04000000;
  26436. end;
  26437. function TINT_IFS0.getIC5IF : TBits_1; inline;
  26438. begin
  26439. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  26440. end;
  26441. procedure TINT_IFS0.setOC5IF; inline;
  26442. begin
  26443. pTDefRegMap(@Self)^.&set := $08000000;
  26444. end;
  26445. procedure TINT_IFS0.clearOC5IF; inline;
  26446. begin
  26447. pTDefRegMap(@Self)^.clr := $08000000;
  26448. end;
  26449. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  26450. begin
  26451. if thebits = 0 then
  26452. pTDefRegMap(@Self)^.clr := $08000000
  26453. else
  26454. pTDefRegMap(@Self)^.&set := $08000000;
  26455. end;
  26456. function TINT_IFS0.getOC5IF : TBits_1; inline;
  26457. begin
  26458. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26459. end;
  26460. procedure TINT_IFS0.setAD1IF; inline;
  26461. begin
  26462. pTDefRegMap(@Self)^.&set := $10000000;
  26463. end;
  26464. procedure TINT_IFS0.clearAD1IF; inline;
  26465. begin
  26466. pTDefRegMap(@Self)^.clr := $10000000;
  26467. end;
  26468. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  26469. begin
  26470. if thebits = 0 then
  26471. pTDefRegMap(@Self)^.clr := $10000000
  26472. else
  26473. pTDefRegMap(@Self)^.&set := $10000000;
  26474. end;
  26475. function TINT_IFS0.getAD1IF : TBits_1; inline;
  26476. begin
  26477. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26478. end;
  26479. procedure TINT_IFS0.setFSCMIF; inline;
  26480. begin
  26481. pTDefRegMap(@Self)^.&set := $20000000;
  26482. end;
  26483. procedure TINT_IFS0.clearFSCMIF; inline;
  26484. begin
  26485. pTDefRegMap(@Self)^.clr := $20000000;
  26486. end;
  26487. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  26488. begin
  26489. if thebits = 0 then
  26490. pTDefRegMap(@Self)^.clr := $20000000
  26491. else
  26492. pTDefRegMap(@Self)^.&set := $20000000;
  26493. end;
  26494. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  26495. begin
  26496. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26497. end;
  26498. procedure TINT_IFS0.setRTCCIF; inline;
  26499. begin
  26500. pTDefRegMap(@Self)^.&set := $40000000;
  26501. end;
  26502. procedure TINT_IFS0.clearRTCCIF; inline;
  26503. begin
  26504. pTDefRegMap(@Self)^.clr := $40000000;
  26505. end;
  26506. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  26507. begin
  26508. if thebits = 0 then
  26509. pTDefRegMap(@Self)^.clr := $40000000
  26510. else
  26511. pTDefRegMap(@Self)^.&set := $40000000;
  26512. end;
  26513. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  26514. begin
  26515. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26516. end;
  26517. procedure TINT_IFS0.setFCEIF; inline;
  26518. begin
  26519. pTDefRegMap(@Self)^.&set := $80000000;
  26520. end;
  26521. procedure TINT_IFS0.clearFCEIF; inline;
  26522. begin
  26523. pTDefRegMap(@Self)^.clr := $80000000;
  26524. end;
  26525. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  26526. begin
  26527. if thebits = 0 then
  26528. pTDefRegMap(@Self)^.clr := $80000000
  26529. else
  26530. pTDefRegMap(@Self)^.&set := $80000000;
  26531. end;
  26532. function TINT_IFS0.getFCEIF : TBits_1; inline;
  26533. begin
  26534. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26535. end;
  26536. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  26537. begin
  26538. pTDefRegMap(@Self)^.val := thebits;
  26539. end;
  26540. function TINT_IFS0.getw : TBits_32; inline;
  26541. begin
  26542. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26543. end;
  26544. procedure TINT_IFS1.setCMP1IF; inline;
  26545. begin
  26546. pTDefRegMap(@Self)^.&set := $00000001;
  26547. end;
  26548. procedure TINT_IFS1.clearCMP1IF; inline;
  26549. begin
  26550. pTDefRegMap(@Self)^.clr := $00000001;
  26551. end;
  26552. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  26553. begin
  26554. if thebits = 0 then
  26555. pTDefRegMap(@Self)^.clr := $00000001
  26556. else
  26557. pTDefRegMap(@Self)^.&set := $00000001;
  26558. end;
  26559. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  26560. begin
  26561. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26562. end;
  26563. procedure TINT_IFS1.setCMP2IF; inline;
  26564. begin
  26565. pTDefRegMap(@Self)^.&set := $00000002;
  26566. end;
  26567. procedure TINT_IFS1.clearCMP2IF; inline;
  26568. begin
  26569. pTDefRegMap(@Self)^.clr := $00000002;
  26570. end;
  26571. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  26572. begin
  26573. if thebits = 0 then
  26574. pTDefRegMap(@Self)^.clr := $00000002
  26575. else
  26576. pTDefRegMap(@Self)^.&set := $00000002;
  26577. end;
  26578. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  26579. begin
  26580. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26581. end;
  26582. procedure TINT_IFS1.setCMP3IF; inline;
  26583. begin
  26584. pTDefRegMap(@Self)^.&set := $00000004;
  26585. end;
  26586. procedure TINT_IFS1.clearCMP3IF; inline;
  26587. begin
  26588. pTDefRegMap(@Self)^.clr := $00000004;
  26589. end;
  26590. procedure TINT_IFS1.setCMP3IF(thebits : TBits_1); inline;
  26591. begin
  26592. if thebits = 0 then
  26593. pTDefRegMap(@Self)^.clr := $00000004
  26594. else
  26595. pTDefRegMap(@Self)^.&set := $00000004;
  26596. end;
  26597. function TINT_IFS1.getCMP3IF : TBits_1; inline;
  26598. begin
  26599. getCMP3IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26600. end;
  26601. procedure TINT_IFS1.setUSBIF; inline;
  26602. begin
  26603. pTDefRegMap(@Self)^.&set := $00000008;
  26604. end;
  26605. procedure TINT_IFS1.clearUSBIF; inline;
  26606. begin
  26607. pTDefRegMap(@Self)^.clr := $00000008;
  26608. end;
  26609. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  26610. begin
  26611. if thebits = 0 then
  26612. pTDefRegMap(@Self)^.clr := $00000008
  26613. else
  26614. pTDefRegMap(@Self)^.&set := $00000008;
  26615. end;
  26616. function TINT_IFS1.getUSBIF : TBits_1; inline;
  26617. begin
  26618. getUSBIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26619. end;
  26620. procedure TINT_IFS1.setSPI1EIF; inline;
  26621. begin
  26622. pTDefRegMap(@Self)^.&set := $00000010;
  26623. end;
  26624. procedure TINT_IFS1.clearSPI1EIF; inline;
  26625. begin
  26626. pTDefRegMap(@Self)^.clr := $00000010;
  26627. end;
  26628. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  26629. begin
  26630. if thebits = 0 then
  26631. pTDefRegMap(@Self)^.clr := $00000010
  26632. else
  26633. pTDefRegMap(@Self)^.&set := $00000010;
  26634. end;
  26635. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  26636. begin
  26637. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26638. end;
  26639. procedure TINT_IFS1.setSPI1RXIF; inline;
  26640. begin
  26641. pTDefRegMap(@Self)^.&set := $00000020;
  26642. end;
  26643. procedure TINT_IFS1.clearSPI1RXIF; inline;
  26644. begin
  26645. pTDefRegMap(@Self)^.clr := $00000020;
  26646. end;
  26647. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  26648. begin
  26649. if thebits = 0 then
  26650. pTDefRegMap(@Self)^.clr := $00000020
  26651. else
  26652. pTDefRegMap(@Self)^.&set := $00000020;
  26653. end;
  26654. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  26655. begin
  26656. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26657. end;
  26658. procedure TINT_IFS1.setSPI1TXIF; inline;
  26659. begin
  26660. pTDefRegMap(@Self)^.&set := $00000040;
  26661. end;
  26662. procedure TINT_IFS1.clearSPI1TXIF; inline;
  26663. begin
  26664. pTDefRegMap(@Self)^.clr := $00000040;
  26665. end;
  26666. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  26667. begin
  26668. if thebits = 0 then
  26669. pTDefRegMap(@Self)^.clr := $00000040
  26670. else
  26671. pTDefRegMap(@Self)^.&set := $00000040;
  26672. end;
  26673. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  26674. begin
  26675. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26676. end;
  26677. procedure TINT_IFS1.setU1EIF; inline;
  26678. begin
  26679. pTDefRegMap(@Self)^.&set := $00000080;
  26680. end;
  26681. procedure TINT_IFS1.clearU1EIF; inline;
  26682. begin
  26683. pTDefRegMap(@Self)^.clr := $00000080;
  26684. end;
  26685. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  26686. begin
  26687. if thebits = 0 then
  26688. pTDefRegMap(@Self)^.clr := $00000080
  26689. else
  26690. pTDefRegMap(@Self)^.&set := $00000080;
  26691. end;
  26692. function TINT_IFS1.getU1EIF : TBits_1; inline;
  26693. begin
  26694. getU1EIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26695. end;
  26696. procedure TINT_IFS1.setU1RXIF; inline;
  26697. begin
  26698. pTDefRegMap(@Self)^.&set := $00000100;
  26699. end;
  26700. procedure TINT_IFS1.clearU1RXIF; inline;
  26701. begin
  26702. pTDefRegMap(@Self)^.clr := $00000100;
  26703. end;
  26704. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  26705. begin
  26706. if thebits = 0 then
  26707. pTDefRegMap(@Self)^.clr := $00000100
  26708. else
  26709. pTDefRegMap(@Self)^.&set := $00000100;
  26710. end;
  26711. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  26712. begin
  26713. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26714. end;
  26715. procedure TINT_IFS1.setU1TXIF; inline;
  26716. begin
  26717. pTDefRegMap(@Self)^.&set := $00000200;
  26718. end;
  26719. procedure TINT_IFS1.clearU1TXIF; inline;
  26720. begin
  26721. pTDefRegMap(@Self)^.clr := $00000200;
  26722. end;
  26723. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  26724. begin
  26725. if thebits = 0 then
  26726. pTDefRegMap(@Self)^.clr := $00000200
  26727. else
  26728. pTDefRegMap(@Self)^.&set := $00000200;
  26729. end;
  26730. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  26731. begin
  26732. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26733. end;
  26734. procedure TINT_IFS1.setI2C1BIF; inline;
  26735. begin
  26736. pTDefRegMap(@Self)^.&set := $00000400;
  26737. end;
  26738. procedure TINT_IFS1.clearI2C1BIF; inline;
  26739. begin
  26740. pTDefRegMap(@Self)^.clr := $00000400;
  26741. end;
  26742. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  26743. begin
  26744. if thebits = 0 then
  26745. pTDefRegMap(@Self)^.clr := $00000400
  26746. else
  26747. pTDefRegMap(@Self)^.&set := $00000400;
  26748. end;
  26749. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  26750. begin
  26751. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26752. end;
  26753. procedure TINT_IFS1.setI2C1SIF; inline;
  26754. begin
  26755. pTDefRegMap(@Self)^.&set := $00000800;
  26756. end;
  26757. procedure TINT_IFS1.clearI2C1SIF; inline;
  26758. begin
  26759. pTDefRegMap(@Self)^.clr := $00000800;
  26760. end;
  26761. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  26762. begin
  26763. if thebits = 0 then
  26764. pTDefRegMap(@Self)^.clr := $00000800
  26765. else
  26766. pTDefRegMap(@Self)^.&set := $00000800;
  26767. end;
  26768. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  26769. begin
  26770. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26771. end;
  26772. procedure TINT_IFS1.setI2C1MIF; inline;
  26773. begin
  26774. pTDefRegMap(@Self)^.&set := $00001000;
  26775. end;
  26776. procedure TINT_IFS1.clearI2C1MIF; inline;
  26777. begin
  26778. pTDefRegMap(@Self)^.clr := $00001000;
  26779. end;
  26780. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  26781. begin
  26782. if thebits = 0 then
  26783. pTDefRegMap(@Self)^.clr := $00001000
  26784. else
  26785. pTDefRegMap(@Self)^.&set := $00001000;
  26786. end;
  26787. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  26788. begin
  26789. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26790. end;
  26791. procedure TINT_IFS1.setCNAIF; inline;
  26792. begin
  26793. pTDefRegMap(@Self)^.&set := $00002000;
  26794. end;
  26795. procedure TINT_IFS1.clearCNAIF; inline;
  26796. begin
  26797. pTDefRegMap(@Self)^.clr := $00002000;
  26798. end;
  26799. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  26800. begin
  26801. if thebits = 0 then
  26802. pTDefRegMap(@Self)^.clr := $00002000
  26803. else
  26804. pTDefRegMap(@Self)^.&set := $00002000;
  26805. end;
  26806. function TINT_IFS1.getCNAIF : TBits_1; inline;
  26807. begin
  26808. getCNAIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26809. end;
  26810. procedure TINT_IFS1.setCNBIF; inline;
  26811. begin
  26812. pTDefRegMap(@Self)^.&set := $00004000;
  26813. end;
  26814. procedure TINT_IFS1.clearCNBIF; inline;
  26815. begin
  26816. pTDefRegMap(@Self)^.clr := $00004000;
  26817. end;
  26818. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  26819. begin
  26820. if thebits = 0 then
  26821. pTDefRegMap(@Self)^.clr := $00004000
  26822. else
  26823. pTDefRegMap(@Self)^.&set := $00004000;
  26824. end;
  26825. function TINT_IFS1.getCNBIF : TBits_1; inline;
  26826. begin
  26827. getCNBIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26828. end;
  26829. procedure TINT_IFS1.setCNCIF; inline;
  26830. begin
  26831. pTDefRegMap(@Self)^.&set := $00008000;
  26832. end;
  26833. procedure TINT_IFS1.clearCNCIF; inline;
  26834. begin
  26835. pTDefRegMap(@Self)^.clr := $00008000;
  26836. end;
  26837. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  26838. begin
  26839. if thebits = 0 then
  26840. pTDefRegMap(@Self)^.clr := $00008000
  26841. else
  26842. pTDefRegMap(@Self)^.&set := $00008000;
  26843. end;
  26844. function TINT_IFS1.getCNCIF : TBits_1; inline;
  26845. begin
  26846. getCNCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26847. end;
  26848. procedure TINT_IFS1.setPMPIF; inline;
  26849. begin
  26850. pTDefRegMap(@Self)^.&set := $00010000;
  26851. end;
  26852. procedure TINT_IFS1.clearPMPIF; inline;
  26853. begin
  26854. pTDefRegMap(@Self)^.clr := $00010000;
  26855. end;
  26856. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  26857. begin
  26858. if thebits = 0 then
  26859. pTDefRegMap(@Self)^.clr := $00010000
  26860. else
  26861. pTDefRegMap(@Self)^.&set := $00010000;
  26862. end;
  26863. function TINT_IFS1.getPMPIF : TBits_1; inline;
  26864. begin
  26865. getPMPIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26866. end;
  26867. procedure TINT_IFS1.setPMPEIF; inline;
  26868. begin
  26869. pTDefRegMap(@Self)^.&set := $00020000;
  26870. end;
  26871. procedure TINT_IFS1.clearPMPEIF; inline;
  26872. begin
  26873. pTDefRegMap(@Self)^.clr := $00020000;
  26874. end;
  26875. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  26876. begin
  26877. if thebits = 0 then
  26878. pTDefRegMap(@Self)^.clr := $00020000
  26879. else
  26880. pTDefRegMap(@Self)^.&set := $00020000;
  26881. end;
  26882. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  26883. begin
  26884. getPMPEIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26885. end;
  26886. procedure TINT_IFS1.setSPI2EIF; inline;
  26887. begin
  26888. pTDefRegMap(@Self)^.&set := $00040000;
  26889. end;
  26890. procedure TINT_IFS1.clearSPI2EIF; inline;
  26891. begin
  26892. pTDefRegMap(@Self)^.clr := $00040000;
  26893. end;
  26894. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  26895. begin
  26896. if thebits = 0 then
  26897. pTDefRegMap(@Self)^.clr := $00040000
  26898. else
  26899. pTDefRegMap(@Self)^.&set := $00040000;
  26900. end;
  26901. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  26902. begin
  26903. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26904. end;
  26905. procedure TINT_IFS1.setSPI2RXIF; inline;
  26906. begin
  26907. pTDefRegMap(@Self)^.&set := $00080000;
  26908. end;
  26909. procedure TINT_IFS1.clearSPI2RXIF; inline;
  26910. begin
  26911. pTDefRegMap(@Self)^.clr := $00080000;
  26912. end;
  26913. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  26914. begin
  26915. if thebits = 0 then
  26916. pTDefRegMap(@Self)^.clr := $00080000
  26917. else
  26918. pTDefRegMap(@Self)^.&set := $00080000;
  26919. end;
  26920. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  26921. begin
  26922. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26923. end;
  26924. procedure TINT_IFS1.setSPI2TXIF; inline;
  26925. begin
  26926. pTDefRegMap(@Self)^.&set := $00100000;
  26927. end;
  26928. procedure TINT_IFS1.clearSPI2TXIF; inline;
  26929. begin
  26930. pTDefRegMap(@Self)^.clr := $00100000;
  26931. end;
  26932. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  26933. begin
  26934. if thebits = 0 then
  26935. pTDefRegMap(@Self)^.clr := $00100000
  26936. else
  26937. pTDefRegMap(@Self)^.&set := $00100000;
  26938. end;
  26939. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  26940. begin
  26941. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26942. end;
  26943. procedure TINT_IFS1.setU2EIF; inline;
  26944. begin
  26945. pTDefRegMap(@Self)^.&set := $00200000;
  26946. end;
  26947. procedure TINT_IFS1.clearU2EIF; inline;
  26948. begin
  26949. pTDefRegMap(@Self)^.clr := $00200000;
  26950. end;
  26951. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  26952. begin
  26953. if thebits = 0 then
  26954. pTDefRegMap(@Self)^.clr := $00200000
  26955. else
  26956. pTDefRegMap(@Self)^.&set := $00200000;
  26957. end;
  26958. function TINT_IFS1.getU2EIF : TBits_1; inline;
  26959. begin
  26960. getU2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26961. end;
  26962. procedure TINT_IFS1.setU2RXIF; inline;
  26963. begin
  26964. pTDefRegMap(@Self)^.&set := $00400000;
  26965. end;
  26966. procedure TINT_IFS1.clearU2RXIF; inline;
  26967. begin
  26968. pTDefRegMap(@Self)^.clr := $00400000;
  26969. end;
  26970. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  26971. begin
  26972. if thebits = 0 then
  26973. pTDefRegMap(@Self)^.clr := $00400000
  26974. else
  26975. pTDefRegMap(@Self)^.&set := $00400000;
  26976. end;
  26977. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  26978. begin
  26979. getU2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  26980. end;
  26981. procedure TINT_IFS1.setU2TXIF; inline;
  26982. begin
  26983. pTDefRegMap(@Self)^.&set := $00800000;
  26984. end;
  26985. procedure TINT_IFS1.clearU2TXIF; inline;
  26986. begin
  26987. pTDefRegMap(@Self)^.clr := $00800000;
  26988. end;
  26989. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  26990. begin
  26991. if thebits = 0 then
  26992. pTDefRegMap(@Self)^.clr := $00800000
  26993. else
  26994. pTDefRegMap(@Self)^.&set := $00800000;
  26995. end;
  26996. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  26997. begin
  26998. getU2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  26999. end;
  27000. procedure TINT_IFS1.setI2C2BIF; inline;
  27001. begin
  27002. pTDefRegMap(@Self)^.&set := $01000000;
  27003. end;
  27004. procedure TINT_IFS1.clearI2C2BIF; inline;
  27005. begin
  27006. pTDefRegMap(@Self)^.clr := $01000000;
  27007. end;
  27008. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  27009. begin
  27010. if thebits = 0 then
  27011. pTDefRegMap(@Self)^.clr := $01000000
  27012. else
  27013. pTDefRegMap(@Self)^.&set := $01000000;
  27014. end;
  27015. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  27016. begin
  27017. getI2C2BIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27018. end;
  27019. procedure TINT_IFS1.setI2C2SIF; inline;
  27020. begin
  27021. pTDefRegMap(@Self)^.&set := $02000000;
  27022. end;
  27023. procedure TINT_IFS1.clearI2C2SIF; inline;
  27024. begin
  27025. pTDefRegMap(@Self)^.clr := $02000000;
  27026. end;
  27027. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  27028. begin
  27029. if thebits = 0 then
  27030. pTDefRegMap(@Self)^.clr := $02000000
  27031. else
  27032. pTDefRegMap(@Self)^.&set := $02000000;
  27033. end;
  27034. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  27035. begin
  27036. getI2C2SIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27037. end;
  27038. procedure TINT_IFS1.setI2C2MIF; inline;
  27039. begin
  27040. pTDefRegMap(@Self)^.&set := $04000000;
  27041. end;
  27042. procedure TINT_IFS1.clearI2C2MIF; inline;
  27043. begin
  27044. pTDefRegMap(@Self)^.clr := $04000000;
  27045. end;
  27046. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  27047. begin
  27048. if thebits = 0 then
  27049. pTDefRegMap(@Self)^.clr := $04000000
  27050. else
  27051. pTDefRegMap(@Self)^.&set := $04000000;
  27052. end;
  27053. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  27054. begin
  27055. getI2C2MIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27056. end;
  27057. procedure TINT_IFS1.setCTMUIF; inline;
  27058. begin
  27059. pTDefRegMap(@Self)^.&set := $08000000;
  27060. end;
  27061. procedure TINT_IFS1.clearCTMUIF; inline;
  27062. begin
  27063. pTDefRegMap(@Self)^.clr := $08000000;
  27064. end;
  27065. procedure TINT_IFS1.setCTMUIF(thebits : TBits_1); inline;
  27066. begin
  27067. if thebits = 0 then
  27068. pTDefRegMap(@Self)^.clr := $08000000
  27069. else
  27070. pTDefRegMap(@Self)^.&set := $08000000;
  27071. end;
  27072. function TINT_IFS1.getCTMUIF : TBits_1; inline;
  27073. begin
  27074. getCTMUIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27075. end;
  27076. procedure TINT_IFS1.setDMA0IF; inline;
  27077. begin
  27078. pTDefRegMap(@Self)^.&set := $10000000;
  27079. end;
  27080. procedure TINT_IFS1.clearDMA0IF; inline;
  27081. begin
  27082. pTDefRegMap(@Self)^.clr := $10000000;
  27083. end;
  27084. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  27085. begin
  27086. if thebits = 0 then
  27087. pTDefRegMap(@Self)^.clr := $10000000
  27088. else
  27089. pTDefRegMap(@Self)^.&set := $10000000;
  27090. end;
  27091. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  27092. begin
  27093. getDMA0IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27094. end;
  27095. procedure TINT_IFS1.setDMA1IF; inline;
  27096. begin
  27097. pTDefRegMap(@Self)^.&set := $20000000;
  27098. end;
  27099. procedure TINT_IFS1.clearDMA1IF; inline;
  27100. begin
  27101. pTDefRegMap(@Self)^.clr := $20000000;
  27102. end;
  27103. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  27104. begin
  27105. if thebits = 0 then
  27106. pTDefRegMap(@Self)^.clr := $20000000
  27107. else
  27108. pTDefRegMap(@Self)^.&set := $20000000;
  27109. end;
  27110. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  27111. begin
  27112. getDMA1IF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27113. end;
  27114. procedure TINT_IFS1.setDMA2IF; inline;
  27115. begin
  27116. pTDefRegMap(@Self)^.&set := $40000000;
  27117. end;
  27118. procedure TINT_IFS1.clearDMA2IF; inline;
  27119. begin
  27120. pTDefRegMap(@Self)^.clr := $40000000;
  27121. end;
  27122. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  27123. begin
  27124. if thebits = 0 then
  27125. pTDefRegMap(@Self)^.clr := $40000000
  27126. else
  27127. pTDefRegMap(@Self)^.&set := $40000000;
  27128. end;
  27129. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  27130. begin
  27131. getDMA2IF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27132. end;
  27133. procedure TINT_IFS1.setDMA3IF; inline;
  27134. begin
  27135. pTDefRegMap(@Self)^.&set := $80000000;
  27136. end;
  27137. procedure TINT_IFS1.clearDMA3IF; inline;
  27138. begin
  27139. pTDefRegMap(@Self)^.clr := $80000000;
  27140. end;
  27141. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  27142. begin
  27143. if thebits = 0 then
  27144. pTDefRegMap(@Self)^.clr := $80000000
  27145. else
  27146. pTDefRegMap(@Self)^.&set := $80000000;
  27147. end;
  27148. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  27149. begin
  27150. getDMA3IF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27151. end;
  27152. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  27153. begin
  27154. pTDefRegMap(@Self)^.val := thebits;
  27155. end;
  27156. function TINT_IFS1.getw : TBits_32; inline;
  27157. begin
  27158. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27159. end;
  27160. procedure TINT_IEC0.setCTIE; inline;
  27161. begin
  27162. pTDefRegMap(@Self)^.&set := $00000001;
  27163. end;
  27164. procedure TINT_IEC0.clearCTIE; inline;
  27165. begin
  27166. pTDefRegMap(@Self)^.clr := $00000001;
  27167. end;
  27168. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  27169. begin
  27170. if thebits = 0 then
  27171. pTDefRegMap(@Self)^.clr := $00000001
  27172. else
  27173. pTDefRegMap(@Self)^.&set := $00000001;
  27174. end;
  27175. function TINT_IEC0.getCTIE : TBits_1; inline;
  27176. begin
  27177. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27178. end;
  27179. procedure TINT_IEC0.setCS0IE; inline;
  27180. begin
  27181. pTDefRegMap(@Self)^.&set := $00000002;
  27182. end;
  27183. procedure TINT_IEC0.clearCS0IE; inline;
  27184. begin
  27185. pTDefRegMap(@Self)^.clr := $00000002;
  27186. end;
  27187. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  27188. begin
  27189. if thebits = 0 then
  27190. pTDefRegMap(@Self)^.clr := $00000002
  27191. else
  27192. pTDefRegMap(@Self)^.&set := $00000002;
  27193. end;
  27194. function TINT_IEC0.getCS0IE : TBits_1; inline;
  27195. begin
  27196. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27197. end;
  27198. procedure TINT_IEC0.setCS1IE; inline;
  27199. begin
  27200. pTDefRegMap(@Self)^.&set := $00000004;
  27201. end;
  27202. procedure TINT_IEC0.clearCS1IE; inline;
  27203. begin
  27204. pTDefRegMap(@Self)^.clr := $00000004;
  27205. end;
  27206. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  27207. begin
  27208. if thebits = 0 then
  27209. pTDefRegMap(@Self)^.clr := $00000004
  27210. else
  27211. pTDefRegMap(@Self)^.&set := $00000004;
  27212. end;
  27213. function TINT_IEC0.getCS1IE : TBits_1; inline;
  27214. begin
  27215. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27216. end;
  27217. procedure TINT_IEC0.setINT0IE; inline;
  27218. begin
  27219. pTDefRegMap(@Self)^.&set := $00000008;
  27220. end;
  27221. procedure TINT_IEC0.clearINT0IE; inline;
  27222. begin
  27223. pTDefRegMap(@Self)^.clr := $00000008;
  27224. end;
  27225. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  27226. begin
  27227. if thebits = 0 then
  27228. pTDefRegMap(@Self)^.clr := $00000008
  27229. else
  27230. pTDefRegMap(@Self)^.&set := $00000008;
  27231. end;
  27232. function TINT_IEC0.getINT0IE : TBits_1; inline;
  27233. begin
  27234. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27235. end;
  27236. procedure TINT_IEC0.setT1IE; inline;
  27237. begin
  27238. pTDefRegMap(@Self)^.&set := $00000010;
  27239. end;
  27240. procedure TINT_IEC0.clearT1IE; inline;
  27241. begin
  27242. pTDefRegMap(@Self)^.clr := $00000010;
  27243. end;
  27244. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  27245. begin
  27246. if thebits = 0 then
  27247. pTDefRegMap(@Self)^.clr := $00000010
  27248. else
  27249. pTDefRegMap(@Self)^.&set := $00000010;
  27250. end;
  27251. function TINT_IEC0.getT1IE : TBits_1; inline;
  27252. begin
  27253. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27254. end;
  27255. procedure TINT_IEC0.setIC1EIE; inline;
  27256. begin
  27257. pTDefRegMap(@Self)^.&set := $00000020;
  27258. end;
  27259. procedure TINT_IEC0.clearIC1EIE; inline;
  27260. begin
  27261. pTDefRegMap(@Self)^.clr := $00000020;
  27262. end;
  27263. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  27264. begin
  27265. if thebits = 0 then
  27266. pTDefRegMap(@Self)^.clr := $00000020
  27267. else
  27268. pTDefRegMap(@Self)^.&set := $00000020;
  27269. end;
  27270. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  27271. begin
  27272. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27273. end;
  27274. procedure TINT_IEC0.setIC1IE; inline;
  27275. begin
  27276. pTDefRegMap(@Self)^.&set := $00000040;
  27277. end;
  27278. procedure TINT_IEC0.clearIC1IE; inline;
  27279. begin
  27280. pTDefRegMap(@Self)^.clr := $00000040;
  27281. end;
  27282. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  27283. begin
  27284. if thebits = 0 then
  27285. pTDefRegMap(@Self)^.clr := $00000040
  27286. else
  27287. pTDefRegMap(@Self)^.&set := $00000040;
  27288. end;
  27289. function TINT_IEC0.getIC1IE : TBits_1; inline;
  27290. begin
  27291. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27292. end;
  27293. procedure TINT_IEC0.setOC1IE; inline;
  27294. begin
  27295. pTDefRegMap(@Self)^.&set := $00000080;
  27296. end;
  27297. procedure TINT_IEC0.clearOC1IE; inline;
  27298. begin
  27299. pTDefRegMap(@Self)^.clr := $00000080;
  27300. end;
  27301. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  27302. begin
  27303. if thebits = 0 then
  27304. pTDefRegMap(@Self)^.clr := $00000080
  27305. else
  27306. pTDefRegMap(@Self)^.&set := $00000080;
  27307. end;
  27308. function TINT_IEC0.getOC1IE : TBits_1; inline;
  27309. begin
  27310. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27311. end;
  27312. procedure TINT_IEC0.setINT1IE; inline;
  27313. begin
  27314. pTDefRegMap(@Self)^.&set := $00000100;
  27315. end;
  27316. procedure TINT_IEC0.clearINT1IE; inline;
  27317. begin
  27318. pTDefRegMap(@Self)^.clr := $00000100;
  27319. end;
  27320. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  27321. begin
  27322. if thebits = 0 then
  27323. pTDefRegMap(@Self)^.clr := $00000100
  27324. else
  27325. pTDefRegMap(@Self)^.&set := $00000100;
  27326. end;
  27327. function TINT_IEC0.getINT1IE : TBits_1; inline;
  27328. begin
  27329. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27330. end;
  27331. procedure TINT_IEC0.setT2IE; inline;
  27332. begin
  27333. pTDefRegMap(@Self)^.&set := $00000200;
  27334. end;
  27335. procedure TINT_IEC0.clearT2IE; inline;
  27336. begin
  27337. pTDefRegMap(@Self)^.clr := $00000200;
  27338. end;
  27339. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  27340. begin
  27341. if thebits = 0 then
  27342. pTDefRegMap(@Self)^.clr := $00000200
  27343. else
  27344. pTDefRegMap(@Self)^.&set := $00000200;
  27345. end;
  27346. function TINT_IEC0.getT2IE : TBits_1; inline;
  27347. begin
  27348. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27349. end;
  27350. procedure TINT_IEC0.setIC2EIE; inline;
  27351. begin
  27352. pTDefRegMap(@Self)^.&set := $00000400;
  27353. end;
  27354. procedure TINT_IEC0.clearIC2EIE; inline;
  27355. begin
  27356. pTDefRegMap(@Self)^.clr := $00000400;
  27357. end;
  27358. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  27359. begin
  27360. if thebits = 0 then
  27361. pTDefRegMap(@Self)^.clr := $00000400
  27362. else
  27363. pTDefRegMap(@Self)^.&set := $00000400;
  27364. end;
  27365. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  27366. begin
  27367. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27368. end;
  27369. procedure TINT_IEC0.setIC2IE; inline;
  27370. begin
  27371. pTDefRegMap(@Self)^.&set := $00000800;
  27372. end;
  27373. procedure TINT_IEC0.clearIC2IE; inline;
  27374. begin
  27375. pTDefRegMap(@Self)^.clr := $00000800;
  27376. end;
  27377. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  27378. begin
  27379. if thebits = 0 then
  27380. pTDefRegMap(@Self)^.clr := $00000800
  27381. else
  27382. pTDefRegMap(@Self)^.&set := $00000800;
  27383. end;
  27384. function TINT_IEC0.getIC2IE : TBits_1; inline;
  27385. begin
  27386. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27387. end;
  27388. procedure TINT_IEC0.setOC2IE; inline;
  27389. begin
  27390. pTDefRegMap(@Self)^.&set := $00001000;
  27391. end;
  27392. procedure TINT_IEC0.clearOC2IE; inline;
  27393. begin
  27394. pTDefRegMap(@Self)^.clr := $00001000;
  27395. end;
  27396. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  27397. begin
  27398. if thebits = 0 then
  27399. pTDefRegMap(@Self)^.clr := $00001000
  27400. else
  27401. pTDefRegMap(@Self)^.&set := $00001000;
  27402. end;
  27403. function TINT_IEC0.getOC2IE : TBits_1; inline;
  27404. begin
  27405. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27406. end;
  27407. procedure TINT_IEC0.setINT2IE; inline;
  27408. begin
  27409. pTDefRegMap(@Self)^.&set := $00002000;
  27410. end;
  27411. procedure TINT_IEC0.clearINT2IE; inline;
  27412. begin
  27413. pTDefRegMap(@Self)^.clr := $00002000;
  27414. end;
  27415. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  27416. begin
  27417. if thebits = 0 then
  27418. pTDefRegMap(@Self)^.clr := $00002000
  27419. else
  27420. pTDefRegMap(@Self)^.&set := $00002000;
  27421. end;
  27422. function TINT_IEC0.getINT2IE : TBits_1; inline;
  27423. begin
  27424. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27425. end;
  27426. procedure TINT_IEC0.setT3IE; inline;
  27427. begin
  27428. pTDefRegMap(@Self)^.&set := $00004000;
  27429. end;
  27430. procedure TINT_IEC0.clearT3IE; inline;
  27431. begin
  27432. pTDefRegMap(@Self)^.clr := $00004000;
  27433. end;
  27434. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  27435. begin
  27436. if thebits = 0 then
  27437. pTDefRegMap(@Self)^.clr := $00004000
  27438. else
  27439. pTDefRegMap(@Self)^.&set := $00004000;
  27440. end;
  27441. function TINT_IEC0.getT3IE : TBits_1; inline;
  27442. begin
  27443. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27444. end;
  27445. procedure TINT_IEC0.setIC3EIE; inline;
  27446. begin
  27447. pTDefRegMap(@Self)^.&set := $00008000;
  27448. end;
  27449. procedure TINT_IEC0.clearIC3EIE; inline;
  27450. begin
  27451. pTDefRegMap(@Self)^.clr := $00008000;
  27452. end;
  27453. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  27454. begin
  27455. if thebits = 0 then
  27456. pTDefRegMap(@Self)^.clr := $00008000
  27457. else
  27458. pTDefRegMap(@Self)^.&set := $00008000;
  27459. end;
  27460. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  27461. begin
  27462. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27463. end;
  27464. procedure TINT_IEC0.setIC3IE; inline;
  27465. begin
  27466. pTDefRegMap(@Self)^.&set := $00010000;
  27467. end;
  27468. procedure TINT_IEC0.clearIC3IE; inline;
  27469. begin
  27470. pTDefRegMap(@Self)^.clr := $00010000;
  27471. end;
  27472. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  27473. begin
  27474. if thebits = 0 then
  27475. pTDefRegMap(@Self)^.clr := $00010000
  27476. else
  27477. pTDefRegMap(@Self)^.&set := $00010000;
  27478. end;
  27479. function TINT_IEC0.getIC3IE : TBits_1; inline;
  27480. begin
  27481. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27482. end;
  27483. procedure TINT_IEC0.setOC3IE; inline;
  27484. begin
  27485. pTDefRegMap(@Self)^.&set := $00020000;
  27486. end;
  27487. procedure TINT_IEC0.clearOC3IE; inline;
  27488. begin
  27489. pTDefRegMap(@Self)^.clr := $00020000;
  27490. end;
  27491. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  27492. begin
  27493. if thebits = 0 then
  27494. pTDefRegMap(@Self)^.clr := $00020000
  27495. else
  27496. pTDefRegMap(@Self)^.&set := $00020000;
  27497. end;
  27498. function TINT_IEC0.getOC3IE : TBits_1; inline;
  27499. begin
  27500. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27501. end;
  27502. procedure TINT_IEC0.setINT3IE; inline;
  27503. begin
  27504. pTDefRegMap(@Self)^.&set := $00040000;
  27505. end;
  27506. procedure TINT_IEC0.clearINT3IE; inline;
  27507. begin
  27508. pTDefRegMap(@Self)^.clr := $00040000;
  27509. end;
  27510. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  27511. begin
  27512. if thebits = 0 then
  27513. pTDefRegMap(@Self)^.clr := $00040000
  27514. else
  27515. pTDefRegMap(@Self)^.&set := $00040000;
  27516. end;
  27517. function TINT_IEC0.getINT3IE : TBits_1; inline;
  27518. begin
  27519. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27520. end;
  27521. procedure TINT_IEC0.setT4IE; inline;
  27522. begin
  27523. pTDefRegMap(@Self)^.&set := $00080000;
  27524. end;
  27525. procedure TINT_IEC0.clearT4IE; inline;
  27526. begin
  27527. pTDefRegMap(@Self)^.clr := $00080000;
  27528. end;
  27529. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  27530. begin
  27531. if thebits = 0 then
  27532. pTDefRegMap(@Self)^.clr := $00080000
  27533. else
  27534. pTDefRegMap(@Self)^.&set := $00080000;
  27535. end;
  27536. function TINT_IEC0.getT4IE : TBits_1; inline;
  27537. begin
  27538. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27539. end;
  27540. procedure TINT_IEC0.setIC4EIE; inline;
  27541. begin
  27542. pTDefRegMap(@Self)^.&set := $00100000;
  27543. end;
  27544. procedure TINT_IEC0.clearIC4EIE; inline;
  27545. begin
  27546. pTDefRegMap(@Self)^.clr := $00100000;
  27547. end;
  27548. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  27549. begin
  27550. if thebits = 0 then
  27551. pTDefRegMap(@Self)^.clr := $00100000
  27552. else
  27553. pTDefRegMap(@Self)^.&set := $00100000;
  27554. end;
  27555. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  27556. begin
  27557. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27558. end;
  27559. procedure TINT_IEC0.setIC4IE; inline;
  27560. begin
  27561. pTDefRegMap(@Self)^.&set := $00200000;
  27562. end;
  27563. procedure TINT_IEC0.clearIC4IE; inline;
  27564. begin
  27565. pTDefRegMap(@Self)^.clr := $00200000;
  27566. end;
  27567. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  27568. begin
  27569. if thebits = 0 then
  27570. pTDefRegMap(@Self)^.clr := $00200000
  27571. else
  27572. pTDefRegMap(@Self)^.&set := $00200000;
  27573. end;
  27574. function TINT_IEC0.getIC4IE : TBits_1; inline;
  27575. begin
  27576. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27577. end;
  27578. procedure TINT_IEC0.setOC4IE; inline;
  27579. begin
  27580. pTDefRegMap(@Self)^.&set := $00400000;
  27581. end;
  27582. procedure TINT_IEC0.clearOC4IE; inline;
  27583. begin
  27584. pTDefRegMap(@Self)^.clr := $00400000;
  27585. end;
  27586. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  27587. begin
  27588. if thebits = 0 then
  27589. pTDefRegMap(@Self)^.clr := $00400000
  27590. else
  27591. pTDefRegMap(@Self)^.&set := $00400000;
  27592. end;
  27593. function TINT_IEC0.getOC4IE : TBits_1; inline;
  27594. begin
  27595. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27596. end;
  27597. procedure TINT_IEC0.setINT4IE; inline;
  27598. begin
  27599. pTDefRegMap(@Self)^.&set := $00800000;
  27600. end;
  27601. procedure TINT_IEC0.clearINT4IE; inline;
  27602. begin
  27603. pTDefRegMap(@Self)^.clr := $00800000;
  27604. end;
  27605. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  27606. begin
  27607. if thebits = 0 then
  27608. pTDefRegMap(@Self)^.clr := $00800000
  27609. else
  27610. pTDefRegMap(@Self)^.&set := $00800000;
  27611. end;
  27612. function TINT_IEC0.getINT4IE : TBits_1; inline;
  27613. begin
  27614. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27615. end;
  27616. procedure TINT_IEC0.setT5IE; inline;
  27617. begin
  27618. pTDefRegMap(@Self)^.&set := $01000000;
  27619. end;
  27620. procedure TINT_IEC0.clearT5IE; inline;
  27621. begin
  27622. pTDefRegMap(@Self)^.clr := $01000000;
  27623. end;
  27624. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  27625. begin
  27626. if thebits = 0 then
  27627. pTDefRegMap(@Self)^.clr := $01000000
  27628. else
  27629. pTDefRegMap(@Self)^.&set := $01000000;
  27630. end;
  27631. function TINT_IEC0.getT5IE : TBits_1; inline;
  27632. begin
  27633. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27634. end;
  27635. procedure TINT_IEC0.setIC5EIE; inline;
  27636. begin
  27637. pTDefRegMap(@Self)^.&set := $02000000;
  27638. end;
  27639. procedure TINT_IEC0.clearIC5EIE; inline;
  27640. begin
  27641. pTDefRegMap(@Self)^.clr := $02000000;
  27642. end;
  27643. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  27644. begin
  27645. if thebits = 0 then
  27646. pTDefRegMap(@Self)^.clr := $02000000
  27647. else
  27648. pTDefRegMap(@Self)^.&set := $02000000;
  27649. end;
  27650. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  27651. begin
  27652. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27653. end;
  27654. procedure TINT_IEC0.setIC5IE; inline;
  27655. begin
  27656. pTDefRegMap(@Self)^.&set := $04000000;
  27657. end;
  27658. procedure TINT_IEC0.clearIC5IE; inline;
  27659. begin
  27660. pTDefRegMap(@Self)^.clr := $04000000;
  27661. end;
  27662. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  27663. begin
  27664. if thebits = 0 then
  27665. pTDefRegMap(@Self)^.clr := $04000000
  27666. else
  27667. pTDefRegMap(@Self)^.&set := $04000000;
  27668. end;
  27669. function TINT_IEC0.getIC5IE : TBits_1; inline;
  27670. begin
  27671. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27672. end;
  27673. procedure TINT_IEC0.setOC5IE; inline;
  27674. begin
  27675. pTDefRegMap(@Self)^.&set := $08000000;
  27676. end;
  27677. procedure TINT_IEC0.clearOC5IE; inline;
  27678. begin
  27679. pTDefRegMap(@Self)^.clr := $08000000;
  27680. end;
  27681. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  27682. begin
  27683. if thebits = 0 then
  27684. pTDefRegMap(@Self)^.clr := $08000000
  27685. else
  27686. pTDefRegMap(@Self)^.&set := $08000000;
  27687. end;
  27688. function TINT_IEC0.getOC5IE : TBits_1; inline;
  27689. begin
  27690. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27691. end;
  27692. procedure TINT_IEC0.setAD1IE; inline;
  27693. begin
  27694. pTDefRegMap(@Self)^.&set := $10000000;
  27695. end;
  27696. procedure TINT_IEC0.clearAD1IE; inline;
  27697. begin
  27698. pTDefRegMap(@Self)^.clr := $10000000;
  27699. end;
  27700. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  27701. begin
  27702. if thebits = 0 then
  27703. pTDefRegMap(@Self)^.clr := $10000000
  27704. else
  27705. pTDefRegMap(@Self)^.&set := $10000000;
  27706. end;
  27707. function TINT_IEC0.getAD1IE : TBits_1; inline;
  27708. begin
  27709. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27710. end;
  27711. procedure TINT_IEC0.setFSCMIE; inline;
  27712. begin
  27713. pTDefRegMap(@Self)^.&set := $20000000;
  27714. end;
  27715. procedure TINT_IEC0.clearFSCMIE; inline;
  27716. begin
  27717. pTDefRegMap(@Self)^.clr := $20000000;
  27718. end;
  27719. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  27720. begin
  27721. if thebits = 0 then
  27722. pTDefRegMap(@Self)^.clr := $20000000
  27723. else
  27724. pTDefRegMap(@Self)^.&set := $20000000;
  27725. end;
  27726. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  27727. begin
  27728. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27729. end;
  27730. procedure TINT_IEC0.setRTCCIE; inline;
  27731. begin
  27732. pTDefRegMap(@Self)^.&set := $40000000;
  27733. end;
  27734. procedure TINT_IEC0.clearRTCCIE; inline;
  27735. begin
  27736. pTDefRegMap(@Self)^.clr := $40000000;
  27737. end;
  27738. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  27739. begin
  27740. if thebits = 0 then
  27741. pTDefRegMap(@Self)^.clr := $40000000
  27742. else
  27743. pTDefRegMap(@Self)^.&set := $40000000;
  27744. end;
  27745. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  27746. begin
  27747. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27748. end;
  27749. procedure TINT_IEC0.setFCEIE; inline;
  27750. begin
  27751. pTDefRegMap(@Self)^.&set := $80000000;
  27752. end;
  27753. procedure TINT_IEC0.clearFCEIE; inline;
  27754. begin
  27755. pTDefRegMap(@Self)^.clr := $80000000;
  27756. end;
  27757. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  27758. begin
  27759. if thebits = 0 then
  27760. pTDefRegMap(@Self)^.clr := $80000000
  27761. else
  27762. pTDefRegMap(@Self)^.&set := $80000000;
  27763. end;
  27764. function TINT_IEC0.getFCEIE : TBits_1; inline;
  27765. begin
  27766. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27767. end;
  27768. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  27769. begin
  27770. pTDefRegMap(@Self)^.val := thebits;
  27771. end;
  27772. function TINT_IEC0.getw : TBits_32; inline;
  27773. begin
  27774. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27775. end;
  27776. procedure TINT_IEC1.setCMP1IE; inline;
  27777. begin
  27778. pTDefRegMap(@Self)^.&set := $00000001;
  27779. end;
  27780. procedure TINT_IEC1.clearCMP1IE; inline;
  27781. begin
  27782. pTDefRegMap(@Self)^.clr := $00000001;
  27783. end;
  27784. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  27785. begin
  27786. if thebits = 0 then
  27787. pTDefRegMap(@Self)^.clr := $00000001
  27788. else
  27789. pTDefRegMap(@Self)^.&set := $00000001;
  27790. end;
  27791. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  27792. begin
  27793. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27794. end;
  27795. procedure TINT_IEC1.setCMP2IE; inline;
  27796. begin
  27797. pTDefRegMap(@Self)^.&set := $00000002;
  27798. end;
  27799. procedure TINT_IEC1.clearCMP2IE; inline;
  27800. begin
  27801. pTDefRegMap(@Self)^.clr := $00000002;
  27802. end;
  27803. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  27804. begin
  27805. if thebits = 0 then
  27806. pTDefRegMap(@Self)^.clr := $00000002
  27807. else
  27808. pTDefRegMap(@Self)^.&set := $00000002;
  27809. end;
  27810. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  27811. begin
  27812. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27813. end;
  27814. procedure TINT_IEC1.setCMP3IE; inline;
  27815. begin
  27816. pTDefRegMap(@Self)^.&set := $00000004;
  27817. end;
  27818. procedure TINT_IEC1.clearCMP3IE; inline;
  27819. begin
  27820. pTDefRegMap(@Self)^.clr := $00000004;
  27821. end;
  27822. procedure TINT_IEC1.setCMP3IE(thebits : TBits_1); inline;
  27823. begin
  27824. if thebits = 0 then
  27825. pTDefRegMap(@Self)^.clr := $00000004
  27826. else
  27827. pTDefRegMap(@Self)^.&set := $00000004;
  27828. end;
  27829. function TINT_IEC1.getCMP3IE : TBits_1; inline;
  27830. begin
  27831. getCMP3IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27832. end;
  27833. procedure TINT_IEC1.setUSBIE; inline;
  27834. begin
  27835. pTDefRegMap(@Self)^.&set := $00000008;
  27836. end;
  27837. procedure TINT_IEC1.clearUSBIE; inline;
  27838. begin
  27839. pTDefRegMap(@Self)^.clr := $00000008;
  27840. end;
  27841. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  27842. begin
  27843. if thebits = 0 then
  27844. pTDefRegMap(@Self)^.clr := $00000008
  27845. else
  27846. pTDefRegMap(@Self)^.&set := $00000008;
  27847. end;
  27848. function TINT_IEC1.getUSBIE : TBits_1; inline;
  27849. begin
  27850. getUSBIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27851. end;
  27852. procedure TINT_IEC1.setSPI1EIE; inline;
  27853. begin
  27854. pTDefRegMap(@Self)^.&set := $00000010;
  27855. end;
  27856. procedure TINT_IEC1.clearSPI1EIE; inline;
  27857. begin
  27858. pTDefRegMap(@Self)^.clr := $00000010;
  27859. end;
  27860. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  27861. begin
  27862. if thebits = 0 then
  27863. pTDefRegMap(@Self)^.clr := $00000010
  27864. else
  27865. pTDefRegMap(@Self)^.&set := $00000010;
  27866. end;
  27867. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  27868. begin
  27869. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27870. end;
  27871. procedure TINT_IEC1.setSPI1RXIE; inline;
  27872. begin
  27873. pTDefRegMap(@Self)^.&set := $00000020;
  27874. end;
  27875. procedure TINT_IEC1.clearSPI1RXIE; inline;
  27876. begin
  27877. pTDefRegMap(@Self)^.clr := $00000020;
  27878. end;
  27879. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  27880. begin
  27881. if thebits = 0 then
  27882. pTDefRegMap(@Self)^.clr := $00000020
  27883. else
  27884. pTDefRegMap(@Self)^.&set := $00000020;
  27885. end;
  27886. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  27887. begin
  27888. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27889. end;
  27890. procedure TINT_IEC1.setSPI1TXIE; inline;
  27891. begin
  27892. pTDefRegMap(@Self)^.&set := $00000040;
  27893. end;
  27894. procedure TINT_IEC1.clearSPI1TXIE; inline;
  27895. begin
  27896. pTDefRegMap(@Self)^.clr := $00000040;
  27897. end;
  27898. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  27899. begin
  27900. if thebits = 0 then
  27901. pTDefRegMap(@Self)^.clr := $00000040
  27902. else
  27903. pTDefRegMap(@Self)^.&set := $00000040;
  27904. end;
  27905. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  27906. begin
  27907. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27908. end;
  27909. procedure TINT_IEC1.setU1EIE; inline;
  27910. begin
  27911. pTDefRegMap(@Self)^.&set := $00000080;
  27912. end;
  27913. procedure TINT_IEC1.clearU1EIE; inline;
  27914. begin
  27915. pTDefRegMap(@Self)^.clr := $00000080;
  27916. end;
  27917. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  27918. begin
  27919. if thebits = 0 then
  27920. pTDefRegMap(@Self)^.clr := $00000080
  27921. else
  27922. pTDefRegMap(@Self)^.&set := $00000080;
  27923. end;
  27924. function TINT_IEC1.getU1EIE : TBits_1; inline;
  27925. begin
  27926. getU1EIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27927. end;
  27928. procedure TINT_IEC1.setU1RXIE; inline;
  27929. begin
  27930. pTDefRegMap(@Self)^.&set := $00000100;
  27931. end;
  27932. procedure TINT_IEC1.clearU1RXIE; inline;
  27933. begin
  27934. pTDefRegMap(@Self)^.clr := $00000100;
  27935. end;
  27936. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  27937. begin
  27938. if thebits = 0 then
  27939. pTDefRegMap(@Self)^.clr := $00000100
  27940. else
  27941. pTDefRegMap(@Self)^.&set := $00000100;
  27942. end;
  27943. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  27944. begin
  27945. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27946. end;
  27947. procedure TINT_IEC1.setU1TXIE; inline;
  27948. begin
  27949. pTDefRegMap(@Self)^.&set := $00000200;
  27950. end;
  27951. procedure TINT_IEC1.clearU1TXIE; inline;
  27952. begin
  27953. pTDefRegMap(@Self)^.clr := $00000200;
  27954. end;
  27955. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  27956. begin
  27957. if thebits = 0 then
  27958. pTDefRegMap(@Self)^.clr := $00000200
  27959. else
  27960. pTDefRegMap(@Self)^.&set := $00000200;
  27961. end;
  27962. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  27963. begin
  27964. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27965. end;
  27966. procedure TINT_IEC1.setI2C1BIE; inline;
  27967. begin
  27968. pTDefRegMap(@Self)^.&set := $00000400;
  27969. end;
  27970. procedure TINT_IEC1.clearI2C1BIE; inline;
  27971. begin
  27972. pTDefRegMap(@Self)^.clr := $00000400;
  27973. end;
  27974. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  27975. begin
  27976. if thebits = 0 then
  27977. pTDefRegMap(@Self)^.clr := $00000400
  27978. else
  27979. pTDefRegMap(@Self)^.&set := $00000400;
  27980. end;
  27981. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  27982. begin
  27983. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27984. end;
  27985. procedure TINT_IEC1.setI2C1SIE; inline;
  27986. begin
  27987. pTDefRegMap(@Self)^.&set := $00000800;
  27988. end;
  27989. procedure TINT_IEC1.clearI2C1SIE; inline;
  27990. begin
  27991. pTDefRegMap(@Self)^.clr := $00000800;
  27992. end;
  27993. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  27994. begin
  27995. if thebits = 0 then
  27996. pTDefRegMap(@Self)^.clr := $00000800
  27997. else
  27998. pTDefRegMap(@Self)^.&set := $00000800;
  27999. end;
  28000. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  28001. begin
  28002. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28003. end;
  28004. procedure TINT_IEC1.setI2C1MIE; inline;
  28005. begin
  28006. pTDefRegMap(@Self)^.&set := $00001000;
  28007. end;
  28008. procedure TINT_IEC1.clearI2C1MIE; inline;
  28009. begin
  28010. pTDefRegMap(@Self)^.clr := $00001000;
  28011. end;
  28012. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  28013. begin
  28014. if thebits = 0 then
  28015. pTDefRegMap(@Self)^.clr := $00001000
  28016. else
  28017. pTDefRegMap(@Self)^.&set := $00001000;
  28018. end;
  28019. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  28020. begin
  28021. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28022. end;
  28023. procedure TINT_IEC1.setCNAIE; inline;
  28024. begin
  28025. pTDefRegMap(@Self)^.&set := $00002000;
  28026. end;
  28027. procedure TINT_IEC1.clearCNAIE; inline;
  28028. begin
  28029. pTDefRegMap(@Self)^.clr := $00002000;
  28030. end;
  28031. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  28032. begin
  28033. if thebits = 0 then
  28034. pTDefRegMap(@Self)^.clr := $00002000
  28035. else
  28036. pTDefRegMap(@Self)^.&set := $00002000;
  28037. end;
  28038. function TINT_IEC1.getCNAIE : TBits_1; inline;
  28039. begin
  28040. getCNAIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28041. end;
  28042. procedure TINT_IEC1.setCNBIE; inline;
  28043. begin
  28044. pTDefRegMap(@Self)^.&set := $00004000;
  28045. end;
  28046. procedure TINT_IEC1.clearCNBIE; inline;
  28047. begin
  28048. pTDefRegMap(@Self)^.clr := $00004000;
  28049. end;
  28050. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  28051. begin
  28052. if thebits = 0 then
  28053. pTDefRegMap(@Self)^.clr := $00004000
  28054. else
  28055. pTDefRegMap(@Self)^.&set := $00004000;
  28056. end;
  28057. function TINT_IEC1.getCNBIE : TBits_1; inline;
  28058. begin
  28059. getCNBIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28060. end;
  28061. procedure TINT_IEC1.setCNCIE; inline;
  28062. begin
  28063. pTDefRegMap(@Self)^.&set := $00008000;
  28064. end;
  28065. procedure TINT_IEC1.clearCNCIE; inline;
  28066. begin
  28067. pTDefRegMap(@Self)^.clr := $00008000;
  28068. end;
  28069. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  28070. begin
  28071. if thebits = 0 then
  28072. pTDefRegMap(@Self)^.clr := $00008000
  28073. else
  28074. pTDefRegMap(@Self)^.&set := $00008000;
  28075. end;
  28076. function TINT_IEC1.getCNCIE : TBits_1; inline;
  28077. begin
  28078. getCNCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28079. end;
  28080. procedure TINT_IEC1.setPMPIE; inline;
  28081. begin
  28082. pTDefRegMap(@Self)^.&set := $00010000;
  28083. end;
  28084. procedure TINT_IEC1.clearPMPIE; inline;
  28085. begin
  28086. pTDefRegMap(@Self)^.clr := $00010000;
  28087. end;
  28088. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  28089. begin
  28090. if thebits = 0 then
  28091. pTDefRegMap(@Self)^.clr := $00010000
  28092. else
  28093. pTDefRegMap(@Self)^.&set := $00010000;
  28094. end;
  28095. function TINT_IEC1.getPMPIE : TBits_1; inline;
  28096. begin
  28097. getPMPIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28098. end;
  28099. procedure TINT_IEC1.setPMPEIE; inline;
  28100. begin
  28101. pTDefRegMap(@Self)^.&set := $00020000;
  28102. end;
  28103. procedure TINT_IEC1.clearPMPEIE; inline;
  28104. begin
  28105. pTDefRegMap(@Self)^.clr := $00020000;
  28106. end;
  28107. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  28108. begin
  28109. if thebits = 0 then
  28110. pTDefRegMap(@Self)^.clr := $00020000
  28111. else
  28112. pTDefRegMap(@Self)^.&set := $00020000;
  28113. end;
  28114. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  28115. begin
  28116. getPMPEIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28117. end;
  28118. procedure TINT_IEC1.setSPI2EIE; inline;
  28119. begin
  28120. pTDefRegMap(@Self)^.&set := $00040000;
  28121. end;
  28122. procedure TINT_IEC1.clearSPI2EIE; inline;
  28123. begin
  28124. pTDefRegMap(@Self)^.clr := $00040000;
  28125. end;
  28126. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  28127. begin
  28128. if thebits = 0 then
  28129. pTDefRegMap(@Self)^.clr := $00040000
  28130. else
  28131. pTDefRegMap(@Self)^.&set := $00040000;
  28132. end;
  28133. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  28134. begin
  28135. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28136. end;
  28137. procedure TINT_IEC1.setSPI2RXIE; inline;
  28138. begin
  28139. pTDefRegMap(@Self)^.&set := $00080000;
  28140. end;
  28141. procedure TINT_IEC1.clearSPI2RXIE; inline;
  28142. begin
  28143. pTDefRegMap(@Self)^.clr := $00080000;
  28144. end;
  28145. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  28146. begin
  28147. if thebits = 0 then
  28148. pTDefRegMap(@Self)^.clr := $00080000
  28149. else
  28150. pTDefRegMap(@Self)^.&set := $00080000;
  28151. end;
  28152. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  28153. begin
  28154. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28155. end;
  28156. procedure TINT_IEC1.setSPI2TXIE; inline;
  28157. begin
  28158. pTDefRegMap(@Self)^.&set := $00100000;
  28159. end;
  28160. procedure TINT_IEC1.clearSPI2TXIE; inline;
  28161. begin
  28162. pTDefRegMap(@Self)^.clr := $00100000;
  28163. end;
  28164. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  28165. begin
  28166. if thebits = 0 then
  28167. pTDefRegMap(@Self)^.clr := $00100000
  28168. else
  28169. pTDefRegMap(@Self)^.&set := $00100000;
  28170. end;
  28171. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  28172. begin
  28173. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28174. end;
  28175. procedure TINT_IEC1.setU2EIE; inline;
  28176. begin
  28177. pTDefRegMap(@Self)^.&set := $00200000;
  28178. end;
  28179. procedure TINT_IEC1.clearU2EIE; inline;
  28180. begin
  28181. pTDefRegMap(@Self)^.clr := $00200000;
  28182. end;
  28183. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  28184. begin
  28185. if thebits = 0 then
  28186. pTDefRegMap(@Self)^.clr := $00200000
  28187. else
  28188. pTDefRegMap(@Self)^.&set := $00200000;
  28189. end;
  28190. function TINT_IEC1.getU2EIE : TBits_1; inline;
  28191. begin
  28192. getU2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28193. end;
  28194. procedure TINT_IEC1.setU2RXIE; inline;
  28195. begin
  28196. pTDefRegMap(@Self)^.&set := $00400000;
  28197. end;
  28198. procedure TINT_IEC1.clearU2RXIE; inline;
  28199. begin
  28200. pTDefRegMap(@Self)^.clr := $00400000;
  28201. end;
  28202. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  28203. begin
  28204. if thebits = 0 then
  28205. pTDefRegMap(@Self)^.clr := $00400000
  28206. else
  28207. pTDefRegMap(@Self)^.&set := $00400000;
  28208. end;
  28209. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  28210. begin
  28211. getU2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28212. end;
  28213. procedure TINT_IEC1.setU2TXIE; inline;
  28214. begin
  28215. pTDefRegMap(@Self)^.&set := $00800000;
  28216. end;
  28217. procedure TINT_IEC1.clearU2TXIE; inline;
  28218. begin
  28219. pTDefRegMap(@Self)^.clr := $00800000;
  28220. end;
  28221. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  28222. begin
  28223. if thebits = 0 then
  28224. pTDefRegMap(@Self)^.clr := $00800000
  28225. else
  28226. pTDefRegMap(@Self)^.&set := $00800000;
  28227. end;
  28228. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  28229. begin
  28230. getU2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28231. end;
  28232. procedure TINT_IEC1.setI2C2BIE; inline;
  28233. begin
  28234. pTDefRegMap(@Self)^.&set := $01000000;
  28235. end;
  28236. procedure TINT_IEC1.clearI2C2BIE; inline;
  28237. begin
  28238. pTDefRegMap(@Self)^.clr := $01000000;
  28239. end;
  28240. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  28241. begin
  28242. if thebits = 0 then
  28243. pTDefRegMap(@Self)^.clr := $01000000
  28244. else
  28245. pTDefRegMap(@Self)^.&set := $01000000;
  28246. end;
  28247. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  28248. begin
  28249. getI2C2BIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28250. end;
  28251. procedure TINT_IEC1.setI2C2SIE; inline;
  28252. begin
  28253. pTDefRegMap(@Self)^.&set := $02000000;
  28254. end;
  28255. procedure TINT_IEC1.clearI2C2SIE; inline;
  28256. begin
  28257. pTDefRegMap(@Self)^.clr := $02000000;
  28258. end;
  28259. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  28260. begin
  28261. if thebits = 0 then
  28262. pTDefRegMap(@Self)^.clr := $02000000
  28263. else
  28264. pTDefRegMap(@Self)^.&set := $02000000;
  28265. end;
  28266. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  28267. begin
  28268. getI2C2SIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28269. end;
  28270. procedure TINT_IEC1.setI2C2MIE; inline;
  28271. begin
  28272. pTDefRegMap(@Self)^.&set := $04000000;
  28273. end;
  28274. procedure TINT_IEC1.clearI2C2MIE; inline;
  28275. begin
  28276. pTDefRegMap(@Self)^.clr := $04000000;
  28277. end;
  28278. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  28279. begin
  28280. if thebits = 0 then
  28281. pTDefRegMap(@Self)^.clr := $04000000
  28282. else
  28283. pTDefRegMap(@Self)^.&set := $04000000;
  28284. end;
  28285. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  28286. begin
  28287. getI2C2MIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28288. end;
  28289. procedure TINT_IEC1.setCTMUIE; inline;
  28290. begin
  28291. pTDefRegMap(@Self)^.&set := $08000000;
  28292. end;
  28293. procedure TINT_IEC1.clearCTMUIE; inline;
  28294. begin
  28295. pTDefRegMap(@Self)^.clr := $08000000;
  28296. end;
  28297. procedure TINT_IEC1.setCTMUIE(thebits : TBits_1); inline;
  28298. begin
  28299. if thebits = 0 then
  28300. pTDefRegMap(@Self)^.clr := $08000000
  28301. else
  28302. pTDefRegMap(@Self)^.&set := $08000000;
  28303. end;
  28304. function TINT_IEC1.getCTMUIE : TBits_1; inline;
  28305. begin
  28306. getCTMUIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28307. end;
  28308. procedure TINT_IEC1.setDMA0IE; inline;
  28309. begin
  28310. pTDefRegMap(@Self)^.&set := $10000000;
  28311. end;
  28312. procedure TINT_IEC1.clearDMA0IE; inline;
  28313. begin
  28314. pTDefRegMap(@Self)^.clr := $10000000;
  28315. end;
  28316. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  28317. begin
  28318. if thebits = 0 then
  28319. pTDefRegMap(@Self)^.clr := $10000000
  28320. else
  28321. pTDefRegMap(@Self)^.&set := $10000000;
  28322. end;
  28323. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  28324. begin
  28325. getDMA0IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28326. end;
  28327. procedure TINT_IEC1.setDMA1IE; inline;
  28328. begin
  28329. pTDefRegMap(@Self)^.&set := $20000000;
  28330. end;
  28331. procedure TINT_IEC1.clearDMA1IE; inline;
  28332. begin
  28333. pTDefRegMap(@Self)^.clr := $20000000;
  28334. end;
  28335. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  28336. begin
  28337. if thebits = 0 then
  28338. pTDefRegMap(@Self)^.clr := $20000000
  28339. else
  28340. pTDefRegMap(@Self)^.&set := $20000000;
  28341. end;
  28342. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  28343. begin
  28344. getDMA1IE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28345. end;
  28346. procedure TINT_IEC1.setDMA2IE; inline;
  28347. begin
  28348. pTDefRegMap(@Self)^.&set := $40000000;
  28349. end;
  28350. procedure TINT_IEC1.clearDMA2IE; inline;
  28351. begin
  28352. pTDefRegMap(@Self)^.clr := $40000000;
  28353. end;
  28354. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  28355. begin
  28356. if thebits = 0 then
  28357. pTDefRegMap(@Self)^.clr := $40000000
  28358. else
  28359. pTDefRegMap(@Self)^.&set := $40000000;
  28360. end;
  28361. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  28362. begin
  28363. getDMA2IE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28364. end;
  28365. procedure TINT_IEC1.setDMA3IE; inline;
  28366. begin
  28367. pTDefRegMap(@Self)^.&set := $80000000;
  28368. end;
  28369. procedure TINT_IEC1.clearDMA3IE; inline;
  28370. begin
  28371. pTDefRegMap(@Self)^.clr := $80000000;
  28372. end;
  28373. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  28374. begin
  28375. if thebits = 0 then
  28376. pTDefRegMap(@Self)^.clr := $80000000
  28377. else
  28378. pTDefRegMap(@Self)^.&set := $80000000;
  28379. end;
  28380. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  28381. begin
  28382. getDMA3IE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28383. end;
  28384. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  28385. begin
  28386. pTDefRegMap(@Self)^.val := thebits;
  28387. end;
  28388. function TINT_IEC1.getw : TBits_32; inline;
  28389. begin
  28390. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28391. end;
  28392. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  28393. begin
  28394. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28395. end;
  28396. function TINT_IPC0.getCTIS : TBits_2; inline;
  28397. begin
  28398. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28399. end;
  28400. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  28401. begin
  28402. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28403. end;
  28404. function TINT_IPC0.getCTIP : TBits_3; inline;
  28405. begin
  28406. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28407. end;
  28408. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  28409. begin
  28410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28411. end;
  28412. function TINT_IPC0.getCS0IS : TBits_2; inline;
  28413. begin
  28414. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28415. end;
  28416. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  28417. begin
  28418. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28419. end;
  28420. function TINT_IPC0.getCS0IP : TBits_3; inline;
  28421. begin
  28422. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28423. end;
  28424. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  28425. begin
  28426. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28427. end;
  28428. function TINT_IPC0.getCS1IS : TBits_2; inline;
  28429. begin
  28430. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28431. end;
  28432. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  28433. begin
  28434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28435. end;
  28436. function TINT_IPC0.getCS1IP : TBits_3; inline;
  28437. begin
  28438. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28439. end;
  28440. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  28441. begin
  28442. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28443. end;
  28444. function TINT_IPC0.getINT0IS : TBits_2; inline;
  28445. begin
  28446. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28447. end;
  28448. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  28449. begin
  28450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28451. end;
  28452. function TINT_IPC0.getINT0IP : TBits_3; inline;
  28453. begin
  28454. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28455. end;
  28456. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  28457. begin
  28458. pTDefRegMap(@Self)^.val := thebits;
  28459. end;
  28460. function TINT_IPC0.getw : TBits_32; inline;
  28461. begin
  28462. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28463. end;
  28464. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  28465. begin
  28466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28467. end;
  28468. function TINT_IPC1.getT1IS : TBits_2; inline;
  28469. begin
  28470. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28471. end;
  28472. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  28473. begin
  28474. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28475. end;
  28476. function TINT_IPC1.getT1IP : TBits_3; inline;
  28477. begin
  28478. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28479. end;
  28480. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  28481. begin
  28482. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28483. end;
  28484. function TINT_IPC1.getIC1IS : TBits_2; inline;
  28485. begin
  28486. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28487. end;
  28488. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  28489. begin
  28490. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28491. end;
  28492. function TINT_IPC1.getIC1IP : TBits_3; inline;
  28493. begin
  28494. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28495. end;
  28496. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  28497. begin
  28498. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28499. end;
  28500. function TINT_IPC1.getOC1IS : TBits_2; inline;
  28501. begin
  28502. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28503. end;
  28504. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  28505. begin
  28506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28507. end;
  28508. function TINT_IPC1.getOC1IP : TBits_3; inline;
  28509. begin
  28510. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28511. end;
  28512. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  28513. begin
  28514. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28515. end;
  28516. function TINT_IPC1.getINT1IS : TBits_2; inline;
  28517. begin
  28518. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28519. end;
  28520. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  28521. begin
  28522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28523. end;
  28524. function TINT_IPC1.getINT1IP : TBits_3; inline;
  28525. begin
  28526. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28527. end;
  28528. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  28529. begin
  28530. pTDefRegMap(@Self)^.val := thebits;
  28531. end;
  28532. function TINT_IPC1.getw : TBits_32; inline;
  28533. begin
  28534. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28535. end;
  28536. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  28537. begin
  28538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28539. end;
  28540. function TINT_IPC2.getT2IS : TBits_2; inline;
  28541. begin
  28542. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28543. end;
  28544. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  28545. begin
  28546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28547. end;
  28548. function TINT_IPC2.getT2IP : TBits_3; inline;
  28549. begin
  28550. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28551. end;
  28552. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  28553. begin
  28554. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28555. end;
  28556. function TINT_IPC2.getIC2IS : TBits_2; inline;
  28557. begin
  28558. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28559. end;
  28560. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  28561. begin
  28562. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28563. end;
  28564. function TINT_IPC2.getIC2IP : TBits_3; inline;
  28565. begin
  28566. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28567. end;
  28568. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  28569. begin
  28570. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28571. end;
  28572. function TINT_IPC2.getOC2IS : TBits_2; inline;
  28573. begin
  28574. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28575. end;
  28576. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  28577. begin
  28578. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28579. end;
  28580. function TINT_IPC2.getOC2IP : TBits_3; inline;
  28581. begin
  28582. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28583. end;
  28584. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  28585. begin
  28586. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28587. end;
  28588. function TINT_IPC2.getINT2IS : TBits_2; inline;
  28589. begin
  28590. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28591. end;
  28592. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  28593. begin
  28594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28595. end;
  28596. function TINT_IPC2.getINT2IP : TBits_3; inline;
  28597. begin
  28598. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28599. end;
  28600. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  28601. begin
  28602. pTDefRegMap(@Self)^.val := thebits;
  28603. end;
  28604. function TINT_IPC2.getw : TBits_32; inline;
  28605. begin
  28606. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28607. end;
  28608. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  28609. begin
  28610. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28611. end;
  28612. function TINT_IPC3.getT3IS : TBits_2; inline;
  28613. begin
  28614. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28615. end;
  28616. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  28617. begin
  28618. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28619. end;
  28620. function TINT_IPC3.getT3IP : TBits_3; inline;
  28621. begin
  28622. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28623. end;
  28624. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  28625. begin
  28626. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28627. end;
  28628. function TINT_IPC3.getIC3IS : TBits_2; inline;
  28629. begin
  28630. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28631. end;
  28632. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  28633. begin
  28634. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28635. end;
  28636. function TINT_IPC3.getIC3IP : TBits_3; inline;
  28637. begin
  28638. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28639. end;
  28640. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  28641. begin
  28642. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28643. end;
  28644. function TINT_IPC3.getOC3IS : TBits_2; inline;
  28645. begin
  28646. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28647. end;
  28648. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  28649. begin
  28650. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28651. end;
  28652. function TINT_IPC3.getOC3IP : TBits_3; inline;
  28653. begin
  28654. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28655. end;
  28656. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  28657. begin
  28658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28659. end;
  28660. function TINT_IPC3.getINT3IS : TBits_2; inline;
  28661. begin
  28662. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28663. end;
  28664. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  28665. begin
  28666. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28667. end;
  28668. function TINT_IPC3.getINT3IP : TBits_3; inline;
  28669. begin
  28670. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28671. end;
  28672. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  28673. begin
  28674. pTDefRegMap(@Self)^.val := thebits;
  28675. end;
  28676. function TINT_IPC3.getw : TBits_32; inline;
  28677. begin
  28678. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28679. end;
  28680. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  28681. begin
  28682. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28683. end;
  28684. function TINT_IPC4.getT4IS : TBits_2; inline;
  28685. begin
  28686. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28687. end;
  28688. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  28689. begin
  28690. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28691. end;
  28692. function TINT_IPC4.getT4IP : TBits_3; inline;
  28693. begin
  28694. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28695. end;
  28696. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  28697. begin
  28698. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28699. end;
  28700. function TINT_IPC4.getIC4IS : TBits_2; inline;
  28701. begin
  28702. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28703. end;
  28704. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  28705. begin
  28706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28707. end;
  28708. function TINT_IPC4.getIC4IP : TBits_3; inline;
  28709. begin
  28710. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28711. end;
  28712. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  28713. begin
  28714. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28715. end;
  28716. function TINT_IPC4.getOC4IS : TBits_2; inline;
  28717. begin
  28718. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28719. end;
  28720. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  28721. begin
  28722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28723. end;
  28724. function TINT_IPC4.getOC4IP : TBits_3; inline;
  28725. begin
  28726. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28727. end;
  28728. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  28729. begin
  28730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28731. end;
  28732. function TINT_IPC4.getINT4IS : TBits_2; inline;
  28733. begin
  28734. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28735. end;
  28736. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  28737. begin
  28738. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28739. end;
  28740. function TINT_IPC4.getINT4IP : TBits_3; inline;
  28741. begin
  28742. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28743. end;
  28744. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  28745. begin
  28746. pTDefRegMap(@Self)^.val := thebits;
  28747. end;
  28748. function TINT_IPC4.getw : TBits_32; inline;
  28749. begin
  28750. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28751. end;
  28752. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  28753. begin
  28754. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28755. end;
  28756. function TINT_IPC5.getT5IS : TBits_2; inline;
  28757. begin
  28758. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28759. end;
  28760. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  28761. begin
  28762. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28763. end;
  28764. function TINT_IPC5.getT5IP : TBits_3; inline;
  28765. begin
  28766. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28767. end;
  28768. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  28769. begin
  28770. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28771. end;
  28772. function TINT_IPC5.getIC5IS : TBits_2; inline;
  28773. begin
  28774. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28775. end;
  28776. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  28777. begin
  28778. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28779. end;
  28780. function TINT_IPC5.getIC5IP : TBits_3; inline;
  28781. begin
  28782. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28783. end;
  28784. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  28785. begin
  28786. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28787. end;
  28788. function TINT_IPC5.getOC5IS : TBits_2; inline;
  28789. begin
  28790. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28791. end;
  28792. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  28793. begin
  28794. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28795. end;
  28796. function TINT_IPC5.getOC5IP : TBits_3; inline;
  28797. begin
  28798. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28799. end;
  28800. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  28801. begin
  28802. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28803. end;
  28804. function TINT_IPC5.getAD1IS : TBits_2; inline;
  28805. begin
  28806. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28807. end;
  28808. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  28809. begin
  28810. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28811. end;
  28812. function TINT_IPC5.getAD1IP : TBits_3; inline;
  28813. begin
  28814. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28815. end;
  28816. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  28817. begin
  28818. pTDefRegMap(@Self)^.val := thebits;
  28819. end;
  28820. function TINT_IPC5.getw : TBits_32; inline;
  28821. begin
  28822. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28823. end;
  28824. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  28825. begin
  28826. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28827. end;
  28828. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  28829. begin
  28830. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28831. end;
  28832. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  28833. begin
  28834. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28835. end;
  28836. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  28837. begin
  28838. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28839. end;
  28840. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  28841. begin
  28842. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28843. end;
  28844. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  28845. begin
  28846. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28847. end;
  28848. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  28849. begin
  28850. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28851. end;
  28852. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  28853. begin
  28854. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28855. end;
  28856. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  28857. begin
  28858. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28859. end;
  28860. function TINT_IPC6.getFCEIS : TBits_2; inline;
  28861. begin
  28862. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28863. end;
  28864. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  28865. begin
  28866. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28867. end;
  28868. function TINT_IPC6.getFCEIP : TBits_3; inline;
  28869. begin
  28870. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28871. end;
  28872. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  28873. begin
  28874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28875. end;
  28876. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  28877. begin
  28878. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28879. end;
  28880. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  28881. begin
  28882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28883. end;
  28884. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  28885. begin
  28886. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28887. end;
  28888. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  28889. begin
  28890. pTDefRegMap(@Self)^.val := thebits;
  28891. end;
  28892. function TINT_IPC6.getw : TBits_32; inline;
  28893. begin
  28894. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28895. end;
  28896. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  28897. begin
  28898. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28899. end;
  28900. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  28901. begin
  28902. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28903. end;
  28904. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  28905. begin
  28906. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28907. end;
  28908. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  28909. begin
  28910. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28911. end;
  28912. procedure TINT_IPC7.setCMP3IS(thebits : TBits_2); inline;
  28913. begin
  28914. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28915. end;
  28916. function TINT_IPC7.getCMP3IS : TBits_2; inline;
  28917. begin
  28918. getCMP3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28919. end;
  28920. procedure TINT_IPC7.setCMP3IP(thebits : TBits_3); inline;
  28921. begin
  28922. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28923. end;
  28924. function TINT_IPC7.getCMP3IP : TBits_3; inline;
  28925. begin
  28926. getCMP3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28927. end;
  28928. procedure TINT_IPC7.setUSBIS(thebits : TBits_2); inline;
  28929. begin
  28930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28931. end;
  28932. function TINT_IPC7.getUSBIS : TBits_2; inline;
  28933. begin
  28934. getUSBIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28935. end;
  28936. procedure TINT_IPC7.setUSBIP(thebits : TBits_3); inline;
  28937. begin
  28938. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28939. end;
  28940. function TINT_IPC7.getUSBIP : TBits_3; inline;
  28941. begin
  28942. getUSBIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28943. end;
  28944. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  28945. begin
  28946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28947. end;
  28948. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  28949. begin
  28950. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28951. end;
  28952. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  28953. begin
  28954. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28955. end;
  28956. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  28957. begin
  28958. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28959. end;
  28960. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  28961. begin
  28962. pTDefRegMap(@Self)^.val := thebits;
  28963. end;
  28964. function TINT_IPC7.getw : TBits_32; inline;
  28965. begin
  28966. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28967. end;
  28968. procedure TINT_IPC8.setU1IS(thebits : TBits_2); inline;
  28969. begin
  28970. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28971. end;
  28972. function TINT_IPC8.getU1IS : TBits_2; inline;
  28973. begin
  28974. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28975. end;
  28976. procedure TINT_IPC8.setU1IP(thebits : TBits_3); inline;
  28977. begin
  28978. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28979. end;
  28980. function TINT_IPC8.getU1IP : TBits_3; inline;
  28981. begin
  28982. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28983. end;
  28984. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  28985. begin
  28986. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28987. end;
  28988. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  28989. begin
  28990. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28991. end;
  28992. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  28993. begin
  28994. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28995. end;
  28996. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  28997. begin
  28998. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28999. end;
  29000. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  29001. begin
  29002. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29003. end;
  29004. function TINT_IPC8.getCNIS : TBits_2; inline;
  29005. begin
  29006. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29007. end;
  29008. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  29009. begin
  29010. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29011. end;
  29012. function TINT_IPC8.getCNIP : TBits_3; inline;
  29013. begin
  29014. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29015. end;
  29016. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  29017. begin
  29018. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29019. end;
  29020. function TINT_IPC8.getPMPIS : TBits_2; inline;
  29021. begin
  29022. getPMPIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29023. end;
  29024. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  29025. begin
  29026. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29027. end;
  29028. function TINT_IPC8.getPMPIP : TBits_3; inline;
  29029. begin
  29030. getPMPIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29031. end;
  29032. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  29033. begin
  29034. pTDefRegMap(@Self)^.val := thebits;
  29035. end;
  29036. function TINT_IPC8.getw : TBits_32; inline;
  29037. begin
  29038. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29039. end;
  29040. procedure TINT_IPC9.setSPI2IS(thebits : TBits_2); inline;
  29041. begin
  29042. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29043. end;
  29044. function TINT_IPC9.getSPI2IS : TBits_2; inline;
  29045. begin
  29046. getSPI2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29047. end;
  29048. procedure TINT_IPC9.setSPI2IP(thebits : TBits_3); inline;
  29049. begin
  29050. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29051. end;
  29052. function TINT_IPC9.getSPI2IP : TBits_3; inline;
  29053. begin
  29054. getSPI2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29055. end;
  29056. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  29057. begin
  29058. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29059. end;
  29060. function TINT_IPC9.getU2IS : TBits_2; inline;
  29061. begin
  29062. getU2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29063. end;
  29064. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  29065. begin
  29066. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29067. end;
  29068. function TINT_IPC9.getU2IP : TBits_3; inline;
  29069. begin
  29070. getU2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29071. end;
  29072. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  29073. begin
  29074. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29075. end;
  29076. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  29077. begin
  29078. getI2C2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29079. end;
  29080. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  29081. begin
  29082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29083. end;
  29084. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  29085. begin
  29086. getI2C2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29087. end;
  29088. procedure TINT_IPC9.setCTMUIS(thebits : TBits_2); inline;
  29089. begin
  29090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29091. end;
  29092. function TINT_IPC9.getCTMUIS : TBits_2; inline;
  29093. begin
  29094. getCTMUIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29095. end;
  29096. procedure TINT_IPC9.setCTMUIP(thebits : TBits_3); inline;
  29097. begin
  29098. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29099. end;
  29100. function TINT_IPC9.getCTMUIP : TBits_3; inline;
  29101. begin
  29102. getCTMUIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29103. end;
  29104. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  29105. begin
  29106. pTDefRegMap(@Self)^.val := thebits;
  29107. end;
  29108. function TINT_IPC9.getw : TBits_32; inline;
  29109. begin
  29110. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29111. end;
  29112. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  29113. begin
  29114. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29115. end;
  29116. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  29117. begin
  29118. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29119. end;
  29120. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  29121. begin
  29122. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29123. end;
  29124. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  29125. begin
  29126. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29127. end;
  29128. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  29129. begin
  29130. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29131. end;
  29132. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  29133. begin
  29134. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29135. end;
  29136. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  29137. begin
  29138. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29139. end;
  29140. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  29141. begin
  29142. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29143. end;
  29144. procedure TINT_IPC10.setDMA2IS(thebits : TBits_2); inline;
  29145. begin
  29146. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29147. end;
  29148. function TINT_IPC10.getDMA2IS : TBits_2; inline;
  29149. begin
  29150. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29151. end;
  29152. procedure TINT_IPC10.setDMA2IP(thebits : TBits_3); inline;
  29153. begin
  29154. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29155. end;
  29156. function TINT_IPC10.getDMA2IP : TBits_3; inline;
  29157. begin
  29158. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29159. end;
  29160. procedure TINT_IPC10.setDMA3IS(thebits : TBits_2); inline;
  29161. begin
  29162. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29163. end;
  29164. function TINT_IPC10.getDMA3IS : TBits_2; inline;
  29165. begin
  29166. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29167. end;
  29168. procedure TINT_IPC10.setDMA3IP(thebits : TBits_3); inline;
  29169. begin
  29170. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29171. end;
  29172. function TINT_IPC10.getDMA3IP : TBits_3; inline;
  29173. begin
  29174. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29175. end;
  29176. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  29177. begin
  29178. pTDefRegMap(@Self)^.val := thebits;
  29179. end;
  29180. function TINT_IPC10.getw : TBits_32; inline;
  29181. begin
  29182. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29183. end;
  29184. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  29185. begin
  29186. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29187. end;
  29188. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  29189. begin
  29190. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29191. end;
  29192. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  29193. begin
  29194. pTDefRegMap(@Self)^.&set := $00000040;
  29195. end;
  29196. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  29197. begin
  29198. pTDefRegMap(@Self)^.clr := $00000040;
  29199. end;
  29200. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  29201. begin
  29202. if thebits = 0 then
  29203. pTDefRegMap(@Self)^.clr := $00000040
  29204. else
  29205. pTDefRegMap(@Self)^.&set := $00000040;
  29206. end;
  29207. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  29208. begin
  29209. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29210. end;
  29211. procedure TBMX_BMXCON.setBMXERRIS; inline;
  29212. begin
  29213. pTDefRegMap(@Self)^.&set := $00010000;
  29214. end;
  29215. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  29216. begin
  29217. pTDefRegMap(@Self)^.clr := $00010000;
  29218. end;
  29219. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  29220. begin
  29221. if thebits = 0 then
  29222. pTDefRegMap(@Self)^.clr := $00010000
  29223. else
  29224. pTDefRegMap(@Self)^.&set := $00010000;
  29225. end;
  29226. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  29227. begin
  29228. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29229. end;
  29230. procedure TBMX_BMXCON.setBMXERRDS; inline;
  29231. begin
  29232. pTDefRegMap(@Self)^.&set := $00020000;
  29233. end;
  29234. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  29235. begin
  29236. pTDefRegMap(@Self)^.clr := $00020000;
  29237. end;
  29238. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  29239. begin
  29240. if thebits = 0 then
  29241. pTDefRegMap(@Self)^.clr := $00020000
  29242. else
  29243. pTDefRegMap(@Self)^.&set := $00020000;
  29244. end;
  29245. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  29246. begin
  29247. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29248. end;
  29249. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  29250. begin
  29251. pTDefRegMap(@Self)^.&set := $00040000;
  29252. end;
  29253. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  29254. begin
  29255. pTDefRegMap(@Self)^.clr := $00040000;
  29256. end;
  29257. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  29258. begin
  29259. if thebits = 0 then
  29260. pTDefRegMap(@Self)^.clr := $00040000
  29261. else
  29262. pTDefRegMap(@Self)^.&set := $00040000;
  29263. end;
  29264. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  29265. begin
  29266. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29267. end;
  29268. procedure TBMX_BMXCON.setBMXERRICD; inline;
  29269. begin
  29270. pTDefRegMap(@Self)^.&set := $00080000;
  29271. end;
  29272. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  29273. begin
  29274. pTDefRegMap(@Self)^.clr := $00080000;
  29275. end;
  29276. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  29277. begin
  29278. if thebits = 0 then
  29279. pTDefRegMap(@Self)^.clr := $00080000
  29280. else
  29281. pTDefRegMap(@Self)^.&set := $00080000;
  29282. end;
  29283. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  29284. begin
  29285. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29286. end;
  29287. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  29288. begin
  29289. pTDefRegMap(@Self)^.&set := $00100000;
  29290. end;
  29291. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  29292. begin
  29293. pTDefRegMap(@Self)^.clr := $00100000;
  29294. end;
  29295. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  29296. begin
  29297. if thebits = 0 then
  29298. pTDefRegMap(@Self)^.clr := $00100000
  29299. else
  29300. pTDefRegMap(@Self)^.&set := $00100000;
  29301. end;
  29302. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  29303. begin
  29304. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29305. end;
  29306. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  29307. begin
  29308. pTDefRegMap(@Self)^.&set := $04000000;
  29309. end;
  29310. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  29311. begin
  29312. pTDefRegMap(@Self)^.clr := $04000000;
  29313. end;
  29314. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  29315. begin
  29316. if thebits = 0 then
  29317. pTDefRegMap(@Self)^.clr := $04000000
  29318. else
  29319. pTDefRegMap(@Self)^.&set := $04000000;
  29320. end;
  29321. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  29322. begin
  29323. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  29324. end;
  29325. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  29326. begin
  29327. pTDefRegMap(@Self)^.val := thebits;
  29328. end;
  29329. function TBMX_BMXCON.getw : TBits_32; inline;
  29330. begin
  29331. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29332. end;
  29333. procedure TDMAC_DMACON.setDMABUSY; inline;
  29334. begin
  29335. pTDefRegMap(@Self)^.&set := $00000800;
  29336. end;
  29337. procedure TDMAC_DMACON.clearDMABUSY; inline;
  29338. begin
  29339. pTDefRegMap(@Self)^.clr := $00000800;
  29340. end;
  29341. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  29342. begin
  29343. if thebits = 0 then
  29344. pTDefRegMap(@Self)^.clr := $00000800
  29345. else
  29346. pTDefRegMap(@Self)^.&set := $00000800;
  29347. end;
  29348. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  29349. begin
  29350. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29351. end;
  29352. procedure TDMAC_DMACON.setSUSPEND; inline;
  29353. begin
  29354. pTDefRegMap(@Self)^.&set := $00001000;
  29355. end;
  29356. procedure TDMAC_DMACON.clearSUSPEND; inline;
  29357. begin
  29358. pTDefRegMap(@Self)^.clr := $00001000;
  29359. end;
  29360. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  29361. begin
  29362. if thebits = 0 then
  29363. pTDefRegMap(@Self)^.clr := $00001000
  29364. else
  29365. pTDefRegMap(@Self)^.&set := $00001000;
  29366. end;
  29367. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  29368. begin
  29369. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29370. end;
  29371. procedure TDMAC_DMACON.setON; inline;
  29372. begin
  29373. pTDefRegMap(@Self)^.&set := $00008000;
  29374. end;
  29375. procedure TDMAC_DMACON.clearON; inline;
  29376. begin
  29377. pTDefRegMap(@Self)^.clr := $00008000;
  29378. end;
  29379. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  29380. begin
  29381. if thebits = 0 then
  29382. pTDefRegMap(@Self)^.clr := $00008000
  29383. else
  29384. pTDefRegMap(@Self)^.&set := $00008000;
  29385. end;
  29386. function TDMAC_DMACON.getON : TBits_1; inline;
  29387. begin
  29388. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29389. end;
  29390. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  29391. begin
  29392. pTDefRegMap(@Self)^.val := thebits;
  29393. end;
  29394. function TDMAC_DMACON.getw : TBits_32; inline;
  29395. begin
  29396. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29397. end;
  29398. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  29399. begin
  29400. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29401. end;
  29402. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  29403. begin
  29404. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29405. end;
  29406. procedure TDMAC_DMASTAT.setRDWR; inline;
  29407. begin
  29408. pTDefRegMap(@Self)^.&set := $00000008;
  29409. end;
  29410. procedure TDMAC_DMASTAT.clearRDWR; inline;
  29411. begin
  29412. pTDefRegMap(@Self)^.clr := $00000008;
  29413. end;
  29414. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  29415. begin
  29416. if thebits = 0 then
  29417. pTDefRegMap(@Self)^.clr := $00000008
  29418. else
  29419. pTDefRegMap(@Self)^.&set := $00000008;
  29420. end;
  29421. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  29422. begin
  29423. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29424. end;
  29425. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  29426. begin
  29427. pTDefRegMap(@Self)^.val := thebits;
  29428. end;
  29429. function TDMAC_DMASTAT.getw : TBits_32; inline;
  29430. begin
  29431. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29432. end;
  29433. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  29434. begin
  29435. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29436. end;
  29437. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  29438. begin
  29439. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29440. end;
  29441. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  29442. begin
  29443. pTDefRegMap(@Self)^.&set := $00000020;
  29444. end;
  29445. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  29446. begin
  29447. pTDefRegMap(@Self)^.clr := $00000020;
  29448. end;
  29449. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  29450. begin
  29451. if thebits = 0 then
  29452. pTDefRegMap(@Self)^.clr := $00000020
  29453. else
  29454. pTDefRegMap(@Self)^.&set := $00000020;
  29455. end;
  29456. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  29457. begin
  29458. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29459. end;
  29460. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  29461. begin
  29462. pTDefRegMap(@Self)^.&set := $00000040;
  29463. end;
  29464. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  29465. begin
  29466. pTDefRegMap(@Self)^.clr := $00000040;
  29467. end;
  29468. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  29469. begin
  29470. if thebits = 0 then
  29471. pTDefRegMap(@Self)^.clr := $00000040
  29472. else
  29473. pTDefRegMap(@Self)^.&set := $00000040;
  29474. end;
  29475. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  29476. begin
  29477. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29478. end;
  29479. procedure TDMAC_DCRCCON.setCRCEN; inline;
  29480. begin
  29481. pTDefRegMap(@Self)^.&set := $00000080;
  29482. end;
  29483. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  29484. begin
  29485. pTDefRegMap(@Self)^.clr := $00000080;
  29486. end;
  29487. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  29488. begin
  29489. if thebits = 0 then
  29490. pTDefRegMap(@Self)^.clr := $00000080
  29491. else
  29492. pTDefRegMap(@Self)^.&set := $00000080;
  29493. end;
  29494. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  29495. begin
  29496. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29497. end;
  29498. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  29499. begin
  29500. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  29501. end;
  29502. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  29503. begin
  29504. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  29505. end;
  29506. procedure TDMAC_DCRCCON.setBITO; inline;
  29507. begin
  29508. pTDefRegMap(@Self)^.&set := $01000000;
  29509. end;
  29510. procedure TDMAC_DCRCCON.clearBITO; inline;
  29511. begin
  29512. pTDefRegMap(@Self)^.clr := $01000000;
  29513. end;
  29514. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  29515. begin
  29516. if thebits = 0 then
  29517. pTDefRegMap(@Self)^.clr := $01000000
  29518. else
  29519. pTDefRegMap(@Self)^.&set := $01000000;
  29520. end;
  29521. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  29522. begin
  29523. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29524. end;
  29525. procedure TDMAC_DCRCCON.setWBO; inline;
  29526. begin
  29527. pTDefRegMap(@Self)^.&set := $08000000;
  29528. end;
  29529. procedure TDMAC_DCRCCON.clearWBO; inline;
  29530. begin
  29531. pTDefRegMap(@Self)^.clr := $08000000;
  29532. end;
  29533. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  29534. begin
  29535. if thebits = 0 then
  29536. pTDefRegMap(@Self)^.clr := $08000000
  29537. else
  29538. pTDefRegMap(@Self)^.&set := $08000000;
  29539. end;
  29540. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  29541. begin
  29542. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  29543. end;
  29544. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  29545. begin
  29546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  29547. end;
  29548. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  29549. begin
  29550. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  29551. end;
  29552. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  29553. begin
  29554. pTDefRegMap(@Self)^.val := thebits;
  29555. end;
  29556. function TDMAC_DCRCCON.getw : TBits_32; inline;
  29557. begin
  29558. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29559. end;
  29560. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  29561. begin
  29562. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29563. end;
  29564. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  29565. begin
  29566. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29567. end;
  29568. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  29569. begin
  29570. pTDefRegMap(@Self)^.&set := $00000004;
  29571. end;
  29572. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  29573. begin
  29574. pTDefRegMap(@Self)^.clr := $00000004;
  29575. end;
  29576. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  29577. begin
  29578. if thebits = 0 then
  29579. pTDefRegMap(@Self)^.clr := $00000004
  29580. else
  29581. pTDefRegMap(@Self)^.&set := $00000004;
  29582. end;
  29583. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  29584. begin
  29585. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29586. end;
  29587. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  29588. begin
  29589. pTDefRegMap(@Self)^.&set := $00000010;
  29590. end;
  29591. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  29592. begin
  29593. pTDefRegMap(@Self)^.clr := $00000010;
  29594. end;
  29595. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  29596. begin
  29597. if thebits = 0 then
  29598. pTDefRegMap(@Self)^.clr := $00000010
  29599. else
  29600. pTDefRegMap(@Self)^.&set := $00000010;
  29601. end;
  29602. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  29603. begin
  29604. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29605. end;
  29606. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  29607. begin
  29608. pTDefRegMap(@Self)^.&set := $00000020;
  29609. end;
  29610. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  29611. begin
  29612. pTDefRegMap(@Self)^.clr := $00000020;
  29613. end;
  29614. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  29615. begin
  29616. if thebits = 0 then
  29617. pTDefRegMap(@Self)^.clr := $00000020
  29618. else
  29619. pTDefRegMap(@Self)^.&set := $00000020;
  29620. end;
  29621. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  29622. begin
  29623. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29624. end;
  29625. procedure TDMAC0_DCH0CON.setCHAED; inline;
  29626. begin
  29627. pTDefRegMap(@Self)^.&set := $00000040;
  29628. end;
  29629. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  29630. begin
  29631. pTDefRegMap(@Self)^.clr := $00000040;
  29632. end;
  29633. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  29634. begin
  29635. if thebits = 0 then
  29636. pTDefRegMap(@Self)^.clr := $00000040
  29637. else
  29638. pTDefRegMap(@Self)^.&set := $00000040;
  29639. end;
  29640. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  29641. begin
  29642. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29643. end;
  29644. procedure TDMAC0_DCH0CON.setCHEN; inline;
  29645. begin
  29646. pTDefRegMap(@Self)^.&set := $00000080;
  29647. end;
  29648. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  29649. begin
  29650. pTDefRegMap(@Self)^.clr := $00000080;
  29651. end;
  29652. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  29653. begin
  29654. if thebits = 0 then
  29655. pTDefRegMap(@Self)^.clr := $00000080
  29656. else
  29657. pTDefRegMap(@Self)^.&set := $00000080;
  29658. end;
  29659. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  29660. begin
  29661. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29662. end;
  29663. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  29664. begin
  29665. pTDefRegMap(@Self)^.&set := $00000100;
  29666. end;
  29667. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  29668. begin
  29669. pTDefRegMap(@Self)^.clr := $00000100;
  29670. end;
  29671. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  29672. begin
  29673. if thebits = 0 then
  29674. pTDefRegMap(@Self)^.clr := $00000100
  29675. else
  29676. pTDefRegMap(@Self)^.&set := $00000100;
  29677. end;
  29678. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  29679. begin
  29680. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29681. end;
  29682. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  29683. begin
  29684. pTDefRegMap(@Self)^.&set := $00008000;
  29685. end;
  29686. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  29687. begin
  29688. pTDefRegMap(@Self)^.clr := $00008000;
  29689. end;
  29690. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  29691. begin
  29692. if thebits = 0 then
  29693. pTDefRegMap(@Self)^.clr := $00008000
  29694. else
  29695. pTDefRegMap(@Self)^.&set := $00008000;
  29696. end;
  29697. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  29698. begin
  29699. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29700. end;
  29701. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  29702. begin
  29703. pTDefRegMap(@Self)^.val := thebits;
  29704. end;
  29705. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  29706. begin
  29707. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29708. end;
  29709. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  29710. begin
  29711. pTDefRegMap(@Self)^.&set := $00000008;
  29712. end;
  29713. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  29714. begin
  29715. pTDefRegMap(@Self)^.clr := $00000008;
  29716. end;
  29717. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  29718. begin
  29719. if thebits = 0 then
  29720. pTDefRegMap(@Self)^.clr := $00000008
  29721. else
  29722. pTDefRegMap(@Self)^.&set := $00000008;
  29723. end;
  29724. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  29725. begin
  29726. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29727. end;
  29728. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  29729. begin
  29730. pTDefRegMap(@Self)^.&set := $00000010;
  29731. end;
  29732. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  29733. begin
  29734. pTDefRegMap(@Self)^.clr := $00000010;
  29735. end;
  29736. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  29737. begin
  29738. if thebits = 0 then
  29739. pTDefRegMap(@Self)^.clr := $00000010
  29740. else
  29741. pTDefRegMap(@Self)^.&set := $00000010;
  29742. end;
  29743. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  29744. begin
  29745. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29746. end;
  29747. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  29748. begin
  29749. pTDefRegMap(@Self)^.&set := $00000020;
  29750. end;
  29751. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  29752. begin
  29753. pTDefRegMap(@Self)^.clr := $00000020;
  29754. end;
  29755. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  29756. begin
  29757. if thebits = 0 then
  29758. pTDefRegMap(@Self)^.clr := $00000020
  29759. else
  29760. pTDefRegMap(@Self)^.&set := $00000020;
  29761. end;
  29762. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  29763. begin
  29764. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29765. end;
  29766. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  29767. begin
  29768. pTDefRegMap(@Self)^.&set := $00000040;
  29769. end;
  29770. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  29771. begin
  29772. pTDefRegMap(@Self)^.clr := $00000040;
  29773. end;
  29774. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  29775. begin
  29776. if thebits = 0 then
  29777. pTDefRegMap(@Self)^.clr := $00000040
  29778. else
  29779. pTDefRegMap(@Self)^.&set := $00000040;
  29780. end;
  29781. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  29782. begin
  29783. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29784. end;
  29785. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  29786. begin
  29787. pTDefRegMap(@Self)^.&set := $00000080;
  29788. end;
  29789. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  29790. begin
  29791. pTDefRegMap(@Self)^.clr := $00000080;
  29792. end;
  29793. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  29794. begin
  29795. if thebits = 0 then
  29796. pTDefRegMap(@Self)^.clr := $00000080
  29797. else
  29798. pTDefRegMap(@Self)^.&set := $00000080;
  29799. end;
  29800. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  29801. begin
  29802. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29803. end;
  29804. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  29805. begin
  29806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  29807. end;
  29808. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  29809. begin
  29810. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  29811. end;
  29812. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  29813. begin
  29814. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29815. end;
  29816. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  29817. begin
  29818. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29819. end;
  29820. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  29821. begin
  29822. pTDefRegMap(@Self)^.val := thebits;
  29823. end;
  29824. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  29825. begin
  29826. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29827. end;
  29828. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  29829. begin
  29830. pTDefRegMap(@Self)^.&set := $00000001;
  29831. end;
  29832. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  29833. begin
  29834. pTDefRegMap(@Self)^.clr := $00000001;
  29835. end;
  29836. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  29837. begin
  29838. if thebits = 0 then
  29839. pTDefRegMap(@Self)^.clr := $00000001
  29840. else
  29841. pTDefRegMap(@Self)^.&set := $00000001;
  29842. end;
  29843. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  29844. begin
  29845. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29846. end;
  29847. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  29848. begin
  29849. pTDefRegMap(@Self)^.&set := $00000002;
  29850. end;
  29851. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  29852. begin
  29853. pTDefRegMap(@Self)^.clr := $00000002;
  29854. end;
  29855. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  29856. begin
  29857. if thebits = 0 then
  29858. pTDefRegMap(@Self)^.clr := $00000002
  29859. else
  29860. pTDefRegMap(@Self)^.&set := $00000002;
  29861. end;
  29862. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  29863. begin
  29864. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29865. end;
  29866. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  29867. begin
  29868. pTDefRegMap(@Self)^.&set := $00000004;
  29869. end;
  29870. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  29871. begin
  29872. pTDefRegMap(@Self)^.clr := $00000004;
  29873. end;
  29874. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  29875. begin
  29876. if thebits = 0 then
  29877. pTDefRegMap(@Self)^.clr := $00000004
  29878. else
  29879. pTDefRegMap(@Self)^.&set := $00000004;
  29880. end;
  29881. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  29882. begin
  29883. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29884. end;
  29885. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  29886. begin
  29887. pTDefRegMap(@Self)^.&set := $00000008;
  29888. end;
  29889. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  29890. begin
  29891. pTDefRegMap(@Self)^.clr := $00000008;
  29892. end;
  29893. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  29894. begin
  29895. if thebits = 0 then
  29896. pTDefRegMap(@Self)^.clr := $00000008
  29897. else
  29898. pTDefRegMap(@Self)^.&set := $00000008;
  29899. end;
  29900. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  29901. begin
  29902. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29903. end;
  29904. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  29905. begin
  29906. pTDefRegMap(@Self)^.&set := $00000010;
  29907. end;
  29908. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  29909. begin
  29910. pTDefRegMap(@Self)^.clr := $00000010;
  29911. end;
  29912. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  29913. begin
  29914. if thebits = 0 then
  29915. pTDefRegMap(@Self)^.clr := $00000010
  29916. else
  29917. pTDefRegMap(@Self)^.&set := $00000010;
  29918. end;
  29919. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  29920. begin
  29921. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29922. end;
  29923. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  29924. begin
  29925. pTDefRegMap(@Self)^.&set := $00000020;
  29926. end;
  29927. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  29928. begin
  29929. pTDefRegMap(@Self)^.clr := $00000020;
  29930. end;
  29931. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  29932. begin
  29933. if thebits = 0 then
  29934. pTDefRegMap(@Self)^.clr := $00000020
  29935. else
  29936. pTDefRegMap(@Self)^.&set := $00000020;
  29937. end;
  29938. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  29939. begin
  29940. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29941. end;
  29942. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  29943. begin
  29944. pTDefRegMap(@Self)^.&set := $00000040;
  29945. end;
  29946. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  29947. begin
  29948. pTDefRegMap(@Self)^.clr := $00000040;
  29949. end;
  29950. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  29951. begin
  29952. if thebits = 0 then
  29953. pTDefRegMap(@Self)^.clr := $00000040
  29954. else
  29955. pTDefRegMap(@Self)^.&set := $00000040;
  29956. end;
  29957. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  29958. begin
  29959. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29960. end;
  29961. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  29962. begin
  29963. pTDefRegMap(@Self)^.&set := $00000080;
  29964. end;
  29965. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  29966. begin
  29967. pTDefRegMap(@Self)^.clr := $00000080;
  29968. end;
  29969. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  29970. begin
  29971. if thebits = 0 then
  29972. pTDefRegMap(@Self)^.clr := $00000080
  29973. else
  29974. pTDefRegMap(@Self)^.&set := $00000080;
  29975. end;
  29976. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  29977. begin
  29978. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29979. end;
  29980. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  29981. begin
  29982. pTDefRegMap(@Self)^.&set := $00010000;
  29983. end;
  29984. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  29985. begin
  29986. pTDefRegMap(@Self)^.clr := $00010000;
  29987. end;
  29988. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  29989. begin
  29990. if thebits = 0 then
  29991. pTDefRegMap(@Self)^.clr := $00010000
  29992. else
  29993. pTDefRegMap(@Self)^.&set := $00010000;
  29994. end;
  29995. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  29996. begin
  29997. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29998. end;
  29999. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  30000. begin
  30001. pTDefRegMap(@Self)^.&set := $00020000;
  30002. end;
  30003. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  30004. begin
  30005. pTDefRegMap(@Self)^.clr := $00020000;
  30006. end;
  30007. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  30008. begin
  30009. if thebits = 0 then
  30010. pTDefRegMap(@Self)^.clr := $00020000
  30011. else
  30012. pTDefRegMap(@Self)^.&set := $00020000;
  30013. end;
  30014. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  30015. begin
  30016. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30017. end;
  30018. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  30019. begin
  30020. pTDefRegMap(@Self)^.&set := $00040000;
  30021. end;
  30022. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  30023. begin
  30024. pTDefRegMap(@Self)^.clr := $00040000;
  30025. end;
  30026. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  30027. begin
  30028. if thebits = 0 then
  30029. pTDefRegMap(@Self)^.clr := $00040000
  30030. else
  30031. pTDefRegMap(@Self)^.&set := $00040000;
  30032. end;
  30033. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  30034. begin
  30035. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30036. end;
  30037. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  30038. begin
  30039. pTDefRegMap(@Self)^.&set := $00080000;
  30040. end;
  30041. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  30042. begin
  30043. pTDefRegMap(@Self)^.clr := $00080000;
  30044. end;
  30045. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  30046. begin
  30047. if thebits = 0 then
  30048. pTDefRegMap(@Self)^.clr := $00080000
  30049. else
  30050. pTDefRegMap(@Self)^.&set := $00080000;
  30051. end;
  30052. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  30053. begin
  30054. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30055. end;
  30056. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  30057. begin
  30058. pTDefRegMap(@Self)^.&set := $00100000;
  30059. end;
  30060. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  30061. begin
  30062. pTDefRegMap(@Self)^.clr := $00100000;
  30063. end;
  30064. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  30065. begin
  30066. if thebits = 0 then
  30067. pTDefRegMap(@Self)^.clr := $00100000
  30068. else
  30069. pTDefRegMap(@Self)^.&set := $00100000;
  30070. end;
  30071. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  30072. begin
  30073. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30074. end;
  30075. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  30076. begin
  30077. pTDefRegMap(@Self)^.&set := $00200000;
  30078. end;
  30079. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  30080. begin
  30081. pTDefRegMap(@Self)^.clr := $00200000;
  30082. end;
  30083. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  30084. begin
  30085. if thebits = 0 then
  30086. pTDefRegMap(@Self)^.clr := $00200000
  30087. else
  30088. pTDefRegMap(@Self)^.&set := $00200000;
  30089. end;
  30090. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  30091. begin
  30092. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30093. end;
  30094. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  30095. begin
  30096. pTDefRegMap(@Self)^.&set := $00400000;
  30097. end;
  30098. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  30099. begin
  30100. pTDefRegMap(@Self)^.clr := $00400000;
  30101. end;
  30102. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  30103. begin
  30104. if thebits = 0 then
  30105. pTDefRegMap(@Self)^.clr := $00400000
  30106. else
  30107. pTDefRegMap(@Self)^.&set := $00400000;
  30108. end;
  30109. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  30110. begin
  30111. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30112. end;
  30113. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  30114. begin
  30115. pTDefRegMap(@Self)^.&set := $00800000;
  30116. end;
  30117. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  30118. begin
  30119. pTDefRegMap(@Self)^.clr := $00800000;
  30120. end;
  30121. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  30122. begin
  30123. if thebits = 0 then
  30124. pTDefRegMap(@Self)^.clr := $00800000
  30125. else
  30126. pTDefRegMap(@Self)^.&set := $00800000;
  30127. end;
  30128. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  30129. begin
  30130. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30131. end;
  30132. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  30133. begin
  30134. pTDefRegMap(@Self)^.val := thebits;
  30135. end;
  30136. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  30137. begin
  30138. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30139. end;
  30140. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  30141. begin
  30142. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30143. end;
  30144. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  30145. begin
  30146. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30147. end;
  30148. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  30149. begin
  30150. pTDefRegMap(@Self)^.&set := $00000004;
  30151. end;
  30152. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  30153. begin
  30154. pTDefRegMap(@Self)^.clr := $00000004;
  30155. end;
  30156. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  30157. begin
  30158. if thebits = 0 then
  30159. pTDefRegMap(@Self)^.clr := $00000004
  30160. else
  30161. pTDefRegMap(@Self)^.&set := $00000004;
  30162. end;
  30163. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  30164. begin
  30165. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30166. end;
  30167. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  30168. begin
  30169. pTDefRegMap(@Self)^.&set := $00000010;
  30170. end;
  30171. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  30172. begin
  30173. pTDefRegMap(@Self)^.clr := $00000010;
  30174. end;
  30175. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  30176. begin
  30177. if thebits = 0 then
  30178. pTDefRegMap(@Self)^.clr := $00000010
  30179. else
  30180. pTDefRegMap(@Self)^.&set := $00000010;
  30181. end;
  30182. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  30183. begin
  30184. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30185. end;
  30186. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  30187. begin
  30188. pTDefRegMap(@Self)^.&set := $00000020;
  30189. end;
  30190. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  30191. begin
  30192. pTDefRegMap(@Self)^.clr := $00000020;
  30193. end;
  30194. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  30195. begin
  30196. if thebits = 0 then
  30197. pTDefRegMap(@Self)^.clr := $00000020
  30198. else
  30199. pTDefRegMap(@Self)^.&set := $00000020;
  30200. end;
  30201. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  30202. begin
  30203. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30204. end;
  30205. procedure TDMAC1_DCH1CON.setCHAED; inline;
  30206. begin
  30207. pTDefRegMap(@Self)^.&set := $00000040;
  30208. end;
  30209. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  30210. begin
  30211. pTDefRegMap(@Self)^.clr := $00000040;
  30212. end;
  30213. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  30214. begin
  30215. if thebits = 0 then
  30216. pTDefRegMap(@Self)^.clr := $00000040
  30217. else
  30218. pTDefRegMap(@Self)^.&set := $00000040;
  30219. end;
  30220. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  30221. begin
  30222. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30223. end;
  30224. procedure TDMAC1_DCH1CON.setCHEN; inline;
  30225. begin
  30226. pTDefRegMap(@Self)^.&set := $00000080;
  30227. end;
  30228. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  30229. begin
  30230. pTDefRegMap(@Self)^.clr := $00000080;
  30231. end;
  30232. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  30233. begin
  30234. if thebits = 0 then
  30235. pTDefRegMap(@Self)^.clr := $00000080
  30236. else
  30237. pTDefRegMap(@Self)^.&set := $00000080;
  30238. end;
  30239. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  30240. begin
  30241. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30242. end;
  30243. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  30244. begin
  30245. pTDefRegMap(@Self)^.&set := $00000100;
  30246. end;
  30247. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  30248. begin
  30249. pTDefRegMap(@Self)^.clr := $00000100;
  30250. end;
  30251. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  30252. begin
  30253. if thebits = 0 then
  30254. pTDefRegMap(@Self)^.clr := $00000100
  30255. else
  30256. pTDefRegMap(@Self)^.&set := $00000100;
  30257. end;
  30258. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  30259. begin
  30260. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30261. end;
  30262. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  30263. begin
  30264. pTDefRegMap(@Self)^.&set := $00008000;
  30265. end;
  30266. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  30267. begin
  30268. pTDefRegMap(@Self)^.clr := $00008000;
  30269. end;
  30270. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  30271. begin
  30272. if thebits = 0 then
  30273. pTDefRegMap(@Self)^.clr := $00008000
  30274. else
  30275. pTDefRegMap(@Self)^.&set := $00008000;
  30276. end;
  30277. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  30278. begin
  30279. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30280. end;
  30281. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  30282. begin
  30283. pTDefRegMap(@Self)^.val := thebits;
  30284. end;
  30285. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  30286. begin
  30287. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30288. end;
  30289. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  30290. begin
  30291. pTDefRegMap(@Self)^.&set := $00000008;
  30292. end;
  30293. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  30294. begin
  30295. pTDefRegMap(@Self)^.clr := $00000008;
  30296. end;
  30297. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  30298. begin
  30299. if thebits = 0 then
  30300. pTDefRegMap(@Self)^.clr := $00000008
  30301. else
  30302. pTDefRegMap(@Self)^.&set := $00000008;
  30303. end;
  30304. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  30305. begin
  30306. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30307. end;
  30308. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  30309. begin
  30310. pTDefRegMap(@Self)^.&set := $00000010;
  30311. end;
  30312. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  30313. begin
  30314. pTDefRegMap(@Self)^.clr := $00000010;
  30315. end;
  30316. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  30317. begin
  30318. if thebits = 0 then
  30319. pTDefRegMap(@Self)^.clr := $00000010
  30320. else
  30321. pTDefRegMap(@Self)^.&set := $00000010;
  30322. end;
  30323. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  30324. begin
  30325. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30326. end;
  30327. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  30328. begin
  30329. pTDefRegMap(@Self)^.&set := $00000020;
  30330. end;
  30331. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  30332. begin
  30333. pTDefRegMap(@Self)^.clr := $00000020;
  30334. end;
  30335. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  30336. begin
  30337. if thebits = 0 then
  30338. pTDefRegMap(@Self)^.clr := $00000020
  30339. else
  30340. pTDefRegMap(@Self)^.&set := $00000020;
  30341. end;
  30342. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  30343. begin
  30344. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30345. end;
  30346. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  30347. begin
  30348. pTDefRegMap(@Self)^.&set := $00000040;
  30349. end;
  30350. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  30351. begin
  30352. pTDefRegMap(@Self)^.clr := $00000040;
  30353. end;
  30354. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  30355. begin
  30356. if thebits = 0 then
  30357. pTDefRegMap(@Self)^.clr := $00000040
  30358. else
  30359. pTDefRegMap(@Self)^.&set := $00000040;
  30360. end;
  30361. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  30362. begin
  30363. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30364. end;
  30365. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  30366. begin
  30367. pTDefRegMap(@Self)^.&set := $00000080;
  30368. end;
  30369. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  30370. begin
  30371. pTDefRegMap(@Self)^.clr := $00000080;
  30372. end;
  30373. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  30374. begin
  30375. if thebits = 0 then
  30376. pTDefRegMap(@Self)^.clr := $00000080
  30377. else
  30378. pTDefRegMap(@Self)^.&set := $00000080;
  30379. end;
  30380. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  30381. begin
  30382. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30383. end;
  30384. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  30385. begin
  30386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30387. end;
  30388. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  30389. begin
  30390. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30391. end;
  30392. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  30393. begin
  30394. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30395. end;
  30396. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  30397. begin
  30398. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30399. end;
  30400. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  30401. begin
  30402. pTDefRegMap(@Self)^.val := thebits;
  30403. end;
  30404. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  30405. begin
  30406. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30407. end;
  30408. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  30409. begin
  30410. pTDefRegMap(@Self)^.&set := $00000001;
  30411. end;
  30412. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  30413. begin
  30414. pTDefRegMap(@Self)^.clr := $00000001;
  30415. end;
  30416. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  30417. begin
  30418. if thebits = 0 then
  30419. pTDefRegMap(@Self)^.clr := $00000001
  30420. else
  30421. pTDefRegMap(@Self)^.&set := $00000001;
  30422. end;
  30423. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  30424. begin
  30425. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30426. end;
  30427. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  30428. begin
  30429. pTDefRegMap(@Self)^.&set := $00000002;
  30430. end;
  30431. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  30432. begin
  30433. pTDefRegMap(@Self)^.clr := $00000002;
  30434. end;
  30435. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  30436. begin
  30437. if thebits = 0 then
  30438. pTDefRegMap(@Self)^.clr := $00000002
  30439. else
  30440. pTDefRegMap(@Self)^.&set := $00000002;
  30441. end;
  30442. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  30443. begin
  30444. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30445. end;
  30446. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  30447. begin
  30448. pTDefRegMap(@Self)^.&set := $00000004;
  30449. end;
  30450. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  30451. begin
  30452. pTDefRegMap(@Self)^.clr := $00000004;
  30453. end;
  30454. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  30455. begin
  30456. if thebits = 0 then
  30457. pTDefRegMap(@Self)^.clr := $00000004
  30458. else
  30459. pTDefRegMap(@Self)^.&set := $00000004;
  30460. end;
  30461. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  30462. begin
  30463. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30464. end;
  30465. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  30466. begin
  30467. pTDefRegMap(@Self)^.&set := $00000008;
  30468. end;
  30469. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  30470. begin
  30471. pTDefRegMap(@Self)^.clr := $00000008;
  30472. end;
  30473. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  30474. begin
  30475. if thebits = 0 then
  30476. pTDefRegMap(@Self)^.clr := $00000008
  30477. else
  30478. pTDefRegMap(@Self)^.&set := $00000008;
  30479. end;
  30480. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  30481. begin
  30482. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30483. end;
  30484. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  30485. begin
  30486. pTDefRegMap(@Self)^.&set := $00000010;
  30487. end;
  30488. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  30489. begin
  30490. pTDefRegMap(@Self)^.clr := $00000010;
  30491. end;
  30492. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  30493. begin
  30494. if thebits = 0 then
  30495. pTDefRegMap(@Self)^.clr := $00000010
  30496. else
  30497. pTDefRegMap(@Self)^.&set := $00000010;
  30498. end;
  30499. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  30500. begin
  30501. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30502. end;
  30503. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  30504. begin
  30505. pTDefRegMap(@Self)^.&set := $00000020;
  30506. end;
  30507. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  30508. begin
  30509. pTDefRegMap(@Self)^.clr := $00000020;
  30510. end;
  30511. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  30512. begin
  30513. if thebits = 0 then
  30514. pTDefRegMap(@Self)^.clr := $00000020
  30515. else
  30516. pTDefRegMap(@Self)^.&set := $00000020;
  30517. end;
  30518. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  30519. begin
  30520. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30521. end;
  30522. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  30523. begin
  30524. pTDefRegMap(@Self)^.&set := $00000040;
  30525. end;
  30526. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  30527. begin
  30528. pTDefRegMap(@Self)^.clr := $00000040;
  30529. end;
  30530. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  30531. begin
  30532. if thebits = 0 then
  30533. pTDefRegMap(@Self)^.clr := $00000040
  30534. else
  30535. pTDefRegMap(@Self)^.&set := $00000040;
  30536. end;
  30537. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  30538. begin
  30539. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30540. end;
  30541. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  30542. begin
  30543. pTDefRegMap(@Self)^.&set := $00000080;
  30544. end;
  30545. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  30546. begin
  30547. pTDefRegMap(@Self)^.clr := $00000080;
  30548. end;
  30549. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  30550. begin
  30551. if thebits = 0 then
  30552. pTDefRegMap(@Self)^.clr := $00000080
  30553. else
  30554. pTDefRegMap(@Self)^.&set := $00000080;
  30555. end;
  30556. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  30557. begin
  30558. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30559. end;
  30560. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  30561. begin
  30562. pTDefRegMap(@Self)^.&set := $00010000;
  30563. end;
  30564. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  30565. begin
  30566. pTDefRegMap(@Self)^.clr := $00010000;
  30567. end;
  30568. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  30569. begin
  30570. if thebits = 0 then
  30571. pTDefRegMap(@Self)^.clr := $00010000
  30572. else
  30573. pTDefRegMap(@Self)^.&set := $00010000;
  30574. end;
  30575. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  30576. begin
  30577. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30578. end;
  30579. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  30580. begin
  30581. pTDefRegMap(@Self)^.&set := $00020000;
  30582. end;
  30583. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  30584. begin
  30585. pTDefRegMap(@Self)^.clr := $00020000;
  30586. end;
  30587. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  30588. begin
  30589. if thebits = 0 then
  30590. pTDefRegMap(@Self)^.clr := $00020000
  30591. else
  30592. pTDefRegMap(@Self)^.&set := $00020000;
  30593. end;
  30594. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  30595. begin
  30596. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30597. end;
  30598. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  30599. begin
  30600. pTDefRegMap(@Self)^.&set := $00040000;
  30601. end;
  30602. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  30603. begin
  30604. pTDefRegMap(@Self)^.clr := $00040000;
  30605. end;
  30606. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  30607. begin
  30608. if thebits = 0 then
  30609. pTDefRegMap(@Self)^.clr := $00040000
  30610. else
  30611. pTDefRegMap(@Self)^.&set := $00040000;
  30612. end;
  30613. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  30614. begin
  30615. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30616. end;
  30617. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  30618. begin
  30619. pTDefRegMap(@Self)^.&set := $00080000;
  30620. end;
  30621. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  30622. begin
  30623. pTDefRegMap(@Self)^.clr := $00080000;
  30624. end;
  30625. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  30626. begin
  30627. if thebits = 0 then
  30628. pTDefRegMap(@Self)^.clr := $00080000
  30629. else
  30630. pTDefRegMap(@Self)^.&set := $00080000;
  30631. end;
  30632. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  30633. begin
  30634. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30635. end;
  30636. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  30637. begin
  30638. pTDefRegMap(@Self)^.&set := $00100000;
  30639. end;
  30640. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  30641. begin
  30642. pTDefRegMap(@Self)^.clr := $00100000;
  30643. end;
  30644. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  30645. begin
  30646. if thebits = 0 then
  30647. pTDefRegMap(@Self)^.clr := $00100000
  30648. else
  30649. pTDefRegMap(@Self)^.&set := $00100000;
  30650. end;
  30651. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  30652. begin
  30653. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30654. end;
  30655. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  30656. begin
  30657. pTDefRegMap(@Self)^.&set := $00200000;
  30658. end;
  30659. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  30660. begin
  30661. pTDefRegMap(@Self)^.clr := $00200000;
  30662. end;
  30663. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  30664. begin
  30665. if thebits = 0 then
  30666. pTDefRegMap(@Self)^.clr := $00200000
  30667. else
  30668. pTDefRegMap(@Self)^.&set := $00200000;
  30669. end;
  30670. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  30671. begin
  30672. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30673. end;
  30674. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  30675. begin
  30676. pTDefRegMap(@Self)^.&set := $00400000;
  30677. end;
  30678. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  30679. begin
  30680. pTDefRegMap(@Self)^.clr := $00400000;
  30681. end;
  30682. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  30683. begin
  30684. if thebits = 0 then
  30685. pTDefRegMap(@Self)^.clr := $00400000
  30686. else
  30687. pTDefRegMap(@Self)^.&set := $00400000;
  30688. end;
  30689. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  30690. begin
  30691. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30692. end;
  30693. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  30694. begin
  30695. pTDefRegMap(@Self)^.&set := $00800000;
  30696. end;
  30697. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  30698. begin
  30699. pTDefRegMap(@Self)^.clr := $00800000;
  30700. end;
  30701. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  30702. begin
  30703. if thebits = 0 then
  30704. pTDefRegMap(@Self)^.clr := $00800000
  30705. else
  30706. pTDefRegMap(@Self)^.&set := $00800000;
  30707. end;
  30708. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  30709. begin
  30710. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30711. end;
  30712. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  30713. begin
  30714. pTDefRegMap(@Self)^.val := thebits;
  30715. end;
  30716. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  30717. begin
  30718. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30719. end;
  30720. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  30721. begin
  30722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30723. end;
  30724. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  30725. begin
  30726. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30727. end;
  30728. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  30729. begin
  30730. pTDefRegMap(@Self)^.&set := $00000004;
  30731. end;
  30732. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  30733. begin
  30734. pTDefRegMap(@Self)^.clr := $00000004;
  30735. end;
  30736. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  30737. begin
  30738. if thebits = 0 then
  30739. pTDefRegMap(@Self)^.clr := $00000004
  30740. else
  30741. pTDefRegMap(@Self)^.&set := $00000004;
  30742. end;
  30743. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  30744. begin
  30745. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30746. end;
  30747. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  30748. begin
  30749. pTDefRegMap(@Self)^.&set := $00000010;
  30750. end;
  30751. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  30752. begin
  30753. pTDefRegMap(@Self)^.clr := $00000010;
  30754. end;
  30755. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  30756. begin
  30757. if thebits = 0 then
  30758. pTDefRegMap(@Self)^.clr := $00000010
  30759. else
  30760. pTDefRegMap(@Self)^.&set := $00000010;
  30761. end;
  30762. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  30763. begin
  30764. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30765. end;
  30766. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  30767. begin
  30768. pTDefRegMap(@Self)^.&set := $00000020;
  30769. end;
  30770. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  30771. begin
  30772. pTDefRegMap(@Self)^.clr := $00000020;
  30773. end;
  30774. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  30775. begin
  30776. if thebits = 0 then
  30777. pTDefRegMap(@Self)^.clr := $00000020
  30778. else
  30779. pTDefRegMap(@Self)^.&set := $00000020;
  30780. end;
  30781. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  30782. begin
  30783. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30784. end;
  30785. procedure TDMAC2_DCH2CON.setCHAED; inline;
  30786. begin
  30787. pTDefRegMap(@Self)^.&set := $00000040;
  30788. end;
  30789. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  30790. begin
  30791. pTDefRegMap(@Self)^.clr := $00000040;
  30792. end;
  30793. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  30794. begin
  30795. if thebits = 0 then
  30796. pTDefRegMap(@Self)^.clr := $00000040
  30797. else
  30798. pTDefRegMap(@Self)^.&set := $00000040;
  30799. end;
  30800. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  30801. begin
  30802. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30803. end;
  30804. procedure TDMAC2_DCH2CON.setCHEN; inline;
  30805. begin
  30806. pTDefRegMap(@Self)^.&set := $00000080;
  30807. end;
  30808. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  30809. begin
  30810. pTDefRegMap(@Self)^.clr := $00000080;
  30811. end;
  30812. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  30813. begin
  30814. if thebits = 0 then
  30815. pTDefRegMap(@Self)^.clr := $00000080
  30816. else
  30817. pTDefRegMap(@Self)^.&set := $00000080;
  30818. end;
  30819. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  30820. begin
  30821. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30822. end;
  30823. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  30824. begin
  30825. pTDefRegMap(@Self)^.&set := $00000100;
  30826. end;
  30827. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  30828. begin
  30829. pTDefRegMap(@Self)^.clr := $00000100;
  30830. end;
  30831. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  30832. begin
  30833. if thebits = 0 then
  30834. pTDefRegMap(@Self)^.clr := $00000100
  30835. else
  30836. pTDefRegMap(@Self)^.&set := $00000100;
  30837. end;
  30838. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  30839. begin
  30840. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30841. end;
  30842. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  30843. begin
  30844. pTDefRegMap(@Self)^.&set := $00008000;
  30845. end;
  30846. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  30847. begin
  30848. pTDefRegMap(@Self)^.clr := $00008000;
  30849. end;
  30850. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  30851. begin
  30852. if thebits = 0 then
  30853. pTDefRegMap(@Self)^.clr := $00008000
  30854. else
  30855. pTDefRegMap(@Self)^.&set := $00008000;
  30856. end;
  30857. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  30858. begin
  30859. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30860. end;
  30861. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  30862. begin
  30863. pTDefRegMap(@Self)^.val := thebits;
  30864. end;
  30865. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  30866. begin
  30867. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30868. end;
  30869. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  30870. begin
  30871. pTDefRegMap(@Self)^.&set := $00000008;
  30872. end;
  30873. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  30874. begin
  30875. pTDefRegMap(@Self)^.clr := $00000008;
  30876. end;
  30877. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  30878. begin
  30879. if thebits = 0 then
  30880. pTDefRegMap(@Self)^.clr := $00000008
  30881. else
  30882. pTDefRegMap(@Self)^.&set := $00000008;
  30883. end;
  30884. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  30885. begin
  30886. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30887. end;
  30888. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  30889. begin
  30890. pTDefRegMap(@Self)^.&set := $00000010;
  30891. end;
  30892. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  30893. begin
  30894. pTDefRegMap(@Self)^.clr := $00000010;
  30895. end;
  30896. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  30897. begin
  30898. if thebits = 0 then
  30899. pTDefRegMap(@Self)^.clr := $00000010
  30900. else
  30901. pTDefRegMap(@Self)^.&set := $00000010;
  30902. end;
  30903. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  30904. begin
  30905. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30906. end;
  30907. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  30908. begin
  30909. pTDefRegMap(@Self)^.&set := $00000020;
  30910. end;
  30911. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  30912. begin
  30913. pTDefRegMap(@Self)^.clr := $00000020;
  30914. end;
  30915. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  30916. begin
  30917. if thebits = 0 then
  30918. pTDefRegMap(@Self)^.clr := $00000020
  30919. else
  30920. pTDefRegMap(@Self)^.&set := $00000020;
  30921. end;
  30922. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  30923. begin
  30924. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30925. end;
  30926. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  30927. begin
  30928. pTDefRegMap(@Self)^.&set := $00000040;
  30929. end;
  30930. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  30931. begin
  30932. pTDefRegMap(@Self)^.clr := $00000040;
  30933. end;
  30934. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  30935. begin
  30936. if thebits = 0 then
  30937. pTDefRegMap(@Self)^.clr := $00000040
  30938. else
  30939. pTDefRegMap(@Self)^.&set := $00000040;
  30940. end;
  30941. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  30942. begin
  30943. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30944. end;
  30945. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  30946. begin
  30947. pTDefRegMap(@Self)^.&set := $00000080;
  30948. end;
  30949. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  30950. begin
  30951. pTDefRegMap(@Self)^.clr := $00000080;
  30952. end;
  30953. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  30954. begin
  30955. if thebits = 0 then
  30956. pTDefRegMap(@Self)^.clr := $00000080
  30957. else
  30958. pTDefRegMap(@Self)^.&set := $00000080;
  30959. end;
  30960. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  30961. begin
  30962. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30963. end;
  30964. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  30965. begin
  30966. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30967. end;
  30968. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  30969. begin
  30970. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30971. end;
  30972. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  30973. begin
  30974. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30975. end;
  30976. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  30977. begin
  30978. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30979. end;
  30980. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  30981. begin
  30982. pTDefRegMap(@Self)^.val := thebits;
  30983. end;
  30984. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  30985. begin
  30986. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30987. end;
  30988. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  30989. begin
  30990. pTDefRegMap(@Self)^.&set := $00000001;
  30991. end;
  30992. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  30993. begin
  30994. pTDefRegMap(@Self)^.clr := $00000001;
  30995. end;
  30996. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  30997. begin
  30998. if thebits = 0 then
  30999. pTDefRegMap(@Self)^.clr := $00000001
  31000. else
  31001. pTDefRegMap(@Self)^.&set := $00000001;
  31002. end;
  31003. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  31004. begin
  31005. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31006. end;
  31007. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  31008. begin
  31009. pTDefRegMap(@Self)^.&set := $00000002;
  31010. end;
  31011. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  31012. begin
  31013. pTDefRegMap(@Self)^.clr := $00000002;
  31014. end;
  31015. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  31016. begin
  31017. if thebits = 0 then
  31018. pTDefRegMap(@Self)^.clr := $00000002
  31019. else
  31020. pTDefRegMap(@Self)^.&set := $00000002;
  31021. end;
  31022. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  31023. begin
  31024. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31025. end;
  31026. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  31027. begin
  31028. pTDefRegMap(@Self)^.&set := $00000004;
  31029. end;
  31030. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  31031. begin
  31032. pTDefRegMap(@Self)^.clr := $00000004;
  31033. end;
  31034. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  31035. begin
  31036. if thebits = 0 then
  31037. pTDefRegMap(@Self)^.clr := $00000004
  31038. else
  31039. pTDefRegMap(@Self)^.&set := $00000004;
  31040. end;
  31041. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  31042. begin
  31043. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31044. end;
  31045. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  31046. begin
  31047. pTDefRegMap(@Self)^.&set := $00000008;
  31048. end;
  31049. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  31050. begin
  31051. pTDefRegMap(@Self)^.clr := $00000008;
  31052. end;
  31053. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  31054. begin
  31055. if thebits = 0 then
  31056. pTDefRegMap(@Self)^.clr := $00000008
  31057. else
  31058. pTDefRegMap(@Self)^.&set := $00000008;
  31059. end;
  31060. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  31061. begin
  31062. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31063. end;
  31064. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  31065. begin
  31066. pTDefRegMap(@Self)^.&set := $00000010;
  31067. end;
  31068. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  31069. begin
  31070. pTDefRegMap(@Self)^.clr := $00000010;
  31071. end;
  31072. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  31073. begin
  31074. if thebits = 0 then
  31075. pTDefRegMap(@Self)^.clr := $00000010
  31076. else
  31077. pTDefRegMap(@Self)^.&set := $00000010;
  31078. end;
  31079. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  31080. begin
  31081. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31082. end;
  31083. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  31084. begin
  31085. pTDefRegMap(@Self)^.&set := $00000020;
  31086. end;
  31087. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  31088. begin
  31089. pTDefRegMap(@Self)^.clr := $00000020;
  31090. end;
  31091. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  31092. begin
  31093. if thebits = 0 then
  31094. pTDefRegMap(@Self)^.clr := $00000020
  31095. else
  31096. pTDefRegMap(@Self)^.&set := $00000020;
  31097. end;
  31098. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  31099. begin
  31100. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31101. end;
  31102. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  31103. begin
  31104. pTDefRegMap(@Self)^.&set := $00000040;
  31105. end;
  31106. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  31107. begin
  31108. pTDefRegMap(@Self)^.clr := $00000040;
  31109. end;
  31110. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  31111. begin
  31112. if thebits = 0 then
  31113. pTDefRegMap(@Self)^.clr := $00000040
  31114. else
  31115. pTDefRegMap(@Self)^.&set := $00000040;
  31116. end;
  31117. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  31118. begin
  31119. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31120. end;
  31121. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  31122. begin
  31123. pTDefRegMap(@Self)^.&set := $00000080;
  31124. end;
  31125. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  31126. begin
  31127. pTDefRegMap(@Self)^.clr := $00000080;
  31128. end;
  31129. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  31130. begin
  31131. if thebits = 0 then
  31132. pTDefRegMap(@Self)^.clr := $00000080
  31133. else
  31134. pTDefRegMap(@Self)^.&set := $00000080;
  31135. end;
  31136. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  31137. begin
  31138. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31139. end;
  31140. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  31141. begin
  31142. pTDefRegMap(@Self)^.&set := $00010000;
  31143. end;
  31144. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  31145. begin
  31146. pTDefRegMap(@Self)^.clr := $00010000;
  31147. end;
  31148. procedure TDMAC2_DCH2INT.setCHERIE(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 TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  31156. begin
  31157. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31158. end;
  31159. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  31160. begin
  31161. pTDefRegMap(@Self)^.&set := $00020000;
  31162. end;
  31163. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  31164. begin
  31165. pTDefRegMap(@Self)^.clr := $00020000;
  31166. end;
  31167. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  31168. begin
  31169. if thebits = 0 then
  31170. pTDefRegMap(@Self)^.clr := $00020000
  31171. else
  31172. pTDefRegMap(@Self)^.&set := $00020000;
  31173. end;
  31174. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  31175. begin
  31176. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31177. end;
  31178. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  31179. begin
  31180. pTDefRegMap(@Self)^.&set := $00040000;
  31181. end;
  31182. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  31183. begin
  31184. pTDefRegMap(@Self)^.clr := $00040000;
  31185. end;
  31186. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  31187. begin
  31188. if thebits = 0 then
  31189. pTDefRegMap(@Self)^.clr := $00040000
  31190. else
  31191. pTDefRegMap(@Self)^.&set := $00040000;
  31192. end;
  31193. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  31194. begin
  31195. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31196. end;
  31197. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  31198. begin
  31199. pTDefRegMap(@Self)^.&set := $00080000;
  31200. end;
  31201. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  31202. begin
  31203. pTDefRegMap(@Self)^.clr := $00080000;
  31204. end;
  31205. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  31206. begin
  31207. if thebits = 0 then
  31208. pTDefRegMap(@Self)^.clr := $00080000
  31209. else
  31210. pTDefRegMap(@Self)^.&set := $00080000;
  31211. end;
  31212. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  31213. begin
  31214. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31215. end;
  31216. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  31217. begin
  31218. pTDefRegMap(@Self)^.&set := $00100000;
  31219. end;
  31220. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  31221. begin
  31222. pTDefRegMap(@Self)^.clr := $00100000;
  31223. end;
  31224. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  31225. begin
  31226. if thebits = 0 then
  31227. pTDefRegMap(@Self)^.clr := $00100000
  31228. else
  31229. pTDefRegMap(@Self)^.&set := $00100000;
  31230. end;
  31231. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  31232. begin
  31233. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31234. end;
  31235. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  31236. begin
  31237. pTDefRegMap(@Self)^.&set := $00200000;
  31238. end;
  31239. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  31240. begin
  31241. pTDefRegMap(@Self)^.clr := $00200000;
  31242. end;
  31243. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  31244. begin
  31245. if thebits = 0 then
  31246. pTDefRegMap(@Self)^.clr := $00200000
  31247. else
  31248. pTDefRegMap(@Self)^.&set := $00200000;
  31249. end;
  31250. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  31251. begin
  31252. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31253. end;
  31254. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  31255. begin
  31256. pTDefRegMap(@Self)^.&set := $00400000;
  31257. end;
  31258. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  31259. begin
  31260. pTDefRegMap(@Self)^.clr := $00400000;
  31261. end;
  31262. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  31263. begin
  31264. if thebits = 0 then
  31265. pTDefRegMap(@Self)^.clr := $00400000
  31266. else
  31267. pTDefRegMap(@Self)^.&set := $00400000;
  31268. end;
  31269. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  31270. begin
  31271. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31272. end;
  31273. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  31274. begin
  31275. pTDefRegMap(@Self)^.&set := $00800000;
  31276. end;
  31277. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  31278. begin
  31279. pTDefRegMap(@Self)^.clr := $00800000;
  31280. end;
  31281. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  31282. begin
  31283. if thebits = 0 then
  31284. pTDefRegMap(@Self)^.clr := $00800000
  31285. else
  31286. pTDefRegMap(@Self)^.&set := $00800000;
  31287. end;
  31288. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  31289. begin
  31290. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31291. end;
  31292. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  31293. begin
  31294. pTDefRegMap(@Self)^.val := thebits;
  31295. end;
  31296. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  31297. begin
  31298. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31299. end;
  31300. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  31301. begin
  31302. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31303. end;
  31304. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  31305. begin
  31306. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31307. end;
  31308. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  31309. begin
  31310. pTDefRegMap(@Self)^.&set := $00000004;
  31311. end;
  31312. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  31313. begin
  31314. pTDefRegMap(@Self)^.clr := $00000004;
  31315. end;
  31316. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  31317. begin
  31318. if thebits = 0 then
  31319. pTDefRegMap(@Self)^.clr := $00000004
  31320. else
  31321. pTDefRegMap(@Self)^.&set := $00000004;
  31322. end;
  31323. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  31324. begin
  31325. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31326. end;
  31327. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  31328. begin
  31329. pTDefRegMap(@Self)^.&set := $00000010;
  31330. end;
  31331. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  31332. begin
  31333. pTDefRegMap(@Self)^.clr := $00000010;
  31334. end;
  31335. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  31336. begin
  31337. if thebits = 0 then
  31338. pTDefRegMap(@Self)^.clr := $00000010
  31339. else
  31340. pTDefRegMap(@Self)^.&set := $00000010;
  31341. end;
  31342. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  31343. begin
  31344. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31345. end;
  31346. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  31347. begin
  31348. pTDefRegMap(@Self)^.&set := $00000020;
  31349. end;
  31350. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  31351. begin
  31352. pTDefRegMap(@Self)^.clr := $00000020;
  31353. end;
  31354. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  31355. begin
  31356. if thebits = 0 then
  31357. pTDefRegMap(@Self)^.clr := $00000020
  31358. else
  31359. pTDefRegMap(@Self)^.&set := $00000020;
  31360. end;
  31361. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  31362. begin
  31363. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31364. end;
  31365. procedure TDMAC3_DCH3CON.setCHAED; inline;
  31366. begin
  31367. pTDefRegMap(@Self)^.&set := $00000040;
  31368. end;
  31369. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  31370. begin
  31371. pTDefRegMap(@Self)^.clr := $00000040;
  31372. end;
  31373. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  31374. begin
  31375. if thebits = 0 then
  31376. pTDefRegMap(@Self)^.clr := $00000040
  31377. else
  31378. pTDefRegMap(@Self)^.&set := $00000040;
  31379. end;
  31380. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  31381. begin
  31382. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31383. end;
  31384. procedure TDMAC3_DCH3CON.setCHEN; inline;
  31385. begin
  31386. pTDefRegMap(@Self)^.&set := $00000080;
  31387. end;
  31388. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  31389. begin
  31390. pTDefRegMap(@Self)^.clr := $00000080;
  31391. end;
  31392. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  31393. begin
  31394. if thebits = 0 then
  31395. pTDefRegMap(@Self)^.clr := $00000080
  31396. else
  31397. pTDefRegMap(@Self)^.&set := $00000080;
  31398. end;
  31399. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  31400. begin
  31401. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31402. end;
  31403. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  31404. begin
  31405. pTDefRegMap(@Self)^.&set := $00000100;
  31406. end;
  31407. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  31408. begin
  31409. pTDefRegMap(@Self)^.clr := $00000100;
  31410. end;
  31411. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  31412. begin
  31413. if thebits = 0 then
  31414. pTDefRegMap(@Self)^.clr := $00000100
  31415. else
  31416. pTDefRegMap(@Self)^.&set := $00000100;
  31417. end;
  31418. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  31419. begin
  31420. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31421. end;
  31422. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  31423. begin
  31424. pTDefRegMap(@Self)^.&set := $00008000;
  31425. end;
  31426. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  31427. begin
  31428. pTDefRegMap(@Self)^.clr := $00008000;
  31429. end;
  31430. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  31431. begin
  31432. if thebits = 0 then
  31433. pTDefRegMap(@Self)^.clr := $00008000
  31434. else
  31435. pTDefRegMap(@Self)^.&set := $00008000;
  31436. end;
  31437. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  31438. begin
  31439. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31440. end;
  31441. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  31442. begin
  31443. pTDefRegMap(@Self)^.val := thebits;
  31444. end;
  31445. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  31446. begin
  31447. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31448. end;
  31449. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  31450. begin
  31451. pTDefRegMap(@Self)^.&set := $00000008;
  31452. end;
  31453. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  31454. begin
  31455. pTDefRegMap(@Self)^.clr := $00000008;
  31456. end;
  31457. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  31458. begin
  31459. if thebits = 0 then
  31460. pTDefRegMap(@Self)^.clr := $00000008
  31461. else
  31462. pTDefRegMap(@Self)^.&set := $00000008;
  31463. end;
  31464. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  31465. begin
  31466. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31467. end;
  31468. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  31469. begin
  31470. pTDefRegMap(@Self)^.&set := $00000010;
  31471. end;
  31472. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  31473. begin
  31474. pTDefRegMap(@Self)^.clr := $00000010;
  31475. end;
  31476. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  31477. begin
  31478. if thebits = 0 then
  31479. pTDefRegMap(@Self)^.clr := $00000010
  31480. else
  31481. pTDefRegMap(@Self)^.&set := $00000010;
  31482. end;
  31483. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  31484. begin
  31485. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31486. end;
  31487. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  31488. begin
  31489. pTDefRegMap(@Self)^.&set := $00000020;
  31490. end;
  31491. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  31492. begin
  31493. pTDefRegMap(@Self)^.clr := $00000020;
  31494. end;
  31495. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  31496. begin
  31497. if thebits = 0 then
  31498. pTDefRegMap(@Self)^.clr := $00000020
  31499. else
  31500. pTDefRegMap(@Self)^.&set := $00000020;
  31501. end;
  31502. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  31503. begin
  31504. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31505. end;
  31506. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  31507. begin
  31508. pTDefRegMap(@Self)^.&set := $00000040;
  31509. end;
  31510. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  31511. begin
  31512. pTDefRegMap(@Self)^.clr := $00000040;
  31513. end;
  31514. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  31515. begin
  31516. if thebits = 0 then
  31517. pTDefRegMap(@Self)^.clr := $00000040
  31518. else
  31519. pTDefRegMap(@Self)^.&set := $00000040;
  31520. end;
  31521. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  31522. begin
  31523. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31524. end;
  31525. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  31526. begin
  31527. pTDefRegMap(@Self)^.&set := $00000080;
  31528. end;
  31529. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  31530. begin
  31531. pTDefRegMap(@Self)^.clr := $00000080;
  31532. end;
  31533. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  31534. begin
  31535. if thebits = 0 then
  31536. pTDefRegMap(@Self)^.clr := $00000080
  31537. else
  31538. pTDefRegMap(@Self)^.&set := $00000080;
  31539. end;
  31540. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  31541. begin
  31542. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31543. end;
  31544. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  31545. begin
  31546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31547. end;
  31548. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  31549. begin
  31550. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31551. end;
  31552. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  31553. begin
  31554. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31555. end;
  31556. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  31557. begin
  31558. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31559. end;
  31560. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  31561. begin
  31562. pTDefRegMap(@Self)^.val := thebits;
  31563. end;
  31564. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  31565. begin
  31566. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31567. end;
  31568. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  31569. begin
  31570. pTDefRegMap(@Self)^.&set := $00000001;
  31571. end;
  31572. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  31573. begin
  31574. pTDefRegMap(@Self)^.clr := $00000001;
  31575. end;
  31576. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  31577. begin
  31578. if thebits = 0 then
  31579. pTDefRegMap(@Self)^.clr := $00000001
  31580. else
  31581. pTDefRegMap(@Self)^.&set := $00000001;
  31582. end;
  31583. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  31584. begin
  31585. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31586. end;
  31587. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  31588. begin
  31589. pTDefRegMap(@Self)^.&set := $00000002;
  31590. end;
  31591. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  31592. begin
  31593. pTDefRegMap(@Self)^.clr := $00000002;
  31594. end;
  31595. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  31596. begin
  31597. if thebits = 0 then
  31598. pTDefRegMap(@Self)^.clr := $00000002
  31599. else
  31600. pTDefRegMap(@Self)^.&set := $00000002;
  31601. end;
  31602. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  31603. begin
  31604. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31605. end;
  31606. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  31607. begin
  31608. pTDefRegMap(@Self)^.&set := $00000004;
  31609. end;
  31610. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  31611. begin
  31612. pTDefRegMap(@Self)^.clr := $00000004;
  31613. end;
  31614. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  31615. begin
  31616. if thebits = 0 then
  31617. pTDefRegMap(@Self)^.clr := $00000004
  31618. else
  31619. pTDefRegMap(@Self)^.&set := $00000004;
  31620. end;
  31621. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  31622. begin
  31623. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31624. end;
  31625. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  31626. begin
  31627. pTDefRegMap(@Self)^.&set := $00000008;
  31628. end;
  31629. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  31630. begin
  31631. pTDefRegMap(@Self)^.clr := $00000008;
  31632. end;
  31633. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  31634. begin
  31635. if thebits = 0 then
  31636. pTDefRegMap(@Self)^.clr := $00000008
  31637. else
  31638. pTDefRegMap(@Self)^.&set := $00000008;
  31639. end;
  31640. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  31641. begin
  31642. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31643. end;
  31644. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  31645. begin
  31646. pTDefRegMap(@Self)^.&set := $00000010;
  31647. end;
  31648. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  31649. begin
  31650. pTDefRegMap(@Self)^.clr := $00000010;
  31651. end;
  31652. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  31653. begin
  31654. if thebits = 0 then
  31655. pTDefRegMap(@Self)^.clr := $00000010
  31656. else
  31657. pTDefRegMap(@Self)^.&set := $00000010;
  31658. end;
  31659. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  31660. begin
  31661. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31662. end;
  31663. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  31664. begin
  31665. pTDefRegMap(@Self)^.&set := $00000020;
  31666. end;
  31667. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  31668. begin
  31669. pTDefRegMap(@Self)^.clr := $00000020;
  31670. end;
  31671. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  31672. begin
  31673. if thebits = 0 then
  31674. pTDefRegMap(@Self)^.clr := $00000020
  31675. else
  31676. pTDefRegMap(@Self)^.&set := $00000020;
  31677. end;
  31678. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  31679. begin
  31680. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31681. end;
  31682. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  31683. begin
  31684. pTDefRegMap(@Self)^.&set := $00000040;
  31685. end;
  31686. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  31687. begin
  31688. pTDefRegMap(@Self)^.clr := $00000040;
  31689. end;
  31690. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  31691. begin
  31692. if thebits = 0 then
  31693. pTDefRegMap(@Self)^.clr := $00000040
  31694. else
  31695. pTDefRegMap(@Self)^.&set := $00000040;
  31696. end;
  31697. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  31698. begin
  31699. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31700. end;
  31701. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  31702. begin
  31703. pTDefRegMap(@Self)^.&set := $00000080;
  31704. end;
  31705. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  31706. begin
  31707. pTDefRegMap(@Self)^.clr := $00000080;
  31708. end;
  31709. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  31710. begin
  31711. if thebits = 0 then
  31712. pTDefRegMap(@Self)^.clr := $00000080
  31713. else
  31714. pTDefRegMap(@Self)^.&set := $00000080;
  31715. end;
  31716. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  31717. begin
  31718. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31719. end;
  31720. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  31721. begin
  31722. pTDefRegMap(@Self)^.&set := $00010000;
  31723. end;
  31724. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  31725. begin
  31726. pTDefRegMap(@Self)^.clr := $00010000;
  31727. end;
  31728. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  31729. begin
  31730. if thebits = 0 then
  31731. pTDefRegMap(@Self)^.clr := $00010000
  31732. else
  31733. pTDefRegMap(@Self)^.&set := $00010000;
  31734. end;
  31735. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  31736. begin
  31737. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31738. end;
  31739. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  31740. begin
  31741. pTDefRegMap(@Self)^.&set := $00020000;
  31742. end;
  31743. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  31744. begin
  31745. pTDefRegMap(@Self)^.clr := $00020000;
  31746. end;
  31747. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  31748. begin
  31749. if thebits = 0 then
  31750. pTDefRegMap(@Self)^.clr := $00020000
  31751. else
  31752. pTDefRegMap(@Self)^.&set := $00020000;
  31753. end;
  31754. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  31755. begin
  31756. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31757. end;
  31758. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  31759. begin
  31760. pTDefRegMap(@Self)^.&set := $00040000;
  31761. end;
  31762. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  31763. begin
  31764. pTDefRegMap(@Self)^.clr := $00040000;
  31765. end;
  31766. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  31767. begin
  31768. if thebits = 0 then
  31769. pTDefRegMap(@Self)^.clr := $00040000
  31770. else
  31771. pTDefRegMap(@Self)^.&set := $00040000;
  31772. end;
  31773. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  31774. begin
  31775. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31776. end;
  31777. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  31778. begin
  31779. pTDefRegMap(@Self)^.&set := $00080000;
  31780. end;
  31781. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  31782. begin
  31783. pTDefRegMap(@Self)^.clr := $00080000;
  31784. end;
  31785. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  31786. begin
  31787. if thebits = 0 then
  31788. pTDefRegMap(@Self)^.clr := $00080000
  31789. else
  31790. pTDefRegMap(@Self)^.&set := $00080000;
  31791. end;
  31792. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  31793. begin
  31794. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31795. end;
  31796. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  31797. begin
  31798. pTDefRegMap(@Self)^.&set := $00100000;
  31799. end;
  31800. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  31801. begin
  31802. pTDefRegMap(@Self)^.clr := $00100000;
  31803. end;
  31804. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  31805. begin
  31806. if thebits = 0 then
  31807. pTDefRegMap(@Self)^.clr := $00100000
  31808. else
  31809. pTDefRegMap(@Self)^.&set := $00100000;
  31810. end;
  31811. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  31812. begin
  31813. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31814. end;
  31815. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  31816. begin
  31817. pTDefRegMap(@Self)^.&set := $00200000;
  31818. end;
  31819. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  31820. begin
  31821. pTDefRegMap(@Self)^.clr := $00200000;
  31822. end;
  31823. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  31824. begin
  31825. if thebits = 0 then
  31826. pTDefRegMap(@Self)^.clr := $00200000
  31827. else
  31828. pTDefRegMap(@Self)^.&set := $00200000;
  31829. end;
  31830. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  31831. begin
  31832. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31833. end;
  31834. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  31835. begin
  31836. pTDefRegMap(@Self)^.&set := $00400000;
  31837. end;
  31838. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  31839. begin
  31840. pTDefRegMap(@Self)^.clr := $00400000;
  31841. end;
  31842. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  31843. begin
  31844. if thebits = 0 then
  31845. pTDefRegMap(@Self)^.clr := $00400000
  31846. else
  31847. pTDefRegMap(@Self)^.&set := $00400000;
  31848. end;
  31849. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  31850. begin
  31851. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31852. end;
  31853. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  31854. begin
  31855. pTDefRegMap(@Self)^.&set := $00800000;
  31856. end;
  31857. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  31858. begin
  31859. pTDefRegMap(@Self)^.clr := $00800000;
  31860. end;
  31861. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  31862. begin
  31863. if thebits = 0 then
  31864. pTDefRegMap(@Self)^.clr := $00800000
  31865. else
  31866. pTDefRegMap(@Self)^.&set := $00800000;
  31867. end;
  31868. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  31869. begin
  31870. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31871. end;
  31872. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  31873. begin
  31874. pTDefRegMap(@Self)^.val := thebits;
  31875. end;
  31876. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  31877. begin
  31878. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31879. end;
  31880. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  31881. begin
  31882. pTDefRegMap(@Self)^.&set := $00000001;
  31883. end;
  31884. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  31885. begin
  31886. pTDefRegMap(@Self)^.clr := $00000001;
  31887. end;
  31888. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  31889. begin
  31890. if thebits = 0 then
  31891. pTDefRegMap(@Self)^.clr := $00000001
  31892. else
  31893. pTDefRegMap(@Self)^.&set := $00000001;
  31894. end;
  31895. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  31896. begin
  31897. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31898. end;
  31899. procedure TUSB_U1IR.setUERRIF; inline;
  31900. begin
  31901. pTDefRegMap(@Self)^.&set := $00000002;
  31902. end;
  31903. procedure TUSB_U1IR.clearUERRIF; inline;
  31904. begin
  31905. pTDefRegMap(@Self)^.clr := $00000002;
  31906. end;
  31907. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  31908. begin
  31909. if thebits = 0 then
  31910. pTDefRegMap(@Self)^.clr := $00000002
  31911. else
  31912. pTDefRegMap(@Self)^.&set := $00000002;
  31913. end;
  31914. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  31915. begin
  31916. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31917. end;
  31918. procedure TUSB_U1IR.setSOFIF; inline;
  31919. begin
  31920. pTDefRegMap(@Self)^.&set := $00000004;
  31921. end;
  31922. procedure TUSB_U1IR.clearSOFIF; inline;
  31923. begin
  31924. pTDefRegMap(@Self)^.clr := $00000004;
  31925. end;
  31926. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  31927. begin
  31928. if thebits = 0 then
  31929. pTDefRegMap(@Self)^.clr := $00000004
  31930. else
  31931. pTDefRegMap(@Self)^.&set := $00000004;
  31932. end;
  31933. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  31934. begin
  31935. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31936. end;
  31937. procedure TUSB_U1IR.setTRNIF; inline;
  31938. begin
  31939. pTDefRegMap(@Self)^.&set := $00000008;
  31940. end;
  31941. procedure TUSB_U1IR.clearTRNIF; inline;
  31942. begin
  31943. pTDefRegMap(@Self)^.clr := $00000008;
  31944. end;
  31945. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  31946. begin
  31947. if thebits = 0 then
  31948. pTDefRegMap(@Self)^.clr := $00000008
  31949. else
  31950. pTDefRegMap(@Self)^.&set := $00000008;
  31951. end;
  31952. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  31953. begin
  31954. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31955. end;
  31956. procedure TUSB_U1IR.setIDLEIF; inline;
  31957. begin
  31958. pTDefRegMap(@Self)^.&set := $00000010;
  31959. end;
  31960. procedure TUSB_U1IR.clearIDLEIF; inline;
  31961. begin
  31962. pTDefRegMap(@Self)^.clr := $00000010;
  31963. end;
  31964. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  31965. begin
  31966. if thebits = 0 then
  31967. pTDefRegMap(@Self)^.clr := $00000010
  31968. else
  31969. pTDefRegMap(@Self)^.&set := $00000010;
  31970. end;
  31971. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  31972. begin
  31973. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31974. end;
  31975. procedure TUSB_U1IR.setRESUMEIF; inline;
  31976. begin
  31977. pTDefRegMap(@Self)^.&set := $00000020;
  31978. end;
  31979. procedure TUSB_U1IR.clearRESUMEIF; inline;
  31980. begin
  31981. pTDefRegMap(@Self)^.clr := $00000020;
  31982. end;
  31983. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  31984. begin
  31985. if thebits = 0 then
  31986. pTDefRegMap(@Self)^.clr := $00000020
  31987. else
  31988. pTDefRegMap(@Self)^.&set := $00000020;
  31989. end;
  31990. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  31991. begin
  31992. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31993. end;
  31994. procedure TUSB_U1IR.setATTACHIF; inline;
  31995. begin
  31996. pTDefRegMap(@Self)^.&set := $00000040;
  31997. end;
  31998. procedure TUSB_U1IR.clearATTACHIF; inline;
  31999. begin
  32000. pTDefRegMap(@Self)^.clr := $00000040;
  32001. end;
  32002. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  32003. begin
  32004. if thebits = 0 then
  32005. pTDefRegMap(@Self)^.clr := $00000040
  32006. else
  32007. pTDefRegMap(@Self)^.&set := $00000040;
  32008. end;
  32009. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  32010. begin
  32011. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32012. end;
  32013. procedure TUSB_U1IR.setSTALLIF; inline;
  32014. begin
  32015. pTDefRegMap(@Self)^.&set := $00000080;
  32016. end;
  32017. procedure TUSB_U1IR.clearSTALLIF; inline;
  32018. begin
  32019. pTDefRegMap(@Self)^.clr := $00000080;
  32020. end;
  32021. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  32022. begin
  32023. if thebits = 0 then
  32024. pTDefRegMap(@Self)^.clr := $00000080
  32025. else
  32026. pTDefRegMap(@Self)^.&set := $00000080;
  32027. end;
  32028. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  32029. begin
  32030. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32031. end;
  32032. procedure TUSB_U1IR.setDETACHIF; inline;
  32033. begin
  32034. pTDefRegMap(@Self)^.&set := $00000001;
  32035. end;
  32036. procedure TUSB_U1IR.clearDETACHIF; inline;
  32037. begin
  32038. pTDefRegMap(@Self)^.clr := $00000001;
  32039. end;
  32040. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  32041. begin
  32042. if thebits = 0 then
  32043. pTDefRegMap(@Self)^.clr := $00000001
  32044. else
  32045. pTDefRegMap(@Self)^.&set := $00000001;
  32046. end;
  32047. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  32048. begin
  32049. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32050. end;
  32051. procedure TUSB_U1IR.setURSTIF; inline;
  32052. begin
  32053. pTDefRegMap(@Self)^.&set := $00000001;
  32054. end;
  32055. procedure TUSB_U1IR.clearURSTIF; inline;
  32056. begin
  32057. pTDefRegMap(@Self)^.clr := $00000001;
  32058. end;
  32059. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  32060. begin
  32061. if thebits = 0 then
  32062. pTDefRegMap(@Self)^.clr := $00000001
  32063. else
  32064. pTDefRegMap(@Self)^.&set := $00000001;
  32065. end;
  32066. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  32067. begin
  32068. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32069. end;
  32070. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  32071. begin
  32072. pTDefRegMap(@Self)^.&set := $00000001;
  32073. end;
  32074. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  32075. begin
  32076. pTDefRegMap(@Self)^.clr := $00000001;
  32077. end;
  32078. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  32079. begin
  32080. if thebits = 0 then
  32081. pTDefRegMap(@Self)^.clr := $00000001
  32082. else
  32083. pTDefRegMap(@Self)^.&set := $00000001;
  32084. end;
  32085. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  32086. begin
  32087. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32088. end;
  32089. procedure TUSB_U1IE.setUERRIE; inline;
  32090. begin
  32091. pTDefRegMap(@Self)^.&set := $00000002;
  32092. end;
  32093. procedure TUSB_U1IE.clearUERRIE; inline;
  32094. begin
  32095. pTDefRegMap(@Self)^.clr := $00000002;
  32096. end;
  32097. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  32098. begin
  32099. if thebits = 0 then
  32100. pTDefRegMap(@Self)^.clr := $00000002
  32101. else
  32102. pTDefRegMap(@Self)^.&set := $00000002;
  32103. end;
  32104. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  32105. begin
  32106. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32107. end;
  32108. procedure TUSB_U1IE.setSOFIE; inline;
  32109. begin
  32110. pTDefRegMap(@Self)^.&set := $00000004;
  32111. end;
  32112. procedure TUSB_U1IE.clearSOFIE; inline;
  32113. begin
  32114. pTDefRegMap(@Self)^.clr := $00000004;
  32115. end;
  32116. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  32117. begin
  32118. if thebits = 0 then
  32119. pTDefRegMap(@Self)^.clr := $00000004
  32120. else
  32121. pTDefRegMap(@Self)^.&set := $00000004;
  32122. end;
  32123. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  32124. begin
  32125. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32126. end;
  32127. procedure TUSB_U1IE.setTRNIE; inline;
  32128. begin
  32129. pTDefRegMap(@Self)^.&set := $00000008;
  32130. end;
  32131. procedure TUSB_U1IE.clearTRNIE; inline;
  32132. begin
  32133. pTDefRegMap(@Self)^.clr := $00000008;
  32134. end;
  32135. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  32136. begin
  32137. if thebits = 0 then
  32138. pTDefRegMap(@Self)^.clr := $00000008
  32139. else
  32140. pTDefRegMap(@Self)^.&set := $00000008;
  32141. end;
  32142. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  32143. begin
  32144. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32145. end;
  32146. procedure TUSB_U1IE.setIDLEIE; inline;
  32147. begin
  32148. pTDefRegMap(@Self)^.&set := $00000010;
  32149. end;
  32150. procedure TUSB_U1IE.clearIDLEIE; inline;
  32151. begin
  32152. pTDefRegMap(@Self)^.clr := $00000010;
  32153. end;
  32154. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  32155. begin
  32156. if thebits = 0 then
  32157. pTDefRegMap(@Self)^.clr := $00000010
  32158. else
  32159. pTDefRegMap(@Self)^.&set := $00000010;
  32160. end;
  32161. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  32162. begin
  32163. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32164. end;
  32165. procedure TUSB_U1IE.setRESUMEIE; inline;
  32166. begin
  32167. pTDefRegMap(@Self)^.&set := $00000020;
  32168. end;
  32169. procedure TUSB_U1IE.clearRESUMEIE; inline;
  32170. begin
  32171. pTDefRegMap(@Self)^.clr := $00000020;
  32172. end;
  32173. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  32174. begin
  32175. if thebits = 0 then
  32176. pTDefRegMap(@Self)^.clr := $00000020
  32177. else
  32178. pTDefRegMap(@Self)^.&set := $00000020;
  32179. end;
  32180. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  32181. begin
  32182. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32183. end;
  32184. procedure TUSB_U1IE.setATTACHIE; inline;
  32185. begin
  32186. pTDefRegMap(@Self)^.&set := $00000040;
  32187. end;
  32188. procedure TUSB_U1IE.clearATTACHIE; inline;
  32189. begin
  32190. pTDefRegMap(@Self)^.clr := $00000040;
  32191. end;
  32192. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  32193. begin
  32194. if thebits = 0 then
  32195. pTDefRegMap(@Self)^.clr := $00000040
  32196. else
  32197. pTDefRegMap(@Self)^.&set := $00000040;
  32198. end;
  32199. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  32200. begin
  32201. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32202. end;
  32203. procedure TUSB_U1IE.setSTALLIE; inline;
  32204. begin
  32205. pTDefRegMap(@Self)^.&set := $00000080;
  32206. end;
  32207. procedure TUSB_U1IE.clearSTALLIE; inline;
  32208. begin
  32209. pTDefRegMap(@Self)^.clr := $00000080;
  32210. end;
  32211. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  32212. begin
  32213. if thebits = 0 then
  32214. pTDefRegMap(@Self)^.clr := $00000080
  32215. else
  32216. pTDefRegMap(@Self)^.&set := $00000080;
  32217. end;
  32218. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  32219. begin
  32220. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32221. end;
  32222. procedure TUSB_U1IE.setDETACHIE; inline;
  32223. begin
  32224. pTDefRegMap(@Self)^.&set := $00000001;
  32225. end;
  32226. procedure TUSB_U1IE.clearDETACHIE; inline;
  32227. begin
  32228. pTDefRegMap(@Self)^.clr := $00000001;
  32229. end;
  32230. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  32231. begin
  32232. if thebits = 0 then
  32233. pTDefRegMap(@Self)^.clr := $00000001
  32234. else
  32235. pTDefRegMap(@Self)^.&set := $00000001;
  32236. end;
  32237. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  32238. begin
  32239. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32240. end;
  32241. procedure TUSB_U1IE.setURSTIE; inline;
  32242. begin
  32243. pTDefRegMap(@Self)^.&set := $00000001;
  32244. end;
  32245. procedure TUSB_U1IE.clearURSTIE; inline;
  32246. begin
  32247. pTDefRegMap(@Self)^.clr := $00000001;
  32248. end;
  32249. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  32250. begin
  32251. if thebits = 0 then
  32252. pTDefRegMap(@Self)^.clr := $00000001
  32253. else
  32254. pTDefRegMap(@Self)^.&set := $00000001;
  32255. end;
  32256. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  32257. begin
  32258. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32259. end;
  32260. procedure TUSB_U1EIR.setPIDEF; inline;
  32261. begin
  32262. pTDefRegMap(@Self)^.&set := $00000001;
  32263. end;
  32264. procedure TUSB_U1EIR.clearPIDEF; inline;
  32265. begin
  32266. pTDefRegMap(@Self)^.clr := $00000001;
  32267. end;
  32268. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  32269. begin
  32270. if thebits = 0 then
  32271. pTDefRegMap(@Self)^.clr := $00000001
  32272. else
  32273. pTDefRegMap(@Self)^.&set := $00000001;
  32274. end;
  32275. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  32276. begin
  32277. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32278. end;
  32279. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  32280. begin
  32281. pTDefRegMap(@Self)^.&set := $00000002;
  32282. end;
  32283. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  32284. begin
  32285. pTDefRegMap(@Self)^.clr := $00000002;
  32286. end;
  32287. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  32288. begin
  32289. if thebits = 0 then
  32290. pTDefRegMap(@Self)^.clr := $00000002
  32291. else
  32292. pTDefRegMap(@Self)^.&set := $00000002;
  32293. end;
  32294. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  32295. begin
  32296. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32297. end;
  32298. procedure TUSB_U1EIR.setCRC16EF; inline;
  32299. begin
  32300. pTDefRegMap(@Self)^.&set := $00000004;
  32301. end;
  32302. procedure TUSB_U1EIR.clearCRC16EF; inline;
  32303. begin
  32304. pTDefRegMap(@Self)^.clr := $00000004;
  32305. end;
  32306. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  32307. begin
  32308. if thebits = 0 then
  32309. pTDefRegMap(@Self)^.clr := $00000004
  32310. else
  32311. pTDefRegMap(@Self)^.&set := $00000004;
  32312. end;
  32313. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  32314. begin
  32315. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32316. end;
  32317. procedure TUSB_U1EIR.setDFN8EF; inline;
  32318. begin
  32319. pTDefRegMap(@Self)^.&set := $00000008;
  32320. end;
  32321. procedure TUSB_U1EIR.clearDFN8EF; inline;
  32322. begin
  32323. pTDefRegMap(@Self)^.clr := $00000008;
  32324. end;
  32325. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  32326. begin
  32327. if thebits = 0 then
  32328. pTDefRegMap(@Self)^.clr := $00000008
  32329. else
  32330. pTDefRegMap(@Self)^.&set := $00000008;
  32331. end;
  32332. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  32333. begin
  32334. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32335. end;
  32336. procedure TUSB_U1EIR.setBTOEF; inline;
  32337. begin
  32338. pTDefRegMap(@Self)^.&set := $00000010;
  32339. end;
  32340. procedure TUSB_U1EIR.clearBTOEF; inline;
  32341. begin
  32342. pTDefRegMap(@Self)^.clr := $00000010;
  32343. end;
  32344. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  32345. begin
  32346. if thebits = 0 then
  32347. pTDefRegMap(@Self)^.clr := $00000010
  32348. else
  32349. pTDefRegMap(@Self)^.&set := $00000010;
  32350. end;
  32351. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  32352. begin
  32353. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32354. end;
  32355. procedure TUSB_U1EIR.setDMAEF; inline;
  32356. begin
  32357. pTDefRegMap(@Self)^.&set := $00000020;
  32358. end;
  32359. procedure TUSB_U1EIR.clearDMAEF; inline;
  32360. begin
  32361. pTDefRegMap(@Self)^.clr := $00000020;
  32362. end;
  32363. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  32364. begin
  32365. if thebits = 0 then
  32366. pTDefRegMap(@Self)^.clr := $00000020
  32367. else
  32368. pTDefRegMap(@Self)^.&set := $00000020;
  32369. end;
  32370. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  32371. begin
  32372. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32373. end;
  32374. procedure TUSB_U1EIR.setBMXEF; inline;
  32375. begin
  32376. pTDefRegMap(@Self)^.&set := $00000040;
  32377. end;
  32378. procedure TUSB_U1EIR.clearBMXEF; inline;
  32379. begin
  32380. pTDefRegMap(@Self)^.clr := $00000040;
  32381. end;
  32382. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  32383. begin
  32384. if thebits = 0 then
  32385. pTDefRegMap(@Self)^.clr := $00000040
  32386. else
  32387. pTDefRegMap(@Self)^.&set := $00000040;
  32388. end;
  32389. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  32390. begin
  32391. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32392. end;
  32393. procedure TUSB_U1EIR.setBTSEF; inline;
  32394. begin
  32395. pTDefRegMap(@Self)^.&set := $00000080;
  32396. end;
  32397. procedure TUSB_U1EIR.clearBTSEF; inline;
  32398. begin
  32399. pTDefRegMap(@Self)^.clr := $00000080;
  32400. end;
  32401. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  32402. begin
  32403. if thebits = 0 then
  32404. pTDefRegMap(@Self)^.clr := $00000080
  32405. else
  32406. pTDefRegMap(@Self)^.&set := $00000080;
  32407. end;
  32408. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  32409. begin
  32410. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32411. end;
  32412. procedure TUSB_U1EIR.setCRC5EF; inline;
  32413. begin
  32414. pTDefRegMap(@Self)^.&set := $00000002;
  32415. end;
  32416. procedure TUSB_U1EIR.clearCRC5EF; inline;
  32417. begin
  32418. pTDefRegMap(@Self)^.clr := $00000002;
  32419. end;
  32420. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  32421. begin
  32422. if thebits = 0 then
  32423. pTDefRegMap(@Self)^.clr := $00000002
  32424. else
  32425. pTDefRegMap(@Self)^.&set := $00000002;
  32426. end;
  32427. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  32428. begin
  32429. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32430. end;
  32431. procedure TUSB_U1EIR.setEOFEF; inline;
  32432. begin
  32433. pTDefRegMap(@Self)^.&set := $00000002;
  32434. end;
  32435. procedure TUSB_U1EIR.clearEOFEF; inline;
  32436. begin
  32437. pTDefRegMap(@Self)^.clr := $00000002;
  32438. end;
  32439. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  32440. begin
  32441. if thebits = 0 then
  32442. pTDefRegMap(@Self)^.clr := $00000002
  32443. else
  32444. pTDefRegMap(@Self)^.&set := $00000002;
  32445. end;
  32446. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  32447. begin
  32448. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32449. end;
  32450. procedure TUSB_U1EIE.setPIDEE; inline;
  32451. begin
  32452. pTDefRegMap(@Self)^.&set := $00000001;
  32453. end;
  32454. procedure TUSB_U1EIE.clearPIDEE; inline;
  32455. begin
  32456. pTDefRegMap(@Self)^.clr := $00000001;
  32457. end;
  32458. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  32459. begin
  32460. if thebits = 0 then
  32461. pTDefRegMap(@Self)^.clr := $00000001
  32462. else
  32463. pTDefRegMap(@Self)^.&set := $00000001;
  32464. end;
  32465. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  32466. begin
  32467. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32468. end;
  32469. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  32470. begin
  32471. pTDefRegMap(@Self)^.&set := $00000002;
  32472. end;
  32473. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  32474. begin
  32475. pTDefRegMap(@Self)^.clr := $00000002;
  32476. end;
  32477. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  32478. begin
  32479. if thebits = 0 then
  32480. pTDefRegMap(@Self)^.clr := $00000002
  32481. else
  32482. pTDefRegMap(@Self)^.&set := $00000002;
  32483. end;
  32484. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  32485. begin
  32486. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32487. end;
  32488. procedure TUSB_U1EIE.setCRC16EE; inline;
  32489. begin
  32490. pTDefRegMap(@Self)^.&set := $00000004;
  32491. end;
  32492. procedure TUSB_U1EIE.clearCRC16EE; inline;
  32493. begin
  32494. pTDefRegMap(@Self)^.clr := $00000004;
  32495. end;
  32496. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  32497. begin
  32498. if thebits = 0 then
  32499. pTDefRegMap(@Self)^.clr := $00000004
  32500. else
  32501. pTDefRegMap(@Self)^.&set := $00000004;
  32502. end;
  32503. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  32504. begin
  32505. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32506. end;
  32507. procedure TUSB_U1EIE.setDFN8EE; inline;
  32508. begin
  32509. pTDefRegMap(@Self)^.&set := $00000008;
  32510. end;
  32511. procedure TUSB_U1EIE.clearDFN8EE; inline;
  32512. begin
  32513. pTDefRegMap(@Self)^.clr := $00000008;
  32514. end;
  32515. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  32516. begin
  32517. if thebits = 0 then
  32518. pTDefRegMap(@Self)^.clr := $00000008
  32519. else
  32520. pTDefRegMap(@Self)^.&set := $00000008;
  32521. end;
  32522. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  32523. begin
  32524. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32525. end;
  32526. procedure TUSB_U1EIE.setBTOEE; inline;
  32527. begin
  32528. pTDefRegMap(@Self)^.&set := $00000010;
  32529. end;
  32530. procedure TUSB_U1EIE.clearBTOEE; inline;
  32531. begin
  32532. pTDefRegMap(@Self)^.clr := $00000010;
  32533. end;
  32534. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  32535. begin
  32536. if thebits = 0 then
  32537. pTDefRegMap(@Self)^.clr := $00000010
  32538. else
  32539. pTDefRegMap(@Self)^.&set := $00000010;
  32540. end;
  32541. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  32542. begin
  32543. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32544. end;
  32545. procedure TUSB_U1EIE.setDMAEE; inline;
  32546. begin
  32547. pTDefRegMap(@Self)^.&set := $00000020;
  32548. end;
  32549. procedure TUSB_U1EIE.clearDMAEE; inline;
  32550. begin
  32551. pTDefRegMap(@Self)^.clr := $00000020;
  32552. end;
  32553. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  32554. begin
  32555. if thebits = 0 then
  32556. pTDefRegMap(@Self)^.clr := $00000020
  32557. else
  32558. pTDefRegMap(@Self)^.&set := $00000020;
  32559. end;
  32560. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  32561. begin
  32562. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32563. end;
  32564. procedure TUSB_U1EIE.setBMXEE; inline;
  32565. begin
  32566. pTDefRegMap(@Self)^.&set := $00000040;
  32567. end;
  32568. procedure TUSB_U1EIE.clearBMXEE; inline;
  32569. begin
  32570. pTDefRegMap(@Self)^.clr := $00000040;
  32571. end;
  32572. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  32573. begin
  32574. if thebits = 0 then
  32575. pTDefRegMap(@Self)^.clr := $00000040
  32576. else
  32577. pTDefRegMap(@Self)^.&set := $00000040;
  32578. end;
  32579. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  32580. begin
  32581. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32582. end;
  32583. procedure TUSB_U1EIE.setBTSEE; inline;
  32584. begin
  32585. pTDefRegMap(@Self)^.&set := $00000080;
  32586. end;
  32587. procedure TUSB_U1EIE.clearBTSEE; inline;
  32588. begin
  32589. pTDefRegMap(@Self)^.clr := $00000080;
  32590. end;
  32591. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  32592. begin
  32593. if thebits = 0 then
  32594. pTDefRegMap(@Self)^.clr := $00000080
  32595. else
  32596. pTDefRegMap(@Self)^.&set := $00000080;
  32597. end;
  32598. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  32599. begin
  32600. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32601. end;
  32602. procedure TUSB_U1EIE.setCRC5EE; inline;
  32603. begin
  32604. pTDefRegMap(@Self)^.&set := $00000002;
  32605. end;
  32606. procedure TUSB_U1EIE.clearCRC5EE; inline;
  32607. begin
  32608. pTDefRegMap(@Self)^.clr := $00000002;
  32609. end;
  32610. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  32611. begin
  32612. if thebits = 0 then
  32613. pTDefRegMap(@Self)^.clr := $00000002
  32614. else
  32615. pTDefRegMap(@Self)^.&set := $00000002;
  32616. end;
  32617. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  32618. begin
  32619. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32620. end;
  32621. procedure TUSB_U1EIE.setEOFEE; inline;
  32622. begin
  32623. pTDefRegMap(@Self)^.&set := $00000002;
  32624. end;
  32625. procedure TUSB_U1EIE.clearEOFEE; inline;
  32626. begin
  32627. pTDefRegMap(@Self)^.clr := $00000002;
  32628. end;
  32629. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  32630. begin
  32631. if thebits = 0 then
  32632. pTDefRegMap(@Self)^.clr := $00000002
  32633. else
  32634. pTDefRegMap(@Self)^.&set := $00000002;
  32635. end;
  32636. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  32637. begin
  32638. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32639. end;
  32640. procedure TUSB_U1STAT.setPPBI; inline;
  32641. begin
  32642. pTDefRegMap(@Self)^.&set := $00000004;
  32643. end;
  32644. procedure TUSB_U1STAT.clearPPBI; inline;
  32645. begin
  32646. pTDefRegMap(@Self)^.clr := $00000004;
  32647. end;
  32648. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  32649. begin
  32650. if thebits = 0 then
  32651. pTDefRegMap(@Self)^.clr := $00000004
  32652. else
  32653. pTDefRegMap(@Self)^.&set := $00000004;
  32654. end;
  32655. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  32656. begin
  32657. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32658. end;
  32659. procedure TUSB_U1STAT.setDIR; inline;
  32660. begin
  32661. pTDefRegMap(@Self)^.&set := $00000008;
  32662. end;
  32663. procedure TUSB_U1STAT.clearDIR; inline;
  32664. begin
  32665. pTDefRegMap(@Self)^.clr := $00000008;
  32666. end;
  32667. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  32668. begin
  32669. if thebits = 0 then
  32670. pTDefRegMap(@Self)^.clr := $00000008
  32671. else
  32672. pTDefRegMap(@Self)^.&set := $00000008;
  32673. end;
  32674. function TUSB_U1STAT.getDIR : TBits_1; inline;
  32675. begin
  32676. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32677. end;
  32678. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  32679. begin
  32680. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  32681. end;
  32682. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  32683. begin
  32684. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  32685. end;
  32686. procedure TUSB_U1STAT.setENDPT0; inline;
  32687. begin
  32688. pTDefRegMap(@Self)^.&set := $00000010;
  32689. end;
  32690. procedure TUSB_U1STAT.clearENDPT0; inline;
  32691. begin
  32692. pTDefRegMap(@Self)^.clr := $00000010;
  32693. end;
  32694. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  32695. begin
  32696. if thebits = 0 then
  32697. pTDefRegMap(@Self)^.clr := $00000010
  32698. else
  32699. pTDefRegMap(@Self)^.&set := $00000010;
  32700. end;
  32701. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  32702. begin
  32703. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32704. end;
  32705. procedure TUSB_U1STAT.setENDPT1; inline;
  32706. begin
  32707. pTDefRegMap(@Self)^.&set := $00000020;
  32708. end;
  32709. procedure TUSB_U1STAT.clearENDPT1; inline;
  32710. begin
  32711. pTDefRegMap(@Self)^.clr := $00000020;
  32712. end;
  32713. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  32714. begin
  32715. if thebits = 0 then
  32716. pTDefRegMap(@Self)^.clr := $00000020
  32717. else
  32718. pTDefRegMap(@Self)^.&set := $00000020;
  32719. end;
  32720. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  32721. begin
  32722. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32723. end;
  32724. procedure TUSB_U1STAT.setENDPT2; inline;
  32725. begin
  32726. pTDefRegMap(@Self)^.&set := $00000040;
  32727. end;
  32728. procedure TUSB_U1STAT.clearENDPT2; inline;
  32729. begin
  32730. pTDefRegMap(@Self)^.clr := $00000040;
  32731. end;
  32732. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  32733. begin
  32734. if thebits = 0 then
  32735. pTDefRegMap(@Self)^.clr := $00000040
  32736. else
  32737. pTDefRegMap(@Self)^.&set := $00000040;
  32738. end;
  32739. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  32740. begin
  32741. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32742. end;
  32743. procedure TUSB_U1STAT.setENDPT3; inline;
  32744. begin
  32745. pTDefRegMap(@Self)^.&set := $00000080;
  32746. end;
  32747. procedure TUSB_U1STAT.clearENDPT3; inline;
  32748. begin
  32749. pTDefRegMap(@Self)^.clr := $00000080;
  32750. end;
  32751. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  32752. begin
  32753. if thebits = 0 then
  32754. pTDefRegMap(@Self)^.clr := $00000080
  32755. else
  32756. pTDefRegMap(@Self)^.&set := $00000080;
  32757. end;
  32758. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  32759. begin
  32760. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32761. end;
  32762. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  32763. begin
  32764. pTDefRegMap(@Self)^.&set := $00000001;
  32765. end;
  32766. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  32767. begin
  32768. pTDefRegMap(@Self)^.clr := $00000001;
  32769. end;
  32770. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  32771. begin
  32772. if thebits = 0 then
  32773. pTDefRegMap(@Self)^.clr := $00000001
  32774. else
  32775. pTDefRegMap(@Self)^.&set := $00000001;
  32776. end;
  32777. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  32778. begin
  32779. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32780. end;
  32781. procedure TUSB_U1CON.setPPBRST; inline;
  32782. begin
  32783. pTDefRegMap(@Self)^.&set := $00000002;
  32784. end;
  32785. procedure TUSB_U1CON.clearPPBRST; inline;
  32786. begin
  32787. pTDefRegMap(@Self)^.clr := $00000002;
  32788. end;
  32789. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  32790. begin
  32791. if thebits = 0 then
  32792. pTDefRegMap(@Self)^.clr := $00000002
  32793. else
  32794. pTDefRegMap(@Self)^.&set := $00000002;
  32795. end;
  32796. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  32797. begin
  32798. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32799. end;
  32800. procedure TUSB_U1CON.setRESUME; inline;
  32801. begin
  32802. pTDefRegMap(@Self)^.&set := $00000004;
  32803. end;
  32804. procedure TUSB_U1CON.clearRESUME; inline;
  32805. begin
  32806. pTDefRegMap(@Self)^.clr := $00000004;
  32807. end;
  32808. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  32809. begin
  32810. if thebits = 0 then
  32811. pTDefRegMap(@Self)^.clr := $00000004
  32812. else
  32813. pTDefRegMap(@Self)^.&set := $00000004;
  32814. end;
  32815. function TUSB_U1CON.getRESUME : TBits_1; inline;
  32816. begin
  32817. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32818. end;
  32819. procedure TUSB_U1CON.setHOSTEN; inline;
  32820. begin
  32821. pTDefRegMap(@Self)^.&set := $00000008;
  32822. end;
  32823. procedure TUSB_U1CON.clearHOSTEN; inline;
  32824. begin
  32825. pTDefRegMap(@Self)^.clr := $00000008;
  32826. end;
  32827. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  32828. begin
  32829. if thebits = 0 then
  32830. pTDefRegMap(@Self)^.clr := $00000008
  32831. else
  32832. pTDefRegMap(@Self)^.&set := $00000008;
  32833. end;
  32834. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  32835. begin
  32836. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32837. end;
  32838. procedure TUSB_U1CON.setUSBRST; inline;
  32839. begin
  32840. pTDefRegMap(@Self)^.&set := $00000010;
  32841. end;
  32842. procedure TUSB_U1CON.clearUSBRST; inline;
  32843. begin
  32844. pTDefRegMap(@Self)^.clr := $00000010;
  32845. end;
  32846. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  32847. begin
  32848. if thebits = 0 then
  32849. pTDefRegMap(@Self)^.clr := $00000010
  32850. else
  32851. pTDefRegMap(@Self)^.&set := $00000010;
  32852. end;
  32853. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  32854. begin
  32855. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32856. end;
  32857. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  32858. begin
  32859. pTDefRegMap(@Self)^.&set := $00000020;
  32860. end;
  32861. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  32862. begin
  32863. pTDefRegMap(@Self)^.clr := $00000020;
  32864. end;
  32865. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  32866. begin
  32867. if thebits = 0 then
  32868. pTDefRegMap(@Self)^.clr := $00000020
  32869. else
  32870. pTDefRegMap(@Self)^.&set := $00000020;
  32871. end;
  32872. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  32873. begin
  32874. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32875. end;
  32876. procedure TUSB_U1CON.setSE0; inline;
  32877. begin
  32878. pTDefRegMap(@Self)^.&set := $00000040;
  32879. end;
  32880. procedure TUSB_U1CON.clearSE0; inline;
  32881. begin
  32882. pTDefRegMap(@Self)^.clr := $00000040;
  32883. end;
  32884. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  32885. begin
  32886. if thebits = 0 then
  32887. pTDefRegMap(@Self)^.clr := $00000040
  32888. else
  32889. pTDefRegMap(@Self)^.&set := $00000040;
  32890. end;
  32891. function TUSB_U1CON.getSE0 : TBits_1; inline;
  32892. begin
  32893. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32894. end;
  32895. procedure TUSB_U1CON.setJSTATE; inline;
  32896. begin
  32897. pTDefRegMap(@Self)^.&set := $00000080;
  32898. end;
  32899. procedure TUSB_U1CON.clearJSTATE; inline;
  32900. begin
  32901. pTDefRegMap(@Self)^.clr := $00000080;
  32902. end;
  32903. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  32904. begin
  32905. if thebits = 0 then
  32906. pTDefRegMap(@Self)^.clr := $00000080
  32907. else
  32908. pTDefRegMap(@Self)^.&set := $00000080;
  32909. end;
  32910. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  32911. begin
  32912. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32913. end;
  32914. procedure TUSB_U1CON.setUSBEN; inline;
  32915. begin
  32916. pTDefRegMap(@Self)^.&set := $00000001;
  32917. end;
  32918. procedure TUSB_U1CON.clearUSBEN; inline;
  32919. begin
  32920. pTDefRegMap(@Self)^.clr := $00000001;
  32921. end;
  32922. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  32923. begin
  32924. if thebits = 0 then
  32925. pTDefRegMap(@Self)^.clr := $00000001
  32926. else
  32927. pTDefRegMap(@Self)^.&set := $00000001;
  32928. end;
  32929. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  32930. begin
  32931. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32932. end;
  32933. procedure TUSB_U1CON.setSOFEN; inline;
  32934. begin
  32935. pTDefRegMap(@Self)^.&set := $00000001;
  32936. end;
  32937. procedure TUSB_U1CON.clearSOFEN; inline;
  32938. begin
  32939. pTDefRegMap(@Self)^.clr := $00000001;
  32940. end;
  32941. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  32942. begin
  32943. if thebits = 0 then
  32944. pTDefRegMap(@Self)^.clr := $00000001
  32945. else
  32946. pTDefRegMap(@Self)^.&set := $00000001;
  32947. end;
  32948. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  32949. begin
  32950. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32951. end;
  32952. procedure TUSB_U1CON.setPKTDIS; inline;
  32953. begin
  32954. pTDefRegMap(@Self)^.&set := $00000020;
  32955. end;
  32956. procedure TUSB_U1CON.clearPKTDIS; inline;
  32957. begin
  32958. pTDefRegMap(@Self)^.clr := $00000020;
  32959. end;
  32960. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  32961. begin
  32962. if thebits = 0 then
  32963. pTDefRegMap(@Self)^.clr := $00000020
  32964. else
  32965. pTDefRegMap(@Self)^.&set := $00000020;
  32966. end;
  32967. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  32968. begin
  32969. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32970. end;
  32971. procedure TUSB_U1CON.setTOKBUSY; inline;
  32972. begin
  32973. pTDefRegMap(@Self)^.&set := $00000020;
  32974. end;
  32975. procedure TUSB_U1CON.clearTOKBUSY; inline;
  32976. begin
  32977. pTDefRegMap(@Self)^.clr := $00000020;
  32978. end;
  32979. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  32980. begin
  32981. if thebits = 0 then
  32982. pTDefRegMap(@Self)^.clr := $00000020
  32983. else
  32984. pTDefRegMap(@Self)^.&set := $00000020;
  32985. end;
  32986. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  32987. begin
  32988. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32989. end;
  32990. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  32991. begin
  32992. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  32993. end;
  32994. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  32995. begin
  32996. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  32997. end;
  32998. procedure TUSB_U1ADDR.setLSPDEN; inline;
  32999. begin
  33000. pTDefRegMap(@Self)^.&set := $00000080;
  33001. end;
  33002. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  33003. begin
  33004. pTDefRegMap(@Self)^.clr := $00000080;
  33005. end;
  33006. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  33007. begin
  33008. if thebits = 0 then
  33009. pTDefRegMap(@Self)^.clr := $00000080
  33010. else
  33011. pTDefRegMap(@Self)^.&set := $00000080;
  33012. end;
  33013. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  33014. begin
  33015. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33016. end;
  33017. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  33018. begin
  33019. pTDefRegMap(@Self)^.&set := $00000001;
  33020. end;
  33021. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  33022. begin
  33023. pTDefRegMap(@Self)^.clr := $00000001;
  33024. end;
  33025. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  33026. begin
  33027. if thebits = 0 then
  33028. pTDefRegMap(@Self)^.clr := $00000001
  33029. else
  33030. pTDefRegMap(@Self)^.&set := $00000001;
  33031. end;
  33032. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  33033. begin
  33034. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33035. end;
  33036. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  33037. begin
  33038. pTDefRegMap(@Self)^.&set := $00000002;
  33039. end;
  33040. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  33041. begin
  33042. pTDefRegMap(@Self)^.clr := $00000002;
  33043. end;
  33044. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  33045. begin
  33046. if thebits = 0 then
  33047. pTDefRegMap(@Self)^.clr := $00000002
  33048. else
  33049. pTDefRegMap(@Self)^.&set := $00000002;
  33050. end;
  33051. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  33052. begin
  33053. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33054. end;
  33055. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  33056. begin
  33057. pTDefRegMap(@Self)^.&set := $00000004;
  33058. end;
  33059. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  33060. begin
  33061. pTDefRegMap(@Self)^.clr := $00000004;
  33062. end;
  33063. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  33064. begin
  33065. if thebits = 0 then
  33066. pTDefRegMap(@Self)^.clr := $00000004
  33067. else
  33068. pTDefRegMap(@Self)^.&set := $00000004;
  33069. end;
  33070. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  33071. begin
  33072. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33073. end;
  33074. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  33075. begin
  33076. pTDefRegMap(@Self)^.&set := $00000008;
  33077. end;
  33078. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  33079. begin
  33080. pTDefRegMap(@Self)^.clr := $00000008;
  33081. end;
  33082. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  33083. begin
  33084. if thebits = 0 then
  33085. pTDefRegMap(@Self)^.clr := $00000008
  33086. else
  33087. pTDefRegMap(@Self)^.&set := $00000008;
  33088. end;
  33089. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  33090. begin
  33091. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33092. end;
  33093. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  33094. begin
  33095. pTDefRegMap(@Self)^.&set := $00000010;
  33096. end;
  33097. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  33098. begin
  33099. pTDefRegMap(@Self)^.clr := $00000010;
  33100. end;
  33101. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  33102. begin
  33103. if thebits = 0 then
  33104. pTDefRegMap(@Self)^.clr := $00000010
  33105. else
  33106. pTDefRegMap(@Self)^.&set := $00000010;
  33107. end;
  33108. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  33109. begin
  33110. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33111. end;
  33112. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  33113. begin
  33114. pTDefRegMap(@Self)^.&set := $00000020;
  33115. end;
  33116. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  33117. begin
  33118. pTDefRegMap(@Self)^.clr := $00000020;
  33119. end;
  33120. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  33121. begin
  33122. if thebits = 0 then
  33123. pTDefRegMap(@Self)^.clr := $00000020
  33124. else
  33125. pTDefRegMap(@Self)^.&set := $00000020;
  33126. end;
  33127. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  33128. begin
  33129. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33130. end;
  33131. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  33132. begin
  33133. pTDefRegMap(@Self)^.&set := $00000040;
  33134. end;
  33135. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  33136. begin
  33137. pTDefRegMap(@Self)^.clr := $00000040;
  33138. end;
  33139. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  33140. begin
  33141. if thebits = 0 then
  33142. pTDefRegMap(@Self)^.clr := $00000040
  33143. else
  33144. pTDefRegMap(@Self)^.&set := $00000040;
  33145. end;
  33146. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  33147. begin
  33148. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33149. end;
  33150. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  33151. begin
  33152. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  33153. end;
  33154. function TUSB_U1FRML.getFRML : TBits_8; inline;
  33155. begin
  33156. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  33157. end;
  33158. procedure TUSB_U1FRML.setFRM0; inline;
  33159. begin
  33160. pTDefRegMap(@Self)^.&set := $00000001;
  33161. end;
  33162. procedure TUSB_U1FRML.clearFRM0; inline;
  33163. begin
  33164. pTDefRegMap(@Self)^.clr := $00000001;
  33165. end;
  33166. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  33167. begin
  33168. if thebits = 0 then
  33169. pTDefRegMap(@Self)^.clr := $00000001
  33170. else
  33171. pTDefRegMap(@Self)^.&set := $00000001;
  33172. end;
  33173. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  33174. begin
  33175. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33176. end;
  33177. procedure TUSB_U1FRML.setFRM1; inline;
  33178. begin
  33179. pTDefRegMap(@Self)^.&set := $00000002;
  33180. end;
  33181. procedure TUSB_U1FRML.clearFRM1; inline;
  33182. begin
  33183. pTDefRegMap(@Self)^.clr := $00000002;
  33184. end;
  33185. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  33186. begin
  33187. if thebits = 0 then
  33188. pTDefRegMap(@Self)^.clr := $00000002
  33189. else
  33190. pTDefRegMap(@Self)^.&set := $00000002;
  33191. end;
  33192. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  33193. begin
  33194. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33195. end;
  33196. procedure TUSB_U1FRML.setFRM2; inline;
  33197. begin
  33198. pTDefRegMap(@Self)^.&set := $00000004;
  33199. end;
  33200. procedure TUSB_U1FRML.clearFRM2; inline;
  33201. begin
  33202. pTDefRegMap(@Self)^.clr := $00000004;
  33203. end;
  33204. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  33205. begin
  33206. if thebits = 0 then
  33207. pTDefRegMap(@Self)^.clr := $00000004
  33208. else
  33209. pTDefRegMap(@Self)^.&set := $00000004;
  33210. end;
  33211. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  33212. begin
  33213. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33214. end;
  33215. procedure TUSB_U1FRML.setFRM3; inline;
  33216. begin
  33217. pTDefRegMap(@Self)^.&set := $00000008;
  33218. end;
  33219. procedure TUSB_U1FRML.clearFRM3; inline;
  33220. begin
  33221. pTDefRegMap(@Self)^.clr := $00000008;
  33222. end;
  33223. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  33224. begin
  33225. if thebits = 0 then
  33226. pTDefRegMap(@Self)^.clr := $00000008
  33227. else
  33228. pTDefRegMap(@Self)^.&set := $00000008;
  33229. end;
  33230. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  33231. begin
  33232. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33233. end;
  33234. procedure TUSB_U1FRML.setFRM4; inline;
  33235. begin
  33236. pTDefRegMap(@Self)^.&set := $00000010;
  33237. end;
  33238. procedure TUSB_U1FRML.clearFRM4; inline;
  33239. begin
  33240. pTDefRegMap(@Self)^.clr := $00000010;
  33241. end;
  33242. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  33243. begin
  33244. if thebits = 0 then
  33245. pTDefRegMap(@Self)^.clr := $00000010
  33246. else
  33247. pTDefRegMap(@Self)^.&set := $00000010;
  33248. end;
  33249. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  33250. begin
  33251. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33252. end;
  33253. procedure TUSB_U1FRML.setFRM5; inline;
  33254. begin
  33255. pTDefRegMap(@Self)^.&set := $00000020;
  33256. end;
  33257. procedure TUSB_U1FRML.clearFRM5; inline;
  33258. begin
  33259. pTDefRegMap(@Self)^.clr := $00000020;
  33260. end;
  33261. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  33262. begin
  33263. if thebits = 0 then
  33264. pTDefRegMap(@Self)^.clr := $00000020
  33265. else
  33266. pTDefRegMap(@Self)^.&set := $00000020;
  33267. end;
  33268. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  33269. begin
  33270. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33271. end;
  33272. procedure TUSB_U1FRML.setFRM6; inline;
  33273. begin
  33274. pTDefRegMap(@Self)^.&set := $00000040;
  33275. end;
  33276. procedure TUSB_U1FRML.clearFRM6; inline;
  33277. begin
  33278. pTDefRegMap(@Self)^.clr := $00000040;
  33279. end;
  33280. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  33281. begin
  33282. if thebits = 0 then
  33283. pTDefRegMap(@Self)^.clr := $00000040
  33284. else
  33285. pTDefRegMap(@Self)^.&set := $00000040;
  33286. end;
  33287. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  33288. begin
  33289. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33290. end;
  33291. procedure TUSB_U1FRML.setFRM7; inline;
  33292. begin
  33293. pTDefRegMap(@Self)^.&set := $00000080;
  33294. end;
  33295. procedure TUSB_U1FRML.clearFRM7; inline;
  33296. begin
  33297. pTDefRegMap(@Self)^.clr := $00000080;
  33298. end;
  33299. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  33300. begin
  33301. if thebits = 0 then
  33302. pTDefRegMap(@Self)^.clr := $00000080
  33303. else
  33304. pTDefRegMap(@Self)^.&set := $00000080;
  33305. end;
  33306. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  33307. begin
  33308. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33309. end;
  33310. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  33311. begin
  33312. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  33313. end;
  33314. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  33315. begin
  33316. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  33317. end;
  33318. procedure TUSB_U1FRMH.setFRM8; inline;
  33319. begin
  33320. pTDefRegMap(@Self)^.&set := $00000001;
  33321. end;
  33322. procedure TUSB_U1FRMH.clearFRM8; inline;
  33323. begin
  33324. pTDefRegMap(@Self)^.clr := $00000001;
  33325. end;
  33326. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  33327. begin
  33328. if thebits = 0 then
  33329. pTDefRegMap(@Self)^.clr := $00000001
  33330. else
  33331. pTDefRegMap(@Self)^.&set := $00000001;
  33332. end;
  33333. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  33334. begin
  33335. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33336. end;
  33337. procedure TUSB_U1FRMH.setFRM9; inline;
  33338. begin
  33339. pTDefRegMap(@Self)^.&set := $00000002;
  33340. end;
  33341. procedure TUSB_U1FRMH.clearFRM9; inline;
  33342. begin
  33343. pTDefRegMap(@Self)^.clr := $00000002;
  33344. end;
  33345. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  33346. begin
  33347. if thebits = 0 then
  33348. pTDefRegMap(@Self)^.clr := $00000002
  33349. else
  33350. pTDefRegMap(@Self)^.&set := $00000002;
  33351. end;
  33352. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  33353. begin
  33354. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33355. end;
  33356. procedure TUSB_U1FRMH.setFRM10; inline;
  33357. begin
  33358. pTDefRegMap(@Self)^.&set := $00000004;
  33359. end;
  33360. procedure TUSB_U1FRMH.clearFRM10; inline;
  33361. begin
  33362. pTDefRegMap(@Self)^.clr := $00000004;
  33363. end;
  33364. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  33365. begin
  33366. if thebits = 0 then
  33367. pTDefRegMap(@Self)^.clr := $00000004
  33368. else
  33369. pTDefRegMap(@Self)^.&set := $00000004;
  33370. end;
  33371. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  33372. begin
  33373. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33374. end;
  33375. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  33376. begin
  33377. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33378. end;
  33379. function TUSB_U1TOK.getEP : TBits_4; inline;
  33380. begin
  33381. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33382. end;
  33383. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  33384. begin
  33385. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33386. end;
  33387. function TUSB_U1TOK.getPID : TBits_4; inline;
  33388. begin
  33389. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33390. end;
  33391. procedure TUSB_U1TOK.setEP0; inline;
  33392. begin
  33393. pTDefRegMap(@Self)^.&set := $00000001;
  33394. end;
  33395. procedure TUSB_U1TOK.clearEP0; inline;
  33396. begin
  33397. pTDefRegMap(@Self)^.clr := $00000001;
  33398. end;
  33399. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  33400. begin
  33401. if thebits = 0 then
  33402. pTDefRegMap(@Self)^.clr := $00000001
  33403. else
  33404. pTDefRegMap(@Self)^.&set := $00000001;
  33405. end;
  33406. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  33407. begin
  33408. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33409. end;
  33410. procedure TUSB_U1TOK.setEP1; inline;
  33411. begin
  33412. pTDefRegMap(@Self)^.&set := $00000002;
  33413. end;
  33414. procedure TUSB_U1TOK.clearEP1; inline;
  33415. begin
  33416. pTDefRegMap(@Self)^.clr := $00000002;
  33417. end;
  33418. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  33419. begin
  33420. if thebits = 0 then
  33421. pTDefRegMap(@Self)^.clr := $00000002
  33422. else
  33423. pTDefRegMap(@Self)^.&set := $00000002;
  33424. end;
  33425. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  33426. begin
  33427. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33428. end;
  33429. procedure TUSB_U1TOK.setEP2; inline;
  33430. begin
  33431. pTDefRegMap(@Self)^.&set := $00000004;
  33432. end;
  33433. procedure TUSB_U1TOK.clearEP2; inline;
  33434. begin
  33435. pTDefRegMap(@Self)^.clr := $00000004;
  33436. end;
  33437. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  33438. begin
  33439. if thebits = 0 then
  33440. pTDefRegMap(@Self)^.clr := $00000004
  33441. else
  33442. pTDefRegMap(@Self)^.&set := $00000004;
  33443. end;
  33444. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  33445. begin
  33446. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33447. end;
  33448. procedure TUSB_U1TOK.setEP3; inline;
  33449. begin
  33450. pTDefRegMap(@Self)^.&set := $00000008;
  33451. end;
  33452. procedure TUSB_U1TOK.clearEP3; inline;
  33453. begin
  33454. pTDefRegMap(@Self)^.clr := $00000008;
  33455. end;
  33456. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  33457. begin
  33458. if thebits = 0 then
  33459. pTDefRegMap(@Self)^.clr := $00000008
  33460. else
  33461. pTDefRegMap(@Self)^.&set := $00000008;
  33462. end;
  33463. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  33464. begin
  33465. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33466. end;
  33467. procedure TUSB_U1TOK.setPID0; inline;
  33468. begin
  33469. pTDefRegMap(@Self)^.&set := $00000010;
  33470. end;
  33471. procedure TUSB_U1TOK.clearPID0; inline;
  33472. begin
  33473. pTDefRegMap(@Self)^.clr := $00000010;
  33474. end;
  33475. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  33476. begin
  33477. if thebits = 0 then
  33478. pTDefRegMap(@Self)^.clr := $00000010
  33479. else
  33480. pTDefRegMap(@Self)^.&set := $00000010;
  33481. end;
  33482. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  33483. begin
  33484. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33485. end;
  33486. procedure TUSB_U1TOK.setPID1; inline;
  33487. begin
  33488. pTDefRegMap(@Self)^.&set := $00000020;
  33489. end;
  33490. procedure TUSB_U1TOK.clearPID1; inline;
  33491. begin
  33492. pTDefRegMap(@Self)^.clr := $00000020;
  33493. end;
  33494. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  33495. begin
  33496. if thebits = 0 then
  33497. pTDefRegMap(@Self)^.clr := $00000020
  33498. else
  33499. pTDefRegMap(@Self)^.&set := $00000020;
  33500. end;
  33501. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  33502. begin
  33503. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33504. end;
  33505. procedure TUSB_U1TOK.setPID2; inline;
  33506. begin
  33507. pTDefRegMap(@Self)^.&set := $00000040;
  33508. end;
  33509. procedure TUSB_U1TOK.clearPID2; inline;
  33510. begin
  33511. pTDefRegMap(@Self)^.clr := $00000040;
  33512. end;
  33513. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  33514. begin
  33515. if thebits = 0 then
  33516. pTDefRegMap(@Self)^.clr := $00000040
  33517. else
  33518. pTDefRegMap(@Self)^.&set := $00000040;
  33519. end;
  33520. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  33521. begin
  33522. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33523. end;
  33524. procedure TUSB_U1TOK.setPID3; inline;
  33525. begin
  33526. pTDefRegMap(@Self)^.&set := $00000080;
  33527. end;
  33528. procedure TUSB_U1TOK.clearPID3; inline;
  33529. begin
  33530. pTDefRegMap(@Self)^.clr := $00000080;
  33531. end;
  33532. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  33533. begin
  33534. if thebits = 0 then
  33535. pTDefRegMap(@Self)^.clr := $00000080
  33536. else
  33537. pTDefRegMap(@Self)^.&set := $00000080;
  33538. end;
  33539. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  33540. begin
  33541. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33542. end;
  33543. procedure TPORTA_ANSELA.setANSA0; inline;
  33544. begin
  33545. pTDefRegMap(@Self)^.&set := $00000001;
  33546. end;
  33547. procedure TPORTA_ANSELA.clearANSA0; inline;
  33548. begin
  33549. pTDefRegMap(@Self)^.clr := $00000001;
  33550. end;
  33551. procedure TPORTA_ANSELA.setANSA0(thebits : TBits_1); inline;
  33552. begin
  33553. if thebits = 0 then
  33554. pTDefRegMap(@Self)^.clr := $00000001
  33555. else
  33556. pTDefRegMap(@Self)^.&set := $00000001;
  33557. end;
  33558. function TPORTA_ANSELA.getANSA0 : TBits_1; inline;
  33559. begin
  33560. getANSA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33561. end;
  33562. procedure TPORTA_ANSELA.setANSA1; inline;
  33563. begin
  33564. pTDefRegMap(@Self)^.&set := $00000002;
  33565. end;
  33566. procedure TPORTA_ANSELA.clearANSA1; inline;
  33567. begin
  33568. pTDefRegMap(@Self)^.clr := $00000002;
  33569. end;
  33570. procedure TPORTA_ANSELA.setANSA1(thebits : TBits_1); inline;
  33571. begin
  33572. if thebits = 0 then
  33573. pTDefRegMap(@Self)^.clr := $00000002
  33574. else
  33575. pTDefRegMap(@Self)^.&set := $00000002;
  33576. end;
  33577. function TPORTA_ANSELA.getANSA1 : TBits_1; inline;
  33578. begin
  33579. getANSA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33580. end;
  33581. procedure TPORTA_ANSELA.setw(thebits : TBits_32); inline;
  33582. begin
  33583. pTDefRegMap(@Self)^.val := thebits;
  33584. end;
  33585. function TPORTA_ANSELA.getw : TBits_32; inline;
  33586. begin
  33587. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33588. end;
  33589. procedure TPORTA_TRISA.setTRISA0; inline;
  33590. begin
  33591. pTDefRegMap(@Self)^.&set := $00000001;
  33592. end;
  33593. procedure TPORTA_TRISA.clearTRISA0; inline;
  33594. begin
  33595. pTDefRegMap(@Self)^.clr := $00000001;
  33596. end;
  33597. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  33598. begin
  33599. if thebits = 0 then
  33600. pTDefRegMap(@Self)^.clr := $00000001
  33601. else
  33602. pTDefRegMap(@Self)^.&set := $00000001;
  33603. end;
  33604. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  33605. begin
  33606. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33607. end;
  33608. procedure TPORTA_TRISA.setTRISA1; inline;
  33609. begin
  33610. pTDefRegMap(@Self)^.&set := $00000002;
  33611. end;
  33612. procedure TPORTA_TRISA.clearTRISA1; inline;
  33613. begin
  33614. pTDefRegMap(@Self)^.clr := $00000002;
  33615. end;
  33616. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  33617. begin
  33618. if thebits = 0 then
  33619. pTDefRegMap(@Self)^.clr := $00000002
  33620. else
  33621. pTDefRegMap(@Self)^.&set := $00000002;
  33622. end;
  33623. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  33624. begin
  33625. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33626. end;
  33627. procedure TPORTA_TRISA.setTRISA2; inline;
  33628. begin
  33629. pTDefRegMap(@Self)^.&set := $00000004;
  33630. end;
  33631. procedure TPORTA_TRISA.clearTRISA2; inline;
  33632. begin
  33633. pTDefRegMap(@Self)^.clr := $00000004;
  33634. end;
  33635. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  33636. begin
  33637. if thebits = 0 then
  33638. pTDefRegMap(@Self)^.clr := $00000004
  33639. else
  33640. pTDefRegMap(@Self)^.&set := $00000004;
  33641. end;
  33642. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  33643. begin
  33644. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33645. end;
  33646. procedure TPORTA_TRISA.setTRISA3; inline;
  33647. begin
  33648. pTDefRegMap(@Self)^.&set := $00000008;
  33649. end;
  33650. procedure TPORTA_TRISA.clearTRISA3; inline;
  33651. begin
  33652. pTDefRegMap(@Self)^.clr := $00000008;
  33653. end;
  33654. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  33655. begin
  33656. if thebits = 0 then
  33657. pTDefRegMap(@Self)^.clr := $00000008
  33658. else
  33659. pTDefRegMap(@Self)^.&set := $00000008;
  33660. end;
  33661. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  33662. begin
  33663. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33664. end;
  33665. procedure TPORTA_TRISA.setTRISA4; inline;
  33666. begin
  33667. pTDefRegMap(@Self)^.&set := $00000010;
  33668. end;
  33669. procedure TPORTA_TRISA.clearTRISA4; inline;
  33670. begin
  33671. pTDefRegMap(@Self)^.clr := $00000010;
  33672. end;
  33673. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  33674. begin
  33675. if thebits = 0 then
  33676. pTDefRegMap(@Self)^.clr := $00000010
  33677. else
  33678. pTDefRegMap(@Self)^.&set := $00000010;
  33679. end;
  33680. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  33681. begin
  33682. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33683. end;
  33684. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  33685. begin
  33686. pTDefRegMap(@Self)^.val := thebits;
  33687. end;
  33688. function TPORTA_TRISA.getw : TBits_32; inline;
  33689. begin
  33690. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33691. end;
  33692. procedure TPORTA_PORTA.setRA0; inline;
  33693. begin
  33694. pTDefRegMap(@Self)^.&set := $00000001;
  33695. end;
  33696. procedure TPORTA_PORTA.clearRA0; inline;
  33697. begin
  33698. pTDefRegMap(@Self)^.clr := $00000001;
  33699. end;
  33700. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  33701. begin
  33702. if thebits = 0 then
  33703. pTDefRegMap(@Self)^.clr := $00000001
  33704. else
  33705. pTDefRegMap(@Self)^.&set := $00000001;
  33706. end;
  33707. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  33708. begin
  33709. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33710. end;
  33711. procedure TPORTA_PORTA.setRA1; inline;
  33712. begin
  33713. pTDefRegMap(@Self)^.&set := $00000002;
  33714. end;
  33715. procedure TPORTA_PORTA.clearRA1; inline;
  33716. begin
  33717. pTDefRegMap(@Self)^.clr := $00000002;
  33718. end;
  33719. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  33720. begin
  33721. if thebits = 0 then
  33722. pTDefRegMap(@Self)^.clr := $00000002
  33723. else
  33724. pTDefRegMap(@Self)^.&set := $00000002;
  33725. end;
  33726. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  33727. begin
  33728. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33729. end;
  33730. procedure TPORTA_PORTA.setRA2; inline;
  33731. begin
  33732. pTDefRegMap(@Self)^.&set := $00000004;
  33733. end;
  33734. procedure TPORTA_PORTA.clearRA2; inline;
  33735. begin
  33736. pTDefRegMap(@Self)^.clr := $00000004;
  33737. end;
  33738. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  33739. begin
  33740. if thebits = 0 then
  33741. pTDefRegMap(@Self)^.clr := $00000004
  33742. else
  33743. pTDefRegMap(@Self)^.&set := $00000004;
  33744. end;
  33745. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  33746. begin
  33747. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33748. end;
  33749. procedure TPORTA_PORTA.setRA3; inline;
  33750. begin
  33751. pTDefRegMap(@Self)^.&set := $00000008;
  33752. end;
  33753. procedure TPORTA_PORTA.clearRA3; inline;
  33754. begin
  33755. pTDefRegMap(@Self)^.clr := $00000008;
  33756. end;
  33757. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  33758. begin
  33759. if thebits = 0 then
  33760. pTDefRegMap(@Self)^.clr := $00000008
  33761. else
  33762. pTDefRegMap(@Self)^.&set := $00000008;
  33763. end;
  33764. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  33765. begin
  33766. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33767. end;
  33768. procedure TPORTA_PORTA.setRA4; inline;
  33769. begin
  33770. pTDefRegMap(@Self)^.&set := $00000010;
  33771. end;
  33772. procedure TPORTA_PORTA.clearRA4; inline;
  33773. begin
  33774. pTDefRegMap(@Self)^.clr := $00000010;
  33775. end;
  33776. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  33777. begin
  33778. if thebits = 0 then
  33779. pTDefRegMap(@Self)^.clr := $00000010
  33780. else
  33781. pTDefRegMap(@Self)^.&set := $00000010;
  33782. end;
  33783. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  33784. begin
  33785. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33786. end;
  33787. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  33788. begin
  33789. pTDefRegMap(@Self)^.val := thebits;
  33790. end;
  33791. function TPORTA_PORTA.getw : TBits_32; inline;
  33792. begin
  33793. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33794. end;
  33795. procedure TPORTA_LATA.setLATA0; inline;
  33796. begin
  33797. pTDefRegMap(@Self)^.&set := $00000001;
  33798. end;
  33799. procedure TPORTA_LATA.clearLATA0; inline;
  33800. begin
  33801. pTDefRegMap(@Self)^.clr := $00000001;
  33802. end;
  33803. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  33804. begin
  33805. if thebits = 0 then
  33806. pTDefRegMap(@Self)^.clr := $00000001
  33807. else
  33808. pTDefRegMap(@Self)^.&set := $00000001;
  33809. end;
  33810. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  33811. begin
  33812. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33813. end;
  33814. procedure TPORTA_LATA.setLATA1; inline;
  33815. begin
  33816. pTDefRegMap(@Self)^.&set := $00000002;
  33817. end;
  33818. procedure TPORTA_LATA.clearLATA1; inline;
  33819. begin
  33820. pTDefRegMap(@Self)^.clr := $00000002;
  33821. end;
  33822. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  33823. begin
  33824. if thebits = 0 then
  33825. pTDefRegMap(@Self)^.clr := $00000002
  33826. else
  33827. pTDefRegMap(@Self)^.&set := $00000002;
  33828. end;
  33829. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  33830. begin
  33831. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33832. end;
  33833. procedure TPORTA_LATA.setLATA2; inline;
  33834. begin
  33835. pTDefRegMap(@Self)^.&set := $00000004;
  33836. end;
  33837. procedure TPORTA_LATA.clearLATA2; inline;
  33838. begin
  33839. pTDefRegMap(@Self)^.clr := $00000004;
  33840. end;
  33841. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  33842. begin
  33843. if thebits = 0 then
  33844. pTDefRegMap(@Self)^.clr := $00000004
  33845. else
  33846. pTDefRegMap(@Self)^.&set := $00000004;
  33847. end;
  33848. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  33849. begin
  33850. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33851. end;
  33852. procedure TPORTA_LATA.setLATA3; inline;
  33853. begin
  33854. pTDefRegMap(@Self)^.&set := $00000008;
  33855. end;
  33856. procedure TPORTA_LATA.clearLATA3; inline;
  33857. begin
  33858. pTDefRegMap(@Self)^.clr := $00000008;
  33859. end;
  33860. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  33861. begin
  33862. if thebits = 0 then
  33863. pTDefRegMap(@Self)^.clr := $00000008
  33864. else
  33865. pTDefRegMap(@Self)^.&set := $00000008;
  33866. end;
  33867. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  33868. begin
  33869. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33870. end;
  33871. procedure TPORTA_LATA.setLATA4; inline;
  33872. begin
  33873. pTDefRegMap(@Self)^.&set := $00000010;
  33874. end;
  33875. procedure TPORTA_LATA.clearLATA4; inline;
  33876. begin
  33877. pTDefRegMap(@Self)^.clr := $00000010;
  33878. end;
  33879. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  33880. begin
  33881. if thebits = 0 then
  33882. pTDefRegMap(@Self)^.clr := $00000010
  33883. else
  33884. pTDefRegMap(@Self)^.&set := $00000010;
  33885. end;
  33886. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  33887. begin
  33888. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33889. end;
  33890. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  33891. begin
  33892. pTDefRegMap(@Self)^.val := thebits;
  33893. end;
  33894. function TPORTA_LATA.getw : TBits_32; inline;
  33895. begin
  33896. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33897. end;
  33898. procedure TPORTA_CNPUA.setCNPUA0; inline;
  33899. begin
  33900. pTDefRegMap(@Self)^.&set := $00000001;
  33901. end;
  33902. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  33903. begin
  33904. pTDefRegMap(@Self)^.clr := $00000001;
  33905. end;
  33906. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  33907. begin
  33908. if thebits = 0 then
  33909. pTDefRegMap(@Self)^.clr := $00000001
  33910. else
  33911. pTDefRegMap(@Self)^.&set := $00000001;
  33912. end;
  33913. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  33914. begin
  33915. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33916. end;
  33917. procedure TPORTA_CNPUA.setCNPUA1; inline;
  33918. begin
  33919. pTDefRegMap(@Self)^.&set := $00000002;
  33920. end;
  33921. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  33922. begin
  33923. pTDefRegMap(@Self)^.clr := $00000002;
  33924. end;
  33925. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  33926. begin
  33927. if thebits = 0 then
  33928. pTDefRegMap(@Self)^.clr := $00000002
  33929. else
  33930. pTDefRegMap(@Self)^.&set := $00000002;
  33931. end;
  33932. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  33933. begin
  33934. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33935. end;
  33936. procedure TPORTA_CNPUA.setCNPUA2; inline;
  33937. begin
  33938. pTDefRegMap(@Self)^.&set := $00000004;
  33939. end;
  33940. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  33941. begin
  33942. pTDefRegMap(@Self)^.clr := $00000004;
  33943. end;
  33944. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  33945. begin
  33946. if thebits = 0 then
  33947. pTDefRegMap(@Self)^.clr := $00000004
  33948. else
  33949. pTDefRegMap(@Self)^.&set := $00000004;
  33950. end;
  33951. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  33952. begin
  33953. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33954. end;
  33955. procedure TPORTA_CNPUA.setCNPUA3; inline;
  33956. begin
  33957. pTDefRegMap(@Self)^.&set := $00000008;
  33958. end;
  33959. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  33960. begin
  33961. pTDefRegMap(@Self)^.clr := $00000008;
  33962. end;
  33963. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  33964. begin
  33965. if thebits = 0 then
  33966. pTDefRegMap(@Self)^.clr := $00000008
  33967. else
  33968. pTDefRegMap(@Self)^.&set := $00000008;
  33969. end;
  33970. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  33971. begin
  33972. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33973. end;
  33974. procedure TPORTA_CNPUA.setCNPUA4; inline;
  33975. begin
  33976. pTDefRegMap(@Self)^.&set := $00000010;
  33977. end;
  33978. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  33979. begin
  33980. pTDefRegMap(@Self)^.clr := $00000010;
  33981. end;
  33982. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  33983. begin
  33984. if thebits = 0 then
  33985. pTDefRegMap(@Self)^.clr := $00000010
  33986. else
  33987. pTDefRegMap(@Self)^.&set := $00000010;
  33988. end;
  33989. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  33990. begin
  33991. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33992. end;
  33993. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  33994. begin
  33995. pTDefRegMap(@Self)^.val := thebits;
  33996. end;
  33997. function TPORTA_CNPUA.getw : TBits_32; inline;
  33998. begin
  33999. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34000. end;
  34001. procedure TPORTA_CNPDA.setCNPDA0; inline;
  34002. begin
  34003. pTDefRegMap(@Self)^.&set := $00000001;
  34004. end;
  34005. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  34006. begin
  34007. pTDefRegMap(@Self)^.clr := $00000001;
  34008. end;
  34009. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  34010. begin
  34011. if thebits = 0 then
  34012. pTDefRegMap(@Self)^.clr := $00000001
  34013. else
  34014. pTDefRegMap(@Self)^.&set := $00000001;
  34015. end;
  34016. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  34017. begin
  34018. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34019. end;
  34020. procedure TPORTA_CNPDA.setCNPDA1; inline;
  34021. begin
  34022. pTDefRegMap(@Self)^.&set := $00000002;
  34023. end;
  34024. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  34025. begin
  34026. pTDefRegMap(@Self)^.clr := $00000002;
  34027. end;
  34028. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  34029. begin
  34030. if thebits = 0 then
  34031. pTDefRegMap(@Self)^.clr := $00000002
  34032. else
  34033. pTDefRegMap(@Self)^.&set := $00000002;
  34034. end;
  34035. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  34036. begin
  34037. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34038. end;
  34039. procedure TPORTA_CNPDA.setCNPDA2; inline;
  34040. begin
  34041. pTDefRegMap(@Self)^.&set := $00000004;
  34042. end;
  34043. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  34044. begin
  34045. pTDefRegMap(@Self)^.clr := $00000004;
  34046. end;
  34047. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  34048. begin
  34049. if thebits = 0 then
  34050. pTDefRegMap(@Self)^.clr := $00000004
  34051. else
  34052. pTDefRegMap(@Self)^.&set := $00000004;
  34053. end;
  34054. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  34055. begin
  34056. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34057. end;
  34058. procedure TPORTA_CNPDA.setCNPDA3; inline;
  34059. begin
  34060. pTDefRegMap(@Self)^.&set := $00000008;
  34061. end;
  34062. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  34063. begin
  34064. pTDefRegMap(@Self)^.clr := $00000008;
  34065. end;
  34066. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  34067. begin
  34068. if thebits = 0 then
  34069. pTDefRegMap(@Self)^.clr := $00000008
  34070. else
  34071. pTDefRegMap(@Self)^.&set := $00000008;
  34072. end;
  34073. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  34074. begin
  34075. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34076. end;
  34077. procedure TPORTA_CNPDA.setCNPDA4; inline;
  34078. begin
  34079. pTDefRegMap(@Self)^.&set := $00000010;
  34080. end;
  34081. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  34082. begin
  34083. pTDefRegMap(@Self)^.clr := $00000010;
  34084. end;
  34085. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  34086. begin
  34087. if thebits = 0 then
  34088. pTDefRegMap(@Self)^.clr := $00000010
  34089. else
  34090. pTDefRegMap(@Self)^.&set := $00000010;
  34091. end;
  34092. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  34093. begin
  34094. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34095. end;
  34096. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  34097. begin
  34098. pTDefRegMap(@Self)^.val := thebits;
  34099. end;
  34100. function TPORTA_CNPDA.getw : TBits_32; inline;
  34101. begin
  34102. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34103. end;
  34104. procedure TPORTA_CNCONA.setSIDL; inline;
  34105. begin
  34106. pTDefRegMap(@Self)^.&set := $00002000;
  34107. end;
  34108. procedure TPORTA_CNCONA.clearSIDL; inline;
  34109. begin
  34110. pTDefRegMap(@Self)^.clr := $00002000;
  34111. end;
  34112. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  34113. begin
  34114. if thebits = 0 then
  34115. pTDefRegMap(@Self)^.clr := $00002000
  34116. else
  34117. pTDefRegMap(@Self)^.&set := $00002000;
  34118. end;
  34119. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  34120. begin
  34121. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34122. end;
  34123. procedure TPORTA_CNCONA.setON; inline;
  34124. begin
  34125. pTDefRegMap(@Self)^.&set := $00008000;
  34126. end;
  34127. procedure TPORTA_CNCONA.clearON; inline;
  34128. begin
  34129. pTDefRegMap(@Self)^.clr := $00008000;
  34130. end;
  34131. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  34132. begin
  34133. if thebits = 0 then
  34134. pTDefRegMap(@Self)^.clr := $00008000
  34135. else
  34136. pTDefRegMap(@Self)^.&set := $00008000;
  34137. end;
  34138. function TPORTA_CNCONA.getON : TBits_1; inline;
  34139. begin
  34140. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34141. end;
  34142. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  34143. begin
  34144. pTDefRegMap(@Self)^.val := thebits;
  34145. end;
  34146. function TPORTA_CNCONA.getw : TBits_32; inline;
  34147. begin
  34148. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34149. end;
  34150. procedure TPORTA_CNENA.setCNIEA0; inline;
  34151. begin
  34152. pTDefRegMap(@Self)^.&set := $00000001;
  34153. end;
  34154. procedure TPORTA_CNENA.clearCNIEA0; inline;
  34155. begin
  34156. pTDefRegMap(@Self)^.clr := $00000001;
  34157. end;
  34158. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  34159. begin
  34160. if thebits = 0 then
  34161. pTDefRegMap(@Self)^.clr := $00000001
  34162. else
  34163. pTDefRegMap(@Self)^.&set := $00000001;
  34164. end;
  34165. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  34166. begin
  34167. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34168. end;
  34169. procedure TPORTA_CNENA.setCNIEA1; inline;
  34170. begin
  34171. pTDefRegMap(@Self)^.&set := $00000002;
  34172. end;
  34173. procedure TPORTA_CNENA.clearCNIEA1; inline;
  34174. begin
  34175. pTDefRegMap(@Self)^.clr := $00000002;
  34176. end;
  34177. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  34178. begin
  34179. if thebits = 0 then
  34180. pTDefRegMap(@Self)^.clr := $00000002
  34181. else
  34182. pTDefRegMap(@Self)^.&set := $00000002;
  34183. end;
  34184. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  34185. begin
  34186. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34187. end;
  34188. procedure TPORTA_CNENA.setCNIEA2; inline;
  34189. begin
  34190. pTDefRegMap(@Self)^.&set := $00000004;
  34191. end;
  34192. procedure TPORTA_CNENA.clearCNIEA2; inline;
  34193. begin
  34194. pTDefRegMap(@Self)^.clr := $00000004;
  34195. end;
  34196. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  34197. begin
  34198. if thebits = 0 then
  34199. pTDefRegMap(@Self)^.clr := $00000004
  34200. else
  34201. pTDefRegMap(@Self)^.&set := $00000004;
  34202. end;
  34203. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  34204. begin
  34205. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34206. end;
  34207. procedure TPORTA_CNENA.setCNIEA3; inline;
  34208. begin
  34209. pTDefRegMap(@Self)^.&set := $00000008;
  34210. end;
  34211. procedure TPORTA_CNENA.clearCNIEA3; inline;
  34212. begin
  34213. pTDefRegMap(@Self)^.clr := $00000008;
  34214. end;
  34215. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  34216. begin
  34217. if thebits = 0 then
  34218. pTDefRegMap(@Self)^.clr := $00000008
  34219. else
  34220. pTDefRegMap(@Self)^.&set := $00000008;
  34221. end;
  34222. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  34223. begin
  34224. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34225. end;
  34226. procedure TPORTA_CNENA.setCNIEA4; inline;
  34227. begin
  34228. pTDefRegMap(@Self)^.&set := $00000010;
  34229. end;
  34230. procedure TPORTA_CNENA.clearCNIEA4; inline;
  34231. begin
  34232. pTDefRegMap(@Self)^.clr := $00000010;
  34233. end;
  34234. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  34235. begin
  34236. if thebits = 0 then
  34237. pTDefRegMap(@Self)^.clr := $00000010
  34238. else
  34239. pTDefRegMap(@Self)^.&set := $00000010;
  34240. end;
  34241. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  34242. begin
  34243. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34244. end;
  34245. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  34246. begin
  34247. pTDefRegMap(@Self)^.val := thebits;
  34248. end;
  34249. function TPORTA_CNENA.getw : TBits_32; inline;
  34250. begin
  34251. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34252. end;
  34253. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  34254. begin
  34255. pTDefRegMap(@Self)^.&set := $00000001;
  34256. end;
  34257. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  34258. begin
  34259. pTDefRegMap(@Self)^.clr := $00000001;
  34260. end;
  34261. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  34262. begin
  34263. if thebits = 0 then
  34264. pTDefRegMap(@Self)^.clr := $00000001
  34265. else
  34266. pTDefRegMap(@Self)^.&set := $00000001;
  34267. end;
  34268. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  34269. begin
  34270. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34271. end;
  34272. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  34273. begin
  34274. pTDefRegMap(@Self)^.&set := $00000002;
  34275. end;
  34276. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  34277. begin
  34278. pTDefRegMap(@Self)^.clr := $00000002;
  34279. end;
  34280. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  34281. begin
  34282. if thebits = 0 then
  34283. pTDefRegMap(@Self)^.clr := $00000002
  34284. else
  34285. pTDefRegMap(@Self)^.&set := $00000002;
  34286. end;
  34287. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  34288. begin
  34289. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34290. end;
  34291. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  34292. begin
  34293. pTDefRegMap(@Self)^.&set := $00000004;
  34294. end;
  34295. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  34296. begin
  34297. pTDefRegMap(@Self)^.clr := $00000004;
  34298. end;
  34299. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  34300. begin
  34301. if thebits = 0 then
  34302. pTDefRegMap(@Self)^.clr := $00000004
  34303. else
  34304. pTDefRegMap(@Self)^.&set := $00000004;
  34305. end;
  34306. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  34307. begin
  34308. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34309. end;
  34310. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  34311. begin
  34312. pTDefRegMap(@Self)^.&set := $00000008;
  34313. end;
  34314. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  34315. begin
  34316. pTDefRegMap(@Self)^.clr := $00000008;
  34317. end;
  34318. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  34319. begin
  34320. if thebits = 0 then
  34321. pTDefRegMap(@Self)^.clr := $00000008
  34322. else
  34323. pTDefRegMap(@Self)^.&set := $00000008;
  34324. end;
  34325. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  34326. begin
  34327. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34328. end;
  34329. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  34330. begin
  34331. pTDefRegMap(@Self)^.&set := $00000010;
  34332. end;
  34333. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  34334. begin
  34335. pTDefRegMap(@Self)^.clr := $00000010;
  34336. end;
  34337. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  34338. begin
  34339. if thebits = 0 then
  34340. pTDefRegMap(@Self)^.clr := $00000010
  34341. else
  34342. pTDefRegMap(@Self)^.&set := $00000010;
  34343. end;
  34344. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  34345. begin
  34346. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34347. end;
  34348. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  34349. begin
  34350. pTDefRegMap(@Self)^.val := thebits;
  34351. end;
  34352. function TPORTA_CNSTATA.getw : TBits_32; inline;
  34353. begin
  34354. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34355. end;
  34356. procedure TPORTB_ANSELB.setANSB0; inline;
  34357. begin
  34358. pTDefRegMap(@Self)^.&set := $00000001;
  34359. end;
  34360. procedure TPORTB_ANSELB.clearANSB0; inline;
  34361. begin
  34362. pTDefRegMap(@Self)^.clr := $00000001;
  34363. end;
  34364. procedure TPORTB_ANSELB.setANSB0(thebits : TBits_1); inline;
  34365. begin
  34366. if thebits = 0 then
  34367. pTDefRegMap(@Self)^.clr := $00000001
  34368. else
  34369. pTDefRegMap(@Self)^.&set := $00000001;
  34370. end;
  34371. function TPORTB_ANSELB.getANSB0 : TBits_1; inline;
  34372. begin
  34373. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34374. end;
  34375. procedure TPORTB_ANSELB.setANSB1; inline;
  34376. begin
  34377. pTDefRegMap(@Self)^.&set := $00000002;
  34378. end;
  34379. procedure TPORTB_ANSELB.clearANSB1; inline;
  34380. begin
  34381. pTDefRegMap(@Self)^.clr := $00000002;
  34382. end;
  34383. procedure TPORTB_ANSELB.setANSB1(thebits : TBits_1); inline;
  34384. begin
  34385. if thebits = 0 then
  34386. pTDefRegMap(@Self)^.clr := $00000002
  34387. else
  34388. pTDefRegMap(@Self)^.&set := $00000002;
  34389. end;
  34390. function TPORTB_ANSELB.getANSB1 : TBits_1; inline;
  34391. begin
  34392. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34393. end;
  34394. procedure TPORTB_ANSELB.setANSB2; inline;
  34395. begin
  34396. pTDefRegMap(@Self)^.&set := $00000004;
  34397. end;
  34398. procedure TPORTB_ANSELB.clearANSB2; inline;
  34399. begin
  34400. pTDefRegMap(@Self)^.clr := $00000004;
  34401. end;
  34402. procedure TPORTB_ANSELB.setANSB2(thebits : TBits_1); inline;
  34403. begin
  34404. if thebits = 0 then
  34405. pTDefRegMap(@Self)^.clr := $00000004
  34406. else
  34407. pTDefRegMap(@Self)^.&set := $00000004;
  34408. end;
  34409. function TPORTB_ANSELB.getANSB2 : TBits_1; inline;
  34410. begin
  34411. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34412. end;
  34413. procedure TPORTB_ANSELB.setANSB3; inline;
  34414. begin
  34415. pTDefRegMap(@Self)^.&set := $00000008;
  34416. end;
  34417. procedure TPORTB_ANSELB.clearANSB3; inline;
  34418. begin
  34419. pTDefRegMap(@Self)^.clr := $00000008;
  34420. end;
  34421. procedure TPORTB_ANSELB.setANSB3(thebits : TBits_1); inline;
  34422. begin
  34423. if thebits = 0 then
  34424. pTDefRegMap(@Self)^.clr := $00000008
  34425. else
  34426. pTDefRegMap(@Self)^.&set := $00000008;
  34427. end;
  34428. function TPORTB_ANSELB.getANSB3 : TBits_1; inline;
  34429. begin
  34430. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34431. end;
  34432. procedure TPORTB_ANSELB.setANSB13; inline;
  34433. begin
  34434. pTDefRegMap(@Self)^.&set := $00002000;
  34435. end;
  34436. procedure TPORTB_ANSELB.clearANSB13; inline;
  34437. begin
  34438. pTDefRegMap(@Self)^.clr := $00002000;
  34439. end;
  34440. procedure TPORTB_ANSELB.setANSB13(thebits : TBits_1); inline;
  34441. begin
  34442. if thebits = 0 then
  34443. pTDefRegMap(@Self)^.clr := $00002000
  34444. else
  34445. pTDefRegMap(@Self)^.&set := $00002000;
  34446. end;
  34447. function TPORTB_ANSELB.getANSB13 : TBits_1; inline;
  34448. begin
  34449. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34450. end;
  34451. procedure TPORTB_ANSELB.setANSB14; inline;
  34452. begin
  34453. pTDefRegMap(@Self)^.&set := $00004000;
  34454. end;
  34455. procedure TPORTB_ANSELB.clearANSB14; inline;
  34456. begin
  34457. pTDefRegMap(@Self)^.clr := $00004000;
  34458. end;
  34459. procedure TPORTB_ANSELB.setANSB14(thebits : TBits_1); inline;
  34460. begin
  34461. if thebits = 0 then
  34462. pTDefRegMap(@Self)^.clr := $00004000
  34463. else
  34464. pTDefRegMap(@Self)^.&set := $00004000;
  34465. end;
  34466. function TPORTB_ANSELB.getANSB14 : TBits_1; inline;
  34467. begin
  34468. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34469. end;
  34470. procedure TPORTB_ANSELB.setANSB15; inline;
  34471. begin
  34472. pTDefRegMap(@Self)^.&set := $00008000;
  34473. end;
  34474. procedure TPORTB_ANSELB.clearANSB15; inline;
  34475. begin
  34476. pTDefRegMap(@Self)^.clr := $00008000;
  34477. end;
  34478. procedure TPORTB_ANSELB.setANSB15(thebits : TBits_1); inline;
  34479. begin
  34480. if thebits = 0 then
  34481. pTDefRegMap(@Self)^.clr := $00008000
  34482. else
  34483. pTDefRegMap(@Self)^.&set := $00008000;
  34484. end;
  34485. function TPORTB_ANSELB.getANSB15 : TBits_1; inline;
  34486. begin
  34487. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34488. end;
  34489. procedure TPORTB_ANSELB.setw(thebits : TBits_32); inline;
  34490. begin
  34491. pTDefRegMap(@Self)^.val := thebits;
  34492. end;
  34493. function TPORTB_ANSELB.getw : TBits_32; inline;
  34494. begin
  34495. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34496. end;
  34497. procedure TPORTB_TRISB.setTRISB0; inline;
  34498. begin
  34499. pTDefRegMap(@Self)^.&set := $00000001;
  34500. end;
  34501. procedure TPORTB_TRISB.clearTRISB0; inline;
  34502. begin
  34503. pTDefRegMap(@Self)^.clr := $00000001;
  34504. end;
  34505. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  34506. begin
  34507. if thebits = 0 then
  34508. pTDefRegMap(@Self)^.clr := $00000001
  34509. else
  34510. pTDefRegMap(@Self)^.&set := $00000001;
  34511. end;
  34512. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  34513. begin
  34514. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34515. end;
  34516. procedure TPORTB_TRISB.setTRISB1; inline;
  34517. begin
  34518. pTDefRegMap(@Self)^.&set := $00000002;
  34519. end;
  34520. procedure TPORTB_TRISB.clearTRISB1; inline;
  34521. begin
  34522. pTDefRegMap(@Self)^.clr := $00000002;
  34523. end;
  34524. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  34525. begin
  34526. if thebits = 0 then
  34527. pTDefRegMap(@Self)^.clr := $00000002
  34528. else
  34529. pTDefRegMap(@Self)^.&set := $00000002;
  34530. end;
  34531. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  34532. begin
  34533. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34534. end;
  34535. procedure TPORTB_TRISB.setTRISB2; inline;
  34536. begin
  34537. pTDefRegMap(@Self)^.&set := $00000004;
  34538. end;
  34539. procedure TPORTB_TRISB.clearTRISB2; inline;
  34540. begin
  34541. pTDefRegMap(@Self)^.clr := $00000004;
  34542. end;
  34543. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  34544. begin
  34545. if thebits = 0 then
  34546. pTDefRegMap(@Self)^.clr := $00000004
  34547. else
  34548. pTDefRegMap(@Self)^.&set := $00000004;
  34549. end;
  34550. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  34551. begin
  34552. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34553. end;
  34554. procedure TPORTB_TRISB.setTRISB3; inline;
  34555. begin
  34556. pTDefRegMap(@Self)^.&set := $00000008;
  34557. end;
  34558. procedure TPORTB_TRISB.clearTRISB3; inline;
  34559. begin
  34560. pTDefRegMap(@Self)^.clr := $00000008;
  34561. end;
  34562. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  34563. begin
  34564. if thebits = 0 then
  34565. pTDefRegMap(@Self)^.clr := $00000008
  34566. else
  34567. pTDefRegMap(@Self)^.&set := $00000008;
  34568. end;
  34569. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  34570. begin
  34571. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34572. end;
  34573. procedure TPORTB_TRISB.setTRISB4; inline;
  34574. begin
  34575. pTDefRegMap(@Self)^.&set := $00000010;
  34576. end;
  34577. procedure TPORTB_TRISB.clearTRISB4; inline;
  34578. begin
  34579. pTDefRegMap(@Self)^.clr := $00000010;
  34580. end;
  34581. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  34582. begin
  34583. if thebits = 0 then
  34584. pTDefRegMap(@Self)^.clr := $00000010
  34585. else
  34586. pTDefRegMap(@Self)^.&set := $00000010;
  34587. end;
  34588. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  34589. begin
  34590. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34591. end;
  34592. procedure TPORTB_TRISB.setTRISB5; inline;
  34593. begin
  34594. pTDefRegMap(@Self)^.&set := $00000020;
  34595. end;
  34596. procedure TPORTB_TRISB.clearTRISB5; inline;
  34597. begin
  34598. pTDefRegMap(@Self)^.clr := $00000020;
  34599. end;
  34600. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  34601. begin
  34602. if thebits = 0 then
  34603. pTDefRegMap(@Self)^.clr := $00000020
  34604. else
  34605. pTDefRegMap(@Self)^.&set := $00000020;
  34606. end;
  34607. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  34608. begin
  34609. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34610. end;
  34611. procedure TPORTB_TRISB.setTRISB7; inline;
  34612. begin
  34613. pTDefRegMap(@Self)^.&set := $00000080;
  34614. end;
  34615. procedure TPORTB_TRISB.clearTRISB7; inline;
  34616. begin
  34617. pTDefRegMap(@Self)^.clr := $00000080;
  34618. end;
  34619. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  34620. begin
  34621. if thebits = 0 then
  34622. pTDefRegMap(@Self)^.clr := $00000080
  34623. else
  34624. pTDefRegMap(@Self)^.&set := $00000080;
  34625. end;
  34626. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  34627. begin
  34628. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34629. end;
  34630. procedure TPORTB_TRISB.setTRISB8; inline;
  34631. begin
  34632. pTDefRegMap(@Self)^.&set := $00000100;
  34633. end;
  34634. procedure TPORTB_TRISB.clearTRISB8; inline;
  34635. begin
  34636. pTDefRegMap(@Self)^.clr := $00000100;
  34637. end;
  34638. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  34639. begin
  34640. if thebits = 0 then
  34641. pTDefRegMap(@Self)^.clr := $00000100
  34642. else
  34643. pTDefRegMap(@Self)^.&set := $00000100;
  34644. end;
  34645. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  34646. begin
  34647. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34648. end;
  34649. procedure TPORTB_TRISB.setTRISB9; inline;
  34650. begin
  34651. pTDefRegMap(@Self)^.&set := $00000200;
  34652. end;
  34653. procedure TPORTB_TRISB.clearTRISB9; inline;
  34654. begin
  34655. pTDefRegMap(@Self)^.clr := $00000200;
  34656. end;
  34657. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  34658. begin
  34659. if thebits = 0 then
  34660. pTDefRegMap(@Self)^.clr := $00000200
  34661. else
  34662. pTDefRegMap(@Self)^.&set := $00000200;
  34663. end;
  34664. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  34665. begin
  34666. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34667. end;
  34668. procedure TPORTB_TRISB.setTRISB10; inline;
  34669. begin
  34670. pTDefRegMap(@Self)^.&set := $00000400;
  34671. end;
  34672. procedure TPORTB_TRISB.clearTRISB10; inline;
  34673. begin
  34674. pTDefRegMap(@Self)^.clr := $00000400;
  34675. end;
  34676. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  34677. begin
  34678. if thebits = 0 then
  34679. pTDefRegMap(@Self)^.clr := $00000400
  34680. else
  34681. pTDefRegMap(@Self)^.&set := $00000400;
  34682. end;
  34683. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  34684. begin
  34685. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34686. end;
  34687. procedure TPORTB_TRISB.setTRISB11; inline;
  34688. begin
  34689. pTDefRegMap(@Self)^.&set := $00000800;
  34690. end;
  34691. procedure TPORTB_TRISB.clearTRISB11; inline;
  34692. begin
  34693. pTDefRegMap(@Self)^.clr := $00000800;
  34694. end;
  34695. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  34696. begin
  34697. if thebits = 0 then
  34698. pTDefRegMap(@Self)^.clr := $00000800
  34699. else
  34700. pTDefRegMap(@Self)^.&set := $00000800;
  34701. end;
  34702. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  34703. begin
  34704. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34705. end;
  34706. procedure TPORTB_TRISB.setTRISB13; inline;
  34707. begin
  34708. pTDefRegMap(@Self)^.&set := $00002000;
  34709. end;
  34710. procedure TPORTB_TRISB.clearTRISB13; inline;
  34711. begin
  34712. pTDefRegMap(@Self)^.clr := $00002000;
  34713. end;
  34714. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  34715. begin
  34716. if thebits = 0 then
  34717. pTDefRegMap(@Self)^.clr := $00002000
  34718. else
  34719. pTDefRegMap(@Self)^.&set := $00002000;
  34720. end;
  34721. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  34722. begin
  34723. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34724. end;
  34725. procedure TPORTB_TRISB.setTRISB14; inline;
  34726. begin
  34727. pTDefRegMap(@Self)^.&set := $00004000;
  34728. end;
  34729. procedure TPORTB_TRISB.clearTRISB14; inline;
  34730. begin
  34731. pTDefRegMap(@Self)^.clr := $00004000;
  34732. end;
  34733. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  34734. begin
  34735. if thebits = 0 then
  34736. pTDefRegMap(@Self)^.clr := $00004000
  34737. else
  34738. pTDefRegMap(@Self)^.&set := $00004000;
  34739. end;
  34740. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  34741. begin
  34742. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34743. end;
  34744. procedure TPORTB_TRISB.setTRISB15; inline;
  34745. begin
  34746. pTDefRegMap(@Self)^.&set := $00008000;
  34747. end;
  34748. procedure TPORTB_TRISB.clearTRISB15; inline;
  34749. begin
  34750. pTDefRegMap(@Self)^.clr := $00008000;
  34751. end;
  34752. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  34753. begin
  34754. if thebits = 0 then
  34755. pTDefRegMap(@Self)^.clr := $00008000
  34756. else
  34757. pTDefRegMap(@Self)^.&set := $00008000;
  34758. end;
  34759. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  34760. begin
  34761. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34762. end;
  34763. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  34764. begin
  34765. pTDefRegMap(@Self)^.val := thebits;
  34766. end;
  34767. function TPORTB_TRISB.getw : TBits_32; inline;
  34768. begin
  34769. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34770. end;
  34771. procedure TPORTB_PORTB.setRB0; inline;
  34772. begin
  34773. pTDefRegMap(@Self)^.&set := $00000001;
  34774. end;
  34775. procedure TPORTB_PORTB.clearRB0; inline;
  34776. begin
  34777. pTDefRegMap(@Self)^.clr := $00000001;
  34778. end;
  34779. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  34780. begin
  34781. if thebits = 0 then
  34782. pTDefRegMap(@Self)^.clr := $00000001
  34783. else
  34784. pTDefRegMap(@Self)^.&set := $00000001;
  34785. end;
  34786. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  34787. begin
  34788. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34789. end;
  34790. procedure TPORTB_PORTB.setRB1; inline;
  34791. begin
  34792. pTDefRegMap(@Self)^.&set := $00000002;
  34793. end;
  34794. procedure TPORTB_PORTB.clearRB1; inline;
  34795. begin
  34796. pTDefRegMap(@Self)^.clr := $00000002;
  34797. end;
  34798. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  34799. begin
  34800. if thebits = 0 then
  34801. pTDefRegMap(@Self)^.clr := $00000002
  34802. else
  34803. pTDefRegMap(@Self)^.&set := $00000002;
  34804. end;
  34805. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  34806. begin
  34807. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34808. end;
  34809. procedure TPORTB_PORTB.setRB2; inline;
  34810. begin
  34811. pTDefRegMap(@Self)^.&set := $00000004;
  34812. end;
  34813. procedure TPORTB_PORTB.clearRB2; inline;
  34814. begin
  34815. pTDefRegMap(@Self)^.clr := $00000004;
  34816. end;
  34817. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  34818. begin
  34819. if thebits = 0 then
  34820. pTDefRegMap(@Self)^.clr := $00000004
  34821. else
  34822. pTDefRegMap(@Self)^.&set := $00000004;
  34823. end;
  34824. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  34825. begin
  34826. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34827. end;
  34828. procedure TPORTB_PORTB.setRB3; inline;
  34829. begin
  34830. pTDefRegMap(@Self)^.&set := $00000008;
  34831. end;
  34832. procedure TPORTB_PORTB.clearRB3; inline;
  34833. begin
  34834. pTDefRegMap(@Self)^.clr := $00000008;
  34835. end;
  34836. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  34837. begin
  34838. if thebits = 0 then
  34839. pTDefRegMap(@Self)^.clr := $00000008
  34840. else
  34841. pTDefRegMap(@Self)^.&set := $00000008;
  34842. end;
  34843. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  34844. begin
  34845. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34846. end;
  34847. procedure TPORTB_PORTB.setRB4; inline;
  34848. begin
  34849. pTDefRegMap(@Self)^.&set := $00000010;
  34850. end;
  34851. procedure TPORTB_PORTB.clearRB4; inline;
  34852. begin
  34853. pTDefRegMap(@Self)^.clr := $00000010;
  34854. end;
  34855. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  34856. begin
  34857. if thebits = 0 then
  34858. pTDefRegMap(@Self)^.clr := $00000010
  34859. else
  34860. pTDefRegMap(@Self)^.&set := $00000010;
  34861. end;
  34862. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  34863. begin
  34864. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34865. end;
  34866. procedure TPORTB_PORTB.setRB5; inline;
  34867. begin
  34868. pTDefRegMap(@Self)^.&set := $00000020;
  34869. end;
  34870. procedure TPORTB_PORTB.clearRB5; inline;
  34871. begin
  34872. pTDefRegMap(@Self)^.clr := $00000020;
  34873. end;
  34874. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  34875. begin
  34876. if thebits = 0 then
  34877. pTDefRegMap(@Self)^.clr := $00000020
  34878. else
  34879. pTDefRegMap(@Self)^.&set := $00000020;
  34880. end;
  34881. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  34882. begin
  34883. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34884. end;
  34885. procedure TPORTB_PORTB.setRB7; inline;
  34886. begin
  34887. pTDefRegMap(@Self)^.&set := $00000080;
  34888. end;
  34889. procedure TPORTB_PORTB.clearRB7; inline;
  34890. begin
  34891. pTDefRegMap(@Self)^.clr := $00000080;
  34892. end;
  34893. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  34894. begin
  34895. if thebits = 0 then
  34896. pTDefRegMap(@Self)^.clr := $00000080
  34897. else
  34898. pTDefRegMap(@Self)^.&set := $00000080;
  34899. end;
  34900. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  34901. begin
  34902. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34903. end;
  34904. procedure TPORTB_PORTB.setRB8; inline;
  34905. begin
  34906. pTDefRegMap(@Self)^.&set := $00000100;
  34907. end;
  34908. procedure TPORTB_PORTB.clearRB8; inline;
  34909. begin
  34910. pTDefRegMap(@Self)^.clr := $00000100;
  34911. end;
  34912. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  34913. begin
  34914. if thebits = 0 then
  34915. pTDefRegMap(@Self)^.clr := $00000100
  34916. else
  34917. pTDefRegMap(@Self)^.&set := $00000100;
  34918. end;
  34919. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  34920. begin
  34921. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34922. end;
  34923. procedure TPORTB_PORTB.setRB9; inline;
  34924. begin
  34925. pTDefRegMap(@Self)^.&set := $00000200;
  34926. end;
  34927. procedure TPORTB_PORTB.clearRB9; inline;
  34928. begin
  34929. pTDefRegMap(@Self)^.clr := $00000200;
  34930. end;
  34931. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  34932. begin
  34933. if thebits = 0 then
  34934. pTDefRegMap(@Self)^.clr := $00000200
  34935. else
  34936. pTDefRegMap(@Self)^.&set := $00000200;
  34937. end;
  34938. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  34939. begin
  34940. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34941. end;
  34942. procedure TPORTB_PORTB.setRB10; inline;
  34943. begin
  34944. pTDefRegMap(@Self)^.&set := $00000400;
  34945. end;
  34946. procedure TPORTB_PORTB.clearRB10; inline;
  34947. begin
  34948. pTDefRegMap(@Self)^.clr := $00000400;
  34949. end;
  34950. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  34951. begin
  34952. if thebits = 0 then
  34953. pTDefRegMap(@Self)^.clr := $00000400
  34954. else
  34955. pTDefRegMap(@Self)^.&set := $00000400;
  34956. end;
  34957. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  34958. begin
  34959. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34960. end;
  34961. procedure TPORTB_PORTB.setRB11; inline;
  34962. begin
  34963. pTDefRegMap(@Self)^.&set := $00000800;
  34964. end;
  34965. procedure TPORTB_PORTB.clearRB11; inline;
  34966. begin
  34967. pTDefRegMap(@Self)^.clr := $00000800;
  34968. end;
  34969. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  34970. begin
  34971. if thebits = 0 then
  34972. pTDefRegMap(@Self)^.clr := $00000800
  34973. else
  34974. pTDefRegMap(@Self)^.&set := $00000800;
  34975. end;
  34976. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  34977. begin
  34978. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34979. end;
  34980. procedure TPORTB_PORTB.setRB13; inline;
  34981. begin
  34982. pTDefRegMap(@Self)^.&set := $00002000;
  34983. end;
  34984. procedure TPORTB_PORTB.clearRB13; inline;
  34985. begin
  34986. pTDefRegMap(@Self)^.clr := $00002000;
  34987. end;
  34988. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  34989. begin
  34990. if thebits = 0 then
  34991. pTDefRegMap(@Self)^.clr := $00002000
  34992. else
  34993. pTDefRegMap(@Self)^.&set := $00002000;
  34994. end;
  34995. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  34996. begin
  34997. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34998. end;
  34999. procedure TPORTB_PORTB.setRB14; inline;
  35000. begin
  35001. pTDefRegMap(@Self)^.&set := $00004000;
  35002. end;
  35003. procedure TPORTB_PORTB.clearRB14; inline;
  35004. begin
  35005. pTDefRegMap(@Self)^.clr := $00004000;
  35006. end;
  35007. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  35008. begin
  35009. if thebits = 0 then
  35010. pTDefRegMap(@Self)^.clr := $00004000
  35011. else
  35012. pTDefRegMap(@Self)^.&set := $00004000;
  35013. end;
  35014. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  35015. begin
  35016. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35017. end;
  35018. procedure TPORTB_PORTB.setRB15; inline;
  35019. begin
  35020. pTDefRegMap(@Self)^.&set := $00008000;
  35021. end;
  35022. procedure TPORTB_PORTB.clearRB15; inline;
  35023. begin
  35024. pTDefRegMap(@Self)^.clr := $00008000;
  35025. end;
  35026. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  35027. begin
  35028. if thebits = 0 then
  35029. pTDefRegMap(@Self)^.clr := $00008000
  35030. else
  35031. pTDefRegMap(@Self)^.&set := $00008000;
  35032. end;
  35033. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  35034. begin
  35035. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35036. end;
  35037. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  35038. begin
  35039. pTDefRegMap(@Self)^.val := thebits;
  35040. end;
  35041. function TPORTB_PORTB.getw : TBits_32; inline;
  35042. begin
  35043. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35044. end;
  35045. procedure TPORTB_LATB.setLATB0; inline;
  35046. begin
  35047. pTDefRegMap(@Self)^.&set := $00000001;
  35048. end;
  35049. procedure TPORTB_LATB.clearLATB0; inline;
  35050. begin
  35051. pTDefRegMap(@Self)^.clr := $00000001;
  35052. end;
  35053. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  35054. begin
  35055. if thebits = 0 then
  35056. pTDefRegMap(@Self)^.clr := $00000001
  35057. else
  35058. pTDefRegMap(@Self)^.&set := $00000001;
  35059. end;
  35060. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  35061. begin
  35062. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35063. end;
  35064. procedure TPORTB_LATB.setLATB1; inline;
  35065. begin
  35066. pTDefRegMap(@Self)^.&set := $00000002;
  35067. end;
  35068. procedure TPORTB_LATB.clearLATB1; inline;
  35069. begin
  35070. pTDefRegMap(@Self)^.clr := $00000002;
  35071. end;
  35072. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  35073. begin
  35074. if thebits = 0 then
  35075. pTDefRegMap(@Self)^.clr := $00000002
  35076. else
  35077. pTDefRegMap(@Self)^.&set := $00000002;
  35078. end;
  35079. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  35080. begin
  35081. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35082. end;
  35083. procedure TPORTB_LATB.setLATB2; inline;
  35084. begin
  35085. pTDefRegMap(@Self)^.&set := $00000004;
  35086. end;
  35087. procedure TPORTB_LATB.clearLATB2; inline;
  35088. begin
  35089. pTDefRegMap(@Self)^.clr := $00000004;
  35090. end;
  35091. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  35092. begin
  35093. if thebits = 0 then
  35094. pTDefRegMap(@Self)^.clr := $00000004
  35095. else
  35096. pTDefRegMap(@Self)^.&set := $00000004;
  35097. end;
  35098. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  35099. begin
  35100. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35101. end;
  35102. procedure TPORTB_LATB.setLATB3; inline;
  35103. begin
  35104. pTDefRegMap(@Self)^.&set := $00000008;
  35105. end;
  35106. procedure TPORTB_LATB.clearLATB3; inline;
  35107. begin
  35108. pTDefRegMap(@Self)^.clr := $00000008;
  35109. end;
  35110. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  35111. begin
  35112. if thebits = 0 then
  35113. pTDefRegMap(@Self)^.clr := $00000008
  35114. else
  35115. pTDefRegMap(@Self)^.&set := $00000008;
  35116. end;
  35117. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  35118. begin
  35119. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35120. end;
  35121. procedure TPORTB_LATB.setLATB4; inline;
  35122. begin
  35123. pTDefRegMap(@Self)^.&set := $00000010;
  35124. end;
  35125. procedure TPORTB_LATB.clearLATB4; inline;
  35126. begin
  35127. pTDefRegMap(@Self)^.clr := $00000010;
  35128. end;
  35129. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  35130. begin
  35131. if thebits = 0 then
  35132. pTDefRegMap(@Self)^.clr := $00000010
  35133. else
  35134. pTDefRegMap(@Self)^.&set := $00000010;
  35135. end;
  35136. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  35137. begin
  35138. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35139. end;
  35140. procedure TPORTB_LATB.setLATB5; inline;
  35141. begin
  35142. pTDefRegMap(@Self)^.&set := $00000020;
  35143. end;
  35144. procedure TPORTB_LATB.clearLATB5; inline;
  35145. begin
  35146. pTDefRegMap(@Self)^.clr := $00000020;
  35147. end;
  35148. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  35149. begin
  35150. if thebits = 0 then
  35151. pTDefRegMap(@Self)^.clr := $00000020
  35152. else
  35153. pTDefRegMap(@Self)^.&set := $00000020;
  35154. end;
  35155. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  35156. begin
  35157. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35158. end;
  35159. procedure TPORTB_LATB.setLATB7; inline;
  35160. begin
  35161. pTDefRegMap(@Self)^.&set := $00000080;
  35162. end;
  35163. procedure TPORTB_LATB.clearLATB7; inline;
  35164. begin
  35165. pTDefRegMap(@Self)^.clr := $00000080;
  35166. end;
  35167. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  35168. begin
  35169. if thebits = 0 then
  35170. pTDefRegMap(@Self)^.clr := $00000080
  35171. else
  35172. pTDefRegMap(@Self)^.&set := $00000080;
  35173. end;
  35174. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  35175. begin
  35176. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35177. end;
  35178. procedure TPORTB_LATB.setLATB8; inline;
  35179. begin
  35180. pTDefRegMap(@Self)^.&set := $00000100;
  35181. end;
  35182. procedure TPORTB_LATB.clearLATB8; inline;
  35183. begin
  35184. pTDefRegMap(@Self)^.clr := $00000100;
  35185. end;
  35186. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  35187. begin
  35188. if thebits = 0 then
  35189. pTDefRegMap(@Self)^.clr := $00000100
  35190. else
  35191. pTDefRegMap(@Self)^.&set := $00000100;
  35192. end;
  35193. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  35194. begin
  35195. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35196. end;
  35197. procedure TPORTB_LATB.setLATB9; inline;
  35198. begin
  35199. pTDefRegMap(@Self)^.&set := $00000200;
  35200. end;
  35201. procedure TPORTB_LATB.clearLATB9; inline;
  35202. begin
  35203. pTDefRegMap(@Self)^.clr := $00000200;
  35204. end;
  35205. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  35206. begin
  35207. if thebits = 0 then
  35208. pTDefRegMap(@Self)^.clr := $00000200
  35209. else
  35210. pTDefRegMap(@Self)^.&set := $00000200;
  35211. end;
  35212. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  35213. begin
  35214. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35215. end;
  35216. procedure TPORTB_LATB.setLATB10; inline;
  35217. begin
  35218. pTDefRegMap(@Self)^.&set := $00000400;
  35219. end;
  35220. procedure TPORTB_LATB.clearLATB10; inline;
  35221. begin
  35222. pTDefRegMap(@Self)^.clr := $00000400;
  35223. end;
  35224. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  35225. begin
  35226. if thebits = 0 then
  35227. pTDefRegMap(@Self)^.clr := $00000400
  35228. else
  35229. pTDefRegMap(@Self)^.&set := $00000400;
  35230. end;
  35231. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  35232. begin
  35233. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35234. end;
  35235. procedure TPORTB_LATB.setLATB11; inline;
  35236. begin
  35237. pTDefRegMap(@Self)^.&set := $00000800;
  35238. end;
  35239. procedure TPORTB_LATB.clearLATB11; inline;
  35240. begin
  35241. pTDefRegMap(@Self)^.clr := $00000800;
  35242. end;
  35243. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  35244. begin
  35245. if thebits = 0 then
  35246. pTDefRegMap(@Self)^.clr := $00000800
  35247. else
  35248. pTDefRegMap(@Self)^.&set := $00000800;
  35249. end;
  35250. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  35251. begin
  35252. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35253. end;
  35254. procedure TPORTB_LATB.setLATB13; inline;
  35255. begin
  35256. pTDefRegMap(@Self)^.&set := $00002000;
  35257. end;
  35258. procedure TPORTB_LATB.clearLATB13; inline;
  35259. begin
  35260. pTDefRegMap(@Self)^.clr := $00002000;
  35261. end;
  35262. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  35263. begin
  35264. if thebits = 0 then
  35265. pTDefRegMap(@Self)^.clr := $00002000
  35266. else
  35267. pTDefRegMap(@Self)^.&set := $00002000;
  35268. end;
  35269. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  35270. begin
  35271. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35272. end;
  35273. procedure TPORTB_LATB.setLATB14; inline;
  35274. begin
  35275. pTDefRegMap(@Self)^.&set := $00004000;
  35276. end;
  35277. procedure TPORTB_LATB.clearLATB14; inline;
  35278. begin
  35279. pTDefRegMap(@Self)^.clr := $00004000;
  35280. end;
  35281. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  35282. begin
  35283. if thebits = 0 then
  35284. pTDefRegMap(@Self)^.clr := $00004000
  35285. else
  35286. pTDefRegMap(@Self)^.&set := $00004000;
  35287. end;
  35288. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  35289. begin
  35290. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35291. end;
  35292. procedure TPORTB_LATB.setLATB15; inline;
  35293. begin
  35294. pTDefRegMap(@Self)^.&set := $00008000;
  35295. end;
  35296. procedure TPORTB_LATB.clearLATB15; inline;
  35297. begin
  35298. pTDefRegMap(@Self)^.clr := $00008000;
  35299. end;
  35300. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  35301. begin
  35302. if thebits = 0 then
  35303. pTDefRegMap(@Self)^.clr := $00008000
  35304. else
  35305. pTDefRegMap(@Self)^.&set := $00008000;
  35306. end;
  35307. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  35308. begin
  35309. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35310. end;
  35311. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  35312. begin
  35313. pTDefRegMap(@Self)^.val := thebits;
  35314. end;
  35315. function TPORTB_LATB.getw : TBits_32; inline;
  35316. begin
  35317. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35318. end;
  35319. procedure TPORTB_ODCB.setODCB4; inline;
  35320. begin
  35321. pTDefRegMap(@Self)^.&set := $00000010;
  35322. end;
  35323. procedure TPORTB_ODCB.clearODCB4; inline;
  35324. begin
  35325. pTDefRegMap(@Self)^.clr := $00000010;
  35326. end;
  35327. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  35328. begin
  35329. if thebits = 0 then
  35330. pTDefRegMap(@Self)^.clr := $00000010
  35331. else
  35332. pTDefRegMap(@Self)^.&set := $00000010;
  35333. end;
  35334. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  35335. begin
  35336. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35337. end;
  35338. procedure TPORTB_ODCB.setODCB5; inline;
  35339. begin
  35340. pTDefRegMap(@Self)^.&set := $00000020;
  35341. end;
  35342. procedure TPORTB_ODCB.clearODCB5; inline;
  35343. begin
  35344. pTDefRegMap(@Self)^.clr := $00000020;
  35345. end;
  35346. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  35347. begin
  35348. if thebits = 0 then
  35349. pTDefRegMap(@Self)^.clr := $00000020
  35350. else
  35351. pTDefRegMap(@Self)^.&set := $00000020;
  35352. end;
  35353. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  35354. begin
  35355. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35356. end;
  35357. procedure TPORTB_ODCB.setODCB7; inline;
  35358. begin
  35359. pTDefRegMap(@Self)^.&set := $00000080;
  35360. end;
  35361. procedure TPORTB_ODCB.clearODCB7; inline;
  35362. begin
  35363. pTDefRegMap(@Self)^.clr := $00000080;
  35364. end;
  35365. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  35366. begin
  35367. if thebits = 0 then
  35368. pTDefRegMap(@Self)^.clr := $00000080
  35369. else
  35370. pTDefRegMap(@Self)^.&set := $00000080;
  35371. end;
  35372. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  35373. begin
  35374. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35375. end;
  35376. procedure TPORTB_ODCB.setODCB8; inline;
  35377. begin
  35378. pTDefRegMap(@Self)^.&set := $00000100;
  35379. end;
  35380. procedure TPORTB_ODCB.clearODCB8; inline;
  35381. begin
  35382. pTDefRegMap(@Self)^.clr := $00000100;
  35383. end;
  35384. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  35385. begin
  35386. if thebits = 0 then
  35387. pTDefRegMap(@Self)^.clr := $00000100
  35388. else
  35389. pTDefRegMap(@Self)^.&set := $00000100;
  35390. end;
  35391. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  35392. begin
  35393. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35394. end;
  35395. procedure TPORTB_ODCB.setODCB9; inline;
  35396. begin
  35397. pTDefRegMap(@Self)^.&set := $00000200;
  35398. end;
  35399. procedure TPORTB_ODCB.clearODCB9; inline;
  35400. begin
  35401. pTDefRegMap(@Self)^.clr := $00000200;
  35402. end;
  35403. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  35404. begin
  35405. if thebits = 0 then
  35406. pTDefRegMap(@Self)^.clr := $00000200
  35407. else
  35408. pTDefRegMap(@Self)^.&set := $00000200;
  35409. end;
  35410. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  35411. begin
  35412. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35413. end;
  35414. procedure TPORTB_ODCB.setODCB10; inline;
  35415. begin
  35416. pTDefRegMap(@Self)^.&set := $00000400;
  35417. end;
  35418. procedure TPORTB_ODCB.clearODCB10; inline;
  35419. begin
  35420. pTDefRegMap(@Self)^.clr := $00000400;
  35421. end;
  35422. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  35423. begin
  35424. if thebits = 0 then
  35425. pTDefRegMap(@Self)^.clr := $00000400
  35426. else
  35427. pTDefRegMap(@Self)^.&set := $00000400;
  35428. end;
  35429. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  35430. begin
  35431. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35432. end;
  35433. procedure TPORTB_ODCB.setODCB11; inline;
  35434. begin
  35435. pTDefRegMap(@Self)^.&set := $00000800;
  35436. end;
  35437. procedure TPORTB_ODCB.clearODCB11; inline;
  35438. begin
  35439. pTDefRegMap(@Self)^.clr := $00000800;
  35440. end;
  35441. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  35442. begin
  35443. if thebits = 0 then
  35444. pTDefRegMap(@Self)^.clr := $00000800
  35445. else
  35446. pTDefRegMap(@Self)^.&set := $00000800;
  35447. end;
  35448. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  35449. begin
  35450. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35451. end;
  35452. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  35453. begin
  35454. pTDefRegMap(@Self)^.val := thebits;
  35455. end;
  35456. function TPORTB_ODCB.getw : TBits_32; inline;
  35457. begin
  35458. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35459. end;
  35460. procedure TPORTB_CNPUB.setCNPUB0; inline;
  35461. begin
  35462. pTDefRegMap(@Self)^.&set := $00000001;
  35463. end;
  35464. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  35465. begin
  35466. pTDefRegMap(@Self)^.clr := $00000001;
  35467. end;
  35468. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  35469. begin
  35470. if thebits = 0 then
  35471. pTDefRegMap(@Self)^.clr := $00000001
  35472. else
  35473. pTDefRegMap(@Self)^.&set := $00000001;
  35474. end;
  35475. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  35476. begin
  35477. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35478. end;
  35479. procedure TPORTB_CNPUB.setCNPUB1; inline;
  35480. begin
  35481. pTDefRegMap(@Self)^.&set := $00000002;
  35482. end;
  35483. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  35484. begin
  35485. pTDefRegMap(@Self)^.clr := $00000002;
  35486. end;
  35487. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  35488. begin
  35489. if thebits = 0 then
  35490. pTDefRegMap(@Self)^.clr := $00000002
  35491. else
  35492. pTDefRegMap(@Self)^.&set := $00000002;
  35493. end;
  35494. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  35495. begin
  35496. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35497. end;
  35498. procedure TPORTB_CNPUB.setCNPUB2; inline;
  35499. begin
  35500. pTDefRegMap(@Self)^.&set := $00000004;
  35501. end;
  35502. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  35503. begin
  35504. pTDefRegMap(@Self)^.clr := $00000004;
  35505. end;
  35506. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  35507. begin
  35508. if thebits = 0 then
  35509. pTDefRegMap(@Self)^.clr := $00000004
  35510. else
  35511. pTDefRegMap(@Self)^.&set := $00000004;
  35512. end;
  35513. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  35514. begin
  35515. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35516. end;
  35517. procedure TPORTB_CNPUB.setCNPUB3; inline;
  35518. begin
  35519. pTDefRegMap(@Self)^.&set := $00000008;
  35520. end;
  35521. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  35522. begin
  35523. pTDefRegMap(@Self)^.clr := $00000008;
  35524. end;
  35525. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  35526. begin
  35527. if thebits = 0 then
  35528. pTDefRegMap(@Self)^.clr := $00000008
  35529. else
  35530. pTDefRegMap(@Self)^.&set := $00000008;
  35531. end;
  35532. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  35533. begin
  35534. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35535. end;
  35536. procedure TPORTB_CNPUB.setCNPUB4; inline;
  35537. begin
  35538. pTDefRegMap(@Self)^.&set := $00000010;
  35539. end;
  35540. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  35541. begin
  35542. pTDefRegMap(@Self)^.clr := $00000010;
  35543. end;
  35544. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  35545. begin
  35546. if thebits = 0 then
  35547. pTDefRegMap(@Self)^.clr := $00000010
  35548. else
  35549. pTDefRegMap(@Self)^.&set := $00000010;
  35550. end;
  35551. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  35552. begin
  35553. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35554. end;
  35555. procedure TPORTB_CNPUB.setCNPUB5; inline;
  35556. begin
  35557. pTDefRegMap(@Self)^.&set := $00000020;
  35558. end;
  35559. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  35560. begin
  35561. pTDefRegMap(@Self)^.clr := $00000020;
  35562. end;
  35563. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  35564. begin
  35565. if thebits = 0 then
  35566. pTDefRegMap(@Self)^.clr := $00000020
  35567. else
  35568. pTDefRegMap(@Self)^.&set := $00000020;
  35569. end;
  35570. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  35571. begin
  35572. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35573. end;
  35574. procedure TPORTB_CNPUB.setCNPUB7; inline;
  35575. begin
  35576. pTDefRegMap(@Self)^.&set := $00000080;
  35577. end;
  35578. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  35579. begin
  35580. pTDefRegMap(@Self)^.clr := $00000080;
  35581. end;
  35582. procedure TPORTB_CNPUB.setCNPUB7(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 TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  35590. begin
  35591. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35592. end;
  35593. procedure TPORTB_CNPUB.setCNPUB8; inline;
  35594. begin
  35595. pTDefRegMap(@Self)^.&set := $00000100;
  35596. end;
  35597. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  35598. begin
  35599. pTDefRegMap(@Self)^.clr := $00000100;
  35600. end;
  35601. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  35602. begin
  35603. if thebits = 0 then
  35604. pTDefRegMap(@Self)^.clr := $00000100
  35605. else
  35606. pTDefRegMap(@Self)^.&set := $00000100;
  35607. end;
  35608. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  35609. begin
  35610. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35611. end;
  35612. procedure TPORTB_CNPUB.setCNPUB9; inline;
  35613. begin
  35614. pTDefRegMap(@Self)^.&set := $00000200;
  35615. end;
  35616. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  35617. begin
  35618. pTDefRegMap(@Self)^.clr := $00000200;
  35619. end;
  35620. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  35621. begin
  35622. if thebits = 0 then
  35623. pTDefRegMap(@Self)^.clr := $00000200
  35624. else
  35625. pTDefRegMap(@Self)^.&set := $00000200;
  35626. end;
  35627. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  35628. begin
  35629. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35630. end;
  35631. procedure TPORTB_CNPUB.setCNPUB10; inline;
  35632. begin
  35633. pTDefRegMap(@Self)^.&set := $00000400;
  35634. end;
  35635. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  35636. begin
  35637. pTDefRegMap(@Self)^.clr := $00000400;
  35638. end;
  35639. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  35640. begin
  35641. if thebits = 0 then
  35642. pTDefRegMap(@Self)^.clr := $00000400
  35643. else
  35644. pTDefRegMap(@Self)^.&set := $00000400;
  35645. end;
  35646. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  35647. begin
  35648. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35649. end;
  35650. procedure TPORTB_CNPUB.setCNPUB11; inline;
  35651. begin
  35652. pTDefRegMap(@Self)^.&set := $00000800;
  35653. end;
  35654. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  35655. begin
  35656. pTDefRegMap(@Self)^.clr := $00000800;
  35657. end;
  35658. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  35659. begin
  35660. if thebits = 0 then
  35661. pTDefRegMap(@Self)^.clr := $00000800
  35662. else
  35663. pTDefRegMap(@Self)^.&set := $00000800;
  35664. end;
  35665. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  35666. begin
  35667. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35668. end;
  35669. procedure TPORTB_CNPUB.setCNPUB13; inline;
  35670. begin
  35671. pTDefRegMap(@Self)^.&set := $00002000;
  35672. end;
  35673. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  35674. begin
  35675. pTDefRegMap(@Self)^.clr := $00002000;
  35676. end;
  35677. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  35678. begin
  35679. if thebits = 0 then
  35680. pTDefRegMap(@Self)^.clr := $00002000
  35681. else
  35682. pTDefRegMap(@Self)^.&set := $00002000;
  35683. end;
  35684. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  35685. begin
  35686. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35687. end;
  35688. procedure TPORTB_CNPUB.setCNPUB14; inline;
  35689. begin
  35690. pTDefRegMap(@Self)^.&set := $00004000;
  35691. end;
  35692. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  35693. begin
  35694. pTDefRegMap(@Self)^.clr := $00004000;
  35695. end;
  35696. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  35697. begin
  35698. if thebits = 0 then
  35699. pTDefRegMap(@Self)^.clr := $00004000
  35700. else
  35701. pTDefRegMap(@Self)^.&set := $00004000;
  35702. end;
  35703. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  35704. begin
  35705. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35706. end;
  35707. procedure TPORTB_CNPUB.setCNPUB15; inline;
  35708. begin
  35709. pTDefRegMap(@Self)^.&set := $00008000;
  35710. end;
  35711. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  35712. begin
  35713. pTDefRegMap(@Self)^.clr := $00008000;
  35714. end;
  35715. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  35716. begin
  35717. if thebits = 0 then
  35718. pTDefRegMap(@Self)^.clr := $00008000
  35719. else
  35720. pTDefRegMap(@Self)^.&set := $00008000;
  35721. end;
  35722. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  35723. begin
  35724. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35725. end;
  35726. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  35727. begin
  35728. pTDefRegMap(@Self)^.val := thebits;
  35729. end;
  35730. function TPORTB_CNPUB.getw : TBits_32; inline;
  35731. begin
  35732. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35733. end;
  35734. procedure TPORTB_CNPDB.setCNPDB0; inline;
  35735. begin
  35736. pTDefRegMap(@Self)^.&set := $00000001;
  35737. end;
  35738. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  35739. begin
  35740. pTDefRegMap(@Self)^.clr := $00000001;
  35741. end;
  35742. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  35743. begin
  35744. if thebits = 0 then
  35745. pTDefRegMap(@Self)^.clr := $00000001
  35746. else
  35747. pTDefRegMap(@Self)^.&set := $00000001;
  35748. end;
  35749. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  35750. begin
  35751. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35752. end;
  35753. procedure TPORTB_CNPDB.setCNPDB1; inline;
  35754. begin
  35755. pTDefRegMap(@Self)^.&set := $00000002;
  35756. end;
  35757. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  35758. begin
  35759. pTDefRegMap(@Self)^.clr := $00000002;
  35760. end;
  35761. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  35762. begin
  35763. if thebits = 0 then
  35764. pTDefRegMap(@Self)^.clr := $00000002
  35765. else
  35766. pTDefRegMap(@Self)^.&set := $00000002;
  35767. end;
  35768. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  35769. begin
  35770. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35771. end;
  35772. procedure TPORTB_CNPDB.setCNPDB2; inline;
  35773. begin
  35774. pTDefRegMap(@Self)^.&set := $00000004;
  35775. end;
  35776. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  35777. begin
  35778. pTDefRegMap(@Self)^.clr := $00000004;
  35779. end;
  35780. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  35781. begin
  35782. if thebits = 0 then
  35783. pTDefRegMap(@Self)^.clr := $00000004
  35784. else
  35785. pTDefRegMap(@Self)^.&set := $00000004;
  35786. end;
  35787. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  35788. begin
  35789. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35790. end;
  35791. procedure TPORTB_CNPDB.setCNPDB3; inline;
  35792. begin
  35793. pTDefRegMap(@Self)^.&set := $00000008;
  35794. end;
  35795. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  35796. begin
  35797. pTDefRegMap(@Self)^.clr := $00000008;
  35798. end;
  35799. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  35800. begin
  35801. if thebits = 0 then
  35802. pTDefRegMap(@Self)^.clr := $00000008
  35803. else
  35804. pTDefRegMap(@Self)^.&set := $00000008;
  35805. end;
  35806. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  35807. begin
  35808. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35809. end;
  35810. procedure TPORTB_CNPDB.setCNPDB4; inline;
  35811. begin
  35812. pTDefRegMap(@Self)^.&set := $00000010;
  35813. end;
  35814. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  35815. begin
  35816. pTDefRegMap(@Self)^.clr := $00000010;
  35817. end;
  35818. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  35819. begin
  35820. if thebits = 0 then
  35821. pTDefRegMap(@Self)^.clr := $00000010
  35822. else
  35823. pTDefRegMap(@Self)^.&set := $00000010;
  35824. end;
  35825. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  35826. begin
  35827. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35828. end;
  35829. procedure TPORTB_CNPDB.setCNPDB5; inline;
  35830. begin
  35831. pTDefRegMap(@Self)^.&set := $00000020;
  35832. end;
  35833. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  35834. begin
  35835. pTDefRegMap(@Self)^.clr := $00000020;
  35836. end;
  35837. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  35838. begin
  35839. if thebits = 0 then
  35840. pTDefRegMap(@Self)^.clr := $00000020
  35841. else
  35842. pTDefRegMap(@Self)^.&set := $00000020;
  35843. end;
  35844. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  35845. begin
  35846. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35847. end;
  35848. procedure TPORTB_CNPDB.setCNPDB7; inline;
  35849. begin
  35850. pTDefRegMap(@Self)^.&set := $00000080;
  35851. end;
  35852. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  35853. begin
  35854. pTDefRegMap(@Self)^.clr := $00000080;
  35855. end;
  35856. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  35857. begin
  35858. if thebits = 0 then
  35859. pTDefRegMap(@Self)^.clr := $00000080
  35860. else
  35861. pTDefRegMap(@Self)^.&set := $00000080;
  35862. end;
  35863. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  35864. begin
  35865. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35866. end;
  35867. procedure TPORTB_CNPDB.setCNPDB8; inline;
  35868. begin
  35869. pTDefRegMap(@Self)^.&set := $00000100;
  35870. end;
  35871. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  35872. begin
  35873. pTDefRegMap(@Self)^.clr := $00000100;
  35874. end;
  35875. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  35876. begin
  35877. if thebits = 0 then
  35878. pTDefRegMap(@Self)^.clr := $00000100
  35879. else
  35880. pTDefRegMap(@Self)^.&set := $00000100;
  35881. end;
  35882. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  35883. begin
  35884. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35885. end;
  35886. procedure TPORTB_CNPDB.setCNPDB9; inline;
  35887. begin
  35888. pTDefRegMap(@Self)^.&set := $00000200;
  35889. end;
  35890. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  35891. begin
  35892. pTDefRegMap(@Self)^.clr := $00000200;
  35893. end;
  35894. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  35895. begin
  35896. if thebits = 0 then
  35897. pTDefRegMap(@Self)^.clr := $00000200
  35898. else
  35899. pTDefRegMap(@Self)^.&set := $00000200;
  35900. end;
  35901. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  35902. begin
  35903. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35904. end;
  35905. procedure TPORTB_CNPDB.setCNPDB10; inline;
  35906. begin
  35907. pTDefRegMap(@Self)^.&set := $00000400;
  35908. end;
  35909. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  35910. begin
  35911. pTDefRegMap(@Self)^.clr := $00000400;
  35912. end;
  35913. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  35914. begin
  35915. if thebits = 0 then
  35916. pTDefRegMap(@Self)^.clr := $00000400
  35917. else
  35918. pTDefRegMap(@Self)^.&set := $00000400;
  35919. end;
  35920. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  35921. begin
  35922. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35923. end;
  35924. procedure TPORTB_CNPDB.setCNPDB11; inline;
  35925. begin
  35926. pTDefRegMap(@Self)^.&set := $00000800;
  35927. end;
  35928. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  35929. begin
  35930. pTDefRegMap(@Self)^.clr := $00000800;
  35931. end;
  35932. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  35933. begin
  35934. if thebits = 0 then
  35935. pTDefRegMap(@Self)^.clr := $00000800
  35936. else
  35937. pTDefRegMap(@Self)^.&set := $00000800;
  35938. end;
  35939. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  35940. begin
  35941. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35942. end;
  35943. procedure TPORTB_CNPDB.setCNPDB13; inline;
  35944. begin
  35945. pTDefRegMap(@Self)^.&set := $00002000;
  35946. end;
  35947. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  35948. begin
  35949. pTDefRegMap(@Self)^.clr := $00002000;
  35950. end;
  35951. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  35952. begin
  35953. if thebits = 0 then
  35954. pTDefRegMap(@Self)^.clr := $00002000
  35955. else
  35956. pTDefRegMap(@Self)^.&set := $00002000;
  35957. end;
  35958. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  35959. begin
  35960. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35961. end;
  35962. procedure TPORTB_CNPDB.setCNPDB14; inline;
  35963. begin
  35964. pTDefRegMap(@Self)^.&set := $00004000;
  35965. end;
  35966. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  35967. begin
  35968. pTDefRegMap(@Self)^.clr := $00004000;
  35969. end;
  35970. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  35971. begin
  35972. if thebits = 0 then
  35973. pTDefRegMap(@Self)^.clr := $00004000
  35974. else
  35975. pTDefRegMap(@Self)^.&set := $00004000;
  35976. end;
  35977. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  35978. begin
  35979. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35980. end;
  35981. procedure TPORTB_CNPDB.setCNPDB15; inline;
  35982. begin
  35983. pTDefRegMap(@Self)^.&set := $00008000;
  35984. end;
  35985. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  35986. begin
  35987. pTDefRegMap(@Self)^.clr := $00008000;
  35988. end;
  35989. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  35990. begin
  35991. if thebits = 0 then
  35992. pTDefRegMap(@Self)^.clr := $00008000
  35993. else
  35994. pTDefRegMap(@Self)^.&set := $00008000;
  35995. end;
  35996. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  35997. begin
  35998. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35999. end;
  36000. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  36001. begin
  36002. pTDefRegMap(@Self)^.val := thebits;
  36003. end;
  36004. function TPORTB_CNPDB.getw : TBits_32; inline;
  36005. begin
  36006. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36007. end;
  36008. procedure TPORTB_CNCONB.setSIDL; inline;
  36009. begin
  36010. pTDefRegMap(@Self)^.&set := $00002000;
  36011. end;
  36012. procedure TPORTB_CNCONB.clearSIDL; inline;
  36013. begin
  36014. pTDefRegMap(@Self)^.clr := $00002000;
  36015. end;
  36016. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  36017. begin
  36018. if thebits = 0 then
  36019. pTDefRegMap(@Self)^.clr := $00002000
  36020. else
  36021. pTDefRegMap(@Self)^.&set := $00002000;
  36022. end;
  36023. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  36024. begin
  36025. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36026. end;
  36027. procedure TPORTB_CNCONB.setON; inline;
  36028. begin
  36029. pTDefRegMap(@Self)^.&set := $00008000;
  36030. end;
  36031. procedure TPORTB_CNCONB.clearON; inline;
  36032. begin
  36033. pTDefRegMap(@Self)^.clr := $00008000;
  36034. end;
  36035. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  36036. begin
  36037. if thebits = 0 then
  36038. pTDefRegMap(@Self)^.clr := $00008000
  36039. else
  36040. pTDefRegMap(@Self)^.&set := $00008000;
  36041. end;
  36042. function TPORTB_CNCONB.getON : TBits_1; inline;
  36043. begin
  36044. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36045. end;
  36046. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  36047. begin
  36048. pTDefRegMap(@Self)^.val := thebits;
  36049. end;
  36050. function TPORTB_CNCONB.getw : TBits_32; inline;
  36051. begin
  36052. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36053. end;
  36054. procedure TPORTB_CNENB.setCNIEB0; inline;
  36055. begin
  36056. pTDefRegMap(@Self)^.&set := $00000001;
  36057. end;
  36058. procedure TPORTB_CNENB.clearCNIEB0; inline;
  36059. begin
  36060. pTDefRegMap(@Self)^.clr := $00000001;
  36061. end;
  36062. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  36063. begin
  36064. if thebits = 0 then
  36065. pTDefRegMap(@Self)^.clr := $00000001
  36066. else
  36067. pTDefRegMap(@Self)^.&set := $00000001;
  36068. end;
  36069. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  36070. begin
  36071. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36072. end;
  36073. procedure TPORTB_CNENB.setCNIEB1; inline;
  36074. begin
  36075. pTDefRegMap(@Self)^.&set := $00000002;
  36076. end;
  36077. procedure TPORTB_CNENB.clearCNIEB1; inline;
  36078. begin
  36079. pTDefRegMap(@Self)^.clr := $00000002;
  36080. end;
  36081. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  36082. begin
  36083. if thebits = 0 then
  36084. pTDefRegMap(@Self)^.clr := $00000002
  36085. else
  36086. pTDefRegMap(@Self)^.&set := $00000002;
  36087. end;
  36088. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  36089. begin
  36090. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36091. end;
  36092. procedure TPORTB_CNENB.setCNIEB2; inline;
  36093. begin
  36094. pTDefRegMap(@Self)^.&set := $00000004;
  36095. end;
  36096. procedure TPORTB_CNENB.clearCNIEB2; inline;
  36097. begin
  36098. pTDefRegMap(@Self)^.clr := $00000004;
  36099. end;
  36100. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  36101. begin
  36102. if thebits = 0 then
  36103. pTDefRegMap(@Self)^.clr := $00000004
  36104. else
  36105. pTDefRegMap(@Self)^.&set := $00000004;
  36106. end;
  36107. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  36108. begin
  36109. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36110. end;
  36111. procedure TPORTB_CNENB.setCNIEB3; inline;
  36112. begin
  36113. pTDefRegMap(@Self)^.&set := $00000008;
  36114. end;
  36115. procedure TPORTB_CNENB.clearCNIEB3; inline;
  36116. begin
  36117. pTDefRegMap(@Self)^.clr := $00000008;
  36118. end;
  36119. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  36120. begin
  36121. if thebits = 0 then
  36122. pTDefRegMap(@Self)^.clr := $00000008
  36123. else
  36124. pTDefRegMap(@Self)^.&set := $00000008;
  36125. end;
  36126. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  36127. begin
  36128. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36129. end;
  36130. procedure TPORTB_CNENB.setCNIEB4; inline;
  36131. begin
  36132. pTDefRegMap(@Self)^.&set := $00000010;
  36133. end;
  36134. procedure TPORTB_CNENB.clearCNIEB4; inline;
  36135. begin
  36136. pTDefRegMap(@Self)^.clr := $00000010;
  36137. end;
  36138. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  36139. begin
  36140. if thebits = 0 then
  36141. pTDefRegMap(@Self)^.clr := $00000010
  36142. else
  36143. pTDefRegMap(@Self)^.&set := $00000010;
  36144. end;
  36145. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  36146. begin
  36147. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36148. end;
  36149. procedure TPORTB_CNENB.setCNIEB5; inline;
  36150. begin
  36151. pTDefRegMap(@Self)^.&set := $00000020;
  36152. end;
  36153. procedure TPORTB_CNENB.clearCNIEB5; inline;
  36154. begin
  36155. pTDefRegMap(@Self)^.clr := $00000020;
  36156. end;
  36157. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  36158. begin
  36159. if thebits = 0 then
  36160. pTDefRegMap(@Self)^.clr := $00000020
  36161. else
  36162. pTDefRegMap(@Self)^.&set := $00000020;
  36163. end;
  36164. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  36165. begin
  36166. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36167. end;
  36168. procedure TPORTB_CNENB.setCNIEB7; inline;
  36169. begin
  36170. pTDefRegMap(@Self)^.&set := $00000080;
  36171. end;
  36172. procedure TPORTB_CNENB.clearCNIEB7; inline;
  36173. begin
  36174. pTDefRegMap(@Self)^.clr := $00000080;
  36175. end;
  36176. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  36177. begin
  36178. if thebits = 0 then
  36179. pTDefRegMap(@Self)^.clr := $00000080
  36180. else
  36181. pTDefRegMap(@Self)^.&set := $00000080;
  36182. end;
  36183. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  36184. begin
  36185. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36186. end;
  36187. procedure TPORTB_CNENB.setCNIEB8; inline;
  36188. begin
  36189. pTDefRegMap(@Self)^.&set := $00000100;
  36190. end;
  36191. procedure TPORTB_CNENB.clearCNIEB8; inline;
  36192. begin
  36193. pTDefRegMap(@Self)^.clr := $00000100;
  36194. end;
  36195. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  36196. begin
  36197. if thebits = 0 then
  36198. pTDefRegMap(@Self)^.clr := $00000100
  36199. else
  36200. pTDefRegMap(@Self)^.&set := $00000100;
  36201. end;
  36202. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  36203. begin
  36204. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36205. end;
  36206. procedure TPORTB_CNENB.setCNIEB9; inline;
  36207. begin
  36208. pTDefRegMap(@Self)^.&set := $00000200;
  36209. end;
  36210. procedure TPORTB_CNENB.clearCNIEB9; inline;
  36211. begin
  36212. pTDefRegMap(@Self)^.clr := $00000200;
  36213. end;
  36214. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  36215. begin
  36216. if thebits = 0 then
  36217. pTDefRegMap(@Self)^.clr := $00000200
  36218. else
  36219. pTDefRegMap(@Self)^.&set := $00000200;
  36220. end;
  36221. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  36222. begin
  36223. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36224. end;
  36225. procedure TPORTB_CNENB.setCNIEB10; inline;
  36226. begin
  36227. pTDefRegMap(@Self)^.&set := $00000400;
  36228. end;
  36229. procedure TPORTB_CNENB.clearCNIEB10; inline;
  36230. begin
  36231. pTDefRegMap(@Self)^.clr := $00000400;
  36232. end;
  36233. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  36234. begin
  36235. if thebits = 0 then
  36236. pTDefRegMap(@Self)^.clr := $00000400
  36237. else
  36238. pTDefRegMap(@Self)^.&set := $00000400;
  36239. end;
  36240. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  36241. begin
  36242. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36243. end;
  36244. procedure TPORTB_CNENB.setCNIEB11; inline;
  36245. begin
  36246. pTDefRegMap(@Self)^.&set := $00000800;
  36247. end;
  36248. procedure TPORTB_CNENB.clearCNIEB11; inline;
  36249. begin
  36250. pTDefRegMap(@Self)^.clr := $00000800;
  36251. end;
  36252. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  36253. begin
  36254. if thebits = 0 then
  36255. pTDefRegMap(@Self)^.clr := $00000800
  36256. else
  36257. pTDefRegMap(@Self)^.&set := $00000800;
  36258. end;
  36259. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  36260. begin
  36261. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36262. end;
  36263. procedure TPORTB_CNENB.setCNIEB13; inline;
  36264. begin
  36265. pTDefRegMap(@Self)^.&set := $00002000;
  36266. end;
  36267. procedure TPORTB_CNENB.clearCNIEB13; inline;
  36268. begin
  36269. pTDefRegMap(@Self)^.clr := $00002000;
  36270. end;
  36271. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  36272. begin
  36273. if thebits = 0 then
  36274. pTDefRegMap(@Self)^.clr := $00002000
  36275. else
  36276. pTDefRegMap(@Self)^.&set := $00002000;
  36277. end;
  36278. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  36279. begin
  36280. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36281. end;
  36282. procedure TPORTB_CNENB.setCNIEB14; inline;
  36283. begin
  36284. pTDefRegMap(@Self)^.&set := $00004000;
  36285. end;
  36286. procedure TPORTB_CNENB.clearCNIEB14; inline;
  36287. begin
  36288. pTDefRegMap(@Self)^.clr := $00004000;
  36289. end;
  36290. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  36291. begin
  36292. if thebits = 0 then
  36293. pTDefRegMap(@Self)^.clr := $00004000
  36294. else
  36295. pTDefRegMap(@Self)^.&set := $00004000;
  36296. end;
  36297. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  36298. begin
  36299. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36300. end;
  36301. procedure TPORTB_CNENB.setCNIEB15; inline;
  36302. begin
  36303. pTDefRegMap(@Self)^.&set := $00008000;
  36304. end;
  36305. procedure TPORTB_CNENB.clearCNIEB15; inline;
  36306. begin
  36307. pTDefRegMap(@Self)^.clr := $00008000;
  36308. end;
  36309. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  36310. begin
  36311. if thebits = 0 then
  36312. pTDefRegMap(@Self)^.clr := $00008000
  36313. else
  36314. pTDefRegMap(@Self)^.&set := $00008000;
  36315. end;
  36316. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  36317. begin
  36318. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36319. end;
  36320. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  36321. begin
  36322. pTDefRegMap(@Self)^.val := thebits;
  36323. end;
  36324. function TPORTB_CNENB.getw : TBits_32; inline;
  36325. begin
  36326. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36327. end;
  36328. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  36329. begin
  36330. pTDefRegMap(@Self)^.&set := $00000001;
  36331. end;
  36332. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  36333. begin
  36334. pTDefRegMap(@Self)^.clr := $00000001;
  36335. end;
  36336. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  36337. begin
  36338. if thebits = 0 then
  36339. pTDefRegMap(@Self)^.clr := $00000001
  36340. else
  36341. pTDefRegMap(@Self)^.&set := $00000001;
  36342. end;
  36343. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  36344. begin
  36345. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36346. end;
  36347. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  36348. begin
  36349. pTDefRegMap(@Self)^.&set := $00000002;
  36350. end;
  36351. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  36352. begin
  36353. pTDefRegMap(@Self)^.clr := $00000002;
  36354. end;
  36355. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  36356. begin
  36357. if thebits = 0 then
  36358. pTDefRegMap(@Self)^.clr := $00000002
  36359. else
  36360. pTDefRegMap(@Self)^.&set := $00000002;
  36361. end;
  36362. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  36363. begin
  36364. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36365. end;
  36366. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  36367. begin
  36368. pTDefRegMap(@Self)^.&set := $00000004;
  36369. end;
  36370. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  36371. begin
  36372. pTDefRegMap(@Self)^.clr := $00000004;
  36373. end;
  36374. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  36375. begin
  36376. if thebits = 0 then
  36377. pTDefRegMap(@Self)^.clr := $00000004
  36378. else
  36379. pTDefRegMap(@Self)^.&set := $00000004;
  36380. end;
  36381. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  36382. begin
  36383. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36384. end;
  36385. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  36386. begin
  36387. pTDefRegMap(@Self)^.&set := $00000008;
  36388. end;
  36389. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  36390. begin
  36391. pTDefRegMap(@Self)^.clr := $00000008;
  36392. end;
  36393. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  36394. begin
  36395. if thebits = 0 then
  36396. pTDefRegMap(@Self)^.clr := $00000008
  36397. else
  36398. pTDefRegMap(@Self)^.&set := $00000008;
  36399. end;
  36400. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  36401. begin
  36402. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36403. end;
  36404. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  36405. begin
  36406. pTDefRegMap(@Self)^.&set := $00000010;
  36407. end;
  36408. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  36409. begin
  36410. pTDefRegMap(@Self)^.clr := $00000010;
  36411. end;
  36412. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  36413. begin
  36414. if thebits = 0 then
  36415. pTDefRegMap(@Self)^.clr := $00000010
  36416. else
  36417. pTDefRegMap(@Self)^.&set := $00000010;
  36418. end;
  36419. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  36420. begin
  36421. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36422. end;
  36423. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  36424. begin
  36425. pTDefRegMap(@Self)^.&set := $00000020;
  36426. end;
  36427. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  36428. begin
  36429. pTDefRegMap(@Self)^.clr := $00000020;
  36430. end;
  36431. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  36432. begin
  36433. if thebits = 0 then
  36434. pTDefRegMap(@Self)^.clr := $00000020
  36435. else
  36436. pTDefRegMap(@Self)^.&set := $00000020;
  36437. end;
  36438. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  36439. begin
  36440. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36441. end;
  36442. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  36443. begin
  36444. pTDefRegMap(@Self)^.&set := $00000080;
  36445. end;
  36446. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  36447. begin
  36448. pTDefRegMap(@Self)^.clr := $00000080;
  36449. end;
  36450. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  36451. begin
  36452. if thebits = 0 then
  36453. pTDefRegMap(@Self)^.clr := $00000080
  36454. else
  36455. pTDefRegMap(@Self)^.&set := $00000080;
  36456. end;
  36457. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  36458. begin
  36459. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36460. end;
  36461. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  36462. begin
  36463. pTDefRegMap(@Self)^.&set := $00000100;
  36464. end;
  36465. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  36466. begin
  36467. pTDefRegMap(@Self)^.clr := $00000100;
  36468. end;
  36469. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  36470. begin
  36471. if thebits = 0 then
  36472. pTDefRegMap(@Self)^.clr := $00000100
  36473. else
  36474. pTDefRegMap(@Self)^.&set := $00000100;
  36475. end;
  36476. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  36477. begin
  36478. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36479. end;
  36480. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  36481. begin
  36482. pTDefRegMap(@Self)^.&set := $00000200;
  36483. end;
  36484. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  36485. begin
  36486. pTDefRegMap(@Self)^.clr := $00000200;
  36487. end;
  36488. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  36489. begin
  36490. if thebits = 0 then
  36491. pTDefRegMap(@Self)^.clr := $00000200
  36492. else
  36493. pTDefRegMap(@Self)^.&set := $00000200;
  36494. end;
  36495. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  36496. begin
  36497. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36498. end;
  36499. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  36500. begin
  36501. pTDefRegMap(@Self)^.&set := $00000400;
  36502. end;
  36503. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  36504. begin
  36505. pTDefRegMap(@Self)^.clr := $00000400;
  36506. end;
  36507. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  36508. begin
  36509. if thebits = 0 then
  36510. pTDefRegMap(@Self)^.clr := $00000400
  36511. else
  36512. pTDefRegMap(@Self)^.&set := $00000400;
  36513. end;
  36514. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  36515. begin
  36516. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36517. end;
  36518. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  36519. begin
  36520. pTDefRegMap(@Self)^.&set := $00000800;
  36521. end;
  36522. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  36523. begin
  36524. pTDefRegMap(@Self)^.clr := $00000800;
  36525. end;
  36526. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  36527. begin
  36528. if thebits = 0 then
  36529. pTDefRegMap(@Self)^.clr := $00000800
  36530. else
  36531. pTDefRegMap(@Self)^.&set := $00000800;
  36532. end;
  36533. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  36534. begin
  36535. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36536. end;
  36537. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  36538. begin
  36539. pTDefRegMap(@Self)^.&set := $00002000;
  36540. end;
  36541. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  36542. begin
  36543. pTDefRegMap(@Self)^.clr := $00002000;
  36544. end;
  36545. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  36546. begin
  36547. if thebits = 0 then
  36548. pTDefRegMap(@Self)^.clr := $00002000
  36549. else
  36550. pTDefRegMap(@Self)^.&set := $00002000;
  36551. end;
  36552. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  36553. begin
  36554. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36555. end;
  36556. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  36557. begin
  36558. pTDefRegMap(@Self)^.&set := $00004000;
  36559. end;
  36560. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  36561. begin
  36562. pTDefRegMap(@Self)^.clr := $00004000;
  36563. end;
  36564. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  36565. begin
  36566. if thebits = 0 then
  36567. pTDefRegMap(@Self)^.clr := $00004000
  36568. else
  36569. pTDefRegMap(@Self)^.&set := $00004000;
  36570. end;
  36571. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  36572. begin
  36573. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36574. end;
  36575. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  36576. begin
  36577. pTDefRegMap(@Self)^.&set := $00008000;
  36578. end;
  36579. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  36580. begin
  36581. pTDefRegMap(@Self)^.clr := $00008000;
  36582. end;
  36583. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  36584. begin
  36585. if thebits = 0 then
  36586. pTDefRegMap(@Self)^.clr := $00008000
  36587. else
  36588. pTDefRegMap(@Self)^.&set := $00008000;
  36589. end;
  36590. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  36591. begin
  36592. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36593. end;
  36594. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  36595. begin
  36596. pTDefRegMap(@Self)^.val := thebits;
  36597. end;
  36598. function TPORTB_CNSTATB.getw : TBits_32; inline;
  36599. begin
  36600. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36601. end;
  36602. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  36603. begin
  36604. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  36605. end;
  36606. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  36607. begin
  36608. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  36609. end;
  36610. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  36611. begin
  36612. pTDefRegMap(@Self)^.&set := $10000000;
  36613. end;
  36614. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  36615. begin
  36616. pTDefRegMap(@Self)^.clr := $10000000;
  36617. end;
  36618. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  36619. begin
  36620. if thebits = 0 then
  36621. pTDefRegMap(@Self)^.clr := $10000000
  36622. else
  36623. pTDefRegMap(@Self)^.&set := $10000000;
  36624. end;
  36625. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  36626. begin
  36627. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  36628. end;
  36629. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  36630. begin
  36631. pTDefRegMap(@Self)^.&set := $20000000;
  36632. end;
  36633. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  36634. begin
  36635. pTDefRegMap(@Self)^.clr := $20000000;
  36636. end;
  36637. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  36638. begin
  36639. if thebits = 0 then
  36640. pTDefRegMap(@Self)^.clr := $20000000
  36641. else
  36642. pTDefRegMap(@Self)^.&set := $20000000;
  36643. end;
  36644. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  36645. begin
  36646. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  36647. end;
  36648. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  36649. begin
  36650. pTDefRegMap(@Self)^.&set := $40000000;
  36651. end;
  36652. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  36653. begin
  36654. pTDefRegMap(@Self)^.clr := $40000000;
  36655. end;
  36656. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  36657. begin
  36658. if thebits = 0 then
  36659. pTDefRegMap(@Self)^.clr := $40000000
  36660. else
  36661. pTDefRegMap(@Self)^.&set := $40000000;
  36662. end;
  36663. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  36664. begin
  36665. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  36666. end;
  36667. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  36668. begin
  36669. pTDefRegMap(@Self)^.&set := $80000000;
  36670. end;
  36671. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  36672. begin
  36673. pTDefRegMap(@Self)^.clr := $80000000;
  36674. end;
  36675. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  36676. begin
  36677. if thebits = 0 then
  36678. pTDefRegMap(@Self)^.clr := $80000000
  36679. else
  36680. pTDefRegMap(@Self)^.&set := $80000000;
  36681. end;
  36682. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  36683. begin
  36684. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  36685. end;
  36686. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  36687. begin
  36688. pTDefRegMap(@Self)^.val := thebits;
  36689. end;
  36690. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  36691. begin
  36692. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36693. end;
  36694. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  36695. begin
  36696. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  36697. end;
  36698. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  36699. begin
  36700. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  36701. end;
  36702. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  36703. begin
  36704. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  36705. end;
  36706. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  36707. begin
  36708. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  36709. end;
  36710. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  36711. begin
  36712. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  36713. end;
  36714. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  36715. begin
  36716. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  36717. end;
  36718. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  36719. begin
  36720. pTDefRegMap(@Self)^.&set := $00008000;
  36721. end;
  36722. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  36723. begin
  36724. pTDefRegMap(@Self)^.clr := $00008000;
  36725. end;
  36726. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  36727. begin
  36728. if thebits = 0 then
  36729. pTDefRegMap(@Self)^.clr := $00008000
  36730. else
  36731. pTDefRegMap(@Self)^.&set := $00008000;
  36732. end;
  36733. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  36734. begin
  36735. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36736. end;
  36737. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  36738. begin
  36739. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  36740. end;
  36741. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  36742. begin
  36743. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  36744. end;
  36745. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  36746. begin
  36747. pTDefRegMap(@Self)^.val := thebits;
  36748. end;
  36749. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  36750. begin
  36751. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36752. end;
  36753. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  36754. begin
  36755. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  36756. end;
  36757. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  36758. begin
  36759. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  36760. end;
  36761. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  36762. begin
  36763. pTDefRegMap(@Self)^.&set := $00000020;
  36764. end;
  36765. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  36766. begin
  36767. pTDefRegMap(@Self)^.clr := $00000020;
  36768. end;
  36769. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  36770. begin
  36771. if thebits = 0 then
  36772. pTDefRegMap(@Self)^.clr := $00000020
  36773. else
  36774. pTDefRegMap(@Self)^.&set := $00000020;
  36775. end;
  36776. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  36777. begin
  36778. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36779. end;
  36780. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  36781. begin
  36782. pTDefRegMap(@Self)^.&set := $00000080;
  36783. end;
  36784. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  36785. begin
  36786. pTDefRegMap(@Self)^.clr := $00000080;
  36787. end;
  36788. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  36789. begin
  36790. if thebits = 0 then
  36791. pTDefRegMap(@Self)^.clr := $00000080
  36792. else
  36793. pTDefRegMap(@Self)^.&set := $00000080;
  36794. end;
  36795. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  36796. begin
  36797. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36798. end;
  36799. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  36800. begin
  36801. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  36802. end;
  36803. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  36804. begin
  36805. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  36806. end;
  36807. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  36808. begin
  36809. pTDefRegMap(@Self)^.&set := $00000400;
  36810. end;
  36811. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  36812. begin
  36813. pTDefRegMap(@Self)^.clr := $00000400;
  36814. end;
  36815. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  36816. begin
  36817. if thebits = 0 then
  36818. pTDefRegMap(@Self)^.clr := $00000400
  36819. else
  36820. pTDefRegMap(@Self)^.&set := $00000400;
  36821. end;
  36822. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  36823. begin
  36824. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36825. end;
  36826. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  36827. begin
  36828. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  36829. end;
  36830. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  36831. begin
  36832. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  36833. end;
  36834. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  36835. begin
  36836. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36837. end;
  36838. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  36839. begin
  36840. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36841. end;
  36842. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  36843. begin
  36844. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  36845. end;
  36846. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  36847. begin
  36848. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  36849. end;
  36850. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  36851. begin
  36852. pTDefRegMap(@Self)^.&set := $00400000;
  36853. end;
  36854. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  36855. begin
  36856. pTDefRegMap(@Self)^.clr := $00400000;
  36857. end;
  36858. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  36859. begin
  36860. if thebits = 0 then
  36861. pTDefRegMap(@Self)^.clr := $00400000
  36862. else
  36863. pTDefRegMap(@Self)^.&set := $00400000;
  36864. end;
  36865. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  36866. begin
  36867. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  36868. end;
  36869. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  36870. begin
  36871. pTDefRegMap(@Self)^.&set := $00800000;
  36872. end;
  36873. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  36874. begin
  36875. pTDefRegMap(@Self)^.clr := $00800000;
  36876. end;
  36877. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  36878. begin
  36879. if thebits = 0 then
  36880. pTDefRegMap(@Self)^.clr := $00800000
  36881. else
  36882. pTDefRegMap(@Self)^.&set := $00800000;
  36883. end;
  36884. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  36885. begin
  36886. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  36887. end;
  36888. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  36889. begin
  36890. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  36891. end;
  36892. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  36893. begin
  36894. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  36895. end;
  36896. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  36897. begin
  36898. pTDefRegMap(@Self)^.val := thebits;
  36899. end;
  36900. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  36901. begin
  36902. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36903. end;
  36904. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  36905. begin
  36906. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  36907. end;
  36908. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  36909. begin
  36910. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  36911. end;
  36912. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  36913. begin
  36914. pTDefRegMap(@Self)^.&set := $00000004;
  36915. end;
  36916. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  36917. begin
  36918. pTDefRegMap(@Self)^.clr := $00000004;
  36919. end;
  36920. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  36921. begin
  36922. if thebits = 0 then
  36923. pTDefRegMap(@Self)^.clr := $00000004
  36924. else
  36925. pTDefRegMap(@Self)^.&set := $00000004;
  36926. end;
  36927. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  36928. begin
  36929. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36930. end;
  36931. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  36932. begin
  36933. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  36934. end;
  36935. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  36936. begin
  36937. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  36938. end;
  36939. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_6); inline;
  36940. begin
  36941. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF03FF or ( thebits shl 10 );
  36942. end;
  36943. function TDEVCFG_DEVCFG0.getPWP : TBits_6; inline;
  36944. begin
  36945. getPWP := (pTDefRegMap(@Self)^.val and $0000FC00) shr 10;
  36946. end;
  36947. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  36948. begin
  36949. pTDefRegMap(@Self)^.&set := $01000000;
  36950. end;
  36951. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  36952. begin
  36953. pTDefRegMap(@Self)^.clr := $01000000;
  36954. end;
  36955. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  36956. begin
  36957. if thebits = 0 then
  36958. pTDefRegMap(@Self)^.clr := $01000000
  36959. else
  36960. pTDefRegMap(@Self)^.&set := $01000000;
  36961. end;
  36962. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  36963. begin
  36964. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36965. end;
  36966. procedure TDEVCFG_DEVCFG0.setCP; inline;
  36967. begin
  36968. pTDefRegMap(@Self)^.&set := $10000000;
  36969. end;
  36970. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  36971. begin
  36972. pTDefRegMap(@Self)^.clr := $10000000;
  36973. end;
  36974. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  36975. begin
  36976. if thebits = 0 then
  36977. pTDefRegMap(@Self)^.clr := $10000000
  36978. else
  36979. pTDefRegMap(@Self)^.&set := $10000000;
  36980. end;
  36981. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  36982. begin
  36983. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  36984. end;
  36985. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  36986. begin
  36987. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  36988. end;
  36989. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  36990. begin
  36991. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  36992. end;
  36993. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  36994. begin
  36995. pTDefRegMap(@Self)^.val := thebits;
  36996. end;
  36997. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  36998. begin
  36999. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37000. end;
  37001. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  37002. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  37003. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  37004. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  37005. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  37006. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  37007. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  37008. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  37009. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  37010. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  37011. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  37012. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  37013. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  37014. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  37015. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  37016. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  37017. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  37018. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  37019. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  37020. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  37021. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  37022. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  37023. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  37024. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  37025. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  37026. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  37027. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  37028. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  37029. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  37030. procedure _COMPARATOR_3_VECTOR_interrupt; external name '_COMPARATOR_3_VECTOR_interrupt';
  37031. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  37032. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  37033. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  37034. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  37035. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  37036. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  37037. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  37038. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  37039. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  37040. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  37041. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  37042. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  37043. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  37044. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  37045. procedure Vectors; assembler; nostackframe;
  37046. label interrupt_vectors;
  37047. asm
  37048. .section ".init.interrupt_vectors,\"ax\",@progbits"
  37049. interrupt_vectors:
  37050. j _CORE_TIMER_VECTOR_interrupt
  37051. nop
  37052. nop
  37053. nop
  37054. nop
  37055. nop
  37056. nop
  37057. nop
  37058. j _CORE_SOFTWARE_0_VECTOR_interrupt
  37059. nop
  37060. nop
  37061. nop
  37062. nop
  37063. nop
  37064. nop
  37065. nop
  37066. j _CORE_SOFTWARE_1_VECTOR_interrupt
  37067. nop
  37068. nop
  37069. nop
  37070. nop
  37071. nop
  37072. nop
  37073. nop
  37074. j _EXTERNAL_0_VECTOR_interrupt
  37075. nop
  37076. nop
  37077. nop
  37078. nop
  37079. nop
  37080. nop
  37081. nop
  37082. j _TIMER_1_VECTOR_interrupt
  37083. nop
  37084. nop
  37085. nop
  37086. nop
  37087. nop
  37088. nop
  37089. nop
  37090. j _INPUT_CAPTURE_1_VECTOR_interrupt
  37091. nop
  37092. nop
  37093. nop
  37094. nop
  37095. nop
  37096. nop
  37097. nop
  37098. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  37099. nop
  37100. nop
  37101. nop
  37102. nop
  37103. nop
  37104. nop
  37105. nop
  37106. j _EXTERNAL_1_VECTOR_interrupt
  37107. nop
  37108. nop
  37109. nop
  37110. nop
  37111. nop
  37112. nop
  37113. nop
  37114. j _TIMER_2_VECTOR_interrupt
  37115. nop
  37116. nop
  37117. nop
  37118. nop
  37119. nop
  37120. nop
  37121. nop
  37122. j _INPUT_CAPTURE_2_VECTOR_interrupt
  37123. nop
  37124. nop
  37125. nop
  37126. nop
  37127. nop
  37128. nop
  37129. nop
  37130. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  37131. nop
  37132. nop
  37133. nop
  37134. nop
  37135. nop
  37136. nop
  37137. nop
  37138. j _EXTERNAL_2_VECTOR_interrupt
  37139. nop
  37140. nop
  37141. nop
  37142. nop
  37143. nop
  37144. nop
  37145. nop
  37146. j _TIMER_3_VECTOR_interrupt
  37147. nop
  37148. nop
  37149. nop
  37150. nop
  37151. nop
  37152. nop
  37153. nop
  37154. j _INPUT_CAPTURE_3_VECTOR_interrupt
  37155. nop
  37156. nop
  37157. nop
  37158. nop
  37159. nop
  37160. nop
  37161. nop
  37162. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  37163. nop
  37164. nop
  37165. nop
  37166. nop
  37167. nop
  37168. nop
  37169. nop
  37170. j _EXTERNAL_3_VECTOR_interrupt
  37171. nop
  37172. nop
  37173. nop
  37174. nop
  37175. nop
  37176. nop
  37177. nop
  37178. j _TIMER_4_VECTOR_interrupt
  37179. nop
  37180. nop
  37181. nop
  37182. nop
  37183. nop
  37184. nop
  37185. nop
  37186. j _INPUT_CAPTURE_4_VECTOR_interrupt
  37187. nop
  37188. nop
  37189. nop
  37190. nop
  37191. nop
  37192. nop
  37193. nop
  37194. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  37195. nop
  37196. nop
  37197. nop
  37198. nop
  37199. nop
  37200. nop
  37201. nop
  37202. j _EXTERNAL_4_VECTOR_interrupt
  37203. nop
  37204. nop
  37205. nop
  37206. nop
  37207. nop
  37208. nop
  37209. nop
  37210. j _TIMER_5_VECTOR_interrupt
  37211. nop
  37212. nop
  37213. nop
  37214. nop
  37215. nop
  37216. nop
  37217. nop
  37218. j _INPUT_CAPTURE_5_VECTOR_interrupt
  37219. nop
  37220. nop
  37221. nop
  37222. nop
  37223. nop
  37224. nop
  37225. nop
  37226. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  37227. nop
  37228. nop
  37229. nop
  37230. nop
  37231. nop
  37232. nop
  37233. nop
  37234. j _ADC_VECTOR_interrupt
  37235. nop
  37236. nop
  37237. nop
  37238. nop
  37239. nop
  37240. nop
  37241. nop
  37242. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  37243. nop
  37244. nop
  37245. nop
  37246. nop
  37247. nop
  37248. nop
  37249. nop
  37250. j _RTCC_VECTOR_interrupt
  37251. nop
  37252. nop
  37253. nop
  37254. nop
  37255. nop
  37256. nop
  37257. nop
  37258. j _FCE_VECTOR_interrupt
  37259. nop
  37260. nop
  37261. nop
  37262. nop
  37263. nop
  37264. nop
  37265. nop
  37266. j _COMPARATOR_1_VECTOR_interrupt
  37267. nop
  37268. nop
  37269. nop
  37270. nop
  37271. nop
  37272. nop
  37273. nop
  37274. j _COMPARATOR_2_VECTOR_interrupt
  37275. nop
  37276. nop
  37277. nop
  37278. nop
  37279. nop
  37280. nop
  37281. nop
  37282. j _COMPARATOR_3_VECTOR_interrupt
  37283. nop
  37284. nop
  37285. nop
  37286. nop
  37287. nop
  37288. nop
  37289. nop
  37290. j _USB_1_VECTOR_interrupt
  37291. nop
  37292. nop
  37293. nop
  37294. nop
  37295. nop
  37296. nop
  37297. nop
  37298. j _SPI_1_VECTOR_interrupt
  37299. nop
  37300. nop
  37301. nop
  37302. nop
  37303. nop
  37304. nop
  37305. nop
  37306. j _UART_1_VECTOR_interrupt
  37307. nop
  37308. nop
  37309. nop
  37310. nop
  37311. nop
  37312. nop
  37313. nop
  37314. j _I2C_1_VECTOR_interrupt
  37315. nop
  37316. nop
  37317. nop
  37318. nop
  37319. nop
  37320. nop
  37321. nop
  37322. j _CHANGE_NOTICE_VECTOR_interrupt
  37323. nop
  37324. nop
  37325. nop
  37326. nop
  37327. nop
  37328. nop
  37329. nop
  37330. j _PMP_VECTOR_interrupt
  37331. nop
  37332. nop
  37333. nop
  37334. nop
  37335. nop
  37336. nop
  37337. nop
  37338. j _SPI_2_VECTOR_interrupt
  37339. nop
  37340. nop
  37341. nop
  37342. nop
  37343. nop
  37344. nop
  37345. nop
  37346. j _UART_2_VECTOR_interrupt
  37347. nop
  37348. nop
  37349. nop
  37350. nop
  37351. nop
  37352. nop
  37353. nop
  37354. j _I2C_2_VECTOR_interrupt
  37355. nop
  37356. nop
  37357. nop
  37358. nop
  37359. nop
  37360. nop
  37361. nop
  37362. j _CTMU_VECTOR_interrupt
  37363. nop
  37364. nop
  37365. nop
  37366. nop
  37367. nop
  37368. nop
  37369. nop
  37370. j _DMA_0_VECTOR_interrupt
  37371. nop
  37372. nop
  37373. nop
  37374. nop
  37375. nop
  37376. nop
  37377. nop
  37378. j _DMA_1_VECTOR_interrupt
  37379. nop
  37380. nop
  37381. nop
  37382. nop
  37383. nop
  37384. nop
  37385. nop
  37386. j _DMA_2_VECTOR_interrupt
  37387. nop
  37388. nop
  37389. nop
  37390. nop
  37391. nop
  37392. nop
  37393. nop
  37394. j _DMA_3_VECTOR_interrupt
  37395. nop
  37396. nop
  37397. nop
  37398. nop
  37399. nop
  37400. nop
  37401. nop
  37402. .weak _CORE_TIMER_VECTOR_interrupt
  37403. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  37404. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  37405. .weak _EXTERNAL_0_VECTOR_interrupt
  37406. .weak _TIMER_1_VECTOR_interrupt
  37407. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  37408. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  37409. .weak _EXTERNAL_1_VECTOR_interrupt
  37410. .weak _TIMER_2_VECTOR_interrupt
  37411. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  37412. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  37413. .weak _EXTERNAL_2_VECTOR_interrupt
  37414. .weak _TIMER_3_VECTOR_interrupt
  37415. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  37416. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  37417. .weak _EXTERNAL_3_VECTOR_interrupt
  37418. .weak _TIMER_4_VECTOR_interrupt
  37419. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  37420. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  37421. .weak _EXTERNAL_4_VECTOR_interrupt
  37422. .weak _TIMER_5_VECTOR_interrupt
  37423. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  37424. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  37425. .weak _ADC_VECTOR_interrupt
  37426. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  37427. .weak _RTCC_VECTOR_interrupt
  37428. .weak _FCE_VECTOR_interrupt
  37429. .weak _COMPARATOR_1_VECTOR_interrupt
  37430. .weak _COMPARATOR_2_VECTOR_interrupt
  37431. .weak _COMPARATOR_3_VECTOR_interrupt
  37432. .weak _USB_1_VECTOR_interrupt
  37433. .weak _SPI_1_VECTOR_interrupt
  37434. .weak _UART_1_VECTOR_interrupt
  37435. .weak _I2C_1_VECTOR_interrupt
  37436. .weak _CHANGE_NOTICE_VECTOR_interrupt
  37437. .weak _PMP_VECTOR_interrupt
  37438. .weak _SPI_2_VECTOR_interrupt
  37439. .weak _UART_2_VECTOR_interrupt
  37440. .weak _I2C_2_VECTOR_interrupt
  37441. .weak _CTMU_VECTOR_interrupt
  37442. .weak _DMA_0_VECTOR_interrupt
  37443. .weak _DMA_1_VECTOR_interrupt
  37444. .weak _DMA_2_VECTOR_interrupt
  37445. .weak _DMA_3_VECTOR_interrupt
  37446. .text
  37447. end;
  37448. end.