ApplicationThis example creates look-up tables in the ROM using the Data ROMWindow. There are four 64-byte data tables, that are cascaded in order to provide a 256 byte non-linear correction table. For clarity, the table is applied to a linear 8-bit value, obtained from the ST6 on-chip analog-to-d...
LST6: ApplicationThis example creates look-up tables in the ROM using the Data ROMWindow. There are four 64-byte data tables, that are cascaded in order to provide a 256 byte non-linear correction table. ...
SeekIC Buyer Protection PLUS - newly updated for 2013!
268 Transactions
All payment methods are secure and covered by SeekIC Buyer Protection PLUS.
This example creates look-up tables in the ROM using the Data ROMWindow. There are four 64-byte data tables, that are cascaded in order to provide a 256 byte non-linear correction table. For clarity, the table is applied to a linear 8-bit value, obtained from the ST6 on-chip analog-to-digital (a/d) converter. The example can easily be adapted for a wide range of applications, such as temperature sensing and control, frequency sensitivity correction, pattern generation and binary to bcd conversion.
To implement a 256-byte correction table, the two MSBs of the a/d result are used to reference one of the four 64-byte data tables. The remaining 6 LSBs of the result specify the offset from the beginning of the appropriate table.
To use this directive you must use the -O option on the command line when running AST6.
Defines a symbol as global, thus it can be used by other modules. Symbol names must not exceed 8 characters. This directive must be executed before the symbol is defined. Symbols that were defined using the .SET, .DEF or .EQU directives cannot be defined as global. See "Importing and Exporting Labels" on page 45 for further details.