In UART break mode (UBM), the
microcontroller issues a UART break to start communication. The device interprets
the UART break as the start to receive commands from the UART. A communication UART
character consists of one start bit, eight data bits, one odd parity bit, and at
least one stop bit. A UART break character is all 11 bits (including start, data,
parity and stop bit) held low by the microcontroller on the UARTIN pin and by the
AFEx8201 on the UARTOUT pin. When a valid break
character is detected on UARTIN by the AFEx8201 , no
parity (even though parity is odd) or stop bit errors are flagged for this
character. The parity and stop bit differences between valid UBM break and
communication characters must be managed by the system microcontroller when
receiving these characters from the UARTOUT pin of the AFEx8201 . See Figure 5-2 for UBM break character, communication timing details, and bit order.
AFEx8201 UART break mode communication is supported at
9600 baud.
Set UBM.REG_MODE = 1 to enable
register map access through the UART. By default, this bit is set to 0. The entire
register map can only be accessed with SPI, except for the UBM register. The UBM
register can only be accessed with UBM. After UBM.REG_MODE is set to 1, the SPI does
not have access to the register map, and the full register map is accessible by
UBM.
A UBM data output packet is initiated
by AFEx8201 on UARTOUT in two cases. See Figure 6-23 for packet structure details. If the R/IRQn status bit is 0 an IRQ event
initiated the break command. If the R/IRQn status bit is 1, the break command is a
response to the prior read request.
To enable IRQ events, set
CONFIG.UBM_IRQ_EN = 1. When IRQ is enabled, the AFEx8201 triggers a break command followed by data on UARTOUT (see Figure 6-23 ).
The contents of the data are listed in order of priority below.
If ALARM_IRQ bit is set, then the
contents of the ALARM_STATUS register are output.
If GEN_IRQ is set, then the
contents of the GEN_STATUS register are output.
var tempcontentStr='/Analog & Mixed-Signal/data converters/digital-to-analog converters (dacs)/precision dacs (≤10 msps)';
var partNum ='AFE78201';
var contentStr = replaceSplChars( tempcontentStr )+ "/"+ partNum;
var tiContentGroup = contentStr.replace("'","");
function replaceSplChars(content){
var myRegExp=new RegExp("|®|™","gi");
content=content.replace(myRegExp,"");
return content;
}
var tiProductPathID='/82/392/2022/';
var tiPageName = 'Literature reader-JAJSNU4A-ja_JP';
var tiDocType = 'Data Sheet';
var tiLibraryStore = new com.TI.tiLibrary.tiLibraryStore();
var tiLibraryViewerStore = tiLibraryStore.viewer_store;
RiotControl.addStore(tiLibraryStore);
var subRoutes = riot.route.create();
subRoutes("/document-viewer/*/datasheet/*\\?*#*", function(gpn, url, params, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + gpn + "/datasheet/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/datasheet/*#*", function(gpn, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + gpn + "/datasheet/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/datasheet/*", function(gpn, url) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + gpn + "/datasheet/" + url,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/*/datasheet/*\\?*#*", function(locale, gpn, url, params, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/" + gpn + "/datasheet/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/*/datasheet/*#*", function(locale, gpn, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/" + gpn + "/datasheet/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/*/datasheet/*", function(locale, gpn, url) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/" + gpn + "/datasheet/" + url,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/datasheet#*/*", function(gpn, url, fragment) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + gpn + "/datasheet#" + url + "/" + fragment,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/*/datasheet#*/*", function(locale, gpn, url, fragment) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/" + gpn + "/datasheet#" + url + "/" + fragment,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/lit/html/*", function(litnum) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/lit/html/" + litnum,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/lit/html/*/*\\?*#*", function(litnum, url, params, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/lit/html/" + litnum + "/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/lit/html/*/*#*", function(litnum, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/lit/html/" + litnum + "/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/lit/html/*#*/*", function(litnum, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/lit/html/" + litnum + "#" + url + "/" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/lit/html/*#*/*", function(locale, litnum, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/lit/html/" + litnum + "#" + url + "/" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/lit/html/*/*", function(litnum, url) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/lit/html/" + litnum + "/" + url,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/lit/html/*/*\\?*#*", function(locale, litnum, url, params, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/lit/html/" + litnum + "/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/lit/html/*/*#*", function(locale, litnum, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/lit/html/" + litnum + "/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/lit/html/*/*", function(locale, litnum, url) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/lit/html/" + litnum + "/" + url,
toc: true,
set_content: true });
});
var compose_url = function(q) {
//URL format: scheme:[//[user[:password]@]host[:port]][/path][?query][#fragment]
var tempUrl = q.url.replace("//www.ti.com/", "");
var url = tempUrl.replace("//www.ti.com/", "");
if (q.search != null) {
var params = "";
var hash = "";
var url_parts = url.split('#');
if (url_parts.length == 2) {
url = url_parts[0];
hash = url_parts[1];
}
var param_parts = url.split('?');
if (param_parts.length == 2) {
url = param_parts[0];
var parsed_params = param_parts[1].split('&');
var keyword_param_found = false;
for (var i = 0; i < parsed_params.length; i++) {
if (parsed_params[i].indexOf('search=') == 0) {
keyword_param_found = true;
parsed_params[i] = 'search=' + q.search;
}
}
if (!keyword_param_found) {
parsed_params.push('search=' + q.search);
}
params = parsed_params.join('&');
} else {
params = 'search=' + q.search;
}
if (params > "") {
url = url + '?' + params;
}
if (hash > "") {
url = url + '#' + hash;
}
}
return url;
};
tiLibraryViewerStore.compose_url_route = function(location, q) {
return compose_url(q);
};
tiLibraryViewerStore.compute_content_href = function(href, url) {
return url;
};
tiLibraryViewerStore.compose_topic_url = function(location, q) {
return compose_url(q);
};
tiLibraryViewerStore.important_notice_url = "//www.ti.com/document-viewer/ja-jp/AFE78201/datasheet/important_notice#ImpNotice001";
var ods_reader = riot.mount('ti-library-viewer', {
store: tiLibraryStore.list_store,
viewerstore: tiLibraryViewerStore
});
riot.route.base('/');
riot.route.start(true);
compute_document_locale = function(docName) {
var locale = 'en_US';
if (docName) {
if (docName.toLowerCase().indexOf('z')===0) {
locale = 'zh_CN';
} else if (docName.toLowerCase().indexOf('j') == 0) {
locale = 'ja_JP';
}
}
return locale;
}
open_reader = function() {
var path = window.location.pathname.split('/');
var path_minus_filename = '';
for (var i = 0; i < path.length - 1; i++) {
if (i == 0 && path[i] == '') {
console.log("double slashes found in beginning of document path; treating document path as local machine path");
continue;
}
path_minus_filename += "/" + path[i];
}
RiotControl.trigger("ti_library_open_viewer", {
documentLocale: compute_document_locale( "JAJSNU4A"),
document: {
href: path_minus_filename,
lit_num: "JAJSNU4A",
doc_type: "Data Sheet",
show_toc: "true",
translated_doc_type: "データシート",
gpn: "AFE78201",
title: "AFEx8201 低電力アプリケーション向け、電圧リファレンスと診断 ADC 内蔵 16 ビットおよび 14 ビット D/A コンバータ (DAC)",
disclaimer: "このリソースの元の言語は英語です。 翻訳は概要を便宜的に提供するもので、自動化ツール (機械翻訳) を使用していることがあり、TI では翻訳の正確性および妥当性につきましては一切保証いたしません。 実際の設計などの前には、ti.com で必ず最新の英語版をご参照くださいますようお願いいたします。 ",
product: "//www.ti.com/product/ja-jp/AFE78201",
email: 'mailto:?subject=AFE78201 Datasheet&body=http://www.ti.com/document-viewer/ja-jp/AFE78201/datasheet',
download: '//www.ti.com/jp/lit/gpn/AFE78201',
tistore: '//store.ti.com/Search.aspx?k=AFE78201&pt=-1',
productstatusdescription: 'PRODUCTION DATA'
},
url: "/document-viewer/ja-jp/AFE78201/datasheet/GUID-ECF776FD-8517-421B-8D81-F4D326DC1FB0",
prepopulated: true,
modalOptions: {
dismissible: false
}
});
}
open_reader();