Hilscher netX microcontroller driver
V0.0.5.0
Documentation of the netX driver package
|
iflash_cfg2 (iflash_cfg2) More...
#include <netx90_app.h>
Data Fields | |
union { | |
__IOM uint32_t buffer_read_ahead_instructions | |
struct { | |
__IOM uint32_t val: 32 | |
} buffer_read_ahead_instructions_b | |
}; | |
union { | |
__IOM uint32_t buffer_read_ahead_data | |
struct { | |
__IOM uint32_t val: 32 | |
} buffer_read_ahead_data_b | |
}; | |
union { | |
__IOM uint32_t iflash_signals_cfg | |
struct { | |
__IOM uint32_t xe: 1 | |
__IOM uint32_t ye: 1 | |
__IOM uint32_t erase: 1 | |
__IOM uint32_t mas1: 1 | |
__IOM uint32_t nvstr: 1 | |
__IOM uint32_t prog: 1 | |
__IOM uint32_t se: 1 | |
__IOM uint32_t bf_align0: 25 | |
} iflash_signals_cfg_b | |
}; | |
union { | |
__IOM uint32_t iflash_mode_cfg | |
struct { | |
__IOM uint32_t iflash_mode: 3 | |
__IOM uint32_t bf_align0: 29 | |
} iflash_mode_cfg_b | |
}; | |
union { | |
__IM uint32_t iflash_access | |
struct { | |
__IM uint32_t run: 1 | |
__IM uint32_t bf_align0: 31 | |
} iflash_access_b | |
}; | |
union { | |
__IOM uint32_t iflash_yadr | |
struct { | |
__IOM uint32_t val: 5 | |
__IOM uint32_t bf_align0: 27 | |
} iflash_yadr_b | |
}; | |
union { | |
__IOM uint32_t iflash_xadr | |
struct { | |
__IOM uint32_t val: 10 | |
__IOM uint32_t bf_align0: 22 | |
} iflash_xadr_b | |
}; | |
union { | |
__IOM uint32_t iflash_din0 | |
struct { | |
__IOM uint32_t val: 32 | |
} iflash_din0_b | |
}; | |
union { | |
__IOM uint32_t iflash_din1 | |
struct { | |
__IOM uint32_t val: 32 | |
} iflash_din1_b | |
}; | |
union { | |
__IOM uint32_t iflash_din2 | |
struct { | |
__IOM uint32_t val: 32 | |
} iflash_din2_b | |
}; | |
union { | |
__IOM uint32_t iflash_din3 | |
struct { | |
__IOM uint32_t val: 32 | |
} iflash_din3_b | |
}; | |
union { | |
__IOM uint32_t iflash_din4 | |
struct { | |
__IOM uint32_t val: 16 | |
__IOM uint32_t bf_align0: 16 | |
} iflash_din4_b | |
}; | |
union { | |
__IOM uint32_t iflash_reset | |
struct { | |
__IOM uint32_t reset: 1 | |
__IOM uint32_t bf_align0: 31 | |
} iflash_reset_b | |
}; | |
union { | |
__IOM uint32_t iflash_red_cfg0 | |
struct { | |
__IOM uint32_t n_enb: 1 | |
__IOM uint32_t adr0: 7 | |
__IOM uint32_t bf_align0: 24 | |
} iflash_red_cfg0_b | |
}; | |
union { | |
__IOM uint32_t iflash_red_cfg1 | |
struct { | |
__IOM uint32_t n_enb: 1 | |
__IOM uint32_t adr1: 7 | |
__IOM uint32_t bf_align0: 24 | |
} iflash_red_cfg1_b | |
}; | |
union { | |
__IOM uint32_t iflash_ifren_cfg | |
struct { | |
__IOM uint32_t ifren: 1 | |
__IOM uint32_t ifren1: 1 | |
__IOM uint32_t bf_align0: 30 | |
} iflash_ifren_cfg_b | |
}; | |
union { | |
__IM uint32_t iflash_din4_ecc | |
struct { | |
__IM uint32_t val: 16 | |
__IM uint32_t bf_align0: 16 | |
} iflash_din4_ecc_b | |
}; | |
union { | |
__IOM uint32_t iflash_special_cfg | |
struct { | |
__IOM uint32_t tmr: 1 | |
__IOM uint32_t slm: 1 | |
__IOM uint32_t bf_align0: 30 | |
} iflash_special_cfg_b | |
}; | |
union { | |
__IOM uint32_t iflash_protection_info | |
struct { | |
__IOM uint32_t read_0_dw: 1 | |
__IOM uint32_t read_0_up: 1 | |
__IOM uint32_t read_1_dw: 1 | |
__IOM uint32_t read_1_up: 1 | |
__IOM uint32_t write_0: 1 | |
__IOM uint32_t write_1: 1 | |
__IOM uint32_t bf_align0: 26 | |
} iflash_protection_info_b | |
}; | |
iflash_cfg2 (iflash_cfg2)
Definition at line 14548 of file netx90_app.h.
union { ... } |
< (@ 0xFF401400) iflash_cfg2 Structure
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
__IOM uint32_t iflash_cfg2_Type::adr0 |
[7..1] XADR to compare
Definition at line 14679 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::adr1 |
[7..1] XADR to compare
Definition at line 14689 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::bf_align0 |
[31..7] bitField alignment value for aeabi compatibility
[31..3] bitField alignment value for aeabi compatibility
[31..5] bitField alignment value for aeabi compatibility
[31..10] bitField alignment value for aeabi compatibility
[31..16] bitField alignment value for aeabi compatibility
[31..1] bitField alignment value for aeabi compatibility
[31..8] bitField alignment value for aeabi compatibility
[31..2] bitField alignment value for aeabi compatibility
[31..6] bitField alignment value for aeabi compatibility
Definition at line 14579 of file netx90_app.h.
__IM uint32_t iflash_cfg2_Type::bf_align0 |
[31..1] bitField alignment value for aeabi compatibility
[31..16] bitField alignment value for aeabi compatibility
Definition at line 14599 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::buffer_read_ahead_data |
(@ 0x00000004) read ahead on data channel of flash controller max read ahead = buffer lines - 1
Definition at line 14560 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::buffer_read_ahead_data_b |
__IOM uint32_t iflash_cfg2_Type::buffer_read_ahead_instructions |
(@ 0x00000000) read ahead on instruction channel of flash controller max read ahead = buffer lines - 1
Definition at line 14551 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::buffer_read_ahead_instructions_b |
__IOM uint32_t iflash_cfg2_Type::erase |
[2..2] defines erase cycle
Definition at line 14574 of file netx90_app.h.
__IM uint32_t iflash_cfg2_Type::iflash_access |
(@ 0x00000010) read only for the ready bit, write 1 to start access flash action depends on iflash_mode_cfg
Definition at line 14594 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_access_b |
__IOM uint32_t iflash_cfg2_Type::iflash_din0 |
(@ 0x0000001C) data[31:0] of din flash controller
Definition at line 14624 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_din0_b |
__IOM uint32_t iflash_cfg2_Type::iflash_din1 |
(@ 0x00000020) data[63:32] of din flash controller
Definition at line 14632 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_din1_b |
__IOM uint32_t iflash_cfg2_Type::iflash_din2 |
(@ 0x00000024) data[95:64] of din flash controller
Definition at line 14640 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_din2_b |
__IOM uint32_t iflash_cfg2_Type::iflash_din3 |
(@ 0x00000028) data[127:96] of din flash controller
Definition at line 14648 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_din3_b |
__IOM uint32_t iflash_cfg2_Type::iflash_din4 |
(@ 0x0000002C) in manual mode for din data[143:128] of din flash controller
Definition at line 14656 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_din4_b |
__IM uint32_t iflash_cfg2_Type::iflash_din4_ecc |
(@ 0x00000040) in manual mode for ecc calculation of din3..0
Definition at line 14705 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_din4_ecc_b |
__IOM uint32_t iflash_cfg2_Type::iflash_ifren_cfg |
(@ 0x0000003C) no Register description
Definition at line 14695 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_ifren_cfg_b |
__IOM uint32_t iflash_cfg2_Type::iflash_mode |
[2..0] 3'b000 READ_MODE / 3'b001 PROGRAM_MODE / 3'b010 ERASE_MODE / 3'b011 MASS_ERASE_MODE / 3'b100 MANUAL_MODE
Definition at line 14587 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::iflash_mode_cfg |
(@ 0x0000000C) no Register description
Definition at line 14584 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_mode_cfg_b |
__IOM uint32_t iflash_cfg2_Type::iflash_protection_info |
(@ 0x00000048) no Register description
Definition at line 14724 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_protection_info_b |
__IOM uint32_t iflash_cfg2_Type::iflash_red_cfg0 |
(@ 0x00000034) enable redundancy page XADR[9:3]
Definition at line 14675 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_red_cfg0_b |
__IOM uint32_t iflash_cfg2_Type::iflash_red_cfg1 |
(@ 0x00000038) enable redundancy page XADR[9:3]
Definition at line 14685 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_red_cfg1_b |
__IOM uint32_t iflash_cfg2_Type::iflash_reset |
(@ 0x00000030) reset flash controller
Definition at line 14666 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_reset_b |
__IOM uint32_t iflash_cfg2_Type::iflash_signals_cfg |
(@ 0x00000008) no Register description
Definition at line 14569 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_signals_cfg_b |
__IOM uint32_t iflash_cfg2_Type::iflash_special_cfg |
(@ 0x00000044) no Register description
Definition at line 14714 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_special_cfg_b |
__IOM uint32_t iflash_cfg2_Type::iflash_xadr |
(@ 0x00000018) X address of flash controller not all bits are used see: implementation size of flash
Definition at line 14614 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_xadr_b |
__IOM uint32_t iflash_cfg2_Type::iflash_yadr |
(@ 0x00000014) Y address of flash controller not all bits are used see: implementation size of flash
Definition at line 14604 of file netx90_app.h.
struct { ... } iflash_cfg2_Type::iflash_yadr_b |
__IOM uint32_t iflash_cfg2_Type::ifren |
[0..0] information block enable
Definition at line 14698 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::ifren1 |
[1..1] information1 block enable for read only
Definition at line 14699 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::mas1 |
[3..3] defines mass erase cycle
Definition at line 14575 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::n_enb |
[0..0] 0= enable XADR compare; 1= disable XADR compare
Definition at line 14678 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::nvstr |
[4..4] defines non-volatile store cycle
Definition at line 14576 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::prog |
[5..5] defines program cycle
Definition at line 14577 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::read_0_dw |
[0..0] protect infopage 0 lower 2k page for read
Definition at line 14727 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::read_0_up |
[1..1] protect infopage 0 upper 2k page for read
Definition at line 14728 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::read_1_dw |
[2..2] protect infopage 1 lower 2k page for read
Definition at line 14729 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::read_1_up |
[3..3] protect infopage 1 upper 2k page for read
Definition at line 14730 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::reset |
[0..0] 1= reset; 0= release reset
Definition at line 14669 of file netx90_app.h.
__IM uint32_t iflash_cfg2_Type::run |
[0..0] write 1 to start accesss, poll until set to 0 for finsh
Definition at line 14598 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::se |
[6..6] flash clock
Definition at line 14578 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::slm |
[1..1] sleep mode
Definition at line 14718 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::tmr |
[0..0] test mode
Definition at line 14717 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::val |
[31..0] read ahead on instruction channel of flash controller
[31..0] read ahead on data channel of flash controller
[4..0] Y address of flash controller
[9..0] X address of flash controller
[31..0] data[31:0] of din flash controller
[31..0] data[63:32] of din flash controller
[31..0] data[95:64] of din flash controller
[31..0] data[127:96] of din flash controller
[15..0] data[143:128] of din flash controller
Definition at line 14555 of file netx90_app.h.
__IM uint32_t iflash_cfg2_Type::val |
[15..0] ecc of din3..0 flash controller
Definition at line 14708 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::write_0 |
[4..4] protect infopage 0 4k page for write
Definition at line 14731 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::write_1 |
[5..5] protect infopage 1 4k page for write
Definition at line 14732 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::xe |
[0..0] x address enable
Definition at line 14572 of file netx90_app.h.
__IOM uint32_t iflash_cfg2_Type::ye |
[1..1] y address enable
Definition at line 14573 of file netx90_app.h.